[asterisk-users] Asterisk trunking between two location

2013-07-02 Thread Gopalakrishnan N
Am using Asterisk 11.2 in one location and 11.1 in another location. when I trunk between two servers, the status is unreachable. But with different server with 11.2 and 11.2 it works fine. I tried both IAX and SIP. the trunk in sip.conf what i have is, [serverb] type=friend username=serverb

Re: [asterisk-users] Asterisk trunking between two location

2013-07-02 Thread Gopalakrishnan N
Also tried one more scenario, particularly from one IP to other IP not registering. For example like 10.10.10.5 to 10.20.10.5 If it is 10.10.10.5 to 10.30.2.5 - working If it is 10.30.2.5 to 10.20.10.4 works fine. really strange... I suspect some issue on the network side... Problem is there

Re: [asterisk-users] Asterisk trunking between two location

2013-07-02 Thread Asghar Mohammad
hi, paste server a trunk also, if you want register why you are not using host=dynamic? both servers are on 10.10.10.0 ? if no then check your deny permit seting. On Tue, Jul 2, 2013 at 9:53 PM, Gopalakrishnan N gopalakrishnan...@gmail.com wrote: Also tried one more scenario, particularly

Re: [asterisk-users] Asterisk trunking between two location

2013-07-02 Thread Gopalakrishnan N
[servera] type=friend username=servera secret=servera host=10.30.2.5 port=5060 context=Manila insecure=port,invite dtmfmode=rfc2833 relaxdtmf=yes directmedia=no qualify=yes disallow=all allow=g729 allow=ulaw allow=alaw deny=0.0.0.0/0.0.0.0 permit=10.30.2.5/255.255.255.0 If i use host=dynamic, it

Re: [asterisk-users] Asterisk trunking between two location

2013-07-02 Thread Asghar Mohammad
1. you permiting 10.10.10.0 on b but you should permit 10.30.2.0 on b and 10.10.10.0 on a. 2. use host=dynamic type=friend on side A and host=ip type=peer on side B. 3. general section in sip.conf of side B register with server A. please see comments in sip.conf ;dynamic_exclude_static = yes ;

Re: [asterisk-users] Asterisk trunking between two location

2013-07-02 Thread Gopalakrishnan N
can't we use without register command both way as peer to peer? On Wed, Jul 3, 2013 at 1:45 AM, Asghar Mohammad asghar...@gmail.com wrote: 1. you permiting 10.10.10.0 on b but you should permit 10.30.2.0 on b and 10.10.10.0 on a. 2. use host=dynamic type=friend on side A and host=ip

Re: [asterisk-users] Asterisk trunking between two location

2013-07-02 Thread Asghar Mohammad
yes you can. just create trunks on both side with static ip and in dial use trunk name. exten = _X.,1,Dial(SIP/trunka/${EXTEN}) on side b and exten = _X.,1,Dial(SIP/trunkb/${EXTEN}) on side a. make a call from a to b and one from b to and post cli log here or upload anyware else. On Tue, Jul 2,

Re: [asterisk-users] Asterisk trunking between two location

2013-07-02 Thread Gopalakrishnan N
I tried creating two trunks with following, *1st Location* [10.30.2.5] type=friend username=indman01 secret=indman01 host=dynamic port=5060 context=Manila insecure=port,invite dtmfmode=rfc2833 relaxdtmf=yes directmedia=no qualify=yes disallow=all allow=g729 allow=ulaw *2nd Location*

Re: [asterisk-users] Asterisk trunking between two location

2013-07-02 Thread Asghar Mohammad
*1st Location* [manila] type=peer username=indman01 secret=indman01 host=10.30.2.5 -- ip of 2nd location port=5060 context=Manila insecure=port,invite dtmfmode=rfc2833 relaxdtmf=yes directmedia=no qualify=yes disallow=all allow=g729 allow=ulaw 1st location dialplan exten =

Re: [asterisk-users] Asterisk trunking between two location

2013-07-02 Thread Gopalakrishnan N
still the peer shows unreachable let me restart and give a try... On Wed, Jul 3, 2013 at 2:49 AM, Asghar Mohammad asghar...@gmail.com wrote: *1st Location* [manila] type=peer username=indman01 secret=indman01 host=10.30.2.5 -- ip of 2nd location port=5060 context=Manila

Re: [asterisk-users] Asterisk trunking between two location

2013-07-02 Thread Asghar Mohammad
make a call and post cli log On Tue, Jul 2, 2013 at 11:54 PM, Gopalakrishnan N gopalakrishnan...@gmail.com wrote: still the peer shows unreachable let me restart and give a try... On Wed, Jul 3, 2013 at 2:49 AM, Asghar Mohammad asghar...@gmail.comwrote: *1st Location* [manila]

Re: [asterisk-users] Asterisk trunking between two location

2013-07-02 Thread Gopalakrishnan N
By having different server, i made it work. I suspect some network issue... On Wed, Jul 3, 2013 at 3:27 AM, Asghar Mohammad asghar...@gmail.com wrote: make a call and post cli log On Tue, Jul 2, 2013 at 11:54 PM, Gopalakrishnan N gopalakrishnan...@gmail.com wrote: still the peer shows