[asterisk-users] Possibility to catch DTMF when 2 users are in a
conversation
Antoine Fressancourt
af.devlist at gmail.com
Mon Jan 15 05:09:38 MST 2007
I will sum up the results of my investigations :
- When canreinvite is set to "yes", I manage to make a video call between
the 2 parties, when I emit a DTMF signal, it triggers the playback of a
sound clip correctly, but I can't playback a video clip.
- When canreinvite is set to "no", The DTMF I emit is not detected by
Asterisk, although I see the SIP INFO message in the SIP debug messages of
Asterisk.
I copy in line the relevant abstracts of my configuration files :
-- sip.conf --
[8160]
type=friend
username=8160
secret=******
host=dynamic
context=default
disallow=all
allow=ulaw
allow=h263
dtmfmode=info
canreinvite=yes
insecure=very
-- features.conf --
[applicationmap]
test => 9,peer,Playback,hello-world ; TEST with sound clip
testVideo => 8,peer,Playback,/tmp/test ; TEST with video clip
-- extensions.conf --
exten => 8160,1,Set(DYNAMIC_FEATURES=test#testVideo)
exten => 8160,n,Dial(SIP/8160)
2007/1/14, Andrew Joakimsen <joakimsen at gmail.com>:
>
> What video clip? Does a native video call between the two work?
>
> On 1/14/07, Antoine Fressancourt <af.devlist at gmail.com > wrote:
>
> >
> > Le 13 janv. 07 à 02:10, Leo Ann Boon a écrit :
> >
> > > Antoine Fressancourt wrote:
> > >> Hello,
> > >>
> > >> Thank you Leo for your answer,
> > >>
> > >> I manage to do what I want perfectly when both the caller and the
> > >> callee are set in SIP with canreinvite=no using SIP INFO method
> > >> for DTMF.
> > >>
> > >> Now, I can't figure out why this can't work when I set canreinvite
> > >> = yes with the same DTMF method. Running Wireshark on my machine,
> > >> I see that the SIP INFO messages are sent to the Asterisk box
> > >> running as a proxy, but the INFO message doesn't trigger any action.
> > >>
> > > Relooking at your requirements, I'd say you must use
> > > canreinvite=no. Otherwise, there's no way for Asterisk to inject
> > > audio into the stream.
> >
> >
> > I tried to set canreinvite=no, but the problem is that Asterisk can't
> > do the reinvitation to the callee in order to send the video clip. Is
> > there a way to allow asterisk to do such a reinvitation in order to
> > make it play the video stream correctly ?
> >
> > Thank you very much for your help.
> >
> > Antoine
> >
> >
> >
> > _______________________________________________
> > --Bandwidth and Colocation provided by Easynews.com --
> >
> > asterisk-users mailing list
> > To UNSUBSCRIBE or update options visit:
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> >
>
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070115/23283ea2/attachment.htm
More information about the asterisk-users
mailing list