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. On Apr 22, 2013 7:59 AM, "João Mesquita" <jmesquita@freeswitch.org> wrote:
Look at the Sofia contact wiki page. It might give you a hint.
Sent from my iPhone
On Apr 21, 2013, at 8:19 PM, Ken Rice <krice@freeswitch.org> wrote:
you said it yourself opensips is handling the registrations so freeswitch doesnt know the user is registered...
Ken Sent from my iPad
On Apr 21, 2013, at 18:03, info@shishir.com.np wrote:
hi
I am using opensips as a registration server and FS as a media proxy. I dont authenticate the users on the FS but opensips does. I am using mod_curl_xml to get the user extensions and group settings.
The issue I am having is when I call to the group of the users after getting data back from mod_curl_xml I get USER_NOT_REGISTERED and hangups the call.
This is what I receive back from mod_curl_xml
<document type="freeswitch/xml"> <section name="directory"> <domain name="c24118.c.XXXXXXX.com"> <groups> <group name="201"> <users> <user id="201"> <params> <param name="dial-string" value="{presence_id=${dialed_user}@ ${dialed_domain}}${sofia_contact(users/${dialed_user}@ ${dialed_domain})}"/> </params> </user> </users> </group> </groups> </domain> </section> </document>
This is what I get on the freeswitch
2013-04-21 07:50:37.000717 [DEBUG] switch_event.c:1608 Parsing variable [presence_id]=[201@c24118.c.XXXXXXX.com] 2013-04-21 07:50:37.000717 [NOTICE] switch_ivr_originate.c:2640 Cannot create outgoing channel of type [error] cause: [USER_NOT_REGISTERED] 2013-04-21 07:50:37.000717 [DEBUG] switch_ivr_originate.c:3606 Originate Resulted in Error Cause: 606 [USER_NOT_REGISTERED] 2013-04-21 07:50:37.000717 [NOTICE] switch_ivr_originate.c:2640 Cannot create outgoing channel of type [group] cause: [USER_NOT_REGISTERED] 2013-04-21 07:50:37.000717 [DEBUG] switch_ivr_originate.c:3606 Originate Resulted in Error Cause: 606 [USER_NOT_REGISTERED] 2013-04-21 07:50:37.000717 [INFO] mod_dptools.c:3084 Originate Failed. Cause: USER_NOT_REGISTERED
Am I missing anything ? what I am doing wrong here?
Thanks in advance
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org