hi marcelbarbulescu,
Thanks for your persistence...
Here is what i think are the important sections... am i missing something glaringly obvious?
Thanks.
bb
sip.conf has:
#include additional_a2billing_sip.conf
An exerpt from extensions.conf:
[from-internal]
;allow phones to use applications
include => custom_callingcard
include => callingcard
An exerpt from extensions_custom.conf:
; CallingCard application
;add an incoming route for the DID to Custom App: (un-comment next line)
custom-callingcard,s,1
; un-comment the 6 lines below to work on incoming DIDs
[custom-callingcard]
include => outbound-allroutes
exten => s,1,Answer
exten => s,2,Wait,2
exten => s,3,DeadAGI,a2billing.php
exten => s,4,Wait,2
exten => s,5,Hangup
;callingcard,s,1
; un-comment the 6 lines below to work on incoming DIDs
[callingcard]
include => outbound-allroutes
exten => s,1,Answer
exten => s,2,Wait,2
exten => s,3,DeadAGI,a2billing.php
exten => s,4,Wait,2
exten => s,5,Hangup
An exerpt from additional_a2billing_sip.conf:
[5043549877]
type=friend
username=5043549877
accountcode=5043549877
regexten=5043549877
callerid=5043549877
amaflags=billing
secret=secretpassword
nat=no
dtmfmode=RFC2833
qualify=no
canreinvite=no
host=dynamic
context=custom-callingcard
port=5060
regseconds=0
cancallforward=yes