[Devel] is_domain_local

Juha Heinanen jh at tutpro.com
Thu Jul 20 10:34:44 CEST 2006


Dan Pascu writes:

 > is that just domain, or sip:domain? 

sip:domain.

 > My aim is for the former case. if 
 > something like 'adomain.com' is parsed by the URI parser into a domain 
 > (even if there is no sip: in front of it) then the issue is moot and 
 > it'll work for both URIs and simple domain names in avps. 
 > Else these need to be taken into account somehow.

so looks like we would need two functions:

is_domain_local

and

is_uri_domain_local

bogdan?

-- juha



More information about the Devel mailing list