Welcome!
Daniel
On 07/07/14 08:39, Kelvin Chua wrote:
as always, thanks daniel :)
Kelvin Chua
On Thu, Jul 3, 2014 at 4:21 PM, Daniel-Constantin Mierla
mailto:mico...@gmail.com>> wrote:
Hello,
the received avp is set by fix_nated_registrar(), iirc.
set_contact_alias() doesn't
as always, thanks daniel :)
Kelvin Chua
On Thu, Jul 3, 2014 at 4:21 PM, Daniel-Constantin Mierla
wrote:
> Hello,
>
> the received avp is set by fix_nated_registrar(), iirc.
> set_contact_alias() doesn't do it.
>
> If you want to get the source IP and port, use $si and $sp. Local IP and
> port
Hello,
the received avp is set by fix_nated_registrar(), iirc.
set_contact_alias() doesn't do it.
If you want to get the source IP and port, use $si and $sp. Local IP and
port is $Ri and $Rp (iirc, you should check the cookbook). The protocol
type is $pr. With these variables you can constru
is there any way of getting the received ip/port/proto from nathelper?
modparam("nathelper|registrar", "received_avp", "$avp(RECEIVED)")
set_contact_alias();
xlog("$avp(RECEIVED)");
this gives me
Kelvin Chua
___
SIP Express Router (SER) and Kamailio