Displaying 3 results from an estimated 3 matches for "connect_to_agent".
2006 May 16
0
Need help with Dial M option and destination context
...rio:
I have a context wherein I give the called party the option to dial the
digit 9. If he does so, he is transferred a la this extension entry:
exten => 9,1,Playback(pls-hold-while-try)
exten => 9,n,Noop(Attempting to bridge to ${agentext})
exten => 9,n,Dial(Zap/g9/${agentext}|60|gM(Connect_to_agent^${dnum}))
exten => 9,n,Noop(Done w/ x-fer to agent!)
exten => 9,n,Hangup
I simply play a "please hold message," execute a Noop, and then Dial
with g and M. In this case, the variable agentext has already been
assigned a value ("2160"), and the Dial command executes...
2006 Nov 08
0
Warning: "Channel does not have a CDR" when doing ForkCDR
...works-
I start with a .call file that generates a phone call in
blasterisk_dialout,s,1
If the called party presses the correct digits, in this case 1, then the
call goes to blasterisk_english_right_party,s,1.
If the called party then dials 9, he is transferred to an agent, which
is where the macro Connect_to_agent comes in to play.
The agent is called on a separate zap channel and then presses 1 to
accept the call. Upon a successful connection to an agent I'd like to
generate a new CDR entry, which is why I'm doing the ForkCDR...
[blasterisk_dialout]
exten => s,1,DigitTimeout,1
exten => s,n,R...
2007 Feb 01
1
Dial option G - Passing parameters?
...himself, and now I use Dial w/ the G option:
Dial(Zap/g9/${agentext}|60|mG(Agent_Xfer^s^1)
Customer hears MOH while the Dial app gets the "agent" on the line
My destination context looks like this:
[Agent_Xfer]
exten => s,1(Customer),Meetme({$ConfRoom}|qM)
exten => s,2(Agent),Macro(Connect_to_agent,${Customerid},${ConfRoom})
Customerid and ConfRoom are channel variables that are set in the
Originate action and at the start of the dialplan processing,
respectively.
The idea is to put the customer in a conference room, listening to MOH,
until I can get an agent on the line. (This part works...