I got Asterisk 1.8 configured and running with various IVR menus.
They are working fine over a pri line. But when im trying to use a softphone like ekiga or twinkle, there is no DTMF getting recognized. Im attaching my sip configuration.
please let me know if i can make any changes and get it working[code][general]
context=default ; Default context for incoming calls
allowoverlap=no ; Disable overlap dialing support. (Default is yes)
udpbindaddr=0.0.0.0 ; IP address to bind UDP listen socket to (0.0.0.0 binds to all)
tcpenable=no ; Enable server for incoming TCP connections (default is no)
tcpbindaddr=0.0.0.0 ; IP address for TCP server to bind to (0.0.0.0 binds to all interfaces)
srvlookup=yes ; Enable DNS SRV lookups on outbound calls
; limits the other side’s codec choice to exactly what we prefer.
disallow=all ; First disallow all codecs
allow=ulaw ; Allow codecs in order of preference
;allow=ilbc ; see doc/rtp-packetization for framing options
;dtmfmode = auto ; Set default dtmfmode for sending DTMF. Default: rfc2833
[authentication]
basic-options ; a template
dtmfmode=rfc2833
context=from-office
type=friend
natted-phone ; another template inheriting basic-options
nat=yes
directmedia=no
host=dynamic
public-phone ; another template inheriting basic-options
nat=no
directmedia=yes
my-codecs ; a template for my preferred codecs
disallow=all
allow=ilbc
allow=g729
allow=gsm
allow=g723
allow=ulaw
ulaw-phone ; and another one for ulaw-only
disallow=all
allow=ulaw
[xlite1]
type=friend
regexten=1234 ; When they register, create extension 1234
callerid=“Jane Smith” <5678>
host=dynamic ; This device needs to register
nat=yes ; X-Lite is behind a NAT router
;directmedia=no ; Typically set to NO if behind NAT
;disallow=all
allow=gsm ; GSM consumes far less bandwidth than ulaw
allow=ulaw
allow=alaw
mailbox=1234@default,1233@default ; Subscribe to status of multiple mailboxes
registertrying=yes ; Send a 100 Trying when the device registers.[/code]