Hello,
I have a box running PIAF 1.7.5.7 (Asterisk 1.8.7.1) and I am trying to add the incoming DID to the CDR record.
I have successfully used this link http://michigantelephone.wordpress....he-source-did-in-freepbx-call-detail-reports/
On a PIAF 1.7.5.6 (Asterisk 1.8.4.1) box for a few months now but on this new box it is like the custom context does not exists.
in extensions_custom.conf I have
[custom-from-trunk-did]
exten => _X!,1,Set(CDR(did)=${EXTEN})
exten => _X!,n,Goto(from-trunk,${EXTEN},1)
exten => h,1,Macro(hangupcall,)
For the trunk I have the following configured
canreinvite=yes
context=custom-from-trunk-did
dtmfmode=RFC2833
fromdomain=216.82.224.202
host=216.82.224.202
insecure=very
nat=yes
port=5060
type=peer
disallow=all
allow=ulaw
With this configuration I get a message from the provider that the number is not in services. However I know that the trunk works because if I set the context to from-trunk the call comes in.
I have a box running PIAF 1.7.5.7 (Asterisk 1.8.7.1) and I am trying to add the incoming DID to the CDR record.
I have successfully used this link http://michigantelephone.wordpress....he-source-did-in-freepbx-call-detail-reports/
On a PIAF 1.7.5.6 (Asterisk 1.8.4.1) box for a few months now but on this new box it is like the custom context does not exists.
in extensions_custom.conf I have
[custom-from-trunk-did]
exten => _X!,1,Set(CDR(did)=${EXTEN})
exten => _X!,n,Goto(from-trunk,${EXTEN},1)
exten => h,1,Macro(hangupcall,)
For the trunk I have the following configured
canreinvite=yes
context=custom-from-trunk-did
dtmfmode=RFC2833
fromdomain=216.82.224.202
host=216.82.224.202
insecure=very
nat=yes
port=5060
type=peer
disallow=all
allow=ulaw
With this configuration I get a message from the provider that the number is not in services. However I know that the trunk works because if I set the context to from-trunk the call comes in.