On Mar 11, 2004 at 13:26, zeusng <zeus.ng(a)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