[OpenSER-Users] [LCR] how does "to_gw()" work?

Juha Heinanen jh at tutpro.com
Mon Dec 17 11:03:43 CET 2007


Iñaki Baz Castillo writes:

 > Ok, and how can we be sure that any gateway will insert that IP in
 > "Contact"?  I have no experience on this, but couldn't be possible a
 > gateway inserting a  domain isntead of him IP?

everything is possible, but those gateways that i have dealt with,
insert their ip address in contact header.  if your gw does insert its
domain name, then you need to start writing another function that can
cope with domain names.  you also need to add a domain name field to
gateway table.

-- juha




More information about the Users mailing list