[Freeswitch-users] failed to find agent when using mod_callcenter

Peter Blackford peter at onemetric.com
Sun Feb 26 10:55:20 MSK 2012


No worries. Just a note if you are running a multi-tenanted environment
then you need the @domain for your agents.

On 26 February 2012 01:46, Wagner <wagnerspi at gmail.com> wrote:

> Thanks Peter, it worked for me, I removed the @default after 1001 and
> worked
>
> thanks a lot
>
>
> 2012/2/25 Peter Blackford <peter at onemetric.com>
>
>> Try contact="[call_timeout=60]user/1001"
>>
>>
>> On 25 February 2012 13:39, Wagner <wagnerspi at gmail.com> wrote:
>>
>>> I'm having the exactly same issue
>>>
>>>
>>> 2012/2/15 fieldpeak <fieldpeak at gmail.com>
>>>
>>>>  Hi friends,
>>>>
>>>> i'm using mod_callcenter, when i call a number of Queue, FS failed to
>>>> find the agent. while i have register a softphone (nubmer 1001) in the
>>>> system, also i already assing this agent to this queue in
>>>> "callcenter.conf.xml", i doubt maybe it is wrong format for "
>>>> user/1001 at localhost" in "callcenter.conf.xml", then i tried
>>>> user/1001 at default. it still did not help, could anybody help me?
>>>> thanks a lot!
>>>>
>>>> *log:*
>>>>
>>>> 2012-02-15 23:47:52.491927 [DEBUG] mod_callcenter.c:1036 Updated Agent
>>>> admin at localhost set state = Receiving
>>>> 2012-02-15 23:47:52.494305 [DEBUG] switch_ivr_originate.c:1873 Parsing
>>>> global variables
>>>> 2012-02-15 23:47:52.494305 [DEBUG] switch_ivr_originate.c:2286 Parsing
>>>> session specific variables
>>>> 2012-02-15 23:47:52.494305 [DEBUG] switch_event.c:1170 Parsing variable
>>>> [call_timeout]=[10]
>>>> 2012-02-15 23:47:52.494305 [WARNING] mod_dptools.c:3016 Can't find user
>>>> [1001 at default]
>>>> 2012-02-15 23:47:52.494305 [ERR] switch_ivr_originate.c:2447 Cannot
>>>> create outgoing channel of type [user] cause: [SUBSCRIBER_ABSENT]
>>>> 2012-02-15 23:47:52.494305 [DEBUG] switch_ivr_originate.c:3299
>>>> Originate Resulted in Error Cause: 20 [SUBSCRIBER_ABSENT]
>>>> 2012-02-15 23:47:52.494305 [DEBUG] mod_callcenter.c:1641 Agent
>>>> admin at localhost Origination Canceled : SUBSCRIBER_ABSENT
>>>>
>>>> *reg user info:*
>>>>
>>>> Call-ID:        e8534b480a48a927 at SG9tZS1QQy14NjQ.
>>>> User:           1001 at 192.168.200.252
>>>> Contact:        "1001" <sip:1001 at x.x.x.x
>>>> :8420;rinstance=7e0b8cda3d10ac00;fs_nat=yes>
>>>> Agent:          eyeBeam release 3015c stamp 27107
>>>> Status:         Registered(AUTO-NAT)(unknown) EXP(2012-02-15 23:53:10)
>>>> EXPSECS(87)
>>>> Host:           DEMO
>>>> IP:             y.y.y.y
>>>> Port:           8420
>>>> Auth-User:      1001
>>>> Auth-Realm:    x.x.x.x
>>>> MWI-Account:    1001 at 192.168.200.252
>>>>
>>>> callcenter.conf.xml:
>>>>
>>>> <configuration name="callcenter.conf" description="CallCenter">
>>>>     <settings>
>>>>         <!--<param name="odbc-dsn" value="dsn:user:pass"/>-->
>>>>     </settings>
>>>>
>>>>     <queues>
>>>>         <queue name="7_Queue_test at localhost">
>>>>             <param name="strategy" value="longest-idle-agent"/>
>>>>             <param name="moh-sound" value="$${hold_music}"/>
>>>>             <param name="time-base-score" value="system"/>
>>>>             <param name="max-wait-time" value="0"/>
>>>>             <param name="max-wait-time-with-no-agent" value="0"/>
>>>>             <param name="tier-rules-apply" value="false"/>
>>>>             <param name="tier-rule-wait-second" value="300"/>
>>>>             <param name="tier-rule-wait-multiply-level" value="true"/>
>>>>             <param name="tier-rule-no-agent-no-wait" value="false"/>
>>>>             <param name="discard-abandoned-after" value="60"/>
>>>>             <param name="abandoned-resume-allowed" value="false"/>
>>>>         </queue>
>>>>     </queues>
>>>>
>>>> <!-- WARNING: Configuration of XML Agents will be updated into the DB
>>>> upon restart. -->
>>>> <!-- WARNING: Configuration of XML Tiers will reset the level and
>>>> position if those were supplied. -->
>>>> <!-- WARNING: Agents and Tiers XML config shouldn't be used in a multi
>>>> FS shared DB setup (Not currently supported anyway) -->
>>>>     <agents>
>>>>                 <agent name="admin at localhost" type="callback"
>>>> contact="[call_timeout=10]user/1001 at localhost" status="Available (On
>>>> Demand)" max-no-answer="3" wrap-up-time="10" reject-delay-time="10"
>>>> busy-delay-time="60" />
>>>>     </agents>
>>>>
>>>> <!-- If no level or position is provided, they will default to 1.  You
>>>> should do this to keep db value on restart. -->
>>>>     <tiers>
>>>>         <tier agent="admin at localhost" queue="7_Queue_test at localhost"
>>>> level="1" position="1"/>
>>>>     </tiers>
>>>>
>>>> </configuration>
>>>>
>>>> --
>>>> Regards,
>>>> Charles
>>>>
>>>>
>>>>
>>>> _________________________________________________________________________
>>>> Professional FreeSWITCH Consulting Services:
>>>> consulting at freeswitch.org
>>>> http://www.freeswitchsolutions.com
>>>>
>>>> 
>>>> 
>>>>
>>>> Official FreeSWITCH Sites
>>>> http://www.freeswitch.org
>>>> http://wiki.freeswitch.org
>>>> http://www.cluecon.com
>>>>
>>>> FreeSWITCH-users mailing list
>>>> FreeSWITCH-users at lists.freeswitch.org
>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>> UNSUBSCRIBE:
>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>> http://www.freeswitch.org
>>>>
>>>>
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>> 
>>> 
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://wiki.freeswitch.org
>>> http://www.cluecon.com
>>>
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>>>
>>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120226/c5627314/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list