<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2995" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=047415710-16012007><FONT face=Arial
color=#0000ff size=2>commonly called "video portal" feature
.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=047415710-16012007></SPAN> </DIV><BR>
<DIV class=OutlookMessageHeader lang=fr dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>De :</B>
asterisk-video-bounces@lists.digium.com
[mailto:asterisk-video-bounces@lists.digium.com] <B>De la part de</B> Antoine
Fressancourt<BR><B>Envoyé :</B> mardi 16 janvier 2007
11:04<BR><B>À :</B> Development discussion of video media support in
Asterisk<BR><B>Objet :</B> [Asterisk-video] Problem with video playback
triggered by DTMF<BR></FONT><BR></DIV>
<DIV></DIV>Hello list,<BR><BR>I have a rather tricky video specific issue, and
although it doesn't have much to do with development I hope it is not off
topic.<BR><BR>I try to perform video injection during a call using Asterisk.
That is, when two parties A and B are calling each other, I want to be able to
play a video clip to one of the parties when the other play a given DTMF. In
order to do that, I use the application map in the features.conf configuration
file. I put in line an abstract of my configuration files :<BR><BR>-- sip.conf
--<BR><BR>[8160]<BR>type=friend<BR>username=8160<BR>secret=******<BR>host=dynamic<BR>context=default<BR>disallow=all
<BR>allow=ulaw<BR>allow=h263<BR>dtmfmode=info<BR>canreinvite=yes<BR>insecure=very<BR><BR>--
features.conf --<BR><BR>[applicationmap]<BR>test =>
9,peer,Playback,hello-world ; hello-world is a sound clip<BR>testVideo =>
8,peer,Playback,/tmp/test ; /tmp/test is a video clip encoded with GStreamer
<BR><BR>-- extensions.conf --<BR><BR>exten =>
8160,1,Set(DYNAMIC_FEATURES=test#testVideo)<BR>exten =>
8160,n,Dial(SIP/8160)<BR><BR>When I call an extension which only performs a
Playback of the video clip, the clip is played correctly in the soft phone.
<BR><BR>I tried two configurations :<BR>- When canreinvite is set to "no", When
I push the "8" button, i.e. when I emit a DTMF holding "8" as a data, the sound
of the video is played to the other party but the video doesn't show up. <BR>-
When canreinvite is set to "yes", although the DTMF method is set to info and I
receive the INFO message holding "8", Asterisk doesn't trigger any Playback
action.<BR><BR>Do you have any clue or experience with such a problem ?
<BR><BR>Thank you in advance for your answers,<BR><BR>Antoine<BR></BODY></HTML>