[Freeswitch-users] Directory xml_curl, gets Can't find user

ServTelar gustavomarsico at gmail.com
Fri Aug 3 18:39:27 MSD 2012

Hi all

It seems this is a very old one, but certainly I didn't find any solution to this.

Using XML for directory everything works fine. But if I try using xml_curl, sending response:

<document type="freeswitch/xml">
  <section description="FreeSWITCH Directory" name="directory">
    <domain name="">
        <param name="dial-string" value="{presence_id=${dialed_user}@${dialed_domain},transfer_fallback_extension=${dialed_user}}${sofia_contact(${dialed_user}@${dialed_domain})}"/>
        <group name="default">
            <user id="2692128">
                <param name="a1-hash" value="7d73f412ca332fedd81a297b64c0b271"/>
                <param name="vm-password" value="2128"/>
                <variable name="accountcode" value="2692128"/>
                <variable name="user_context" value="default"/>
                <variable name="effective_caller_id_name" value="2692128"/>
                <variable name="effective_caller_id_number" value="2692128"/>
                <variable name="outbound_caller_id_name" value="2692128"/>
                <variable name="outbound_caller_id_number" value="2692128"/>

Registration is accepted:

Call-ID:    	939540755
User:       	2692128 at
Contact:    	2692128 <sip:2692128 at;line=3dfb73927e26966;fs_nat=yes;fs_path=sip%3A2692128%4010.94.56.6%3A5060%3Bline%3D3dfb73927e26966>
Agent:      	iSoftPhone 3.4110
Status:     	Registered(UDP-NAT)(unknown) EXP(2012-08-03 11:35:30) EXPSECS(1688)
Host:       	demo
Port:       	5060
Auth-User:  	2692128
MWI-Account:	2692128 at

But if I made a call pointing to that user I just got:

2012-08-03 11:05:38.261385 [WARNING] mod_dptools.c:3294 Can't find user [2692128 at]
2012-08-03 11:05:38.281377 [NOTICE] switch_ivr_originate.c:2459 Cannot create outgoing channel of type [user] cause: [SUBSCRIBER_ABSENT]
2012-08-03 11:05:38.281377 [DEBUG] switch_ivr_originate.c:3364 Originate Resulted in Error Cause: 20 [SUBSCRIBER_ABSENT]

Domain are set both to the IP:

  <X-PRE-PROCESS cmd="set" data="domain="/>
  <X-PRE-PROCESS cmd="set" data="domain_name="/>

And matches with the internal

freeswitch at internal> sofia status 
                     Name	   Type	                                      Data	State
      	  alias	                                  internal	ALIASED
                 internal	profile	              sip:mod_sofia at	RUNNING (0)

Can someone drop me a line to point where I should look to?

Thanks in advance


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