[OpenSIPS-Users] Handling SUBSCRIBE & NOTIFIES

2017-09-25 Thread Royee Tichauer via Users
Hi, I am using opensips 2.1 as a SIP proxy and I am trying to figure out how to best handle SUBSCRIBE messages which need to be routed through to another SIP component. As I read in the rfc3265 an initial (out of call) SUBSCRIBE creates a dialog which NO

[OpenSIPS-Users] Need help regarding avpops db connections

2017-09-25 Thread Dipteshkumar Patel
Hello Sir, I am using opensips version 2.3.1 and mariadb-server-5.5.52-1 In which I have configured dispatcher, dialog, avpops , rtpproxy and permissions module to use database connection. Opensips has 16 children. And Yes, I am using async db queries in avpops. I have noticed that as and when

Re: [OpenSIPS-Users] Need help :: getting TM477 Error

2017-09-25 Thread Ravindrakumar Bhatt
Hi Răzvan, I think i have found problem now i was giving wrong domain in control panel. Thank you for your help and sorry for trouble. On Mon, Sep 25, 2017 at 4:40 PM, Răzvan Crainea wrote: > Can you log the $du and $ru, and check they are proper sip uris, and > whether they are IPv4 and IPv6?

[OpenSIPS-Users] Proxy on INVITE with auth

2017-09-25 Thread Igor Olhovskiy
Hi! I’m trying to implement scenario, when OpenSIPS would be a proxy for  IP auth SIP side and username/pass auth other side. So, call scenario would be like 1. A -> INVITE -> OpenSIPS                                   B 2. A                       OpenSIPS ->       INVITE       -> B 3. A        

Re: [OpenSIPS-Users] Need help :: getting TM477 Error

2017-09-25 Thread Răzvan Crainea
Can you log the $du and $ru, and check they are proper sip uris, and whether they are IPv4 and IPv6? Also log the $si. Best regards, Răzvan Crainea OpenSIPS Developer www.opensips-solutions.com On 09/25/2017 01:39 PM, Ravindrakumar Bhatt wrote: Hi Răzvan, Thank  you for your response. i am us

Re: [OpenSIPS-Users] Need help :: getting TM477 Error

2017-09-25 Thread Ravindrakumar Bhatt
Hi Răzvan, Thank you for your response. i am using opensips 2.2.3 at the moment and i am not using mhomed or force_send_socket() for forwarding request. i am using following logic to forward my request. $ru = $avp(cfwdbusy); $du = $avp(cfwdbusy); #accounting details $avp(leg_src)=$tU;

Re: [OpenSIPS-Users] Presence on opensips 2.2 - Not seeing any NOTIFY messages generated

2017-09-25 Thread Jonathan Hunter
Hi Răzvan! Thank you very much for the reply! I did set dialoginfo_set("AB"), however it didnt like it; ERROR:pua_dialoginfo:check_flag: Wrong format for dialoginfo_set() parameter. Accepted values: A or B So I changed to dialoginfo_set() and it now works great! Thanks for the respons

Re: [OpenSIPS-Users] Presence on opensips 2.2 - Not seeing any NOTIFY messages generated

2017-09-25 Thread Răzvan Crainea
Hi, Jonathan! Are you seeing the PUBLISH methods generated when a call starts and you are doing dialoginfo_set("AB")? Are they sent to the right presence server? Also, are you seeing the subscriptions in OpenSIPS memory? Check using the subs_phtable_list [1] MI command. [1] http://www.opensip

Re: [OpenSIPS-Users] Need help :: getting TM477 Error

2017-09-25 Thread Răzvan Crainea
Hi, Ravindrakumar! What version of OpenSIPS are you using? Are you using mhomed or force_send_socket() in your script? My assumption is that you are using a wrong interface to forward the request. Best regards, Răzvan Crainea OpenSIPS Developer www.opensips-solutions.com On 09/24/2017 08:18