[asterisk-users] The queue is not routing for the agent: returned -1: Invalid argument

bilal ghayyad bilmar_gh at yahoo.com
Sat Jul 23 12:18:13 CDT 2011


Hi All;

Asterisk version is 1.8.4
The call is going to the queue but it is not routing to the agent which is logged in.

I am afraid that I am missing a parameter to be set or enable or disable in the queues.conf so it is causing not to route for the interface.

I am getting the following error messages:

[Jul 24 18:45:02] WARNING[13177]: pbx.c:4893 __ast_pbx_run: Don't know what to do with 'SIP/gwbilalhome-00000bfd'  == Using SIP RTP CoS mark 5

[Jul 24 18:45:07] WARNING[13175]: acl.c:708 ast_ouraddrfor: Cannot connect
[Jul 24 18:45:07] WARNING[13175]: chan_sip.c:3280 __sip_xmit: sip_xmit of 0x7ff3 6c0d6380 (len 774) to 0.0.2.87:5060 returned -1: Invalid argument


Below is my extensions.con

[IncomingFromPSTN]

exten => 4,1,Goto(CustomerSupport,s,1)

[QueueLogin]
exten => 150,1,AddQueueMember(CustomerSupport,SIP/599);
exten => 150,2,Playback(agent-loginok)
exten => 151,1,RemoveQueueMember(CustomerSupport,SIP/599);
exten => 151,2,Playback(agent-loggedoff)


[CustomerSupport]

include => Internal

exten => s,1,Queue(CustomerSupport,t,,,120)

Now, there are also another two problems:

1) When I am dialing 150 to login, then after I hear the message that agent is logged in, then I hangup the SIP Phone, then I see the following message:

[Jul 24 18:53:49] WARNING[13263]: pbx.c:4893 __ast_pbx_run: Don't know what to do with 'SIP/gwbilalhome-00000c09'

So, why this? 

2) If I configured in the queues.conf the member to be in the queue (so no need to login, correct), if the memeber is Agent, then how the association will be between the Agent and the Extension? How it will be determined that the Agent 1003 will be existed in the extension 599 as I am not dialing anything from the Phone to login? 

Appreciate your kindly help.
Regards
Bilal



More information about the asterisk-users mailing list