[OpenSIPS-Users] OpenSIPS & OpenXCAP

Saúl Ibarra Corretgé saul at ag-projects.com
Tue Mar 23 09:04:39 CET 2010


> The message is generated from this part of OpenSIPS-Presence configuration:
>
> if (is_from_local()) {
> 	if (avp_check("$hdr(Event)", "fm/presence*/i")&&  ($au != $rU || $ar != $rd)) {
> 		xlog("L_WARN", "Account $au@$ar tried to publish $hdr(Event) event for $ru\n");
> 		sl_send_reply("403", "Publishing $hdr(Event) events for others is forbidden");
>
> 		return;
> 	}
> }
>

If you authenticated the request in the 'core' OpenSIPS and then relayed 
it to the 'presence' OpenSIPS, the request won't have the authorization 
headers, so you can't check $au nor $ar.


Regards,

-- 
Saúl Ibarra Corretgé
AG Projects



More information about the Users mailing list