Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Next step in extensions.conf after answer the phone in Queue


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
andrej at ok.cvut.cz
Guest





PostPosted: Wed Apr 23, 2008 6:37 am    Post subject: [asterisk-users] Next step in extensions.conf after answer t Reply with quote

Hello everybody.

I was looking for the solution but nothing found. I have this in my
extensions.conf:

exten => 233,1,SetAccount(queue1)
exten => 233,2,Queue(queue1|rn)
exten => 233,3,NoOp(${QUEUESTATUS})
exten => 233,4,NoOp(${DIALSTATUS})
But when the call is placed in the queue and somebody answer it, it will
throw an error:
== Spawn extension (default, 211, 4) exited non-zero on
'Local/211 at default-3aff,2'

And no other command in extensions is executed.
Any suggestions?

Thank's a lot!
Andy
Back to top
atis at iq-labs.net
Guest





PostPosted: Wed Apr 23, 2008 11:18 am    Post subject: [asterisk-users] Next step in extensions.conf after answer t Reply with quote

Queue will continue if called person hangs up (and there's no option).
If caller hangs up, call goes to h extension in same context. Just the
same way as Dial with 'g'. There's a change in 1.6 that allows called
channel to continue if caller hangs up, so probably something like
this could be applied also to Queue (or was that actually working with
using Local channels?).

Regards,
Atis

On Wed, Apr 23, 2008 at 7:13 PM, AnDY <andrej at ok.cvut.cz> wrote:
Quote:
Thank you for your answer.
But the Dial command has a option 'g' which means that after succes will
proceed next priorities in the dialplan. Is there something also for
Queue() because according to manual there is no option for it. So I am
looking for some other solution.

Andy

Tony Mountifield napsal(a):


Quote:
In article <53331.195.250.139.102.1208950645.squirrel at nemesis.ok.cvut.cz>,
<andrej at ok.cvut.cz> wrote:

Quote:
Hello everybody.

I was looking for the solution but nothing found. I have this in my
extensions.conf:

exten => 233,1,SetAccount(queue1)
exten => 233,2,Queue(queue1|rn)
exten => 233,3,NoOp(${QUEUESTATUS})
exten => 233,4,NoOp(${DIALSTATUS})


But when the call is placed in the queue and somebody answer it, it will
throw an error:
== Spawn extension (default, 211, 4) exited non-zero on
'Local/211 at default-3aff,2'

And no other command in extensions is executed.
Any suggestions?


Queue() is like Dial(), in that if it succeeds in connecting to someone,
it will not return to the next priority in the dialplan. However, if you
define an 'h' extension, that will get executed when the call is complete:

exten => 233,1,SetAccount(queue1)
exten => 233,2,Queue(queue1|rn)
exten => 233,3,NoOp(${QUEUESTATUS})
exten => 233,4,NoOp(${DIALSTATUS})

exten => h,1,NoOp(${QUEUESTATUS})
exten => h,2,NoOp(${DIALSTATUS})

Cheers
Tony





_______________________________________________
-- 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


--
Atis Lezdins,
VoIP Project Manager / Developer,
atis at iq-labs.net
Skype: atis.lezdins
Cell Phone: +371 28806004
Cell Phone: +1 800 7300689
Work phone: +1 800 7502835
Back to top
bwentdg at pipeline.com
Guest





PostPosted: Wed Apr 23, 2008 12:18 pm    Post subject: [asterisk-users] Next step in extensions.conf after answer t Reply with quote

Why would you want a "channel to continue" after the caller has hung up.
I clearly am missing something here because I can't see what good that
would be. What do people do with this "Continued Channel" ?
What is is used for ? How Does having it help you ? ???

Atis Lezdins wrote:
Quote:
Queue will continue if called person hangs up (and there's no option).
If caller hangs up, call goes to h extension in same context. Just the
same way as Dial with 'g'. There's a change in 1.6 that allows called
channel to continue if caller hangs up, so probably something like
this could be applied also to Queue (or was that actually working with
using Local channels?).

Regards,
Atis

On Wed, Apr 23, 2008 at 7:13 PM, AnDY <andrej at ok.cvut.cz> wrote:

Quote:
Thank you for your answer.
But the Dial command has a option 'g' which means that after succes will
proceed next priorities in the dialplan. Is there something also for
Queue() because according to manual there is no option for it. So I am
looking for some other solution.

Andy

Tony Mountifield napsal(a):



Quote:
In article <53331.195.250.139.102.1208950645.squirrel at nemesis.ok.cvut.cz>,

<andrej at ok.cvut.cz> wrote:

Quote:
Hello everybody.

I was looking for the solution but nothing found. I have this in my
extensions.conf:

exten => 233,1,SetAccount(queue1)
exten => 233,2,Queue(queue1|rn)
exten => 233,3,NoOp(${QUEUESTATUS})
exten => 233,4,NoOp(${DIALSTATUS})


But when the call is placed in the queue and somebody answer it, it will
throw an error:
== Spawn extension (default, 211, 4) exited non-zero on
'Local/211 at default-3aff,2'

And no other command in extensions is executed.
Any suggestions?


Queue() is like Dial(), in that if it succeeds in connecting to someone,
it will not return to the next priority in the dialplan. However, if you
define an 'h' extension, that will get executed when the call is complete:

exten => 233,1,SetAccount(queue1)
exten => 233,2,Queue(queue1|rn)
exten => 233,3,NoOp(${QUEUESTATUS})
exten => 233,4,NoOp(${DIALSTATUS})

exten => h,1,NoOp(${QUEUESTATUS})
exten => h,2,NoOp(${DIALSTATUS})

Cheers
Tony





_______________________________________________
-- 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
andrej at ok.cvut.cz
Guest





PostPosted: Wed Apr 23, 2008 12:39 pm    Post subject: [asterisk-users] Next step in extensions.conf after answer t Reply with quote

I want to log in database some info ( total agents logged in, busy
agents, time ... ). I have some variables and checking them.
Let me explain it from beginning:
Somebody call the queue and everyone is busy, i need to play to caller
that everyone is busy and he should call later, and log this situation.
So I have to variables. Total agents available (TQC) to pick up and busy
agents (BQC). If everyone is busy than this to variables matches and the
caller has to wait. This I need to log with this two numbers.
If BQC != TQC I need just log the numbers nothing else.

Hopefully it is clear to you.
Maybe there is another solution how to do that.
Btw. I am putting this stats in MySQL database.

Andy

Al Baker napsal(a):
Quote:
Why would you want a "channel to continue" after the caller has hung up.
I clearly am missing something here because I can't see what good that
would be. What do people do with this "Continued Channel" ?
What is is used for ? How Does having it help you ? ???

Atis Lezdins wrote:

Quote:
Queue will continue if called person hangs up (and there's no option).
If caller hangs up, call goes to h extension in same context. Just the
same way as Dial with 'g'. There's a change in 1.6 that allows called
channel to continue if caller hangs up, so probably something like
this could be applied also to Queue (or was that actually working with
using Local channels?).

Regards,
Atis

On Wed, Apr 23, 2008 at 7:13 PM, AnDY <andrej at ok.cvut.cz> wrote:


Quote:
Thank you for your answer.
But the Dial command has a option 'g' which means that after succes will
proceed next priorities in the dialplan. Is there something also for
Queue() because according to manual there is no option for it. So I am
looking for some other solution.

Andy

Tony Mountifield napsal(a):




Quote:
In article <53331.195.250.139.102.1208950645.squirrel at nemesis.ok.cvut.cz>,


<andrej at ok.cvut.cz> wrote:

Quote:
Hello everybody.

I was looking for the solution but nothing found. I have this in my
extensions.conf:

exten => 233,1,SetAccount(queue1)
exten => 233,2,Queue(queue1|rn)
exten => 233,3,NoOp(${QUEUESTATUS})
exten => 233,4,NoOp(${DIALSTATUS})


But when the call is placed in the queue and somebody answer it, it will
throw an error:
== Spawn extension (default, 211, 4) exited non-zero on
'Local/211 at default-3aff,2'

And no other command in extensions is executed.
Any suggestions?


Queue() is like Dial(), in that if it succeeds in connecting to someone,
it will not return to the next priority in the dialplan. However, if you
define an 'h' extension, that will get executed when the call is complete:

exten => 233,1,SetAccount(queue1)
exten => 233,2,Queue(queue1|rn)
exten => 233,3,NoOp(${QUEUESTATUS})
exten => 233,4,NoOp(${DIALSTATUS})

exten => h,1,NoOp(${QUEUESTATUS})
exten => h,2,NoOp(${DIALSTATUS})

Cheers
Tony





_______________________________________________
-- 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
asterisk.org at sedwar...
Guest





PostPosted: Wed Apr 23, 2008 1:31 pm    Post subject: [asterisk-users] Next step in extensions.conf after answer t Reply with quote

Quote:
Al Baker napsal(a):

Quote:
Quote:
Why would you want a "channel to continue" after the caller has hung up.
I clearly am missing something here because I can't see what good that
would be. What do people do with this "Continued Channel" ?
What is is used for ? How Does having it help you ? ???

On Wed, 23 Apr 2008, AnDY wrote:

Quote:
I want to log in database some info ( total agents logged in, busy
agents, time ... ). I have some variables and checking them.

Sounds like you are looking for "deadagi" and the "h" extension -- I do it
all the time.

Thanks in advance,
------------------------------------------------------------------------
Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000
Back to top
marco.mouta at gmail.com
Guest





PostPosted: Wed Apr 23, 2008 1:56 pm    Post subject: [asterisk-users] Next step in extensions.conf after answer t Reply with quote

May be I'm wrong but:*

timeout - the maximum time, in seconds, the call will wait in the queue.
When this time expires, the next extension, by priority, will be executed.
By default the timeout is set to 300 seconds.

So you clearly have two ways to feed your database with your statistics:

If (agent is busy)
{
You will get timeout and you will go throuhg the next priority of your
dialplan
}
else
{
You can use the exten=> h to insert your database info correctly just after
your customer hangup the call
}

Also notice that

This application sets the following channel variable upon completion:
QUEUESTATUS The status of the call as a text string, one of TIMEOUT |
FULL | JOINEMPTY | LEAVEEMPTY | JOINUNAVAIL | LEAVEUNAVAI

run on your asterisk CLI > show application Queue

I hope it helps.

Kind regards,
Mouta

*
On Wed, Apr 23, 2008 at 6:39 PM, AnDY <andrej at ok.cvut.cz> wrote:

Quote:
I want to log in database some info ( total agents logged in, busy
agents, time ... ). I have some variables and checking them.
Let me explain it from beginning:
Somebody call the queue and everyone is busy, i need to play to caller
that everyone is busy and he should call later, and log this situation.
So I have to variables. Total agents available (TQC) to pick up and busy
agents (BQC). If everyone is busy than this to variables matches and the
caller has to wait. This I need to log with this two numbers.
If BQC != TQC I need just log the numbers nothing else.

Hopefully it is clear to you.
Maybe there is another solution how to do that.
Btw. I am putting this stats in MySQL database.

Andy

Al Baker napsal(a):
Quote:
Why would you want a "channel to continue" after the caller has hung up.
I clearly am missing something here because I can't see what good that
would be. What do people do with this "Continued Channel" ?
What is is used for ? How Does having it help you ? ???

Atis Lezdins wrote:

Quote:
Queue will continue if called person hangs up (and there's no option).
If caller hangs up, call goes to h extension in same context. Just the
same way as Dial with 'g'. There's a change in 1.6 that allows called
channel to continue if caller hangs up, so probably something like
this could be applied also to Queue (or was that actually working with
using Local channels?).

Regards,
Atis

On Wed, Apr 23, 2008 at 7:13 PM, AnDY <andrej at ok.cvut.cz> wrote:


Quote:
Thank you for your answer.
But the Dial command has a option 'g' which means that after succes
will
Quote:
Quote:
Quote:
proceed next priorities in the dialplan. Is there something also for
Queue() because according to manual there is no option for it. So I
am
Quote:
Quote:
Quote:
looking for some other solution.

Andy

Tony Mountifield napsal(a):




Quote:
In article <
53331.195.250.139.102.1208950645.squirrel at nemesis.ok.cvut.cz>,
Quote:
Quote:
Quote:
Quote:


<andrej at ok.cvut.cz> wrote:

Quote:
Hello everybody.

I was looking for the solution but nothing found. I have this in
my
Quote:
Quote:
Quote:
Quote:
Quote:
extensions.conf:

exten => 233,1,SetAccount(queue1)
exten => 233,2,Queue(queue1|rn)
exten => 233,3,NoOp(${QUEUESTATUS})
exten => 233,4,NoOp(${DIALSTATUS})


But when the call is placed in the queue and somebody answer it,
it will
Quote:
Quote:
Quote:
Quote:
Quote:
throw an error:
== Spawn extension (default, 211, 4) exited non-zero on
'Local/211 at default-3aff,2'

And no other command in extensions is executed.
Any suggestions?


Queue() is like Dial(), in that if it succeeds in connecting to
someone,
Quote:
Quote:
Quote:
Quote:
it will not return to the next priority in the dialplan. However,
if you
Quote:
Quote:
Quote:
Quote:
define an 'h' extension, that will get executed when the call is
complete:
Quote:
Quote:
Quote:
Quote:

exten => 233,1,SetAccount(queue1)
exten => 233,2,Queue(queue1|rn)
exten => 233,3,NoOp(${QUEUESTATUS})
exten => 233,4,NoOp(${DIALSTATUS})

exten => h,1,NoOp(${QUEUESTATUS})
exten => h,2,NoOp(${DIALSTATUS})

Cheers
Tony





_______________________________________________
-- 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




_______________________________________________
-- 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




--
Esta mensagem (incluindo quaisquer anexos) pode conter informa??o
confidencial para uso exclusivo do destinat?rio. Se n?o for o destinat?rio
pretendido, n?o dever? usar, distribuir ou copiar este e-mail. Se recebeu
esta mensagem por engano, por favor informe o emissor e elimine-a
imediatamente. Obrigado.

This e-mail message is intended only for individual(s) to whom it is
addressed and may contain information that is privileged, confidential,
proprietary, or otherwise exempt from disclosure under applicable law. If
you believe you have received this message in error, please advise the
sender by return e-mail and delete it from your mailbox. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080423/857a8330/attachment.htm
Back to top
atis at iq-labs.net
Guest





PostPosted: Thu Apr 24, 2008 9:04 am    Post subject: [asterisk-users] Next step in extensions.conf after answer t Reply with quote

Quote:
Atis Lezdins wrote:
Quote:
Queue will continue if called person hangs up (and there's no option).
If caller hangs up, call goes to h extension in same context. Just the
same way as Dial with 'g'. There's a change in 1.6 that allows called
channel to continue if caller hangs up, so probably something like
this could be applied also to Queue (or was that actually working with
using Local channels?).


On Wed, Apr 23, 2008 at 8:18 PM, Al Baker <bwentdg at pipeline.com> wrote:
Quote:
Why would you want a "channel to continue" after the caller has hung up.
I clearly am missing something here because I can't see what good that
would be. What do people do with this "Continued Channel" ?
What is is used for ? How Does having it help you ? ???

To play something to called party.

I'm not familiar with that feature too deep, but I guess it's not
caller channel but called channel that's continued.

Regards,
Atis
--
Atis Lezdins,
VoIP Project Manager / Developer,
atis at iq-labs.net
Skype: atis.lezdins
Cell Phone: +371 28806004
Cell Phone: +1 800 7300689
Work phone: +1 800 7502835
Back to top
anthonyf at rockynet.com
Guest





PostPosted: Thu Apr 24, 2008 9:18 am    Post subject: [asterisk-users] Next step in extensions.conf after answer t Reply with quote

Atis Lezdins wrote:
Quote:
Quote:
Atis Lezdins wrote:
Quote:
Queue will continue if called person hangs up (and there's no option).
If caller hangs up, call goes to h extension in same context. Just the
same way as Dial with 'g'. There's a change in 1.6 that allows called
channel to continue if caller hangs up, so probably something like
this could be applied also to Queue (or was that actually working with
using Local channels?).



On Wed, Apr 23, 2008 at 8:18 PM, Al Baker <bwentdg at pipeline.com> wrote:

Quote:
Why would you want a "channel to continue" after the caller has hung up.
I clearly am missing something here because I can't see what good that
would be. What do people do with this "Continued Channel" ?
What is is used for ? How Does having it help you ? ???


To play something to called party.

I'm not familiar with that feature too deep, but I guess it's not
caller channel but called channel that's continued.

Regards,
Atis



I am guessing something to the tune of " missed a call from <number>
press 1 to call them back now.".
That is a good feature idea.

--
Thank you and have any kind of day you want,

Anthony Francis
Rockynet VOIP
(303) 444-7052 opt 2
voip at rockynet.com
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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

VoiceMeUp - Corporate & Wholesale VoIP Services