somesh s
2005-Jul-22 05:38 UTC
[Asterisk-Users] --- Problem with queues.conf and extensions.conf ---
Hi Asterisk-Users,
We have a problem with queues.conf / extensions.conf
queues.conf file reads like ...
member => SIP/8399
extensions.conf reads like ...
exten => 8399, 1, SetCIDNum(${AccountNumber}|a)
exten => 8399, 2, Dial(SIP/8399,10,Ttrf)
When somebody calls to the queue, we observed that
it is not going through extensions.conf
(previous two lines)
That mean's it is not executing dial plan rather it
is directly dialing to 8399.
We can observe this in asterisk-cmd-line where
SetCIDNum is not executed.
Anybody has some pointers on this problem, please
do reply.
Thanks in advance.
Best regards,
Somesh SS
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
somesh s
2005-Jul-22 06:30 UTC
[Asterisk-Users] --- Problem with queues.conf and extensions.conf ---
Hi Patrick, Removing spaces didn't help in this regard. Some other solutions? Best regards Somesh SS --- Patrick <asterisk@puzzled.xs4all.nl> wrote:> On Fri, 2005-07-22 at 05:38 -0700, somesh s wrote: > > exten => 8399, 1, SetCIDNum(${AccountNumber}|a) > > exten => 8399, 2, Dial(SIP/8399,10,Ttrf) > ^^^^^ > > I think you need to remove the remove spaces. > > so: > > exten => 8399,1,SetCIDNum... > exten => 8399,2,Dial.... > > Regards, > Patrick > >__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Kristian Kielhofner
2005-Jul-22 10:04 UTC
[Asterisk-Users] --- Problem with queues.conf and extensions.conf ---
somesh s wrote:> Hi Asterisk-Users, > > We have a problem with queues.conf / extensions.conf > > queues.conf file reads like ... > > member => SIP/8399 > > extensions.conf reads like ... > > exten => 8399, 1, SetCIDNum(${AccountNumber}|a) > exten => 8399, 2, Dial(SIP/8399,10,Ttrf) > > When somebody calls to the queue, we observed that > it is not going through extensions.conf > (previous two lines) > > That mean's it is not executing dial plan rather it > is directly dialing to 8399. > > We can observe this in asterisk-cmd-line where > SetCIDNum is not executed. > > Anybody has some pointers on this problem, please > do reply. > > Thanks in advance. > > Best regards, > Somesh SSSomesh, It is impossible for the call to NOT go through extensions.conf. Anyways, I am having some difficulties understanding exactly what the problem is, but I can offer several suggestions: 1) Remove those spaces from your exten => line: exten => 8399,1,SetCIDNum(${AccountNumber}|a) exten => 8399,2,Dial(SIP/8399,10,Ttrf) 2) Do you want the call to be handled by a queue? You need to use the Queue (not Dial) application for that. From what it sounds like, you don't want to use queues at all... Please clarify. -- Kristian Kielhofner