<p>Yeap, joao is on the spot. You're using sofia_contact(users/xxx) which will look up local profile registrations to get the correct URI. Use absolute uris instead.</p>
<div class="gmail_quote">On Apr 22, 2013 7:59 AM, "Joćo Mesquita" <<a href="mailto:jmesquita@freeswitch.org">jmesquita@freeswitch.org</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Look at the Sofia contact wiki page. It might give you a hint.<br>
<br>
Sent from my iPhone<br>
<br>
On Apr 21, 2013, at 8:19 PM, Ken Rice <<a href="mailto:krice@freeswitch.org">krice@freeswitch.org</a>> wrote:<br>
<br>
> you said it yourself opensips is handling the registrations so freeswitch doesnt know the user is registered...<br>
><br>
> Ken<br>
> Sent from my iPad<br>
><br>
> On Apr 21, 2013, at 18:03, <a href="mailto:info@shishir.com.np">info@shishir.com.np</a> wrote:<br>
><br>
>> hi<br>
>><br>
>> I am using opensips as a registration server and FS as a media proxy. I<br>
>> dont authenticate the users on the FS but opensips does. I am using<br>
>> mod_curl_xml to get the user extensions and group settings.<br>
>><br>
>> The issue I am having is when I call to the group of the users after<br>
>> getting data back from mod_curl_xml I get USER_NOT_REGISTERED and<br>
>> hangups the call.<br>
>><br>
>><br>
>> This is what I receive back from mod_curl_xml<br>
>><br>
>> <document type="freeswitch/xml"><br>
>> <section name="directory"><br>
>> <domain name="<a href="http://c24118.c.XXXXXXX.com" target="_blank">c24118.c.XXXXXXX.com</a>"><br>
>> <groups><br>
>> <group name="201"><br>
>> <users><br>
>> <user id="201"><br>
>> <params><br>
>> <param name="dial-string"<br>
>> value="{presence_id=${dialed_user}@${dialed_domain}}${sofia_contact(users/${dialed_user}@${dialed_domain})}"/><br>
>> </params><br>
>> </user><br>
>> </users><br>
>> </group><br>
>> </groups><br>
>> </domain><br>
>> </section><br>
>> </document><br>
>><br>
>> This is what I get on the freeswitch<br>
>><br>
>> 2013-04-21 07:50:37.000717 [DEBUG] switch_event.c:1608 Parsing variable<br>
>> [presence_id]=[<a href="mailto:201@c24118.c.XXXXXXX.com">201@c24118.c.XXXXXXX.com</a>]<br>
>> 2013-04-21 07:50:37.000717 [NOTICE] switch_ivr_originate.c:2640 Cannot<br>
>> create outgoing channel of type [error] cause: [USER_NOT_REGISTERED]<br>
>> 2013-04-21 07:50:37.000717 [DEBUG] switch_ivr_originate.c:3606<br>
>> Originate Resulted in Error Cause: 606 [USER_NOT_REGISTERED]<br>
>> 2013-04-21 07:50:37.000717 [NOTICE] switch_ivr_originate.c:2640 Cannot<br>
>> create outgoing channel of type [group] cause: [USER_NOT_REGISTERED]<br>
>> 2013-04-21 07:50:37.000717 [DEBUG] switch_ivr_originate.c:3606<br>
>> Originate Resulted in Error Cause: 606 [USER_NOT_REGISTERED]<br>
>> 2013-04-21 07:50:37.000717 [INFO] mod_dptools.c:3084 Originate Failed.<br>
>> Cause: USER_NOT_REGISTERED<br>
>><br>
>> Am I missing anything ? what I am doing wrong here?<br>
>><br>
>> Thanks in advance<br>
>><br>
>> _________________________________________________________________________<br>
>> Professional FreeSWITCH Consulting Services:<br>
>> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
>> <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
>><br>
>> FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
>> <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
>><br>
>> Official FreeSWITCH Sites<br>
>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>> <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
>> <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
>><br>
>> FreeSWITCH-users mailing list<br>
>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>
> _________________________________________________________________________<br>
> Professional FreeSWITCH Consulting Services:<br>
> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
> <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
><br>
> FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
> <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
><br>
> Official FreeSWITCH Sites<br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
> <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
> <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
><br>
> FreeSWITCH-users mailing list<br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div>