Re: [SR-Users] Validate domains, expose sip_hostport2su or similar

2012-05-29 Thread Øyvind Kolbu
On 29.05.2012 14:41, Daniel-Constantin Mierla wrote: that function is not exported in config, maybe with the next major release (3.4). At this moment the options are using embedded languages, such as Lua, or exec module. ok, will do. Thanks for the quick reply. -- Øyvind

Re: [SR-Users] Validate domains, expose sip_hostport2su or similar

2012-05-29 Thread Daniel-Constantin Mierla
Hello, On 5/29/12 11:29 AM, Øyvind Kolbu wrote: Hi, is there a way to validate a domain, e.g. it resolves to something, without calling t_relay() or forward() and checking the return code? In my case I'd like to validate enum results before dispatching it to our outbound proxies. If not valid I

[SR-Users] Validate domains, expose sip_hostport2su or similar

2012-05-29 Thread Øyvind Kolbu
Hi, is there a way to validate a domain, e.g. it resolves to something, without calling t_relay() or forward() and checking the return code? In my case I'd like to validate enum results before dispatching it to our outbound proxies. If not valid I must use the pstn servers. In the logs I can see