[Asterisk-video] Help with example from fontventa page
Nico Gundacker
nico.gundacker at dynetic.de
Wed May 14 05:27:47 CDT 2008
Hi,
I want to note that the problems with the IVVR-System are fixed. There was
a huge delay-time when sending a video to the mobile-phone, also the second
video was never show on the display (but was played). Still I have some
problems left. After the connection between the Asterisk and the
mobile-phone was made, the video is played, however this is indicated only
after 10 - 15 seconds on the display (see below). How can I fix that? Are
there any further settings to build on asterisk? I programmed the videos
(menu) in a loop so that they will be played the hole time. All the features
are working with more or less quality-problems, but not on all phones. I
used the following phones to test:
Samsung QBowl F700 -> working
Sony Ericson k810i -> working
Samsung SGH-Z300 -> working
Nokia N70 -> black screen when playing the menu-video (from fontventa-page),
but when calling other videos directly, these were shown
If the system will work in the future, I´ll try some more phones and will
post the result to you.
Just one question left. How can I cancel saving a video via dtmf, without
canceling the call? So that I have the option to go back to the menu. With
rtsp and mp4play this works, when calling zero, so as I setup in the menu.
Thank you and regards
Nico
Here is the extensions.conf that I used for testing.:
exten => 1424,1,H324m_gw(0 at capi-in);
exten => _0,1,Answer
exten => _0,2,mp4play(/tmp/menu/menu.mp4)
exten => _0,3,WaitExten
exten => _0,4,Goto(capi-in,0,2)
exten => _1,1,Answer
exten => _1,2,mp4play(/tmp/menu/menu1.mp4)
exten => _1,3,Goto(capi-in,101,1)
exten => _1,4,Goto(capi-in,1,2)
exten => _2,1,Answer
exten => _2,2,mp4play(/tmp/menu/menu2.mp4)
exten => _2,3,Goto(capi-in,102,1)
exten => _2,4,Goto(capi-in,2,2)
exten => _3,1,Answer
exten => _3,2,mp4play(/tmp/menu/menu3.mp4)
exten => _3,3,Goto(capi-in,103,1)
exten => _3,4,Goto(capi-in,3,2)
exten => _4,1,Answer
exten => _4,2,HangUp
exten => 101,1,Answer
exten => 101,2,mp4save(/tmp/save.mp4)
exten => 101,3,Goto(capi-in,0,1)
exten => 102,1,Answer
exten => 102,2,mp4play(/tmp/save.mp4)
exten => 102,3,Goto(capi-in,0,1)
exten => 103,1,Answer
exten =>
103,2,transcode(,104 at capi-in,h263 at qcif/fps=10/kb=52/qmin=4/qmax=12/gs=50)
exten => 103,3,Goto(capi-in,0,1)
exten => 104,1,Answer
exten => 104,2,rtsp(rtsp://xx.xx.xx.xx/xxxxxxx/spiegel_direkt/28766.3gp)
exten => 104,3,Goto(capi-in,0,1)
exten => t,1,Goto(cpai-in,0,2)
Here the mobile-phone-timer starts -> 0 sec.
[May 14 12:27:29] WARNING[4416]: channel.c:1867 ast_waitfordigit_full:
Unexpected control subclass '18'
-- Timeout on Local/0 at capi-in-ac24,2, continuing...
-- Executing [0 at capi-in:4] Goto("Local/0 at capi-in-ac24,2", "capi-in|0|2")
in new stack
-- Goto (capi-in,0,2)
-- Executing [0 at capi-in:2] mp4play("Local/0 at capi-in-ac24,2",
"/tmp/menu/menu.mp4") in new stack
mp4play /tmp/menu/menu.mp4
found hint track 2
track 1 vide
found hint track 4
track 3 vide
found hint track 6
track 5 vide
MP4ERROR: FindTrackId: Track index doesn't exist - track 3 type hint
MP4ERROR: MP4Array::[]: index 2 of 2: Numerical result out of range
More information about the asterisk-video
mailing list