Re: absorbDTMF option only working on one channel

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

 




> On 18 Dec 2019, at 11:42, Joshua C. Colp <jcolp@xxxxxxxxxxx> wrote:
> 
> On Wed, Dec 18, 2019 at 7:34 AM Richard Frith-Macdonald <richard.frith-macdonald@xxxxxxxxxxxxx> wrote:
> I'm using ARI to set up a bridge with two calls (one inbound, one outbound), where I want to receive DTMF events from both calls but stop the DTMF audio being passed through in either direction.
> The bridge is created as mixing,dtmf_events,proxy_media and the two channels are each added using /ari/bridges/BridgeID/addChannel with absorbDTMF = 1.
> It seems to be operating as expected, except that the tones from the dialed mobile phone (outgoing call via Colt) are audible to the dialing handset (inbound call to asterisk from softphone).
> Please could anyone provide a ponter to what I might be doing wrong?
> 
> What is the technology in use for the channels? Does DTMF show up if you enable DTMF logging in logger.conf? If it's RTP do you see it being sent in "rtp set debug on"?

Both channels are using pjsip, and both show up in the DTMF logger.

The log for a tone from the mobile shows a number of RTP packets read around the DTMF:

[Dec 18 11:54:17] VERBOSE[22198] res_rtp_asterisk.c: Got  RTP RFC2833 from   172.24.8.4:14370 (type 101, seq 000851, ts 1003374928, len 000004, mark 1, event 00000005, end 0, duration 00080)
[Dec 18 11:54:17] DTMF[22198] channel.c: DTMF begin '5' received on PJSIP/Colt2-0000001a
[Dec 18 11:54:17] DTMF[22198] channel.c: DTMF begin passthrough '5' on PJSIP/Colt2-0000001a
...
[Dec 18 11:54:17] VERBOSE[22198] res_rtp_asterisk.c: Got  RTP RFC2833 from   172.24.8.4:14370 (type 101, seq 000858, ts 1003374928, len 000004, mark 0, event 00000005, end 1, duration 02480)
[Dec 18 11:54:17] DTMF[22198] channel.c: DTMF end '5' received on PJSIP/Colt2-0000001a, duration 310 ms
[Dec 18 11:54:17] DTMF[22198] channel.c: DTMF end accepted with begin '5' on PJSIP/Colt2-0000001a
[Dec 18 11:54:17] DTMF[22198] channel.c: DTMF end passthrough '5' on PJSIP/Colt2-0000001a
[Dec 18 11:54:17] VERBOSE[22198] res_rtp_asterisk.c: Got  RTP packet from    172.24.8.4:14370 (type 101, seq 000859, ts 1003374928, len 000004)
[Dec 18 11:54:17] VERBOSE[22198] res_rtp_asterisk.c: Got  RTP RFC2833 from   172.24.8.4:14370 (type 101, seq 000859, ts 1003374928, len 000004, mark 0, event 00000005, end 1, duration 02480)

The log of RTP to the other end looks like this:

[Dec 18 11:54:17] VERBOSE[22196][C-00000017] res_rtp_asterisk.c: Sent RTP packet to      10.16.25.202:8000 (type 00, seq 000971, ts 1003379088, len 000160)


I presume the RTP packets of type 101 with event 00000005 are signalling the dtmf tone 5 for some duration.
They don't seem to be forwarded on to the other end in the same format though.

> Essentially you need to determine if it's DTMF in the audio stream alongside out of band, or if DTMF is actually being detected/suppressed from the audio stream but still passed on out of band. 

I don't really know what th DTMF logs 'begin passthrough' and 'end passthrough' actually mean though.  Of course I want the DMF tones to appear as events in Stasis (which they do), but I dn't want them passed through the bridge to be heard by the other end.


-- 




Every customer is unique. Engage each one. 


www.engagehub.com 
<http://www.engagehub.com/> 

This communication is sent by Engage Hub and 
contains information which is confidential and privileged and is intended 
for the use of the addressee only. If you are not the intended recipient 
please destroy and contact the sender. Please note that any distribution, 
copying or use of this communication or the information in it is strictly 
prohibited. Any views expressed in this email are those of the individual 
sender and may not necessarily reflect the views of Engage Hub. Engage Hub 
makes no warranties that emails are virus free. This company is registered 
in England and Wales as Brainstorm Mobile Solutions Ltd and trading as 
Engage Hub (registered at Studio 311 Highgate Studios, 53-79 Highgate Road, 
London NW5 1TL. Company Number: 01661467; VAT Number: 214 9845 90) and 
Oxygen8 Communications Limited (registered in Ireland at 1st Floor, 21-22 
Grafton Street, Dublin 2, Ireland. Company No: 350312; VAT Number: 
6370312O).


_______________________________________________
asterisk-app-dev mailing list
asterisk-app-dev@xxxxxxxxxxxxxxxx
http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev




[Index of Archives]     [Asterisk SS7]     [Asterisk Announcements]     [Asterisk Users]     [PJ SIP]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Linux API]

  Powered by Linux