[asterisk-users] Asterisks, Sip to Local PRI/PTSN issue

James A. Shigley jas at answeringserv.com
Thu Jun 18 13:24:29 CDT 2009


!! Got reject for frame 61, but we have nothing -- resetting!
!! Got reject for frame 63, but we have nothing -- resetting!
!! Got reject for frame 65, but we have nothing -- resetting!
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Active, peerstate
Connect Request
q931.c:3009 q931_disconnect: call 60185 on channel 3 enters state 11
(Disconnect Request)
> Protocol Discriminator: Q.931 (8)  len=9
> Call Ref: len= 2 (reference 27417/0x6B19) (Originator)
> Message type: DISCONNECT (69)
> [08 02 81 90]
> Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0)  Spare: 0
Location: Private network serving the local user (1)
>                  Ext: 1  Cause: Normal Clearing (16), class = Normal
Event (1) ]
< Protocol Discriminator: Q.931 (8)  len=5
< Call Ref: len= 2 (reference 27417/0x6B19) (Terminator)
< Message type: RELEASE (77)
q931.c:3795 q931_receive: call 60185 on channel 3 enters state 0 (Null)
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Release
Request
> Protocol Discriminator: Q.931 (8)  len=9
> Call Ref: len= 2 (reference 27417/0x6B19) (Originator)
> Message type: RELEASE COMPLETE (90)
> [08 02 81 90]
> Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0)  Spare: 0
Location: Private network serving the local user (1)
>                  Ext: 1  Cause: Normal Clearing (16), class = Normal
Event (1) ]
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null
NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null
-- Making new call for cr 60186
> Protocol Discriminator: Q.931 (8)  len=101
> Call Ref: len= 2 (reference 27418/0x6B1A) (Originator)
> Message type: SETUP (5)
> [04 03 80 90 a2]
> Bearer Capability (len= 5) [ Ext: 1  Q.931 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 a1 83 82]
> Channel ID (len= 5) [ Ext: 1  IntID: Implicit  PRI  Spare: 0
Preferred  Dchan: 0
>                        ChanSel: As indicated in following octets
>                       Ext: 1  Coding: 0  Number Specified  Channel
Type: 3
>                       Ext: 1  Channel: 2 ]
> [1c 15 9f 8b 01 00 a1 0f 02 01 fb 06 07 2a 86 48 ce 15 00 04 0a 01 00]
> Facility (len=23, codeset=0) [ 0x9F, 0x8B, 0x01, 0x00, 0xA1, 0x0F,
0x02, 0x01, 0xFB, 0x06, 0x07, '*', 0x86, 'H', 0xCE, 0x15, 0x00, 0x04,
0x0A, 0x01, 0x00 ]
PROTOCOL 1F
8B 0001 00 (CONTEXT SPECIFIC [11])
A1 000F (CONTEXT SPECIFIC [1])
  02 0001 FB (INTEGER: 251)
  06 0007 2A 86 48 CE 15 00 04 (OBJECTIDENTIFIER: 2a 86 48 ce 15 00 04)
  0A 0001 00 (ENUMERATED: 0)
