[asterisk-users] Help with pri call giving error.

Jerry Geis geisj at pagestation.com
Tue Aug 23 17:28:59 CDT 2011


  I am not getting calls going out my PRI.
I am getting an error condition.

There are no errors in /var/log/asterisk/messages.

more /etc/dahdi/system.conf
loadzone=us
defaultzone=us
span=1,1,0,esf,b8zs
bchan=1-2
dchan=24
echocanceller=mg2,1-2


  more /etc/asterisk/chan_dahdi.conf
[channels]
pridialplan=unknown
prilocaldialplan=unknown
switchtype=national
signalling=pri_net
relaxdtmf=yes
echocancel=yes
echocancelwhenbridged=yes
echotraining=400
callerid=asreceived
context=smvoice-incoming
group=1
channel => 1-2


and pri logging shows:

>  DL-DATA request
>  Protocol Discriminator: Q.931 (8)  len=64
>  TEI=0 Call Ref: len= 2 (reference 3/0x3) (Sent from originator)
>  Message Type: SETUP (5)
TEI=0 Transmitting N(S)=4, window is open V(A)=4 K=7

>  Protocol Discriminator: Q.931 (8)  len=64
>  TEI=0 Call Ref: len= 2 (reference 3/0x3) (Sent from originator)
>  Message Type: SETUP (5)
>  [04 03 80 90 a2]
>  Bearer Capability (len= 5) [ Ext: 1  Coding-Std: 0  Info transfer capability: Speech (0)
>                               Ext: 1  Trans mode/rate: 64kbps, circuit-mode (16)
>                                 User information layer 1: u-Law (34)
>  [18 03 a9 83 81]
>  Channel ID (len= 5) [ Ext: 1  IntID: Implicit  Other(PRI)  Spare: 0  Exclusive  Dchan: 0
>                        ChanSel: As indicated in following octets
>                        Ext: 1  Coding: 0  Number Specified  Channel Type: 3
>                        Ext: 1  Channel: 1 Type: NET]
>  [1e 02 80 83]

csdbsigns*CLI>
>  Progress Indicator (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0)  0: 0  Location: User (0)
>                                Ext: 1  Progress Description: Calling equipment is non-ISDN. (3) ]
>  [28 17 b1 41 64 6d 69 6e 20 53 79 73 74 65 6d 20 53 59 53 20 41 44 4d 49 4e]
>  Display (len=23) Charset: 31 [ Admin System SYS ADMIN ]
>  [6c 03 00 81 30]
>  Calling Number (len= 5) [ Ext: 0  TON: Unknown Number Type (0)  NPI: Unknown Number Plan (0)
>                            Presentation: Presentation permitted, user number passed network screening (1)  '0' ]
>  [70 0d 80 39 31 33 31 37 35 30 36 38 30 31 32]
>  Called Number (len=15) [ Ext: 1  TON: Unknown Number Type (0)  NPI: Unknown Number Plan (0)  '913175551212' ]

csdbsigns*CLI>
q931.c:6036 q931_setup: Call 32771 enters state 1 (Call Initiated).  Hold state: Idle

csdbsigns*CLI>
  == Manager 'MessageNet' logged off from 127.0.0.1

csdbsigns*CLI>

<  Protocol Discriminator: Q.931 (8)  len=9
<  TEI=0 Call Ref: len= 2 (reference 3/0x3) (Sent to originator)
<  Message Type: RELEASE COMPLETE (90)
<  [08 02 81 81]
<  Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0)  Spare: 0  Location: Private network serving the local user (1)
<                   Ext: 1  Cause: Unallocated (unassigned) number (1), class = Normal Event (0) ]
Received message for call 0x1b0f7f40 on link 0x1b0f08b0 TEI/SAPI 0/0
-- Processing IE 8 (cs0, Cause)
q931.c:8567 post_handle_q931_message: Call 32771 enters state 0 (Null).  Hold state: Idle
     -- Channel 0/1, span 1 got hangup, cause 1




Why is the call failing?

Thanks,

Jerry




More information about the asterisk-users mailing list