Hi gentlemens!
Is it possible to set
modparam("registrar", "aor_avp", "$avp(s:sip-aor)")
and call
save("location")
to save AOR from $avp(s:sip-aor)
If not, how I can register two AOR when REGISTER message processed?
Hi Victor,
So, for a single REGISTER request, you want to save the info for two different AORs, right? If so, have you tried to use the "aor_avp" and to call twice the save("location"), but first time with the no reply flag?? Like:
$avp(s:sip-aor)="aor1"; save("location",no_reply_falg); $avp(s:sip-aor)="aor2"; save("location");
Not ever tried....just an idea :).
Regards, Bogdan
Victor Gamov wrote:
Hi gentlemens!
Is it possible to set
modparam("registrar", "aor_avp", "$avp(s:sip-aor)")
and call
save("location")
to save AOR from $avp(s:sip-aor)
If not, how I can register two AOR when REGISTER message processed?
Bogdan-Andrei Iancu wrote:
Hi Victor,
Hi Bogdan!
So, for a single REGISTER request, you want to save the info for two different AORs, right? If so, have you tried to use the "aor_avp" and to call twice the save("location"), but first time with the no reply flag?? Like:
$avp(s:sip-aor)="aor1"; save("location",no_reply_falg); $avp(s:sip-aor)="aor2"; save("location");
Not ever tried....just an idea :).
Yes, I have the same idea and I try it. But I have mistype in my config, so this method was not work. Now I correct mistake and everything works fine :-)
Thanks!