[Asterisk-Users] sipdtmfmode problem

Michael Bowen mbowen at untitledsomething.net
Fri Nov 7 14:25:32 MST 2003


Greetings. I'm having a bit of a problem using the sipdtmfmode app.  I have two
incoming paths to * from pstn via FWD that use differing dtmfmode.  IPKall
wants rfc2833, libretel wants inband.  If I set dtmfmode= in the fwd peer
config in sip.conf each works seperately, and I'm trying to use gotoif and
sipdtmfmode to switch based on the CID calling.  Output seems to indicate
sipdtmfmode runs and does what it's supposed to, but it doesn't actually work. 
I've tried putting the mode change both before and after answer to no avail.

Asterisk CVS-08/17/03-23:24:51, Copyright (C) 1999-2001 Linux Support Services,
Inc.
<blahblahblah>
  == Registered application 'SIPDtmfMode'
<blahblahblah>
    -- Executing Answer("SIP/fwd-8a22", "") in new stack
    -- Executing GotoIf("SIP/fwd-8a22", "21930%40edial.fwd.com =
'21930%40edial.fwd.com'?3:4") in new stack
    -- Goto (edial,s,3)
    -- Executing SIPDtmfMode("SIP/fwd-8a22", "inband") in new stack
    -- Executing Goto("SIP/fwd-8a22", "menu|s|1") in new stack
    -- Goto (menu,s,1)

--- extension looks like;

[edial]
exten => s,1,Answer()
exten => s,2,GotoIf(${CALLERIDNAME} = 'snip%40edial.fwd.com'?3:4)
exten => s,3,SIPDtmfMode(inband)
exten => s,4,Goto,menu|s|1

--- peer looks like

register=> snip:snip at fwd.pulver.com:5060
[fwd]
type=peer
username=snip
password=snip
host=fwd.pulver.com
dtmfmode=inband
context=edial

Anyone see any glaring errors?  The only thing I could find about sipdtmfmode
app was the original notes when it was checked in.

Regards
-M



More information about the asterisk-users mailing list