[Asterisk-video] 3G phone -> PRI -> asterisk :: cannot get h324m_loopback to work.

Leonid Berson leonidberson at gmail.com
Sun Apr 13 05:54:27 CDT 2008


It's steel freezes on h324m_gw_answer():

*CLI> pri debug span 1
Enabled debugging on span 1
*CLI> < Protocol Discriminator: Q.931 (8)  len=45
< Call Ref: len= 2 (reference 523/0x20B) (Originator)
< Message type: SETUP (5)
< [04 03 88 90 a6]
< Bearer Capability (len= 5) [ Ext: 1  Q.931 Std: 0  Info transfer
capability: Unrestricted digital information (8)
<                              Ext: 1  Trans mode/rate: 64kbps, circuit-mode
(16)
<                              Ext: 1  User information layer 1: H.223 and
H.245 (38)
< [18 03 a1 83 81]
< 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: 1 ]
< [6c 0c 01 83 30 35 34 36 33 39 34 33 39 30]
< Calling Number (len=14) [ Ext: 0  TON: Unknown Number Type (0)  NPI:
ISDN/Telephony Numbering Plan (E.164/E.163) (1)
<                           Presentation: Presentation allowed of network
provided number (3)  '0546394390' ]
< [70 08 c1 35 36 35 30 32 30 30]
< Called Number (len=10) [ Ext: 1  TON: Subscriber Number (4)  NPI:
ISDN/Telephony Numbering Plan (E.164/E.163) (1)  '5650200' ]
< [7c 03 88 90 a6]
< IE: Low-layer Compatibility (len = 5)
< [a1]
< Sending Complete (len= 1)
-- Making new call for cr 523
-- Processing Q.931 Call Setup
-- Processing IE 4 (cs0, Bearer Capability)
-- Processing IE 24 (cs0, Channel Identification)
-- Processing IE 108 (cs0, Calling Party Number)
-- Processing IE 112 (cs0, Called Party Number)
-- Processing IE 124 (cs0, Low-layer Compatibility)
-- Processing IE 161 (cs0, Sending Complete)
q931.c:3353 q931_receive: call 523 on channel 1 enters state 6 (Call
Present)
q931.c:2620 q931_call_proceeding: call 523 on channel 1 enters state 9
(Incoming Call Proceeding)
> Protocol Discriminator: Q.931 (8)  len=10
> Call Ref: len= 2 (reference 523/0x20B) (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 ]
    -- Accepting call from '0546394390' to '5650200' on channel 0/1, span 1
    -- Executing [5650200 at from-video:1] Answer("Zap/1-1", "") in new stack
q931.c:2755 q931_connect: call 523 on channel 1 enters state 8 (Connect
Request)
> Protocol Discriminator: Q.931 (8)  len=10
> Call Ref: len= 2 (reference 523/0x20B) (Terminator)
> Message type: CONNECT (7)
> [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 ]
    -- Executing [5650200 at from-video:2] h324m_gw("Zap/1-1",
"chicken at 3gp_videos") in new stack
[Apr 13 13:22:34] WARNING[3625]: channel.c:752 ast_best_codec: Don't know
any of 0x2000 formats
    -- Executing [chicken at 3gp_videos:1]
h324m_gw_answer("Local/chicken at 3gp_videos-236d;2",
"") in new stack
< Protocol Discriminator: Q.931 (8)  len=5
< Call Ref: len= 2 (reference 523/0x20B) (Originator)
< Message type: CONNECT ACKNOWLEDGE (15)
q931.c:3513 q931_receive: call 523 on channel 1 enters state 10 (Active)
< Protocol Discriminator: Q.931 (8)  len=9
< Call Ref: len= 2 (reference 523/0x20B) (Originator)
< Message type: DISCONNECT (69)
< [08 02 80 90]
< Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0)  Spare: 0
Location: User (0)
<                  Ext: 1  Cause: Normal Clearing (16), class = Normal Event
(1) ]
-- Processing IE 8 (cs0, Cause)
q931.c:3620 q931_receive: call 523 on channel 1 enters state 12 (Disconnect
Indication)
    -- Channel 0/1, span 1 got hangup request, cause 16
  == Spawn extension (3gp_videos, chicken, 1) exited non-zero on
'Local/chicken at 3gp_videos-236d;2'
  == Spawn extension (from-video, 5650200, 2) exited non-zero on 'Zap/1-1'
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Disconnect Indication,
peerstate Disconnect Request
q931.c:2771 q931_release: call 523 on channel 1 enters state 19 (Release
Request)
> Protocol Discriminator: Q.931 (8)  len=9
> Call Ref: len= 2 (reference 523/0x20B) (Terminator)
> Message type: RELEASE (77)
> [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) ]
    -- Hungup 'Zap/1-1'
< Protocol Discriminator: Q.931 (8)  len=5
< Call Ref: len= 2 (reference 523/0x20B) (Originator)
< Message type: RELEASE COMPLETE (90)
q931.c:3560 q931_receive: call 523 on channel 1 enters state 0 (Null)
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null
NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null


On Sun, Apr 13, 2008 at 12:02 PM, Sergio Garcia Murillo <
sergio.garcia at fontventa.com> wrote:

>  Hi Lenoid,
>
> Try
>
> [3gp_videos]
> exten => chicken,1,h324m_gw_answer()
> exten => chicken,n,echo()
> exten => chicken,n,Hangup()
>
> BR
> Sergio
>
>
>
> <http://lists.digium.com/mailman/listinfo/asterisk-video>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-video/attachments/20080413/0a262e86/attachment.htm 


More information about the asterisk-video mailing list