[Serusers] FQDN in Via and Record Route header
Andrei Pelinescu-Onciul
pelinescu-onciul at fokus.fraunhofer.de
Thu Mar 11 08:59:18 CET 2004
On Mar 11, 2004 at 13:26, zeusng <zeus.ng at isquare.com.au> wrote:
> Hi,
>
> Is it possible to have FQDN in the Via and Record-route header instead of IP
> address in SER?
This is generally a bad ideea, but if you really want to, there is a
way: set advertised_address="myname.com" in your config and all your
messages will have "myname.com" in their Via (this can be any string, no
check will be made). If you want to do it only on a per message basis
(and not for all messages), use set_advertised_address("...").
Notice however that in this case any compliant sip proxy will add a
received=ip to your via, and they will use that ip when sending the
replies back (and not your fqdn).
More info in sip_router/NEWS, grep after "advertised".
Andrei
More information about the sr-users
mailing list