I have an issue with my asterisk 1.8(which is an IVR) and a trunk sip (mydivert.com). In order to get calls from that provider I need to register the trunk sip.
In this case everything works perfect and the DTMF are ok.
This provider can also send me the calls without being registered which is what I need but in this case I get the calls but asterisk doesn’t recognize the DTMF.
When I register the trunk sip, apart from using the register… I also have the below code.
Can anyone help me with this please to make the DTMF working without being registered with the provider? Is there any difference between being registered or not?
With the code above I got the call and my IVR system plays the audio files perfect but it doesn’t recognize the DTMF. They say that they support DTMF rfc2833 but it’s not working.
Can it be a firewall issue, a nat issue or should I add something more?
You need to get the SDP sent from both sides (eg. by using “sip set debug on” and confirm that it enables telephony events. If it does, you will need to capture the RTP stream and see whether those events are actually arriving.
The dtmf log may also help.
If telephony events are not being negotiated on the m line, one or both sides have not actually enabled RFC 2833 properly.
telelphony events are typically codec 101.
Please note that Asterisk General is a discussion forum, not a support one.
hi!
if this was NAT/firewall problem, then you would have one-way audio problem additionaly.
if you don’t have audio problems, then this is most likely wrong dtmfmode or wrongly recognized dtmf.
so you can try to set dtmfmode=auto. i noticed this works on most systems.
if it still won’t work, then you should enable dtmf logging in logger.conf and see what is there.
I assume that the below line is what you say:
[Mar 24 10:42:57] DEBUG[1360]: chan_sip.c:9612 parse_request: Body 10 [ 33]: a=rtpmap:101 telephone-event/8000
I tested it with another provider and the dtmf works but the hangup is not detected. My server is with amazon and is in Ireland, does it make any difference?
Can anyone recommend a good ddi provider that you know that works well?