[Asterisk-video] H324m outbound videocalls

ISAAC GONZALEZ GONZALEZ UO167279 at uniovi.es
Thu Jul 31 12:04:03 CDT 2008


Hello members,
I am trying to do outgoing 3G videocalls and playing a 3gp video. To do that I'm using the fontventa software and the 'originate' CLI command. I am using a Digium PRI card (TE 420) and an N70 mobile phone and I have built asterisk + libpri + zaptel + asterisk LLC patch + libpri LLC patch + fontventa software; however I think the LLC patches are not necesary since the call is established using the Bearer Capability field insted the LLC one.
Using old postings of the list I succeeded in stablishing the outgoing video call, but I cannot see any vídeo stream on my mobile phone when mp4play is running. I tried using X-Lite to initiate the video call with the H324m network but the result is the same. No video or audio stream seems to be transferred.
Please could anybody tell me any comment in order to solve this problem?
How could I sniff the Zaptel interface to analyze the traffic that is being sent/received?I'm using the 'pri debug' option in the Asterisk CLI,
Thanks in advance.
Isaac


--- CLI output ---

CLI> originate local/200 extension 666
ONNECT ACKNOWLEDGE (15)
    -- Zap/1-1 answered L-bash: CLI: command not found
-- Executing [200 at default:1] Answer("Local/200 at default-4972,2", "") in new stack
ocal/dialcell at video_test_out_context-f524,2
  == Spawn extension (video_test_out_cont-bash: syntax error near unexpected token `('
-- Executing [200 at default:2] mp4play("Local/200 at default-4972,2", "XXXXXXXXX.3gp") in new stack
ext, dialcell, 5) exited non-zero on 'Local/dialcell at video_test_out_context-f524,2'
< Protocol Discriminator: Q.931 (8)  -bash: syntax error near unexpected token `('
-- Executing [666 at default:1] Set("Local/200 at default-4972,1", "CHANNEL(transfercapability)=VIDEO") in new stack
len=9
< Call Ref: len= 2 (reference 2/0x2) (Terminator)
< Message type: DISCONNECT (69)
< [08 02 80 90]
< Cause (le-bash: syntax error near unexpected token `('
-- Executing [666 at default:2] Set("Local/200 at default-4972,1", "CHANNEL(userinformationlayer1)=38") in new stack
n= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0)  Spare: 0  Location: User (0)
<                  Ext: 1  Cause: No-bash: syntax error near unexpected token `('
-- Executing [666 at default:3] h324m_gw("Local/200 at default-4972,1", "s at video_test_out_context") in new stack
rmal Clearing (16), class = Normal Event (1) ]
-- Processing IE 8 (cs0, Cause)
q931.c:3979 q931_receive: call 3-bash: syntax error near unexpected token `('
[Aug  1 20:10:29] WARNING[18024]: channel.c:700 ast_best_codec: Don't know any of 0x2000 formats
>     -- Executing [s at video_test_out_context:1] h324m_call("Local/s at video_test_out_context-8767,2", "dialcell at video_test_out_context") in new stack
>     -- Executing [dialcell at video_test_out_context:1] Set("Local/dialcell at video_test_out_context-f524,2", "CHANNEL(transfercapability)=VIDEO") in new stack
>     -- Executing [dialcell at video_test_out_context:2] NoOp("Local/dialcell at video_test_out_context-f524,2", "transfer=VIDEO") in new stack
>     -- Executing [dialcell at video_test_out_context:3] Set("Local/dialcell at video_test_out_context-f524,2", "CHANNEL(userinformationlayer1)=38") in new stack
>     -- Executing [dialcell at video_test_out_context:4] NoOp("Local/dialcell at video_test_out_context-f524,2", "ul1=38") in new stack
>     -- Executing [dialcell at video_test_out_context:5] Dial("Local/dialcell at video_test_out_context-f524,2", "Zap/1/6XXXXXXXX") in new stack
> -- Making new call for cr 32770
>     -- digital call, setting user information layer 1 to 38 (0x26)
>     -- zap call: h324musellc=0, ast->userinformationlayer1=38
>     -- Requested transfer capability: 0x18 - VIDEO
> > Protocol Discriminator: Q.931 (8)  len=32
> > Call Ref: len= 2 (reference 2/0x2) (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  PRI  Spare: 0  Exclusive  Dchan: 0
> >                        ChanSel: Reserved
> >                       Ext: 1  Coding: 0  Number Specified  Channel Type: 3
> >                       Ext: 1  Channel: 1 ]
> > [6c 02 00 c3]
> > Calling Number (len= 4) [ Ext: 0  TON: Unknown Number Type (0)  NPI: Unknown Number Plan (0)
> >                           Presentation: Number not available (67)  '' ]
2770 on channel 1 enters state 12 (Disconnect Indication)
    -- Channel 0/1, span 1 got hangup request, cause 16
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Disconnect Indication, peerstate Disconnect Request
q931.c:3102 q931_release: call 32770 on channel 1 enters state 19 (Release 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)  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 2/0x2) (Terminator)
< Message type: RELEASE COMPLETE (90)
q931.c:3919 q931_receive: call 32770 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

> > [70 0a a1 36 31 35 35 38 33 37 34 33]
> > Called Number (len=12) [ Ext: 1  TON: National Number (2)  NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)  '6XXXXXXXX' ]
> > [a1]CLI>
> > Sending Complete (len= 1)
> q931.c:3279 q931_setup: call 32770 on channel 1 enters state 1 (Call Initiated)
>     -- Called 1/6XXXXXXXX
> < Protocol Discriminator: Q.931 (8)  len=10
> < Call Ref: len= 2 (reference 2/0x2) (Terminator)
> < Message type: CALL PROCEEDING (2)
> < [18 03 a9 83 81]
> < Channel ID (len= 5)
> <                        ChanSel: Reserved
> <                       Ext: 1  Coding: 0  Number Specified  Channel Type: 3
> <                       Ext: 1  Channel: 1 ]
> -- Processing IE 24 (cs0, Channel Identification)
> q931.c:3836 q931_r
>     -- Zap/1-1 is proceeding passing it to Local/dialcell at video_test_out_context-f5
> < Protocol Discriminator: Q.931 (8)  len=5
> < Call Ref: len= 2 (reference 2/0x2) (Terminator)
> < Message type: ALERTING (1)
> q931.c:3749 q931_receive: call 32770 on channel 1 enters state 4 (Call Delivered)
>     -- Zap/1-1 is ringing
> < Protocol Discriminator: Q.931 (8)  len=13
> < Call Ref: len= 2 (reference 2/0x2) (Terminator)
> < Message type: CONNECT (7)
> < [29 06 08 07 1f 12 09 2e]
> < Time Date (len= 8) [ 08-07-31 18:09:46 ]
> -- Processing IE 41 (cs0, Date/Time)
> q931.c:3779 q931_receive: call 32770 on channel 1 enters state 10 (Active)
> > Protocol Discriminator: Q.931 (8)  len=5
> > Call Ref: len= 2 (reference 2/0x2) (Originator)
> > Message type: CONNECT ACKNOWLEDGE (15)
>     -- Zap/1-1 answered Local/dialcell at video_test_out_context-f524,2
>   == Spawn extension (video_test_out_context, dialcell, 5) exited non-zero on 'Local/dialcell at video_test_out_context-f524,2'
> < Protocol Discriminator: Q.931 (8)  len=9
> < Call Ref: len= 2 (reference 2/0x2) (Terminator)
> < 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:3979 q931_receive: call 32770 on channel 1 enters state 12 (Disconnect Indication)
>     -- Channel 0/1, span 1 got hangup request, cause 16
> NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Disconnect Indication, peerstate Disconnect Request
> q931.c:3102 q931_release: call 32770 on channel 1 enters state 19 (Release 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)  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 2/0x2) (Terminator)
> < Message type: RELEASE COMPLETE (90)
> q931.c:3919 q931_receive: call 32770 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
--- END OF CLI Output ---

--- extensions.conf ---
[general]
static=yes
writeprotect=no
autofallthrough=no

[globals]
CONSOLE=Console/dsp                            
TRUNK=sip                                      
TRUNKMSD=1                                     

[default]
exten => 200,1,Answer
exten => 200,n,mp4play(XXXXXXXX.3gp)
exten => 200,n,Goto(2)
exten => 200,n,Hangup

include => video_test_out
include => video_test_out_context

[video_test_out]
exten => 666,1,Set(CHANNEL(transfercapability)=VIDEO)
exten => 666,n,Set(CHANNEL(userinformationlayer1)=38)
exten => 666,n,h324m_gw(s at video_test_out_context)
exten => 666,n,Hangup()

[video_test_out_context]
exten => s,1,h324m_call(dialcell at video_test_out_context)
exten => dialcell,1,Set(CHANNEL(transfercapability)=VIDEO)
exten => dialcell,n,NoOp(transfer=${CHANNEL(transfercapability)})
exten => dialcell,n,Set(CHANNEL(userinformationlayer1)=38)
exten => dialcell,n,NoOp(ul1=${CHANNEL(userinformationlayer1)})
exten => dialcell,n,Dial(Zap/1/6XXXXXXXX)
exten => dialcell,n,Hangup()
---END OF extensions.conf---




More information about the asterisk-video mailing list