Re: [SR-Users] srv_query question

2016-03-19 Thread Vasiliy Ganchev
Hi all! any suggestions here? thanks in advance for any idea or thought! cheers! -- View this message in context: http://sip-router.1086192.n5.nabble.com/srv-query-question-tp146546p146594.html Sent from the Users mailing list archive at Nabble.com. _

Re: [SR-Users] srv_query question

2016-03-19 Thread Daniel-Constantin Mierla
Hello, either you extend the module to export a function for naptr query if you have C dev background or use an embedded interpreter (eg., app_lua, which is very fast) to do the complex dns chain of queries. Alternative to embedded interpreters is to use exec module or do some external api call vi

Re: [SR-Users] srv_query question

2016-03-19 Thread Vasiliy Ganchev
Hi Daniel! Thank you for suggestion! will give it a shot, after getting working result - report here. cheers! -- View this message in context: http://sip-router.1086192.n5.nabble.com/srv-query-question-tp146546p146600.html Sent from the Users mailing list archive at Nabble.com.

[SR-Users] srv_query question

2016-03-18 Thread Vasiliy Ganchev
Hi folk! I am trying to implement srv_query usage in my script (server is based on Kamailio+Asterisk). The task: when outgoing REGISTER comes from Asterisk (outgoing trunk to operator), and R-URI consists domain name, need to store all ip-addresses of remote side (for following use) Currently, th