> [1e 02 80 83]
> 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 0f b1 43 48 41 52 4c 4f 54 2c 44 41 4e 49 45 4c]
> Display (len=15) Charset: 31 [ CHARLOT,DANIEL ]
> [6c 0c 21 83 34 30 39 35 34 33 33 31 31 30]
> Calling Number (len=14) [ Ext: 0  TON: National Number (2)  NPI:
ISDN/Telephony Numbering Plan (E.164/E.163) (1)
>                           Presentation: Presentation allowed of
network provided number (3)  '4095433110' ]
> [70 0b a1 34 30 39 39 38 31 39 39 32 31]
> Called Number (len=13) [ Ext: 1  TON: National Number (2)  NPI:
ISDN/Telephony Numbering Plan (E.164/E.163) (1)  '4099819921' ]
> [74 0d 21 01 8f 34 30 39 39 38 35 38 38 36 35]
> Redirecting Number (len=15) [ Ext: 0  TON: National Number (2)  NPI:
ISDN/Telephony Numbering Plan (E.164/E.163) (1)
>                               Ext: 0  Presentation: Presentation
permitted, user number passed network screening (1)
>                               Ext: 1  Reason: Forwarded
unconditionally (15)  '4099858865' ]
q931.c:3128 q931_setup: call 60186 on channel 2 enters state 1 (Call
Initiated)
< Protocol Discriminator: Q.931 (8)  len=11
< Call Ref: len= 2 (reference 27418/0x6B1A) (Terminator)
< Message type: CALL PROCEEDING (2)
< [18 04 e9 80 83 82]
< Channel ID (len= 6) [ Ext: 1  IntID: Explicit  PRI  Spare: 0
Exclusive  Dchan: 0
<                        ChanSel: As indicated in following octets
<                       Ext: 1  DS1 Identifier: 0  
<                       Ext: 1  Coding: 0  Number Specified  Channel
Type: 3
<                       Ext: 1  Channel: 2 ]
-- Processing IE 24 (cs0, Channel Identification)
q931.c:3677 q931_receive: call 60186 on channel 2 enters state 3
(Outgoing call  Proceeding)
> Protocol Discriminator: Q.931 (8)  len=35
> Call Ref: len= 2 (reference 27418/0x6B1A) (Originator)
> Message type: FACILITY (98)
> [1c 1c 9f 8b 01 00 a1 16 02 01 fc 02 01 00 80 0e 43 48 41 52 4c 4f 54
2c 44 41 4e 49 45 4c]
> Facility (len=30, codeset=0) [ 0x9F, 0x8B, 0x01, 0x00, 0xA1, 0x16,
0x02, 0x01, 0xFC, 0x02, 0x01, 0x00, 0x80, 0x0E, 'CHARLOT,DANIEL' ]
PROTOCOL 1F
8B 0001 00 (CONTEXT SPECIFIC [11])
A1 0016 (CONTEXT SPECIFIC [1])
  02 0001 FC (INTEGER: 252)
  02 0001 00 (INTEGER: 0)
  80 000E 43 48 41 52 4C 4F 54 2C 44 41 4E 49 45 4C (CONTEXT SPECIFIC
[0])
< Protocol Discriminator: Q.931 (8)  len=9
< Call Ref: len= 2 (reference 27418/0x6B1A) (Terminator)
< Message type: ALERTING (1)
< [1e 02 81 88]
< Progress Indicator (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0)
0: 0  Location: Private network serving the local user (1)
<                               Ext: 1  Progress Description: Inband
information or appropriate pattern now available. (8) ]
-- Processing IE 30 (cs0, Progress Indicator)
q931.c:3590 q931_receive: call 60186 on channel 2 enters state 4 (Call
Delivered)
< Protocol Discriminator: Q.931 (8)  len=9
< Call Ref: len= 2 (reference 27418/0x6B1A) (Terminator)
< Message type: CONNECT (7)
< [1e 02 81 88]
< Progress Indicator (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0)
0: 0  Location: Private network serving the local user (1)
<                               Ext: 1  Progress Description: Inband
information or appropriate pattern now available. (8) ]
-- Processing IE 30 (cs0, Progress Indicator)
q931.c:3620 q931_receive: call 60186 on channel 2 enters state 10
(Active)
> Protocol Discriminator: Q.931 (8)  len=5
> Call Ref: len= 2 (reference 27418/0x6B1A) (Originator)
> Message type: CONNECT ACKNOWLEDGE (15)
!! Got reject for frame 69, but we have nothing -- resetting!
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Active, peerstate
Connect Request
q931.c:3009 q931_disconnect: call 60186 on channel 2 enters state 11
(Disconnect Request)
> Protocol Discriminator: Q.931 (8)  len=9
> Call Ref: len= 2 (reference 27418/0x6B1A) (Originator)
> Message type: DISCONNECT (69)
> [08 02 81 90]
> Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0)  Spare: 0
Location: Private network serving the local user (1)
>                  Ext: 1  Cause: Normal Clearing (16), class = Normal
Event (1) ]
< Protocol Discriminator: Q.931 (8)  len=5
< Call Ref: len= 2 (reference 27418/0x6B1A) (Terminator)
< Message type: RELEASE (77)
q931.c:3795 q931_receive: call 60186 on channel 2 enters state 0 (Null)
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Release
Request
> Protocol Discriminator: Q.931 (8)  len=9
> Call Ref: len= 2 (reference 27418/0x6B1A) (Originator)
> Message type: RELEASE COMPLETE (90)
> [08 02 81 90]
> Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0)  Spare: 0
Location: Private network serving the local user (1)
>                  Ext: 1  Cause: Normal Clearing (16), class = Normal
Event (1) ]
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null
NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null
!! Got reject for frame 71, but we have nothing -- resetting!

James Shigley


-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Andres
Sent: Wednesday, June 17, 2009 3:20 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Asterisks, Sip to Local PRI/PTSN issue

James A. Shigley wrote:

> Never saw this appear on the list. So just resending it.
>
You might get more help if you include a PRI Debug that shows the call 
being rejected.

Andres
http://www.neuroredes.com

> Alright I've been having an issue when trying to dial out locally when

> coming from SIP. This used to work no problem, now it doesn't. Now the

> local PRI to Bell Is working fine I have calls coming in and out of it

> constantly right now. BUT if I try and make a local call from SIP 
> (from X-Lite or one of our Linksys SPA2102s) It fails every time with 
> errors like these
>


_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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



More information about the asterisk-users mailing list