Did you check so see if the pri is up?

 

Also, make sure wanpipe & dahdi is setup correctly.

 

 

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of satish patel
Sent: Friday, March 25, 2011 3:41 PM
To: asterisk-users
Subject: [asterisk-users] Back-to-back asterisk PRI issue

 

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



--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to