Hi,
We have a customer who sometimes wants to use "remote" agents.
We have setup Vicidial phones which are EXTERNAL, and have extensions.conf logic like so which dials the agent phones via a remote asterisk box:
exten => _2XXX,1,Playback(transfer,skip)
exten => _2XXX,n,Dial(SIP/agent${EXTEN:1},20,tTor)
exten => _2XXX,n,Dial(IAX2/asterisk01/${EXTEN},20,tTor) ; try on the other side
exten => _2XXX,n,HangUp()
So this logic tries to find the agent on the local box, if not, tries via the other box.
This works well, except that the call to the agents phone doesn't drop automatically at the end of the session.
I guess it is supposed to be dropped via a Hangup command issued via the manager interface.
I think it fails because the Local/ channel used to dial the EXTERNAL agent has been masqueraded away?
Or, maybe, Vicidial has noted the channel name for the first Dial above - the SIP/ call, and then doesn't update that channel name when the second Dial is done?
Matt or others: if you have a hint for me it will help solve this niggle.
Thanks,
Steve Davies