[asterisk-users] Back-to-back asterisk PRI issue

satish patel satish_lx at hotmail.com
Fri Mar 25 14:40:40 CDT 2011


Following is my scenario to connect back to back PRI of two asterisk server. PRI cards are Sangoma A102D 

[Asterisk1]------------[PRI]-Cross Cable---------[Asterisk2] 

Asterisk1

; Span 1 (MASTER)
switchtype = national ; commonly referred to as NI2
context = from-pstn
group = 0,24
echocancel = yes
signalling = pri_net
channel => 1-23


Asterisk2

; Span 1
switchtype = national ; commonly referred to as NI2
context = from-pstn
group = 0,24
echocancel = yes
signalling = pri_cpe
channel => 1-23



Following is my extensions.conf stuff on both machine (extension number could be change) 

[from-pstn]
exten => s,1,Answer()
        same => n,Playback(hello-world)
        same => n,Hangup()


[from-sip]
exten => _7XXX,1,Answer()
        same => n,Dial(SIP/${EXTEN})
        same => n,Hangup()

exten => 7527,1,Dial(DAHDI/G0/7527)



But i am getting following error when i am calling from A to B

satish-desktop*CLI>
[Mar 25 15:40:19] WARNING[4519]: app_dial.c:2039 dial_exec_full: Unable to create channel of type 'DAHDI' (cause 34 - Circuit/channel congestion)
[Mar 25 15:40:19] WARNING[4519]: acl.c:698 ast_ouraddrfor: Cannot connect
[Mar 25 15:40:19] WARNING[4519]: chan_sip.c:3115 __sip_xmit: sip_xmit of 0x14249d0 (len 763) to 0.0.29.103:5060 returned -1: Invalid argument
[Mar 25 15:40:19] WARNING[4371]: chan_sip.c:3115 __sip_xmit: sip_xmit of 0x14249d0 (len 763) to 0.0.29.103:5060 returned -1: Invalid argument


 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110325/88a63480/attachment.htm>


More information about the asterisk-users mailing list