"EXTERNAL" phone - doesn't hangup automatically

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

"EXTERNAL" phone - doesn't hangup automatically

Postby stevedavies » Thu Jun 26, 2008 4:54 am

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
stevedavies
 
Posts: 5
Joined: Mon Mar 03, 2008 4:30 am

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

Postby stevedavies » Thu Jun 26, 2008 5:11 am

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.
stevedavies
 
Posts: 5
Joined: Mon Mar 03, 2008 4:30 am

Postby mflorell » Thu Jun 26, 2008 7:56 am

astguiclient version?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby stevedavies » Sun Jun 29, 2008 3:11 pm

2.0.4
stevedavies
 
Posts: 5
Joined: Mon Mar 03, 2008 4:30 am

Postby mflorell » Sun Jun 29, 2008 5:39 pm

I would suggest upgrading to 2.0.4rc2 or SVN trunk. In these versions all channels are hungup upon logout from a session.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Support

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 123 guests