Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[asterisk-users] problem configuring queue


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
enediel at hotmail.com
Guest





PostPosted: Tue Jun 03, 2008 8:10 am    Post subject: [asterisk-users] problem configuring queue Reply with quote

Hello
I installed asteriskNow, I created a call queue

On the queues.conf file I can read

[6010]
fullname = techsupport
strategy = roundrobin
timeout = 10
context = ntech
wrapuptime =
autofill = yes
autopause = no
maxlen =
joinempty = no
leavewhenempty = no
reportholdtime = no
member = SIP/6000

the only change I made here manually was to change the member definition, with this configuration it works, before was inserted this way
member = Agent/6000
, but it did not work.

but in the logs I found the following entry

app_queue.c: Unknown keyword in queue '6010': fullname at line 52 of queues.conf

if the rest of fields were inserted by the interface of asterisknow, which is the cause of this message.

I still have problem figuring out how to pass the call to this queue, after collecting some information from the caller,
from one application that uses BaseAGIScript

Thanks in advance for any help

Greetings
Enediel
_________________________________________________________________
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080603/bd2ed0fc/attachment.htm
Back to top
enediel at hotmail.com
Guest





PostPosted: Tue Jun 03, 2008 8:40 am    Post subject: [asterisk-users] problem configuring queue Reply with quote

more about the same error
if I associated the number 6010 to the queue why I get the following log?
[Jun 3 09:34:50] WARNING[3587] pbx.c: Channel 'SIP/6001-081ed760' sent into invalid extension '6010' in context 'ntech1', but no invalid handler

Greetings
Enediel

From: enediel at hotmail.com
To: asterisk-users at lists.digium.com
Date: Tue, 3 Jun 2008 13:10:57 +0000
Subject: [asterisk-users] problem configuring queue






Hello
I installed asteriskNow, I created a call queue

On the queues.conf file I can read

[6010]
fullname = techsupport
strategy = roundrobin
timeout = 10
context = ntech
wrapuptime =
autofill = yes
autopause = no
maxlen =
joinempty = no
leavewhenempty = no
reportholdtime = no
member = SIP/6000

the only change I made here manually was to change the member definition, with this configuration it works, before was inserted this way
member = Agent/6000
, but it did not work.

but in the logs I found the following entry

app_queue.c: Unknown keyword in queue '6010': fullname at line 52 of queues.conf

if the rest of fields were inserted by the interface of asterisknow, which is the cause of this message.

I still have problem figuring out how to pass the call to this queue, after collecting some information from the caller,
from one application that uses BaseAGIScript

Thanks in advance for any help

Greetings
Enediel


Get news, entertainment and everything you care about at Live.com. Check it out!

_________________________________________________________________
Explore the seven wonders of the world
http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080603/5ffc4ba9/attachment.htm
Back to top
tareksawah at hotmail.com
Guest





PostPosted: Tue Jun 03, 2008 6:14 pm    Post subject: [asterisk-users] problem configuring queue Reply with quote

Enediel,
with the lack of my basic knowedge with config files because i'm a freepbx guy.. to help you i would suppose the following..
1- you have extension configured as 6000 and 6010 ..
2- your extentions are working properly with the context you put in the queue config file

for me it seems a context issue .. otherwise you will have to check your extensions and make sure you have those on your system.
BUT.. it would help if you paste the sip.conf where you setup your extensions and let me have a look at it.

regards
Tarek Sawah


From: enediel at hotmail.comTo: asterisk-users at lists.digium.comDate: Tue, 3 Jun 2008 13:40:09 +0000Subject: Re: [asterisk-users] problem configuring queue


more about the same errorif I associated the number 6010 to the queue why I get the following log?[Jun 3 09:34:50] WARNING[3587] pbx.c: Channel 'SIP/6001-081ed760' sent into invalid extension '6010' in context 'ntech1', but no invalid handlerGreetingsEnediel


From: enediel at hotmail.comTo: asterisk-users at lists.digium.comDate: Tue, 3 Jun 2008 13:10:57 +0000Subject: [asterisk-users] problem configuring queue

HelloI installed asteriskNow, I created a call queueOn the queues.conf file I can read[6010]fullname = techsupportstrategy = roundrobintimeout = 10context = ntechwrapuptime = autofill = yesautopause = nomaxlen = joinempty = noleavewhenempty = noreportholdtime = nomember = SIP/6000the only change I made here manually was to change the member definition, with this configuration it works, before was inserted this waymember = Agent/6000, but it did not work.but in the logs I found the following entryapp_queue.c: Unknown keyword in queue '6010': fullname at line 52 of queues.confif the rest of fields were inserted by the interface of asterisknow, which is the cause of this message.I still have problem figuring out how to pass the call to this queue, after collecting some information from the caller,from one application that uses BaseAGIScriptThanks in advance for any helpGreetingsEnediel

Get news, entertainment and everything you care about at Live.com. Check it out!

Explore the seven wonders of the world Learn more!
_________________________________________________________________
Now you can invite friends from Facebook and other groups to join you on Windows Live? Messenger. Add now.
https://www.invite2messenger.net/im/?source=TXT_EML_WLH_AddNow_Now
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080603/52a3f609/attachment.htm
Back to top
enediel at hotmail.com
Guest





PostPosted: Wed Jun 04, 2008 7:51 am    Post subject: [asterisk-users] problem configuring queue Reply with quote

Thanks for the answer
My case is the following

queues.conf
[6010]
;fullname = techsupport
strategy = rrmemory
timeout = 10
context = ntech
wrapuptime =
autofill = yes
autopause = no
maxlen =
joinempty = no
leavewhenempty = no
reportholdtime = no
musicclass =
member = SIP/6000
extentions.conf
[ntech]
exten => 6010,1,Answer
exten => 6010,2,Queue(techsupport)
exten => 6010,3,Hangup

6000 is a regular extention, and on 6010 I have configured a queue, using another extention if I dial 6010 the queue answer me without problem, in this case it only rings on 6000 because it's the only member assigned.

but I need something like
[ntech]

exten => 6010,1,Answer
;exten = s,3,Agi(agi://172.20.3.124/noaction)

exten => 6010,2,Queue(techsupport)

exten => 6010,3,Hangup


I commented the line because I'm not sure exactly how to declare it, basically I need to ask some questions to the caller, and when it finished then I want to send the call the queue, here is my problem
my application in c# has the following function
public override void Service(AGIRequest request, AGIChannel channel)
{
Asterisk.NET.util.Tools T = new Asterisk.NET.util.Tools();

//T.Channel.SetContext("ntech");
//T.Channel.SetExtension("6010");
//T.Channel.Answer();
//T.Channel.Answer();
//T.Channel.SetExtension("6010");
//T.SetContext("ntech");
//T.SetPriority(1);
//T.SetContext("ntech1");
//T.SetExtension("6000");
//T.SetPriority(100);
//System.Threading.Thread.Sleep(100000);
}
I tried all combinations without sucess, I wanted just to call the script, and return properly to continue the call on the queue

Thanks in advance for any answer
Greetings
Enediel


_________________________________________________________________
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080604/85220448/attachment.htm
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