[Asterisk-video] 3G Video Call PRI Debug Output
Mitul Limbani
mitul at enterux.com
Sat Nov 27 06:15:44 CST 2010
Hello,
I have successfully installed app_h324m and app_mp4 and loaded on the
Asterisk Box.
Now when I get the video call on, I get the following problems:
My dialplan says this:
[from-pstn]
exten => _7642,1,H324m_gw(dabang at 3gp_videos)
[3gp_videos]
exten => dabang,1,H324m_gw_answer()
exten => dabang,n,mp4play(/tmp/dabang.3gp)
exten => dabang,n,Hangup()
But when I accept the call on the circuit, dialplan doesnt move any
further then H324m_gw_answer() and on the remote end on the 3G Video
Call Mobile phone i can see waiting for remote video :(
Which means that the next step in dialplan of mp4play is not getting
executed, coz the H324m_gw_answer negotiations aint happening.
Here is the output of 'pri debug span 1'
--------------------------------------------------------------------------------
Received message for call 0x8cc6c50 on 0xb5d26f08 TEI/SAPI 0/0,
call->pri is 0xb5d26f08 TEI/SAPI 0/0
-- Processing IE 8 (cs0, Cause)
q931.c:7197 post_handle_q931_message: Call 307 enters state 0 (Null).
Hold state: Idle
q931_hangup: other hangup
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null,
hold-state Idle
NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null,
hold-state Idle
< Protocol Discriminator: Q.931 (8) len=37
< TEI=0 Call Ref: len= 2 (reference 308/0x134) (Sent from 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)
< User information layer 1: H.223/H.245
Multimedia (38)
< [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: CPE]
< [6c 0c 21 83 39 38 36 39 32 33 30 35 39 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) 'XXXXXXXXXX' ]
< [70 05 c1 37 36 34 32]
< Called Number (len= 7) [ Ext: 1 TON: Subscriber Number (4) NPI:
ISDN/Telephony Numbering Plan (E.164/E.163) (1) '7642' ]
< [a1]
< Sending Complete (len= 1)
-- Making new call for cref 308
Received message for call 0x8c8a210 on 0xb5d26f08 TEI/SAPI 0/0,
call->pri is 0xb5d26f08 TEI/SAPI 0/0
-- 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 161 (cs0, Sending Complete)
q931.c:6966 post_handle_q931_message: Call 308 enters state 6 (Call
Present). Hold state: Idle
q931.c:4594 q931_call_proceeding: Call 308 enters state 9 (Incoming
Call Proceeding). Hold state: Idle
> DL-DATA request
> Protocol Discriminator: Q.931 (8) len=10
> TEI=0 Call Ref: len= 2 (reference 308/0x134) (Sent to originator)
> Message Type: CALL PROCEEDING (2)
TEI=0 Transmitting N(S)=47, window is open V(A)=47 K=7
> Protocol Discriminator: Q.931 (8) len=10
> TEI=0 Call Ref: len= 2 (reference 308/0x134) (Sent to originator)
> Message Type: CALL PROCEEDING (2)
> [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: CPE]
-- Accepting call from 'XXXXXXXXXXXX' to '7642' on channel 0/1, span 1
-- Executing [7642 at from-pstn:1] h324m_gw("DAHDI/1-1",
"dabang at 3gp_videos") in new stack
-- Executing [dabang at 3gp_videos:1]
h324m_gw_answer("Local/dabang at 3gp_videos-b658,2", "") in new stack
q931.c:4760 q931_connect: Call 308 enters state 8 (Connect Request).
Hold state: Idle
> DL-DATA request
> Protocol Discriminator: Q.931 (8) len=10
> TEI=0 Call Ref: len= 2 (reference 308/0x134) (Sent to originator)
> Message Type: CONNECT (7)
TEI=0 Transmitting N(S)=48, window is open V(A)=47 K=7
> Protocol Discriminator: Q.931 (8) len=10
> TEI=0 Call Ref: len= 2 (reference 308/0x134) (Sent to originator)
> Message Type: CONNECT (7)
> [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: CPE]
TEI=0 Retransmitting frame N(S)=47 now!
TEI=0 Retransmitting frame N(S)=48 now!
< Protocol Discriminator: Q.931 (8) len=5
< TEI=0 Call Ref: len= 2 (reference 308/0x134) (Sent from originator)
< Message Type: CONNECT ACKNOWLEDGE (15)
Received message for call 0x8c8a210 on 0xb5d26f08 TEI/SAPI 0/0,
call->pri is 0xb5d26f08 TEI/SAPI 0/0
q931.c:7130 post_handle_q931_message: Call 308 enters state 10
(Active). Hold state: Idle
< Protocol Discriminator: Q.931 (8) len=13
< TEI=0 Call Ref: len= 2 (reference 308/0x134) (Sent from 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) ]
< [1e 02 82 88]
< Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard
(0) 0: 0 Location: Public network serving the local user (2)
< Ext: 1 Progress Description: Inband
information or appropriate pattern now available. (8) ]
Received message for call 0x8c8a210 on 0xb5d26f08 TEI/SAPI 0/0,
call->pri is 0xb5d26f08 TEI/SAPI 0/0
-- Processing IE 8 (cs0, Cause)
-- Processing IE 30 (cs0, Progress Indicator)
-- Found active call: 0x8c8a210 cref:308
q931.c:7315 post_handle_q931_message: Call 308 enters state 12
(Disconnect Indication). Hold state: Idle
-- Channel 0/1, span 1 got hangup request, cause 16
== Spawn extension (3gp_videos, dabang, 1) exited non-zero on
'Local/dabang at 3gp_videos-b658,2'
== Spawn extension (from-pstn, 7642, 1) exited non-zero on 'DAHDI/1-1'
q931_hangup: other hangup
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Disconnect Indication,
peerstate Disconnect Request, hold-state Idle
q931.c:4798 q931_release: Call 308 enters state 19 (Release Request).
Hold state: Idle
> DL-DATA request
> Protocol Discriminator: Q.931 (8) len=9
> TEI=0 Call Ref: len= 2 (reference 308/0x134) (Sent to originator)
> Message Type: RELEASE (77)
TEI=0 Transmitting N(S)=49, window is open V(A)=49 K=7
> Protocol Discriminator: Q.931 (8) len=9
> TEI=0 Call Ref: len= 2 (reference 308/0x134) (Sent to originator)
> 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 'DAHDI/1-1'
TEI=0 Sending REJ N(R)=52
TEI=0 Retransmitting frame N(S)=49 now!
< Protocol Discriminator: Q.931 (8) len=9
< TEI=0 Call Ref: len= 2 (reference 308/0x134) (Sent from 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) ]
Received message for call 0x8c8a210 on 0xb5d26f08 TEI/SAPI 0/0,
call->pri is 0xb5d26f08 TEI/SAPI 0/0
-- Processing IE 8 (cs0, Cause)
q931.c:7197 post_handle_q931_message: Call 308 enters state 0 (Null).
Hold state: Idle
q931_hangup: other hangup
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null,
hold-state Idle
NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null,
hold-state Idle
--------------------------------------------------------------------------------
Can any one suggest what could be the potential problem ?
Regards,
Mitul Limbani,
Enterux Solutions,
www.enterux.com
More information about the asterisk-video
mailing list