5
« on: April 10, 2008, 16:39:43 »
I have a trunk SIP with a Cisco Call Manager. Calls are comming from this trunk to the queue 69011. The agents are using Cisco Phones, it means the calls are sent to the trunk again to join the agents.
[druid-trunks-inbound]
exten=>69011,1,Noop(Appel recu sur ReceptionOCP de ${CALLERIDNUM})
exten=>69011,2,GotoIfTime(00:00-23:59|mon|24|dec?druid-trunks-inbound,69011,10)
exten=>69011,3,GotoIfTime(00:00-23:59|tue|25|dec?druid-trunks-inbound,69011,10)
exten=>69011,4,GotoIfTime(00:00-23:59|wed|26|dec?druid-trunks-inbound,69011,10)
exten=>69011,5,GotoIfTime(00:00-23:59|thu|27|dec?druid-trunks-inbound,69011,10)
exten=>69011,6,GotoIfTime(00:00-23:59|fri|28|dec?druid-trunks-inbound,69011,10)
exten=>69011,7,GotoIfTime(00:00-23:59|mon|31|dec?druid-trunks-inbound,69011,10)
exten=>69011,8,GotoIfTime(00:00-23:59|tue|1|jan?druid-trunks-inbound,69011,10)
exten=>69011,9,GotoIfTime(09:00-15:30|mon-fri|1-31|jan-dec?druid-trunks-inbound,69011,31)
exten=>69011,10,Playback(druid-sounds/OCP-MsgNuit)
exten=>69011,11,Hangup
exten=>69011,31,Noop(${CALLERIDNUM} entre dans la file dattente)
exten=>69011,32,Answer
exten=>69011,33,Ringing
exten=>69011,34,Wait(2)
exten=>69011,35,Playback(druid-sounds/OCP-MessageInformation)
exten=>69011,36,Queue(ReceptionOCP,t,,,180)
exten=>69011,37,Set(__NODEST=)
exten=>69011,38,Playback(druid-sounds/OCP-MsgOccupes)
exten=>69011,n,Hangup
[druid-trunks-outgoing]
exten=>0225461536,1,Noop(Appel vers luis)
exten=>0225461536,2,Macro(dialout-callmanager,0223278353)
exten=>0225461536,n,Hangup
exten=>0225464800,1,Macro(dialout-callmanager,0225464681)
exten=>0225464800,n,Hangup
exten=>0225464803,1,Macro(dialout-callmanager,0225464682)
exten=>0225464803,n,Hangup
exten=>0225464805,1,Macro(dialout-callmanager,0225464683)
exten=>0225464805,n,Hangup
[macro-dialout-callmanager]
exten=>s,1,ChanIsAvail(SIP/cmtr004)
exten=>s,2,Cut(AVAILCHAN=AVAILCHAN,,1)
exten=>s,3,Dial(${AVAILCHAN}/${ARG1})
exten=>s,4,Hangup
exten=>s,102,Congestion
Do you think the calls are recorded when using the trunk or somewhere in dialplan and not when an agent answer them?