Re: [asterisk-users] Possibility to catch DTMF when 2 users are in a conversation

2007-01-16 Thread Leo Ann Boon

Antoine Fressancourt wrote:

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.
What's the format of the video clip? I don't think Asterisk supports all 
formats. And, shouldn't it be canreinvite='no'?


- 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.


Should be canreinvite='yes'. This might be a bug. On the other hand, in 
your case, even if Asterisk did detected the messages. Without being in 
the media path, it still won't be able to playback video to the endpoint.


Leo

___
--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


Re: [asterisk-users] Possibility to catch DTMF when 2 users are in a conversation

2007-01-16 Thread Antoine Fressancourt

2007/1/16, Leo Ann Boon [EMAIL PROTECTED]:


Antoine Fressancourt wrote:
 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.
What's the format of the video clip? I don't think Asterisk supports all
formats. And, shouldn't it be canreinvite='no'?




My video is tested against my Asterisk and softphones, by doing a  plain old
call to a Playback extension playing this video.


- 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.

Should be canreinvite='yes'. This might be a bug. On the other hand, in
your case, even if Asterisk did detected the messages. Without being in
the media path, it still won't be able to playback video to the endpoint.



According to me, that's the point. I don't really mind having canreinvite
set to yes or no for now. If canreinvite is set to no, then Asterisk
can't inject video in the ongoing session. If canreinvite is set to yes,
then the fact that Asterisk is not in the media path should not be a problem
as it can perform a reinvitation to enter this path. So the problem remains.

Thank you for your answers.

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


Re: [asterisk-users] Possibility to catch DTMF when 2 users are in a conversation

2007-01-15 Thread Antoine Fressancourt

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 [EMAIL PROTECTED]:


What video clip? Does a native video call between the two work?

On 1/14/07, Antoine Fressancourt [EMAIL PROTECTED]  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



___
--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


Re: [asterisk-users] Possibility to catch DTMF when 2 users are in a conversation

2007-01-14 Thread Antoine Fressancourt


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


Re: [asterisk-users] Possibility to catch DTMF when 2 users are in a conversation

2007-01-14 Thread Andrew Joakimsen

What video clip? Does a native video call between the two work?

On 1/14/07, Antoine Fressancourt [EMAIL PROTECTED] 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


Re: [asterisk-users] Possibility to catch DTMF when 2 users are in a conversation

2007-01-12 Thread Antoine Fressancourt

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.

Thanks in advance for your answers or hints,

Antoine

2007/1/11, Leo Ann Boon [EMAIL PROTECTED]:




 exten = 1234,1,Dial(SIP/1234)
 exten = 5678,1,Dial(SIP/5678)

 The SIP phones (X-lite) are configured to send DTMF's using RFC 2833
 mechanism.

 I want to know if it is possible in Asterisk to catch a DTMF event
 sent by one of the phone to trigger an action, for example to play a
 sound/video clip to one of the phones.
google for features.conf, But you'll need to keep asterisk in the
callpath, i.e. canreinvite=no, otherwise the RFC2833 DTMF codes will
only be sent between the end points. If you need to reinvite, then you
might have to try using SIP-INFO for DTMF instead of RFC2833.

Leo


___
--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


Re: [asterisk-users] Possibility to catch DTMF when 2 users are in a conversation

2007-01-12 Thread Leo Ann Boon

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.


Leo

___
--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


[asterisk-users] Possibility to catch DTMF when 2 users are in a conversation

2007-01-10 Thread Antoine Fressancourt

Hello,

I will expose my problem here. Please tell me if it is not the right  
place as I am really new to that list.


I use Asterisk as a SIP proxy. I have two users connected to it,  
Let's call them 1234 and 5678


In my dialplan I have two lines:

exten = 1234,1,Dial(SIP/1234)
exten = 5678,1,Dial(SIP/5678)

The SIP phones (X-lite) are configured to send DTMF's using RFC 2833  
mechanism.


I want to know if it is possible in Asterisk to catch a DTMF event  
sent by one of the phone to trigger an action, for example to play a  
sound/video clip to one of the phones.


Thank you very much in advance 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


Re: [asterisk-users] Possibility to catch DTMF when 2 users are in a conversation

2007-01-10 Thread Leo Ann Boon




exten = 1234,1,Dial(SIP/1234)
exten = 5678,1,Dial(SIP/5678)

The SIP phones (X-lite) are configured to send DTMF's using RFC 2833 
mechanism.


I want to know if it is possible in Asterisk to catch a DTMF event 
sent by one of the phone to trigger an action, for example to play a 
sound/video clip to one of the phones.
google for features.conf, But you'll need to keep asterisk in the 
callpath, i.e. canreinvite=no, otherwise the RFC2833 DTMF codes will 
only be sent between the end points. If you need to reinvite, then you 
might have to try using SIP-INFO for DTMF instead of RFC2833.


Leo


___
--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