the offer is :
o=root 1024909126 1024909126 IN IP4 8.8.8.8.
s=Asterisk PBX 11.25.0-f97c578e.
c=IN IP4 8.8.8.8.
t=0 0.
m=audio 16334 RTP/AVP 0 101.
a=rtpmap:0 PCMU/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
a=sendrecv.
a=rtcp:16335
the answer is :
o=Sonus_UAC 134364 842362 IN IP4 9.9.9.9.
s=SIP Media Capabilities.
c=IN IP4 9.9.9.9.
t=0 0.
m=audio 61410 RTP/AVP 0 101.
a=rtpmap:0 PCMU/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-15.
a=sendrecv.
a=ptime:20.
I still see rtpengine playing over PT 0:
rtpengine[90912]: DEBUG: [
1cb924b66d8d0c6c...@10.40.8.42:5060/gK08e7e4cd/1]: [codec] Using passthrough handler for telephone-event/8000 (101) with DTMF 101, CN -1
rtpengine[90912]: DEBUG: [
1cb924b66d8d0c6c...@10.40.8.42:5060/gK08e7e4cd/1]: [codec] Using passthrough handler with new SSRC for telephone-event/8000
...
{ "code": "*", "volume": "5", "duration": "1000", "pause": "100", "call-id": "
1cb924b66d8d0c6c...@10.40.8.42:5060", "received-from": [ "IP4", "1
0.40.8.42" ], "from-tag": "as5e8057e5", "to-tag": "gK08e7e4cd", "command": "play DTMF" }
/var/log/syslog:57532:Dec 16 10:51:18 voicetest-rtp01 rtpengine[90912]: DEBUG: [
1cb924b66d8d0c6c...@10.40.8.42:5060]: [core] DTMF injection: Using PT 0/0 -> 0 (-1), SSRC e58b6d4
Unsure if there's specific rtpengine flags I need to pass to make DTMF just be played over telephone-event in case it's present in both offer&answer ?