WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Please share your asterisk domU configurations ( config file

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Please share your asterisk domU configurations ( config file, firewalling, etc)
From: "Christopher Isip" <cmisip@xxxxxxxxx>
Date: Sat, 17 May 2008 10:24:14 -0400
Delivery-date: Sat, 17 May 2008 07:24:44 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=4YzOiT33k/DXKrrtTfobESGt0xnW1ChJB2acY8b0vnk=; b=SmsekMfIEYgxQVnxTf60A83mQFamIGKZVdAn0H2xCaRh5JH7LnNpi2JBjvw5RIMR82JLE+LRnm74dI5nEjGywEVLTdmPfrLDGpIE6oAKRh5qbYg+46Hih/9rnjWnW6I8VDP+UNnBGGskmgKZj4N2Xz8e4I4nNtiQQVqpE07rB3c=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=IToMwDrMeg8bMKR7YV/vY65InGywq9pP9cPHJjujrkC2gVJL09wMXbB2t1LkOE1U5qwlZ5x4Uip06XIbzps8zfT2GJ0pxioyDMIz+NFrEUIqfh9f0cGDOsreTNoJa3/D2Hdl2Y5MC0QjnhamG5xgkEhrm/WEeZJ7P3TgNiBWODQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I cant seem to be able to get an Asteisk domU to work for anonymous inbound calls.  ( Have not tested yet for external sip calls from registered clients)  It is not a freepbx issue, but rather some routing issue particular to a xen setup. Outbound calls work fine.


Scenarios:

1. The asterisk domU can answer calls with 2 way audio if I use another machine on the lan as a linux router/gateway forwarding to the domU.

2. The asterisk domU can answer calls with 1 way audio if I use the netgear router as the gateway port forwarding to the domU.

3. The asterisk domU cannot answer calls If it is assigned a PCI card and a vif interface, basically turning it into a firewall router.  I would have assumed that eliminating NAT by using this config would work the best.

4. The asterisk domU cannot answer calls if it has a single vif interface and another firewall domU  is portforwarding to it.

IP masquerading works in all scenarios and firewalls have been cleared in the asterisk domU.  I have tried iptables to route packets to the asterisk domU as well as shorewall with no luck.  The fact that the vif is part of a bridge is probably the reason its not working.  

I have not been able to configure dom0 as a router yet to route sip calls to the asterisk domU.  I have to look into this yet.  The fact that xend renames the bridge to eth0 complicates matters as shorewall is complaining about the peth0 interface if I designate that in /etc/shorewall/interfaces.

My preferred scenario is to have a singe vif interface to an asterisk domU and have another firewall domU port forward to it.  If it is not possible,  then setup dom0 as the router.  If not, that then purchase a router that can route with 2 way audio to the asterisk domU.

I have thought about completely removing the vif interface from the asterisk domU and assigning it a physical nic to connect to the netgear router.  I will try that next to see if it fixes the 1 way audio problem.

Any help is appreciated.

Thanks
Chris





_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>