Displaying 2 results from an estimated 2 matches for "cc_callid".
Did you mean:
cc_call
2013 Mar 07
2
Recording with MixMonitor and AGI
...iguration in my dialplan:
[macro-ccdev2-rec]
exten => s,1,MixMonitor(${ARG1},b)
[outgoing-originate]
exten => _X.,1,NoOp(Will send call to ${EXTEN})
exten => _X.,n,Dial(SIP/${EXTEN}@x.y.z)
[outgoing-originate-rec]
exten => h,1,Agi(agi://localhost/ajpbx.agi?path=uploadrec&callid=${CC_CALLID})
exten => _X,1,NoOp(Will send call to ${EXTEN}, CC_CALLID is ${CC_CALLID}, CC_FILENAME is ${CC_FILENAME})
exten => _X,n,Dial(SIP/${EXTEN}@x.y.z,60,M(ccdev2-rec^${CC_FILENAME})e)
If I want to make a recorded server callout from 077777777 to 0888888888 I then originate a call via AMI to Loca...
2013 Sep 13
2
executing the h extension at the real hangup of the call
...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 come in over SIP the h extension is called directly after the call is answered s...