[Asterisk-Users] Agents allowed to transfer but * just hangs up!

Michael Loftis mloftis at wgops.com
Mon Oct 25 16:21:56 MST 2004



--On Monday, October 25, 2004 19:08 -0400 Joseph <tech at ekn.com> wrote:

> Michael Loftis wrote:
>> Look can ANYONE help me with this!  Turns our ---- asterisk has
>> been hanging up on people soon as transfers happen!
>>
>
> What do you see in the console of asterisk when you do the transfer?
> You might want to turn debuging on to see what * is saying.

verbose lists it not even trying the extension, it just hangs up on both 
ends, consultative transfers 'work' but chan_agent still thinks that the 
agent is talking to them.

I think chan_agent is at the rood of all this crap and I just need to throw 
it out and forget it exists.  There's enough pieces that look a little 
sketchy that I'm pretty leery of it.  Turning on DEBUG in asterisk is still 
ugly since you lose a lot of the verbose messages.  If I gte a chance to I 
will, but as it sits I don't have time to fix all the bugs in chan_agent. 
I think via IVR and dynamic queue membership I can make it work well 
enough.  I think anyway.

pbx0*CLI>
pbx0*CLI>
pbx0*CLI>
    -- Accepting call from '4068804679' to '4678' on channel 0/1, span 1
    -- Executing Goto("Zap/1-1", "default|s|1") in new stack
    -- Goto (default,s,1)
    -- Executing Ringing("Zap/1-1", "") in new stack
    -- Executing Wait("Zap/1-1", "2") in new stack
    -- Executing Answer("Zap/1-1", "") in new stack
    -- Executing DigitTimeout("Zap/1-1", "5") in new stack
    -- Set Digit Timeout to 5
    -- Executing ResponseTimeout("Zap/1-1", "30") in new stack
    -- Set Response Timeout to 30
    -- Executing Goto("Zap/1-1", "600") in new stack
    -- Goto (default,s,600)
    -- Executing BackGround("Zap/1-1", "modwest/main_menu") in new stack
    -- Playing 'modwest/main_menu' (language 'en')
  == CDR updated on Zap/1-1
    -- Executing Dial("Zap/1-1", "Local/8903 at services") in new stack
    -- Called 8903 at services
    -- Executing NoOp("Local/8903 at services-36fc,2", "") in new stack
    -- Executing SetMusicOnHold("Local/8903 at services-36fc,2", "default") in 
new stack
    -- Executing DigitTimeout("Local/8903 at services-36fc,2", "5") in new 
stack
    -- Set Digit Timeout to 5
    -- Executing ResponseTimeout("Local/8903 at services-36fc,2", "5") in new 
stack
    -- Set Response Timeout to 5
    -- Executing SetCIDName("Local/8903 at services-36fc,2", 
"[SA]4068804679|a") in new stack
    -- Executing Macro("Local/8903 at services-36fc,2", 
"goqueue|8903|salesq|Agent/@3") in new stack
    -- Executing Macro("Local/8903 at services-36fc,2", "setafterhours") in 
new stack
    -- Executing SetVar("Local/8903 at services-36fc,2", "AFTERHOURS=1") in 
new stack
    -- Executing GotoIfTime("Local/8903 at services-36fc,2", 
"8:00-17:00|mon-fri|*|*?200") in new stack
    -- Goto (macro-setafterhours,s,200)
    -- Executing SetVar("Local/8903 at services-36fc,2", "AFTERHOURS=0") in 
new stack
    -- Executing ChanIsAvail("Local/8903 at services-36fc,2", "Agent/@3") in 
new stack
    -- Executing Goto("Local/8903 at services-36fc,2", "s|300") in new stack
    -- Goto (macro-goqueue,s,300)
    -- Executing Queue("Local/8903 at services-36fc,2", "salesq") in new stack
    -- Started music on hold, class 'default', on Local/8903 at services-36fc,2
    -- Stopped music on hold on Local/8903 at services-36fc,2
    -- Playing 'queue-youarenext' (language 'en')
    -- Told Local/8903 at services-36fc,2 in salesq their queue position 
(which was 1)
    -- Playing 'modwest/thank_you_for_waiting' (language 'en')
    -- Started music on hold, class 'default', on Local/8903 at services-36fc,2
    -- outgoing agentcall, to agent '4111', on 
'Local/4111 at agentlogin-6d93,1'
    -- Executing NoOp("Local/4111 at agentlogin-6d93,2", ""4111 Called from 
"[SA]4068804679" <4068804679>/4068804679"") in new stack
    -- Executing Macro("Local/4111 at agentlogin-6d93,2", 
"stdexten|4111|SIP/4111") in new stack
    -- Executing NoOp("Local/4111 at agentlogin-6d93,2", ""macro-stdexten 
Called for 4111 ringing SIP/4111"") in new stack
    -- Executing GotoIf("Local/4111 at agentlogin-6d93,2", "1?100:500") in new 
stack
    -- Goto (macro-stdexten,s,100)
    -- Executing NoOp("Local/4111 at agentlogin-6d93,2", "stdexten went to 
cfwd without VM") in new stack
    -- Executing SetVar("Local/4111 at agentlogin-6d93,2", "CFWDNOVM=1") in 
new stack
    -- Executing Macro("Local/4111 at agentlogin-6d93,2", 
"cfwd|4111|SIP/4111") in new stack
    -- Executing DBget("Local/4111 at agentlogin-6d93,2", "temp=CFIM/4111") in 
new stack
    -- DBget: varname=temp, family=CFIM, key=4111
    -- DBget: Value not found in database.
    -- Executing Goto("Local/4111 at agentlogin-6d93,2", "s|3") in new stack
    -- Goto (macro-cfwd,s,3)
    -- Executing Dial("Local/4111 at agentlogin-6d93,2", "SIP/4111|20") in new 
stack
    -- Called 4111
    -- Called Agent/@3
    -- SIP/4111-56fe is ringing
    -- Agent/4111 is ringing
    -- SIP/4111-56fe answered Local/4111 at agentlogin-6d93,2
    -- Agent/4111 answered Local/8903 at services-36fc,2
    -- Playing 'modwest/queue-salesq' (language 'en')
  == Spawn extension (macro-cfwd, s, 3) exited non-zero on 
'Local/4111 at agentlogin-6d93,2' in macro 'cfwd'
  == Spawn extension (macro-stdexten, s, 102) exited non-zero on 
'Local/4111 at agentlogin-6d93,2' in macro 'stdexten'
  == Spawn extension (agentlogin, 4111, 2) exited non-zero on 
'Local/4111 at agentlogin-6d93,2'
    -- Stopped music on hold on Local/8903 at services-36fc,2
    -- Local/8903 at services-36fc,1 answered Zap/1-1
  == Spawn extension (default, 1, 1) exited non-zero on 
'Local/8903 at services-36fc,2<ZOMBIE>'
  == Spawn extension (macro-goqueue, s, 300) exited non-zero on 'Zap/1-1' 
in macro 'goqueue'
  == Spawn extension (services, 8903, 6) exited non-zero on 'Zap/1-1'
    -- Hungup 'Zap/1-1'
pbx0*CLI>


>
> Are you using # sign to transfer?
>
> Also, are you running current code?
>
> It can be frustrating.
> --
>
> respectfully, Joseph
> --------------------
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>



--
GPG/PGP --> 0xE736BD7E 5144 6A2D 977A 6651 DFBE 1462 E351 88B9 E736 BD7E 



More information about the asterisk-users mailing list