[asterisk-users] Sipgate > DTMF not detected

listuser at spamomania.co.uk listuser at spamomania.co.uk
Tue Jan 19 06:32:00 CST 2010


On Tue, 2010-01-19 at 13:15 +0100, joern wrote:
> listuser at spamomania.co.uk wrote:
> > I raised an issue with Sipgate because my Asterisk 1.6 plain refuses to
> > recognize digits pressed on a keypad coming in from a Sipgate trunk.
> > 
> > There answer was to set this:
> > dtmfmode=rfc2833
> > 
> > in the general section of sip.conf
> > 
> > This has made no difference. I've tried a range of settings (auto,
> > rfc2833,info) but no matter what, it plain refuses to pick up key
> > presses.
> > 
> > Locally, if I call from an extension on an ata or a softphone, it works
> > flawlessly (I have no fxo, everything is SIP based).
> > 
> > It's extremely frustrating and I would be grateful if anyone could offer
> > some help troubleshooting and fixing this?
> > 
> > 
> > 
> 
> Hi,
> 
> maybe your RTP stream is not getting through the asterisk box due to 
> "canreinvite=yes" setting in your SIP profile?
Nope :-(
less /etc/asterisk/sip.conf | grep canreinvite
canreinvite=no
canreinvite=no
canreinvite=no
canreinvite=no
canreinvite=no
canreinvite=no

> 
> What is result of the following test in your dialplan?
> 
> exten => 123,1,NoOp(***INCOMING CALL***)
> exten => 123,n,Set(CHANNEL(language)=en)
> exten => 123,n,Answer()
> exten => 123,n,Read(CONFNO,conf-getconfno,4)
> exten => 123,n,Playback(conf-enteringno)
> exten => 123,n,SayDigits(${CONFNO})
> exten => 123,n,Hangup
> 
As per my current problem. 
SIPGATE CUSTOMER -> SIPGATE -> ASTERISK {WORKS}
<... at inbound-sipgate-584e;2> Playing 'conf-enteringno.gsm' (language
'en')
/PRESS 1234 AND READ BACK DETECTED WITHOUT ERROR/
-- Executing [123 at cc-test:6] SayDigits("... at inbound-sipgate-584e;2",
"1234") in new stack

BUT - PSTN -> SIPGATE is nogo:

PSTN -> SIPGATE -> ASTERISK {BROKEN}
<SIP/sipgate-dv-00000008> Playing 'conf-getconfno.gsm' (language 'en')
/MASH KEYS AS MANY TIMES AS YOU LIKE - NOTHING DETECTED/
-- User disconnected


> 
> Cheers
>   Joern




More information about the asterisk-users mailing list