Inband DTMF

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Varun,

Sorry I was probably not explained well. 

I am trying to use pjsip with an analog phone connected to it. 
As soon as analog phone pickup and dial an extension 
I have to recognize the dtmf generated by the phone and 
do a sip call using pjsip stack to an external SIP server. 

Thanks
Dimitar

   

From: varun ahluwalia 
Sent: Tuesday, April 7, 2015 16:01
To: pjsip list 
Subject: Re: Inband DTMF

Hi Dimitar, 

In which scenario do you expect the SIP client to process Incoming DTMF?
DTMFs are generally used in outward direction (from client to Server).

Can you change the mode to SIP INFO for DTMF at Asterisk and try?
PJ supports INFO.. So, you might be able to detect Inward DTMF as well.

Or are you trying to use PJ at the Server itself?


regards,

On Mon, Apr 6, 2015 at 5:27 PM, <dpn at switchvoice.com> wrote:

  Hi Gents,

  I have added dtmf detection to my tdm audio device. 
  I have used spandsp tdmf detection which appears to work fine for my application.

  Now I am wondering what would be the best way to pass the dialed extension from my audio_device to the pjsua application layer.
  The spandsp dtmf allows an on_dtmf() callback to be hooked so we can have notification on each digit.

  Any comments will be appreciated.
  Dimitar 



  From: dpn@xxxxxxxxxxxxxxx 
  Sent: Saturday, April 4, 2015 03:18
  To: pjsip list 
  Subject: Inband DTMF

  Hi Gents,

  I am tiring to integrate analog phone thru SLIC from Silicon labs to the pjsip.
  Thanks to the help from the this mailing list I have managed to move the task 
  up to the point I have clean audio between my analog phone and a sip client 
  analog_phone - pjsip <---> (Asterisk SIP server) <---> SIP client

  My SLIC doesn?t have built in DTMF detection. 
  I just read that pjmedia doesn?t support inband DTMF detection. 
  Can you please confirm/refuse that ? 

  If DTMF doesn?t supported I am willing to borrow the inband DTMF detection 
  from Asterisk or some other open implementation and  put it in pjmedia. 
  Do you see benefits for the project?

  As I am very new to pjsip I am not sure which will be the native way to integrate such a detector in pjsip. 
  Is someone willing to advice me on the best way to put DTMF detection in the pjmedia?

  Thanks
  Dimitar

------------------------------------------------------------------------------
  _______________________________________________
  Visit our blog: http://blog.pjsip.org

  pjsip mailing list
  pjsip at lists.pjsip.org
  http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org


  _______________________________________________
  Visit our blog: http://blog.pjsip.org

  pjsip mailing list
  pjsip at lists.pjsip.org
  http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org






-- 

Varun.


--------------------------------------------------------------------------------
_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip at lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20150407/ae71ae09/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux