[Freeswitch-users] mod_xml_curl and SUBSCRIBER_ABSENT

Kenn Leth Hansen klh at justfone.dk
Wed Apr 23 10:58:48 MSD 2014

Hi all,

I am using mod_xml_curl for serving directory XML based on database
lookups. I can register phones using mod_xml_curl without problems, however
I am having trouble calling/transfering/bridging calls to registered users.
If I register using the default 1000 user there are no issues.

XML returned to mod_xml_curl:

<?xml version="1.0" encoding="UTF-8"?>
<document type="freeswitch/xml">
  <section name="directory">
    <domain name="example.com">
        <param name="dial-string"
        <group name="agents">
            <user id="test">
                <param name="password" value="test"/>

setting up a call to the default 1000 user using "originate users/1000 echo"
works flawlessly, if user is not registered FS returns "-ERR

When trying "originate users/test echo" or "originate
users/test at example.comecho",
the CLI waits for timeout and then returns:


2014-04-23 08:52:24.175708 [DEBUG] switch_ivr_originate.c:2061 Parsing
global variables
2014-04-23 08:52:24.215756 [WARNING] mod_dptools.c:3943 Can't find user [
test at example.com]
2014-04-23 08:52:24.215756 [NOTICE] switch_ivr_originate.c:2662 Cannot
create outgoing channel of type [user] cause: [SUBSCRIBER_ABSENT]
2014-04-23 08:52:24.215756 [DEBUG] switch_ivr_originate.c:3639 Originate
Resulted in Error Cause: 20 [SUBSCRIBER_ABSENT]

When looking up registered users in the Sofia profile the user seems to be

freeswitch at internal> sofia status profile Profile reg test


Call-ID:        e546c814b5c44f598286b94f923af64e
User:           test at example.com
Contact:        "test" <sip:04268973 at>
Agent:          Blink 0.8.0 (Windows)
Status:         Registered(UDP)(unknown) EXP(2014-04-23 09:06:21)
Host:           fs01
Port:           5060
Auth-User:      test
Auth-Realm:     example.com
MWI-Account:    test at example.com

Total items returned: 2

Using FreeSWITCH Version 1.2.16+git~20131218T195141Z~6968ef88fa~64bit (git
6968ef8 2013-12-18 19:51:41Z 64bit)


Kenn Leth Hansen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140423/9c5cbfcb/attachment.html 

Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list