<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#ffffff">
Hello,<br>
<br>
This is my first post to this list.<br>
<br>
I have a debian box with 1.4.15 asterisk and all video stuff
installed using directions from <a
href="http://asterisk-party.org/index.php/Asterisk_Video_3G_FR">http://asterisk-party.org/index.php/Asterisk_Video_3G_FR</a><br>
<br>
I am using zap fro my PRI<br>
<br>
I can see all modules in asterisk module directory.<br>
<br>
I have <b>succeded </b>in making a loopback test 3g phone -->
PRI --> Asterisk using dialplan below<br>
<br>
;exten => _1XXX,1,Answer<br>
;exten => _1XXX,n,h324m_loopback()<br>
;exten => _1XXX,n,Hangup<br>
<br>
Now, i am trying to play a video using mp4play to a 3g phone calling
my asterisk.<br>
<br>
I record mp4 file using my bria softphone and the following
dialplan:<br>
<br>
exten => 700,1,Wait,0 ; Wait a second, just
for fun<br>
exten => 700,2,Answer ; Answer the line<br>
exten => 700,3,mp4play(/usr/src/videomenu/menu.mp4) <br>
<br>
file is saved alright, and can be replayed to my bria softphone with
mp4play with no problem.<br>
<br>
i use the following:<br>
<br>
[incoming_calls]<br>
exten => _1XXX,1,h324m_gw(menu@3gin)<br>
<br>
[3gin]<br>
<br>
exten => menu,1,h324m_gw_answer()<br>
exten => menu,2,Wait(1)<br>
exten => menu,3,mp4play(/usr/src/videomenu/phonevideo.mp4)<br>
exten => menu,4,Hangup<br>
<br>
<br>
But as soon as call comes in i get disconnected from asterisk cli
and call is dropped<br>
<br>
asterisk-video*CLI> -- Accepting call from '6936525113' to '1400'
on channel 0/1, span 1<br>
asterisk-video*CLI> -- Executing [1400@incoming_calls:1]
h324m_gw("Zap/1-1", "menu@3gin") in new stack<br>
asterisk-video*CLI> asterisk-video*CLI><br>
asterisk-video*CLI> Disconnected from Asterisk server<br>
No such command '-- Accepting' (type 'help' for help)<br>
No such command '-- Executing' (type 'help' for help)<br>
No such command 'asterisk-video*CLI>' (type 'help' for help)<br>
No such command 'Disconnected from' (type 'help' for help)<br>
asterisk-video*CLI><br>
asterisk-video*CLI><br>
asterisk-video*CLI><br>
asterisk-video*CLI> pri debug span 1<br>
Enabled debugging on span 1<br>
asterisk-video*CLI> h324m debug level 4<br>
app_h324m Debugging enabled level: 4<br>
asterisk-video*CLI><br>
< Protocol Discriminator: Q.931 (8) len=42<br>
< TEI=0 Call Ref: len= 2 (reference 26/0x1A) (Sent from
originator)<br>
< Message Type: SETUP (5)<br>
< [a1]<br>
< Sending Complete (len= 1)<br>
< [04 03 88 90 a6]<br>
< Bearer Capability (len= 5) [ Ext: 1 Q.931 Std: 0 Info
transfer capability: Unrestricted digital information (8)<br>
< Ext: 1 Trans mode/rate: 64kbps,
circuit-mode (16)<br>
< User information layer 1:
H.223/H.245 Multimedia (38)<br>
< [18 03 a1 83 81]<br>
< Channel ID (len= 5) [ Ext: 1 IntID: Implicit Other(PRI)
Spare: 0 Preferred Dchan: 0<br>
< ChanSel: As indicated in following octets<br>
< Ext: 1 Coding: 0 Number Specified
Channel Type: 3<br>
< Ext: 1 Channel: 1 Type: CPE]<br>
< [6c 0c 21 83 36 39 33 36 35 32 35 31 31 33]<br>
< Calling Number (len=14) [ Ext: 0 TON: National Number (2)
NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)<br>
< Presentation: Presentation allowed of
network provided number (3) '6936525113' ]<br>
< [70 05 a1 31 34 30 30]<br>
< Called Number (len= 7) [ Ext: 1 TON: National Number (2) NPI:
ISDN/Telephony Numbering Plan (E.164/E.163) (1) '1400' ]<br>
< [7c 03 88 90 a6]<br>
< IE: Low-layer Compatibility (len = 5)<br>
-- Making new call for cref 26<br>
Received message for call 0x9807510 on 0x97c61b0 TEI/SAPI 0/0,
call->pri is 0x97c61b0 TEI/SAPI 0/0<br>
-- Processing Q.931 Call Setup<br>
-- Processing IE 161 (cs0, Sending Complete)<br>
-- Processing IE 4 (cs0, Bearer Capability)<br>
-- Processing IE 24 (cs0, Channel Identification)<br>
-- Processing IE 108 (cs0, Calling Party Number)<br>
-- Processing IE 112 (cs0, Called Party Number)<br>
-- Processing IE 124 (cs0, Low-layer Compatibility)<br>
q931.c:6966 post_handle_q931_message: Call 26 enters state 6 (Call
Present). Hold state: Idle<br>
q931.c:4594 q931_call_proceeding: Call 26 enters state 9 (Incoming
Call Proceeding). Hold state: Idle<br>
<br>
> DL-DATA request<br>
> Protocol Discriminator: Q.931 (8) len=10<br>
> TEI=0 Call Ref: len= 2 (reference 26/0x1A) (Sent to originator)<br>
> Message Type: CALL PROCEEDING (2)<br>
TEI=0 Transmitting N(S)=30, window is open V(A)=30 K=7<br>
<br>
> Protocol Discriminator: Q.931 (8) len=10<br>
> TEI=0 Call Ref: len= 2 (reference 26/0x1A) (Sent to originator)<br>
> Message Type: CALL PROCEEDING (2)<br>
> [18 03 a9 83 81]<br>
> Channel ID (len= 5) [ Ext: 1 IntID: Implicit Other(PRI)
Spare: 0 Exclusive Dchan: 0<br>
> ChanSel: As indicated in following octets<br>
> Ext: 1 Coding: 0 Number Specified
Channel Type: 3<br>
> Ext: 1 Channel: 1 Type: CPE]<br>
-- Accepting call from 'xxxxxxxxxxx' to '1400' on channel 0/1,
span 1<br>
-- Executing [1400@incoming_calls:1] h324m_gw("Zap/1-1",
"menu@3gin") in new stack<br>
asterisk-video*CLI><br>
Disconnected from Asterisk server<br>
asterisk-video:~#<br>
<br>
<br>
<br>
</body>
</html>