Skip to main content

Transfer queue calls when using AddQueueMember()

Posted by diffen on Tue, 02/07/2012

Hello.

We have a few customers who are only using there mobile phones. No user have any device registered and all users uses Find me / Follow me with their mobile numbers and the radio button "Dont ring my phone, just the numbers below". Everything works fine when you are calling someones direct number.

We have solved the queue calls by using the AddQueueMember() for login. Then the mobile number are connected into the queue. Works perfectly.

The problem is when a queue member are trying to transfer a call using attendant transfer (we have changed it to ##) to another extension by using ## extension number #. Then you get CHANUNAVIAL.

Here the user have taken a queue call and pressed ##1107#:

-- Executing [1107@from-inside-redir-iptelefonibolaget:1] Macro("Local/1107@from-inside-redir-iptelefonibolaget-044c,2", "tl-stdexten|SIP/1107-iptelefonibolaget|none|") in new stack
-- Executing [s@macro-tl-stdexten:1] Set("Local/1107@from-inside-redir-iptelefonibolaget-044c,2", "__DIALED_NUMBER=1107") in new stack
-- Executing [s@macro-tl-stdexten:2] Set("Local/1107@from-inside-redir-iptelefonibolaget-044c,2", "__PICKUPMARK=1107-iptelefonibolaget") in new stack
-- Executing [s@macro-tl-stdexten:3] ExecIf("Local/1107@from-inside-redir-iptelefonibolaget-044c,2", "0|SIPAddHeader|Alert-Info: <>") in new stack
-- Executing [s@macro-tl-stdexten:4] GotoIf("Local/1107@from-inside-redir-iptelefonibolaget-044c,2", "1?doingringgroup") in new stack
-- Goto (macro-tl-stdexten,s,7)
-- Executing [s@macro-tl-stdexten:7] Macro("Local/1107@from-inside-redir-iptelefonibolaget-044c,2", "tl-userexten-rg-base|SIP/1107-iptelefonibolaget|60") in new stack
-- Executing [s@macro-tl-userexten-rg-base:1] Set("Local/1107@from-inside-redir-iptelefonibolaget-044c,2", "OPTIONS=irtT") in new stack
-- Executing [s@macro-tl-userexten-rg-base:2] Set("Local/1107@from-inside-redir-iptelefonibolaget-044c,2", "THISEXT=TL/iptelefonibolaget-1107") in new stack
-- Executing [s@macro-tl-userexten-rg-base:3] Set("Local/1107@from-inside-redir-iptelefonibolaget-044c,2", "THISCHAN=TL/1107-iptelefonibolaget") in new stack
-- Executing [s@macro-tl-userexten-rg-base:4] Macro("Local/1107@from-inside-redir-iptelefonibolaget-044c,2", "tl-notify") in new stack
-- Executing [s@macro-tl-notify:1] Set("Local/1107@from-inside-redir-iptelefonibolaget-044c,2", "ADDRESS=") in new stack
-- Executing [s@macro-tl-notify:2] UserEvent("Local/1107@from-inside-redir-iptelefonibolaget-044c,2", "TlNotify|dialed: 1107|callerID: 0762111111|tenant: iptelefonibolaget") in new stack
-- Executing [s@macro-tl-notify:3] NoOp("Local/1107@from-inside-redir-iptelefonibolaget-044c,2", "TL/iptelefonibolaget-1107") in new stack
-- Executing [s@macro-tl-notify:4] GotoIf("Local/1107@from-inside-redir-iptelefonibolaget-044c,2", "1?s-exit|1") in new stack
-- Goto (macro-tl-notify,s-exit,1)
-- Executing [s-exit@macro-tl-notify:1] MacroExit("Local/1107@from-inside-redir-iptelefonibolaget-044c,2", "") in new stack
-- Executing [s@macro-tl-userexten-rg-base:5] GotoIf("Local/1107@from-inside-redir-iptelefonibolaget-044c,2", "1?cont1") in new stack
-- Goto (macro-tl-userexten-rg-base,s,7)
-- Executing [s@macro-tl-userexten-rg-base:7] Set("Local/1107@from-inside-redir-iptelefonibolaget-044c,2", "RECORD_CALLEE=") in new stack
-- Executing [s@macro-tl-userexten-rg-base:8] GotoIf("Local/1107@from-inside-redir-iptelefonibolaget-044c,2", "1?check_onetouch") in new stack
-- Goto (macro-tl-userexten-rg-base,s,11)
-- Executing [s@macro-tl-userexten-rg-base:11] GotoIf("Local/1107@from-inside-redir-iptelefonibolaget-044c,2", "1?done_checkrecord") in new stack
-- Goto (macro-tl-userexten-rg-base,s,16)
-- Executing [s@macro-tl-userexten-rg-base:16] NoOp("Local/1107@from-inside-redir-iptelefonibolaget-044c,2", "") in new stack
-- Executing [s@macro-tl-userexten-rg-base:17] NoOp("Local/1107@from-inside-redir-iptelefonibolaget-044c,2", "RECORD_CALLEE=") in new stack
-- Executing [s@macro-tl-userexten-rg-base:18] NoOp("Local/1107@from-inside-redir-iptelefonibolaget-044c,2", "OPTIONS=irtT") in new stack
-- Executing [s@macro-tl-userexten-rg-base:19] NoOp("Local/1107@from-inside-redir-iptelefonibolaget-044c,2", "TOUCH_MONITOR=") in new stack
-- Executing [s@macro-tl-userexten-rg-base:20] Set("Local/1107@from-inside-redir-iptelefonibolaget-044c,2", "CDR(userfield)=iptelefonibolaget") in new stack
-- Executing [s@macro-tl-userexten-rg-base:21] ChanIsAvail("Local/1107@from-inside-redir-iptelefonibolaget-044c,2", "SIP/1107-iptelefonibolaget") in new stack
-- Executing [s@macro-tl-userexten-rg-base:22] GotoIf("Local/1107@from-inside-redir-iptelefonibolaget-044c,2", "1?dial-CHANUNAVAIL|1") in new stack
-- Goto (macro-tl-userexten-rg-base,dial-CHANUNAVAIL,1)
-- Executing [dial-CHANUNAVAIL@macro-tl-userexten-rg-base:1] Hangup("Local/1107@from-inside-redir-iptelefonibolaget-044c,2", "44") in new stack
== Spawn extension (macro-tl-userexten-rg-base, dial-CHANUNAVAIL, 1) exited non-zero on 'Local/1107@from-inside-redir-iptelefonibolaget-044c,2' in macro 'tl-userexten-rg-base'
== Spawn extension (macro-tl-stdexten, s, 7) exited non-zero on 'Local/1107@from-inside-redir-iptelefonibolaget-044c,2' in macro 'tl-stdexten'
== Spawn extension (from-inside-redir-iptelefonibolaget, 1107, 1) exited non-zero on 'Local/1107@from-inside-redir-iptelefonibolaget-044c,2'
-- Executing [h@from-inside-redir-iptelefonibolaget:1] Hangup("Local/1107@from-inside-redir-iptelefonibolaget-044c,2", "") in new stack
== Spawn extension (from-inside-redir-iptelefonibolaget, h, 1) exited non-zero on 'Local/1107@from-inside-redir-iptelefonibolaget-044c,2'
-- Stopped music on hold on SIP/iptelebolaget.gotanet.se-0a473068
-- Playing 'beeperr' (language 'en')

I am using the queue parameter t for transfer.

Why doesnt the Asterisk call the mobile phone?

If i connect a device to the account then the Asterisk are calling both my device and my mobile phone.

Are there any parameter that i should change or so?