PJMEDIA RFC 2833 "audio/tone" payload detection

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

 



Great!!..I basically want to perform Call Progress Analysis(CPA) for
outbound calls which would also include detection of the type of remote
endpoint(FAX,answering machine,or a Human voice) answering the call.
Although in RFC 2833 there were many event codes defined for the E.182 line
events an others helping this cause,they seem to have been deprecated in RFC
4733 except for DTMF codes.I ran a few tests trying to make calls to fax &
answering machines after changing the SDP as below trying to see if any of
such rfc 2833 codes are obtained,but couldn't find any success.

 a=rtpmap:96 telephone-event/8000
 a=fmtp:96 0-200

So i was wondering if such events are sent in RFC "tone" fomat or as
inband.Looks like  I'll have to probably detect the tones inband using the
SpanDsp library. I'll also be interested to know if any 1 has tried CPA
using Pjmedia successfully.

Thanks,
Sandeep



On Tue, Sep 20, 2011 at 3:23 AM, Omar Hussein <omarh2812 at gmail.com> wrote:

> Hi Sandeep
>
> I had no problems with dtmf detection using spandsp. CPU utilization was a
> little higher (can't remember by how however). I could turn detection on or
> off as required but in some situations I needed detection throughout the
> entire call so I ended up using rfc2833 event since the carrier supported
> it.
>
> Regards
> Omar
>
> On 20/09/2011, at 12:16 AM, Sandeep Karanth <sandeepk.kdp at gmail.com>
> wrote:
>
> Hi Omar ,
>               Thanks for the reply.Am aware that PjMedia doesn't support
> inband tone detection currently.I am referring to the out of band tones,sent
> using RFC 2833 "audio/tone" payload,the 2nd payload format specified in RFC
> 2833,the first one being the named "telephony-event" type. Btw how good is
> the detection with spandsp??
>
> On Mon, Sep 19, 2011 at 7:17 PM, Omar Hussein < <omarh2812 at gmail.com>
> omarh2812 at gmail.com> wrote:
>
>> Are the tones inband? If so the FAQ gives suggestion on how to detect them
>> by creating a pjmedia_port. I used this method with spandsp library for the
>> tone detection.
>>
>>
>>
>> On 16/09/2011, at 9:31 PM, Sandeep Karanth < <sandeepk.kdp at gmail.com>
>> sandeepk.kdp at gmail.com> wrote:
>>
>> Hi all,
>>           Does PJMEDIA support detection of DTMF and other telephony tones
>> mentioned in RFC 2833 if they are sent in "tone" payload format rather than
>> the "event" type?
>>
>> Regards,
>>  Sandeep
>>
>> _______________________________________________
>> Visit our blog: <http://blog.pjsip.org> <http://blog.pjsip.org>
>> http://blog.pjsip.org
>>
>> pjsip mailing list
>> <pjsip at lists.pjsip.org>pjsip at lists.pjsip.org
>> <http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org>
>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>>
>>
>> _______________________________________________
>> Visit our blog: <http://blog.pjsip.org>http://blog.pjsip.org
>>
>> pjsip mailing list
>>  <pjsip at lists.pjsip.org>pjsip at lists.pjsip.org
>>  <http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org>
>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>>
>>
>
>
> --
> Regards,
> Sandeep Karanth
>
> _______________________________________________
> Visit our blog: <http://blog.pjsip.org>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
>
>


-- 
Regards,
Sandeep Karanth
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20110920/ed8d45d4/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