Hello,
I am trying to make simple IVR system on my asterisk
and am having problem when call comes in it is not recognizing user input at all, BUT it works great from internal.
Here is my configurations…
[color=blue]*CLI> show version
Asterisk CVS-v1-0-08/16/05-12:53:21 built by root@localhost on a i686 running Linux
*CLI> sip show peer broadvoice-1172
*CLI>
- Name : broadvoice-1172
Secret :
MD5Secret :
Context : from-trunk
Language :
FromUser : XXXXXXXXXX
FromDomain : sip.broadvoice.com
Callgroup : (0)
Pickupgroup : (0)
Mailbox :
LastMsgsSent : -1
Dynamic : No
Expire : -1 seconds
Expiry : 900
Insecure : port,invite
Nat : No
ACL : No
CanReinvite : No
PromiscRedir : No
DTMFmode : rfc2833
LastMsg : 0
ToHost : sip.broadvoice.com
Addr->IP : 147.135.12.128 Port 5060
Defaddr->IP : 0.0.0.0 Port 0
Username : XXXXXXXXXX
Codecs : 0x8000e (gsm|ulaw|alaw|h263)
Codec Order : (none)
Status : UNKNOWN
Useragent :
Full Contact :
##########
sip.conf
##########
[general]
port = 5060 ; Port to bind to (SIP is 5060)
bindaddr = 0.0.0.0 ; Address to bind to (all addresses on machine)
pedantic=no
dtmfmode=rfc2833
dtmf=rfc2833
context = from-trunk
register=XXXXXXXXXX@sip.broadvoice.com:YYYYY:XXXXXXXXXX@sip.broadvoice.com/72
[broadvoice-1172]
username=XXXXXXXXXX
user=phone
type=peer
secret=YYYYY
insecure=very
host=sip.broadvoice.com
fromuser=XXXXXXXXXX
fromdomain=sip.broadvoice.com
dtmfmode=rfc2833
dtmf=rfc2833
canreinvite=no
authname=XXXXXXXXXX
[25]
username=25
type=friend
secret=YYYYY
port=5060
nat=yes
mailbox=25@default
host=dynamic
dtmfmode=rfc2833
context=from-internal
canreinvite=no
callerid=“SIP Account” <25> [/color]
where XXXXXXXXXX is my phone number with BroadVoice and YYYYY is password.
So if I call from my SIP extension 25 using SIP phone X-ten to one very simple application which reads input form user and echo to console… it works fine and if I call to my broadvoice number from my Cell or any PSTN phone it doesn’t get any input.
am search internet and most of people says about dtmf to either “inband” or “rfc2833”. I tried both and no luck so far
Thanks in advance…