Hello, I’m getting registration ok but can’t connect to application I’m trying to call. This is my setup.
IAX.conf
register => user:secret@did.voip.les.net
[lesnet_peer]
type=friend
host=did.voip.les.net
dtmfmode=rfc2833
insecure=very
disallow=all
allow=ulaw
context=lesnet-incoming
Did provider is communicating with asterisk server as shown on command cli iax2 show registry.
extensions.conf
[lesnet-incoming]
exten => mydidnumber,1,Goto(s,1)
exten => s,1,Answer
exten => s,2,Wait,2
exten => s,3,DeadAGI(a2billing.php)
exten => s,4,Wait,2
exten => s,5,Hangup
I’ve tried with and without the first statement or goto line and I get the your call can not be completed as dialed.
Thanks.