Hello
I'm trying to configure DIDs, but I can't find any place where I could find complete documentation how to do this.
Currently I get following error:
Code:
[Jan 26 18:18:54] NOTICE[32753]: chan_sip.c:14360 handle_request_invite: Call from '' to extension 'a2billing-did' rejected because extension not found.
When I change sip.conf i get similar error (nc_1 is my username at sip.freeconet.pl):
Code:
[Jan 26 18:33:34] NOTICE[32753]: chan_sip.c:14360 handle_request_invite: Call from 'nc_1' to extension 'a2billing-did' rejected because extension not found.
My sip.conf:
Code:
[global]
register => user:
[email protected]/a2billing-did
[freeconet]
type=friend
username=user
secret=pass
fromusername=user
fromdomain=sip.freeconet.pl
context=a2billing-did
host=sip.freeconet.pl
nat=no
insecure=invite,rport
canreinvite=no
qualify=yes
In extensions.conf I have:
Code:
[a2billing-did]
exten => _X.,1,NoOp,${CALLERID(all)}
exten => _X.,2,DeadAGI(a2billing.php|2|did)
exten => _X.,3,Hangup
[custom-a2billing-did]
exten => _X.,1,NoOp,${CALLERID(all)}
exten => _X.,2,DeadAGI(a2billing.php|2|did)
exten => _X.,3,Hangup
[/code]
When I type "dialplan show" the "a2billing-did" context is shown on the list. I completly don't understand why I get 'a2billing-did' rejected because extension not found" error.
Any hints?