[Asterisk-Users] PRI: This number has been disconnected

Javier Ergas jergas at gmx.net
Fri Dec 30 08:52:08 MST 2005


I restarted as you say.

PRI Debug bellow


asterisk1*CLI> 
    -- Executing
Macro("SIP/225-99e9",
"dialout-trunk|1|2514990|") in new stack
 
asterisk1*CLI> 
    -- Executing
GotoIf("SIP/225-99e9",
"1?3:2)") in new stack
 
asterisk1*CLI> 
    -- Goto (macro-dialout-trunk,s,3)
 
asterisk1*CLI> 
    -- Executing
Macro("SIP/225-99e9",
"user-callerid") in new stack
 
asterisk1*CLI> 
    -- Executing
DBget("SIP/225-99e9",
"AMPUSER=DEVICE/225/user") in new stack
 
asterisk1*CLI> 
    -- DBget: varname=AMPUSER, family=DEVICE, key=225/user
 
asterisk1*CLI> 
    -- DBget: set variable AMPUSER to 225
 
asterisk1*CLI> 
    -- Executing
DBget("SIP/225-99e9",
"AMPUSERCIDNAME=AMPUSER/225/cidname") in new stack
 
asterisk1*CLI> 
    -- DBget: varname=AMPUSERCIDNAME, family=AMPUSER, key=225/cidname
 
asterisk1*CLI> 
    -- DBget: set variable AMPUSERCIDNAME to sipura Linksys
 
asterisk1*CLI> 
    -- Executing
GotoIf("SIP/225-99e9",
"0?5") in new stack
 
asterisk1*CLI> 
    -- Executing
SetCallerID("SIP/225-99e9",
""sipura Linksys" <225>") in new stack
 
asterisk1*CLI> 
    -- Executing
NoOp("SIP/225-99e9",
"Using CallerID "sipura Linksys" <225>") in new stack
 
asterisk1*CLI> 
    -- Executing
Macro("SIP/225-99e9",
"record-enable|225|OUT") in new stack
 
asterisk1*CLI> 
    -- Executing
