[asterisk-users] Connecting 2 asterisk servers
Hi, im trying to connect 2 asterisk servers. my server which registers to the main server keeps on displaying this message: [Feb 3 20:04:57] NOTICE[10112]: chan_sip.c:7085 sip_reg_timeout:-- Registration for '[EMAIL PROTECTED]' timed out, trying again (Attempt #84) why is it not registering? here is my configuration: Server A (this registers in the main server Server B) Sip... [general] register= rizwan:[EMAIL PROTECTED]:8060 ;asterisk server listening to this port [RNKTEL-OUT] ;this is used to throw calls to SERVER B. This is not working also ;allow=ulaw authname=RNKTEL-OUT canreinvite=no context=rizwan defaultip=64.182.161.3 ;disallow=all dtmfmode=rfc2833 fromdomain= 64.182.161.3 fromuser=asterisk host=64.182.161.3 insecure=invite,port nat=yes secret=sipserver type=friend username=asterisk SERVER B sip. [rizwan] userid=rizwan secret=1234 type=friend host=dynamic context=rizwan insecure=very disallow=all allow=alaw allow=ulaw -- Regards Rizwan Hisham Software Engineer ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] Connecting 2 asterisk servers
hi all, actually i have partially connected the 2 servers but there is a problem. 2 servers A and B server A forwards call to server B without any problem but when i try to forward call from server B to A, server shows the following error on the cli WARNING[7751]: app_dial.c:1081 dial_exec_full: Unable to create channel of type 'SIP' (cause 3 - No route to destination) == Everyone is busy/congested at this time (1:0/0/1) here is my configuration SERVER A sip.conf ~~ [general] register=fromtrixbox:[EMAIL PROTECTED] [receive] ;this should receive call from server B type=friend ;host=192.168.0.7 host = dynamic secret=mysecret context=rizwan ;trunk=yes insecure = very [backtorazi];this is used to throw call to server B (works fine) type=friend host=dynamic secret=mysecret context=rizwan SERVER A extensions ~~~ [rizwan] exten= 5123,1,Dial(SIP/backtorazi/1234) ;this dials to server B exten= 5123,2,Hangup exten= 1234,1,NoOp(Got connected successfully!); ;this receives from server B SERVER B sip.conf ~ [general] register=backtorazi:[EMAIL PROTECTED] [sender] ;used tro call server A (not working) type=friend ;host=192.168.0.100 host=dynamic secret=mysecret context=rizwan [fromtrixbox] ;used to receive call from server A (working fine) type=friend host=192.168.0.100 secret=mysecret context=rizwan ;trunk=yes insecure = very SERVER B extensions ~~~ [rizwan] exten = 5123,1,Dial(SIP/sender/5123) ;this dials server A exten= 1234,1,Dial(SIP/1234) ;this receives from server A -- Regards Rizwan Hisham Software Engineer ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] connecting 2 asterisk servers through OpenVPN
There is no problem with the CPU utilization, it is around 40%, I will not be able to try this without the VPN, maybe I should try another VPN solution like OpenSwan, or PPTP. Why do you think that IAX will make a difference than SIP? On 1/16/07, Gordon Henderson [EMAIL PROTECTED] wrote: On Mon, 15 Jan 2007, O.Kamal wrote: I am trying to connect 2 asterisk servers through OpenVPN, the VPN should carry 16 channel, however when active channels reached 4 concurrent channels, the connection became unstable, with a very high latency (around 900ms), the internet bandwidth is 1Mbps on each server, I have upgraded the bandwidth to double it, but still have exactly the same problem. Any tips or recommendations on such setup? No real answers, but questions that might help ... Have you tried it without using OpenVPN? Just port-forward the SIP RTP ports, if you need to and give it a go. I am using SIP and G729 between the 2 servers, openVPN using UDP with no compression. Why not IAX? Are your openVPN end-points up to it? Doing high-grade encryption in software might challenge some slower processors - are the VPN endpoints the asterisk boxes themselves? Gordon ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] connecting 2 asterisk servers through OpenVPN
IAX allows trunking. With 16 channels open between 2 asterisk servers that should recover over 400kbs compared to SIP. I believe OpenVPN can be forced into a no-encryption test mode. If you can do that temporarily it is easier to judge the vpn overhead. O.Kamal wrote: There is no problem with the CPU utilization, it is around 40%, I will not be able to try this without the VPN, maybe I should try another VPN solution like OpenSwan, or PPTP. Why do you think that IAX will make a difference than SIP? On 1/16/07, *Gordon Henderson* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: On Mon, 15 Jan 2007, O.Kamal wrote: I am trying to connect 2 asterisk servers through OpenVPN, the VPN should carry 16 channel, however when active channels reached 4 concurrent channels, the connection became unstable, with a very high latency (around 900ms), the internet bandwidth is 1Mbps on each server, I have upgraded the bandwidth to double it, but still have exactly the same problem. Any tips or recommendations on such setup? No real answers, but questions that might help ... Have you tried it without using OpenVPN? Just port-forward the SIP RTP ports, if you need to and give it a go. I am using SIP and G729 between the 2 servers, openVPN using UDP with no compression. Why not IAX? Are your openVPN end-points up to it? Doing high-grade encryption in software might challenge some slower processors - are the VPN endpoints the asterisk boxes themselves? Gordon ___ --Bandwidth and Colocation provided by Easynews.com http://Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] connecting 2 asterisk servers through OpenVPN
I am trying to connect 2 asterisk servers through OpenVPN, the VPN should carry 16 channel, however when active channels reached 4 concurrent channels, the connection became unstable, with a very high latency (around 900ms), the internet bandwidth is 1Mbps on each server, I have upgraded the bandwidth to double it, but still have exactly the same problem. Any tips or recommendations on such setup? I am using SIP and G729 between the 2 servers, openVPN using UDP with no compression. Thanks, O.Youssef ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] connecting 2 asterisk servers through OpenVPN
O.Kamal wrote: I am trying to connect 2 asterisk servers through OpenVPN, the VPN should carry 16 channel, however when active channels reached 4 concurrent channels, the connection became unstable, with a very high latency (around 900ms), the internet bandwidth is 1Mbps on each server, I have upgraded the bandwidth to double it, but still have exactly the same problem. Any tips or recommendations on such setup? I am using SIP and G729 between the 2 servers, openVPN using UDP with no compression. Maybe you need more CPU resources for the vpn. In that case you would see problems even if both endpoints were on a gigabit LAN. ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] connecting 2 asterisk servers through OpenVPN
On Mon, 15 Jan 2007, O.Kamal wrote: I am trying to connect 2 asterisk servers through OpenVPN, the VPN should carry 16 channel, however when active channels reached 4 concurrent channels, the connection became unstable, with a very high latency (around 900ms), the internet bandwidth is 1Mbps on each server, I have upgraded the bandwidth to double it, but still have exactly the same problem. Any tips or recommendations on such setup? No real answers, but questions that might help ... Have you tried it without using OpenVPN? Just port-forward the SIP RTP ports, if you need to and give it a go. I am using SIP and G729 between the 2 servers, openVPN using UDP with no compression. Why not IAX? Are your openVPN end-points up to it? Doing high-grade encryption in software might challenge some slower processors - are the VPN endpoints the asterisk boxes themselves? Gordon ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users