another solution might be based on some ideas from Daniel - to be able to access parts of a SIP URI even if it is in a pv, like :
      is_domain_local($fu/domain)
      is_domain_local($avp(i:13)/domain)

not sure what is the status of the idea - if implemented or not..I will talk to him.

regards,
bogdan


Bogdan-Andrei Iancu wrote:

yes, this might be a good solution.

regards,
bogdan

Juha Heinanen wrote:

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

_______________________________________________
Devel mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/devel



_______________________________________________
Devel mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/devel



_______________________________________________
Devel mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/devel

Reply via email to