GotoIf("SIP/225-99e9", "0
> 0?2:4") in new stack
 
asterisk1*CLI> 
    -- Goto (macro-record-enable,s,4)
 
asterisk1*CLI> 
    -- Executing AGI("SIP/225-99e9",
"recordingcheck|20051229-145347|1135878827.11") in new
stack
 
asterisk1*CLI> 
    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
 
asterisk1*CLI> 
  recordingcheck|20051229-145347|1135878827.11: Outbound recording not
enabled
 
asterisk1*CLI> 
    -- AGI Script recordingcheck completed, returning 0
 
asterisk1*CLI> 
    -- Executing
NoOp("SIP/225-99e9", "No
recording needed") in new stack
     -- Executing
Macro("SIP/225-99e9",
"outbound-callerid|1") in new stack
     -- Executing
DBget("SIP/225-99e9",
"USEROUTCID=AMPUSER/225/outboundcid") in new stack
     -- DBget: varname=USEROUTCID, family=AMPUSER, key=225/outboundcid
     -- DBget: set variable USEROUTCID to 
     -- Executing
GotoIf("SIP/225-99e9",
"1?4") in new stack
     -- Goto (macro-outbound-callerid,s,4)
     -- Executing
GotoIf("SIP/225-99e9",
"1?6") in new stack
     -- Goto (macro-outbound-callerid,s,6)
     -- Executing
NoOp("SIP/225-99e9",
"CallerID set to "sipura Linksys" <225>") in new stack
     -- Executing
SetGroup("SIP/225-99e9",
"OUT_1") in new stack
     -- Executing
CheckGroup("SIP/225-99e9",
"") in new stack
     -- Executing
SetVar("SIP/225-99e9",
"DIAL_NUMBER=2514990") in new stack
     -- Executing
SetVar("SIP/225-99e9",
"DIAL_TRUNK=1") in new stack
     -- Executing
AGI("SIP/225-99e9",
"fixlocalprefix") in new stack
 
asterisk1*CLI> 
    -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
 
asterisk1*CLI> 
  fixlocalprefix: Could not open /etc/asterisk/localprefixes.conf
 
asterisk1*CLI> 
    -- AGI Script fixlocalprefix completed, returning 0
     -- Executing
SetVar("SIP/225-99e9",
"OUTNUM=2514990") in new stack
     -- Executing
Cut("SIP/225-99e9",
"custom=OUT_1|:|1") in new stack
     -- Executing
GotoIf("SIP/225-99e9",
"0?16") in new stack
     -- Executing
Dial("SIP/225-99e9",
"ZAP/g0/2514990") in new stack
 -- Making new call for cr 32772
     -- Requested transfer capability: 0x00 - SPEECH
 > Protocol Discriminator: Q.931 (8)  len=49
 > Call Ref: len= 2 (reference 4/0x4) (Originator)
 > Message type: SETUP (5)
 
> [04 03 80 90 a3]
 > Bearer Capability (len= 5) [ Ext: 1  Q.931 Std: 0  Info transfer
capability: Speech (0)
 >                              Ext: 1  Trans mode/rate: 64kbps,
circuit-mode (16)
 >                              Ext: 1  User information layer 1: A-Law (35)
 
> [18 03 a9 83 81]
 > Channel ID (len= 5) [ Ext: 1  IntID: Implicit, PRI Spare: 0, Exclusive
Dchan: 0
 >                        ChanSel: Reserved
 >                       Ext: 1  Coding: 0   Number Specified   Channel
Type: 3
 >                       Ext: 1  Channel: 1 ]
 
> [28 0e 73 69 70 75 72 61 20 4c 69 6e 6b 73 79 73]
 > Display (len=14) ˆ>Ù[ sipura Linksys ]
 
> [6c 05 21 80 32 32 35]
 > Calling Number (len= 7) [ Ext: 0  TON: National Number (2)  NPI:
ISDN/Telephony Numbering Plan (E.164/E.163) (1)
 >                           Presentation: Presentation permitted, user
number not screened (0) '225' ]
 
> [70 08 a1 32 35 31 34 39 39 30]
 > Called Number (len=10) [ Ext: 1  TON: National Number (2)  NPI:
ISDN/Telephony Numbering Plan (E.164/E.163) (1) '2514990' ]
 
> [a1]
 > Sending Complete (len= 1)
     -- Called g0/2514990
 
asterisk1*CLI> 
< Protocol Discriminator: Q.931 (8)  len=13
 
asterisk1*CLI> 
< Call Ref: len= 2 (reference 4/0x4) (Terminator)
 < Message type: STATUS (125)
 
< [08 03 80 e3 28]
 < Cause (len= 5) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0
Location: User (0)
 <                  Ext: 1  Cause: Unknown (99), class = Protocol Error (6)
]
 <              Cause data 1: 28 (40, Display IE)
 
< [14 01 01]
 < Call State (len= 3) [ Ext: 0  Coding: CCITT (ITU) standard (0) Call
state: Call Initiated (1)
 -- Processing IE 8 (cs0, Cause)
 -- Processing IE 20 (cs0, Call State)
 
asterisk1*CLI> 
< Protocol Discriminator: Q.931 (8)  len=10
 < Call Ref: len= 2 (reference 4/0x4) (Terminator)
 < Message type: CALL PROCEEDING (2)
 
< [18 03 a9 83 81]
 < Channel ID (len= 5) [ Ext: 1  IntID: Implicit, PRI Spare: 0, Exclusive
Dchan: 0
 <                        ChanSel: Reserved
 <                       Ext: 1  Coding: 0   Number Specified   Channel
Type: 3
 <                       Ext: 1  Channel: 1 ]
 -- Processing IE 24 (cs0, Channel Identification)
 
asterisk1*CLI> 
    -- Zap/1-1 is proceeding passing it to SIP/225-99e9
 
asterisk1*CLI> 
< Protocol Discriminator: Q.931 (8)  len=13
 < Call Ref: len= 2 (reference 4/0x4) (Terminator)
 < Message type: DISCONNECT (69)
 
< [08 02 80 81]
 < Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0
Location: User (0)
 <                  Ext: 1  Cause: Unallocated (unassigned) number (1),
class = Normal Event (0) ]
 
< [1e 02 80 88]
 
asterisk1*CLI> 
< Progress Indicator (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0:
0   Location: User (0)
 <                               Ext: 1  Progress Description: Inband
information or appropriate pattern now available. (8) ]
 -- Processing IE 8 (cs0, Cause)
 -- Processing IE 30 (cs0, Progress Indicator)
     -- Channel 0/1, span 1 got hangup request
 
asterisk1*CLI> 
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Disconnect Indication,
peerstate Disconnect Request
 > Protocol Discriminator: Q.931 (8)  len=16
 > Call Ref: len= 2 (reference 4/0x4) (Originator)
 > Message type: RELEASE (77)
 
> [08 02 81 81]
 > Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0
Location: Private network serving the local user (1)
 >                  Ext: 1  Cause: Unallocated (unassigned) number (1),
class = Normal Event (0) ]
 
> [7e 05 04 d8 e3 bc 08]
 
> User-User Information (len= 7) [ 04 58 63 3c 08 ]
     -- Hungup 'Zap/1-1'
   == No one is available to answer at this time (1:0/0/0)
     -- Executing
Goto("SIP/225-99e9",
"s-NOANSWER|1") in new stack
     -- Goto (macro-dialout-trunk,s-NOANSWER,1)
     -- Executing
NoOp("SIP/225-99e9", "Dial
failed due to NOANSWER") in new stack
     -- Executing
Macro("SIP/225-99e9",
"outisbusy") in new stack
     -- Executing
Playback("SIP/225-99e9",
"all-circuits-busy-now") in new stack
 
asterisk1*CLI> 
    -- Playing 'all-circuits-busy-now' (language 'es')
 
asterisk1*CLI> 
< Protocol Discriminator: Q.931 (8)  len=10
 < Call Ref: len= 2 (reference 4/0x4) (Terminator)
 < Message type: RELEASE COMPLETE (90)
 
< [08 03 80 ab 7e]
 < Cause (len= 5) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0
Location: User (0)
 <                  Ext: 1  Cause: Unknown (43), class = Network Congestion
(2) ]
 <              Cause data 1: 7e (126)
 -- Processing IE 8 (cs0, Cause)
 NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null
 NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null
 
asterisk1*CLI> 
    -- Executing
Playback("SIP/225-99e9",
"pls-try-call-later") in new stack
 
asterisk1*CLI> 
    -- Playing 'pls-try-call-later' (language 'es')
 
asterisk1*CLI> 
    -- Executing
Macro("SIP/225-99e9",
"hangupcall") in new stack
     -- Executing
ResetCDR("SIP/225-99e9",
"w") in new stack
 
asterisk1*CLI> 
    -- Executing
NoCDR("SIP/225-99e9",
"") in new stack
     -- Executing
Wait("SIP/225-99e9",
"5") in new stack
 
asterisk1*CLI> 
  == Spawn extension (macro-hangupcall, s, 3) exited non-zero on
'SIP/225-99e9' in macro 'hangupcall'
   == Spawn extension (macro-outisbusy, s, 3) exited non-zero on
'SIP/225-99e9' in macro 'outisbusy'
   == Spawn extension (from-internal, 2514990, 2) exited non-zero on
'SIP/225-99e9'
     -- Executing
Macro("SIP/225-99e9",
"hangupcall") in new stack
     -- Executing
ResetCDR("SIP/225-99e9",
"w") in new stack
     -- Executing
NoCDR("SIP/225-99e9",
"") in new stack
     -- Executing
Wait("SIP/225-99e9",
"5") in new stack
   == Spawn extension (macro-hangupcall, s, 3) exited non-zero on
'SIP/225-99e9' in macro 'hangupcall'
   == Spawn extension (from-internal, h, 1) exited non-zero on
'SIP/225-99e9'

-----Mensaje original-----
De: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] En nombre de Adam Goryachev
Enviado el: Jueves, 29 de Diciembre de 2005 23:40
Para: Asterisk Users Mailing List - Non-Commercial Discussion
Asunto: RE: [Asterisk-Users] PRI: This number has been disconnected

On Thu, 2005-12-29 at 16:22 -0300, Javier Ergas wrote:
> I have tried both inband and outofband too unsuccessfully. I think the
> priindication parameter says how Asterisk reports Busy and Congestion
> to the PSTN, not the other way around.
> 
> In the Asterisk config sirrix.conf
> (http://www.voip-info.org/wiki/index.php?page=Asterisk+config
> +sirrix.conf) there is a providetones parameter, witch I think handles
> the way that interface receives the signalization from the PSTN, but I
> think it won’t work for zaptel/Zapata.
> 
>  
> 
> Today I tried Asterisk 1.2 in another Telco and I experienced the same
> behavior. I’m starting to think this is a bug in the Asterisk E1
> signalization. 

Just remember to restart asterisk, not just reload...

I had this problem, and changing this value seemed to fix it for me.
Your mileage may vary...

Maybe providing a pri debug output during an example call would get you
a comment from someone else ....

Regards,
Adam

> 

_______________________________________________
--Bandwidth and Colocation provided by Easynews.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