[asterisk-dev] why not Alerting msg in libpri?

more once oncemore2000 at gmail.com
Mon Apr 17 19:21:55 MST 2006


why not Alerting msg in libpri?



pri call to ...

>> SETUP

<< CALL PROCEEDING

<<CONNECT

>> CONNECT ACKNOWLEDGE

<<   DISCONNECT

>>  RELEASE


<<   RELEASE COMPLETE


[root at dev root]# asterisk -r
Asterisk 1.2.4, Copyright (C) 1999 - 2006 Digium, Inc. and others.
Created by Mark Spencer <markster at digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'show warranty' for
details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it
under
certain conditions. Type 'show license' for details.
=========================================================================
Connected to Asterisk 1.2.4 currently running on dev (pid = 1741)
Verbosity is at least 3
dev*CLI> pri  debug span
1  2  3  4
dev*CLI> pri  debug span 1
Enabled debugging on span 1
Testing now!1 Testing now!1     -- Registered SIP '2008' at
192.168.139.59port 7915 expires 120
Testing now!1 Testing now!1 Testing now!1     -- Executing
Ringing("SIP/2008-f941", "") in new stack
    -- Executing Dial("SIP/2008-f941", "Zap/g1/2001") in new stack
-- Making new call for cr 32770
    -- Requested transfer capability: 0x00 - SPEECH
> Protocol Discriminator: Q.931 (8)  len=36
> Call Ref: len= 2 (reference 2/0x2) (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    -- Executing Playback("Zap/95-1", "demo-thanks") in new stack
    -- Accepting call from '2008' to '2001' on channel 0/2, span 4
 a1 83 82]
> Channel ID (len= 5) [ Ext: 1  IntID: Implicit, PRI Spare: 0, Preferred
Dchan: 0
>                        ChanSel: Reserved
>                       Ext: 1  Coding: 0   Number Specified   Channel Type:
3
>                       Ext: 1  Channel: 2 ]
> [28 03 64 65 76]
> Display (len= 3) ?÷ê@, ?@′÷ê@???@8uJ@, ?@′÷ê@j??@8uJ@€w?@>[ dev ]
> [6c 06 21 80 32 30 30 38]
> Calling Number (len= 8) [ Ext: 0  TON: National Number (2)  NPI:
ISDN/Telephony Numbering Plan (E.164/E.163) (1)
>                           Presentation: Presentation permitted, user
number not screened (0) '2008' ]
> [70 05 80 32 30 30 31]
> Called Number (len= 7) [ Ext: 1  TON: Unknown Number Type (0)  NPI:
Unknown Number Plan (0) '2001' ]
> [a1]I>
> Sending Complete (len= 1)
< Protocol Discriminator: Q.931 (8)  len=10
< Call Ref: len= 2 (reference 2/0x2) (Terminator)
< Message type: CALL PROCEEDING (2)
< [18 03 a9 83 82]
< 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: 2 ]
-- Processing IE 24 (cs0, Channel Identification)
    -- Called g1/2001
< Protocol Discriminator: Q.931 (8)  len=14
< Call Ref: len= 2 (reference 2/0x2) (Terminator)
< Message type: CONNECT (7)
< [18 03 a9 83 82]
< 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: 2 ]
< [1e 02 81 82]
< 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: Called
equipment is non-ISDN. (2) ]
-- Processing IE 24 (cs0, Channel Identification)
-- Processing IE 30 (cs0, Progress Indicator)
> Protocol Discriminator: Q.931 (8)  len=5
> Call Ref: len= 2 (reference 2/0x2) (Originator)
> Message type: CONNECT ACKNOWLEDGE (15)
    -- Zap/2-1 is proceeding passing it to SIP/2008-f941
    -- Zap/2-1 answered SIP/2008-f941
    -- Playing 'demo-thanks' (language 'en')
Apr 17 21:00:47 WARNING[2063]: pbx.c:2403 __ast_pbx_run: Timeout, but no
rule 't' in context 'default'
Testing now!1     -- Hungup 'Zap/95-1'
< Protocol Discriminator: Q.931 (8)  len=9
< Call Ref: len= 2 (reference 2/0x2) (Terminator)
< Message type: DISCONNECT (69)
< [08 02 81 90]
< Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0   Location:
Private network serving the local user (1)
<                  Ext: 1  Cause: Unknown (16), class = Normal Event (1) ]
-- Processing IE 8 (cs0, Cause)
    -- Channel 0/2, span 1 got hangup request
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Disconnect Indication,
peerstate Disconnect Request
> Protocol Discriminator: Q.931 (8)  len=9
> Call Ref: len= 2 (reference 2/0x2) (Originator)
> Message type: RELEASE (77)
> [08 02 81 90]
> Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0   Location:
Private network serving the local user (1)
>                  Ext: 1  Cause: Unknown (16), class = Normal Event (1) ]
    -- Hungup 'Zap/2-1'
  == Spawn extension (default, 200, 2) exited non-zero on 'SIP/2008-f941'
Testing now!1 < Protocol Discriminator: Q.931 (8)  len=9
< Call Ref: len= 2 (reference 2/0x2) (Terminator)
< Message type: RELEASE COMPLETE (90)
< [08 02 81 90]
< Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0   Location:
Private network serving the local user (1)
<                  Ext: 1  Cause: Unknown (16), class = Normal Event (1) ]
-- 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
dev*CLI>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20060417/a5a8fd88/attachment.htm


More information about the asterisk-dev mailing list