[OpenSIPS-Users] How to make OpenSIPS send SIP BYE, by configuration, , before dialog timout?

2016-11-08 Thread Rodrigo Pimenta Carvalho
Hi. Dialogs in my OpenSIPS is programmed to finish after 60 seconds. (timeout = 1 minute). So, when 2 peers are in a dialog, OpenSIPS sends SIP BYE to both peers, automatically after 60 seconds. Is it possible to make OpenSIPS send this exact kind of SIP BYE to both peers, before the

Re: [OpenSIPS-Users] Rtpproxy and IPV4 IPV6 interworking

2016-11-08 Thread Robert Dyck
Thank you Assuming rtpproxy was started with IPV4 as the first address and IPV6 as the second, then in the NAT scenario, are the II flags mandatory in offer/answer? Slightly off topic, what sort of scenario would require the address parameter for offer/answer? On November 8, 2016 09:57:30 AM

Re: [OpenSIPS-Users] Support for https in async

2016-11-08 Thread Liviu Chircu
Hi Agalya! handle https queries Regarding HTTPSqueries, could you try to build your rest_client with "libcurl-openssl-dev" instead of "libcurl-gnutls-dev"as a possible fix? > why is curl_multi_wait is not used We don't want to block OpenSIPS after issuing an async query, but rather use

Re: [OpenSIPS-Users] Support for https in async

2016-11-08 Thread Ramachandran, Agalya (Contractor)
Hi Liviu, Thank you for response. I have few questions, can you please clarify me on these. * Is there is a roadmap in future targeting async() to handle https queries? * In start_async_http_request(), why is curl_multi_wait is not used to overcome 1024 fds limitation? and

Re: [OpenSIPS-Users] How to find out which TCP sockes OpenSIPS is listening on?

2016-11-08 Thread Răzvan Crainea
Hi, Rodrigo! So are you interested in finding the opened TCP connections? If so, you should try the list_tcp_conns command[1]. [1] http://www.opensips.org/Documentation/Interface-CoreMI-2-2#toc5 Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 11/08/2016 06:10

Re: [OpenSIPS-Users] Common points in B2B top hiding

2016-11-08 Thread Răzvan Crainea
Hi, Denis! Take a look at the "a" flag used by the b2b_init_request()[1] function. This might help you achieve what you want. May I ask you why you are using the b2b topology hiding, and not the dedicated module for topology hiding[2]? It would be far more easier to use the latter one in most

[OpenSIPS-Users] How to find out which TCP sockes OpenSIPS is listening on?

2016-11-08 Thread Rodrigo Pimenta Carvalho
Hi. Is it possible to find which is every socket that is currently opened to opensips listens on SIP messages from peers, while using TCP? I have examined opensipsctl command, but it doesn't show the sockets. I need see if a new socket is being created and opened when a peer sends a SIP

Re: [OpenSIPS-Users] Common points in B2B top hiding

2016-11-08 Thread Denis
Hello, Razvan! No, it is not quite what i am looking for. For example, before top hiding i make authentication procedure during which i got login. For some call processing logging i need to translate this login to some proxy instance. How can i do that? mailto:denis7...@mail.ru Hi, Denis!

Re: [OpenSIPS-Users] Common points in B2B top hiding

2016-11-08 Thread Răzvan Crainea
Hi, Denis! You can copy headers from the initial request to the B2B one by using the custom headers[1]. [1] http://www.opensips.org/html/docs/modules/2.2.x/b2b_logic.html#id293556 Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 11/08/2016 03:41 PM, Denis

[OpenSIPS-Users] Common points in B2B top hiding

2016-11-08 Thread Denis
Hello! Sorry that it was, but are there any common points between received INVITE and new generated INVITE while using B2B top hiding? I need some points, gotten in local_route, which will uniquely identified the call and which i can use, for example, to add some headers (based on that

Re: [OpenSIPS-Users] B2B top hiding

2016-11-08 Thread Denis
Hello, Razvan! I found the problem (that was not correctly analyzing log). Everything working if i set host and port before b2b_init_request. Thank you for help. mailto:denis7...@mail.ru Hi, Denis! Are you seeing any other ERROR messages in the logs? When you see those errors in the log,

Re: [OpenSIPS-Users] Regarding Option request .

2016-11-08 Thread Răzvan Crainea
Hello! You chould use the is_from_gw()[1] function to detect if a message is coming from a gateway. So basically your code should look like this: if (method == "OPTIONS" && is_from_gw()) { sl_send_reply("200", "OK"); exit; } [1]

[OpenSIPS-Users] Regarding Option request .

2016-11-08 Thread Sasmita Panda
Hi All , I am using opensips-1.11 . I have a requirement that when an "Option" request will come to my proxy from the gateways I have added in my dr_gateways table then only I will process the request and will send 200 OK . Previously , I was sending 200 Ok to all the Options