Displaying 2 results from an estimated 2 matches for "cc_dialstring".
2013 Sep 13
2
executing the h extension at the real hangup of the call
Hi,
I am running Asterisk 11.3 with both SIP and ISDN. When dialing out (always over SIP) I want to keep track of who answered and of the length of the call.
[outgoing-dev2]
exten => h,1,Agi(agi://localhost/ajpbxtest.agi?status=finished)
exten => _X.,1,NoOp(Will send call to ${CC_DIALSTRING})
exten => _X.,n,Dial(${CC_DIALSTRING}, 60, M(uploadpeer-dev2^${CC_CALLID})em)
exten => _X.,n,Agi(agi://localhost/ajpbxtest.agi?status=failed&dialstatus=${DIALSTATUS})
The h extension is called correctly when the call comes in over IP and when I record the call. But when the call has com...
2013 Oct 28
1
Problem with Caller ID when receiving hidden number in via DAHDI and redirecting out via SIP
Hi,
We have a system with both ISDN trunks and SIP. We receive incoming calls on both but always dial out via SIP.
When dialing out the caller id is set like this:
exten => _X.,1,Set(CALLERID(num)=${CC_ORIGNUM})
exten => _X.,n,Set(CALLERID(name)=${CC_ORIGNAME})
exten => _X.,n,Dial(${CC_DIALSTRING}, 60, em)
This always works fine on SIP and on ISDN as well when the number is not hidden.
But for some reason the setting of the caller id does not work when receiving calls from hidden numbers.
The from address in the outgoing SIP looks like this:
From: "Anonymous" <sip:anonymous...