Page 1 of 1

"EXTERNAL" phone - doesn't hangup automatically

PostPosted: Thu Jun 26, 2008 4:54 am
by stevedavies
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

Re: "EXTERNAL" phone - doesn't hangup automaticall

PostPosted: Thu Jun 26, 2008 5:11 am
by stevedavies
stevedavies wrote: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?


Its not that - I did a test without the first dial to the local SIP channel and it still didn't hangup automatically on Logout.

PostPosted: Thu Jun 26, 2008 7:56 am
by mflorell
astguiclient version?

PostPosted: Sun Jun 29, 2008 3:11 pm
by stevedavies
2.0.4

PostPosted: Sun Jun 29, 2008 5:39 pm
by mflorell
I would suggest upgrading to 2.0.4rc2 or SVN trunk. In these versions all channels are hungup upon logout from a session.