VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
mailinglists at unix-s... Guest
|
Posted: Wed Feb 20, 2008 3:28 am Post subject: [asterisk-users] Dial+Macro and Queue |
|
|
A call comes in and goes into the queue, the queue dials a sip channel using
a macro. The macro plays a set of options to the callee and if the callee
presses 3 it sets MACRO_RESULT=CONTINUE and the macro ends. For some reason
the caller goes back into the queue rather than continueing on in the dial
plan. Why is this, i could have sworn in 1.2 if i set MACRO_RESULT=CONTINUE
that the caller exited the queue() and continued on in the dialplan...
[incomming]
exten => 1,1,Queue(mainqueue,td)
exten => 1,2,voicemail(201 at default)
exten => 1,3,hangup
[screen]
exten => _3XX,1,ChanIsAvail(SIP/${EXTEN}&IAX2/${EXTEN})
exten => _3XX,2,GotoIf($["${AVAILCHAN}" = ""]?4)
exten => _3XX,3,Dial(${CUT(AVAILCHAN,-,1)},30,mgM(screencallee,s,1))
exten => _3XX,4,Hangup
[macro-screencallee]
exten => s,1,read(SCREEN_OPT,screenoptions)
exten => s,2,GotoIf($["${SCREEN_OPT}" = "" ]?s,1)
exten => s,3,GotoIf($["${SCREEN_OPT}" = "3" ]?3,1)
exten => 3,1,Set(MACRO_RESULT=CONTINUE)
exten => t,1,Set(MACRO_RESULT=BUSY)
exten => h,1,Set(MACRO_RESULT=BUSY)
queues.conf
[mainqueue]
musicclass = default
strategy = ringall
timeout = 600
joinempty = yes
member => local/306 at screen
~Shaun |
|
Back to top |
|
|
mailinglists at unix-s... Guest
|
Posted: Wed Feb 20, 2008 3:32 am Post subject: [asterisk-users] Dial+Macro and Queue |
|
|
Oh i'm using trunk btw, Asterisk SVN-trunk-r103842 |
|
Back to top |
|
|
pdhales at optusnet.co... Guest
|
Posted: Thu Feb 21, 2008 1:21 am Post subject: [asterisk-users] Dial+Macro and Queue |
|
|
This really looks like we are missing a lot of the associated code.
PaulH
On Wed, 2008-02-20 at 00:28 -0800, Shaun R. wrote:
Quote: | A call comes in and goes into the queue, the queue dials a sip channel using
a macro. The macro plays a set of options to the callee and if the callee
presses 3 it sets MACRO_RESULT=CONTINUE and the macro ends. For some reason
the caller goes back into the queue rather than continueing on in the dial
plan. Why is this, i could have sworn in 1.2 if i set MACRO_RESULT=CONTINUE
that the caller exited the queue() and continued on in the dialplan...
[incomming]
exten => 1,1,Queue(mainqueue,td)
exten => 1,2,voicemail(201 at default)
exten => 1,3,hangup
[screen]
exten => _3XX,1,ChanIsAvail(SIP/${EXTEN}&IAX2/${EXTEN})
exten => _3XX,2,GotoIf($["${AVAILCHAN}" = ""]?4)
exten => _3XX,3,Dial(${CUT(AVAILCHAN,-,1)},30,mgM(screencallee,s,1))
exten => _3XX,4,Hangup
[macro-screencallee]
exten => s,1,read(SCREEN_OPT,screenoptions)
exten => s,2,GotoIf($["${SCREEN_OPT}" = "" ]?s,1)
exten => s,3,GotoIf($["${SCREEN_OPT}" = "3" ]?3,1)
exten => 3,1,Set(MACRO_RESULT=CONTINUE)
exten => t,1,Set(MACRO_RESULT=BUSY)
exten => h,1,Set(MACRO_RESULT=BUSY)
queues.conf
[mainqueue]
musicclass = default
strategy = ringall
timeout = 600
joinempty = yes
member => local/306 at screen
~Shaun
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
|
Back to top |
|
|
mailinglists at unix-s... Guest
|
Posted: Thu Feb 21, 2008 4:44 pm Post subject: [asterisk-users] Dial+Macro and Queue |
|
|
What is it that you think is missing, call comes into incomming, call gets
queued, member 306 at screen is called and a macro is played to them, they hit
option 3, MACRO_RESULT gets set to CONTINUE and the call hangs up on the
member while the caller continues on... the caller now though gets put back
into the queue rahter than continueing on in the dialplan like
MACRO_RESULT=Continue is suppose to do.
~Shaun
"Paul Hales" <pdhales at optusnet.com.au> wrote in message
news:1203574863.4796.33.camel at localhost.localdomain...
Quote: |
This really looks like we are missing a lot of the associated code.
PaulH
On Wed, 2008-02-20 at 00:28 -0800, Shaun R. wrote:
Quote: | A call comes in and goes into the queue, the queue dials a sip channel
using
a macro. The macro plays a set of options to the callee and if the
callee
presses 3 it sets MACRO_RESULT=CONTINUE and the macro ends. For some
reason
the caller goes back into the queue rather than continueing on in the
dial
plan. Why is this, i could have sworn in 1.2 if i set
MACRO_RESULT=CONTINUE
that the caller exited the queue() and continued on in the dialplan...
[incomming]
exten => 1,1,Queue(mainqueue,td)
exten => 1,2,voicemail(201 at default)
exten => 1,3,hangup
[screen]
exten => _3XX,1,ChanIsAvail(SIP/${EXTEN}&IAX2/${EXTEN})
exten => _3XX,2,GotoIf($["${AVAILCHAN}" = ""]?4)
exten => _3XX,3,Dial(${CUT(AVAILCHAN,-,1)},30,mgM(screencallee,s,1))
exten => _3XX,4,Hangup
[macro-screencallee]
exten => s,1,read(SCREEN_OPT,screenoptions)
exten => s,2,GotoIf($["${SCREEN_OPT}" = "" ]?s,1)
exten => s,3,GotoIf($["${SCREEN_OPT}" = "3" ]?3,1)
exten => 3,1,Set(MACRO_RESULT=CONTINUE)
exten => t,1,Set(MACRO_RESULT=BUSY)
exten => h,1,Set(MACRO_RESULT=BUSY)
queues.conf
[mainqueue]
musicclass = default
strategy = ringall
timeout = 600
joinempty = yes
member => local/306 at screen
~Shaun
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
|
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
|
|
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|