[Asterisk-Users] --- Problem with queues.conf and extensions.conf ---

2005-07-22 Thread somesh s
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 
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] --- Problem with queues.conf and extensions.conf ---

2005-07-22 Thread somesh s
Hi Patrick,

Removing spaces didn't help in this regard.

Some other solutions?

Best regards
Somesh SS

--- Patrick [EMAIL PROTECTED] 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 
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] --- Problem with queues.conf and extensions.conf ---

2005-07-22 Thread Kristian Kielhofner

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 SS


Somesh,

	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
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users