Thanks Daniel! I got it. cheers, On 21.04.2013 23:22, Daniel Ivanov wrote:
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" 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 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 [2] 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
>
value="{presence_id=${dialed_user}@${dialed_domain}}${sofia_contact(users/${dialed_user}@${dialed_domain})}"/>
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 [4]] 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 [5] http://www.freeswitchsolutions.com [6]
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com [7]
Official FreeSWITCH Sites http://www.freeswitch.org [8] http://wiki.freeswitch.org [9] http://www.cluecon.com [10]
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org [11] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users [12]
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
[13]
_________________________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org [15] http://www.freeswitchsolutions.com [16]
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com [17]
Official FreeSWITCH Sites http://www.freeswitch.org [18] http://wiki.freeswitch.org [19] http://www.cluecon.com [20]
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org [21] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users [22]
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
[23]
_________________________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org [25] http://www.freeswitchsolutions.com [26]
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com [27]
Official FreeSWITCH Sites http://www.freeswitch.org [28] http://wiki.freeswitch.org [29] http://www.cluecon.com [30]
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org [31] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users [32]
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
[33] http://www.freeswitch.org [34]
Links: ------ [1] mailto:krice@freeswitch.org [2] mailto:info@shishir.com.np [3] http://c24118.c.XXXXXXX.com [4] mailto:201@c24118.c.XXXXXXX.com [5] mailto:consulting@freeswitch.org [6] http://www.freeswitchsolutions.com [7] http://www.cudatel.com [8] http://www.freeswitch.org [9] http://wiki.freeswitch.org [10] http://www.cluecon.com [11] mailto:FreeSWITCH-users@lists.freeswitch.org [12] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users [13] http://lists.freeswitch.org/mailman/options/freeswitch-users [14] http://www.freeswitch.org [15] mailto:consulting@freeswitch.org [16] http://www.freeswitchsolutions.com [17] http://www.cudatel.com [18] http://www.freeswitch.org [19] http://wiki.freeswitch.org [20] http://www.cluecon.com [21] mailto:FreeSWITCH-users@lists.freeswitch.org [22] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users [23] http://lists.freeswitch.org/mailman/options/freeswitch-users [24] http://www.freeswitch.org [25] mailto:consulting@freeswitch.org [26] http://www.freeswitchsolutions.com [27] http://www.cudatel.com [28] http://www.freeswitch.org [29] http://wiki.freeswitch.org [30] http://www.cluecon.com [31] mailto:FreeSWITCH-users@lists.freeswitch.org [32] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users [33] http://lists.freeswitch.org/mailman/options/freeswitch-users [34] http://www.freeswitch.org [35] mailto:jmesquita@freeswitch.org