[OpenSIPS-Users] trying to understand the E_DLG_STATE_CHANGED

2017-09-15 Thread Khalil Khamlichi
Hi everyone, I am trying to understand dialog module eventing system. I have added this route : event_route[E_DLG_STATE_CHANGED] { fetch_event_params("$avp(a);$avp(b);$avp(c);$avp(d);$avp(e);$avp(f)"); cache_raw_query("redis:0", "PUBLISH serv1

Re: [OpenSIPS-Users] NOTIFY results in SIP/2.0 400 Missing or invalid message-summary

2017-09-15 Thread Ben Newlin
Message-summary is for voicemail, not presence. And I’ve seen many phones that don’t have a setting to disable that subscription. SUBSCRIBE is not required for basic call functionality. If you don’t support it, just remove it. I think that the client is actually correct in that even the first

Re: [OpenSIPS-Users] Need to understand B2B user agents functionality with websocket .

2017-09-15 Thread Sasmita Panda
How I will convert the protocol in Via and Contact specially ? *Thanks & Regards* *Sasmita Panda* *Network Testing and Software Engineer* *3CLogic , ph:07827611765* On Fri, Sep 15, 2017 at 7:14 PM, Răzvan Crainea wrote: > Hi, Sasmita! > > You don't really need B2B - you

Re: [OpenSIPS-Users] NOTIFY results in SIP/2.0 400 Missing or invalid message-summary

2017-09-15 Thread Răzvan Crainea
Then just dig into the phone's settings and disable presence. Best regards, Răzvan Crainea OpenSIPS Developer www.opensips-solutions.com On 09/15/2017 01:13 PM, Alexander N. Lunev via Users wrote: Can I just cut all SUBSCRIBE logic from OpenSIPS config without interfering with REGISTER and

Re: [OpenSIPS-Users] Need to understand B2B user agents functionality with websocket .

2017-09-15 Thread Răzvan Crainea
Hi, Sasmita! You don't really need B2B - you just need to convert from WSS protocol to UDP, or something that the Cisco gateway understands. Best regards, Răzvan Crainea OpenSIPS Developer www.opensips-solutions.com On 09/15/2017 01:39 PM, Sasmita Panda wrote: Hi All ,         I am using

[OpenSIPS-Users] Need to understand B2B user agents functionality with websocket .

2017-09-15 Thread Sasmita Panda
Hi All , I am using Opensips for webRTC gateway and the registrar server behind that will be Cisco . When I am sending any SIP request from browser through webRTC gateway to cisco , cisco wont able to understand the message . I guess , cisco which I configure is not

Re: [OpenSIPS-Users] NOTIFY results in SIP/2.0 400 Missing or invalid message-summary

2017-09-15 Thread Alexander N. Lunev via Users
Can I just cut all SUBSCRIBE logic from OpenSIPS config without interfering with REGISTER and INVITE logic, so client would make and receive calls? It's the only thing that we need from this CPE. p.s.: My apologies for posting logs. 15.09.2017 12:39, Răzvan Crainea пишет: Hi, Alexander! In

Re: [OpenSIPS-Users] NOTIFY results in SIP/2.0 400 Missing or invalid message-summary

2017-09-15 Thread Răzvan Crainea
Hi, Alexander! In my opinion, the client does not handle the Notify properly - when the client subscribes, (according to RFC 3842) OpenSIPS must send a NOTIFY with its current state - if he doesn't have any messages, the message body is empty. The client must not reject this message, but

Re: [OpenSIPS-Users] global variable

2017-09-15 Thread Liviu Chircu
Hi, There is such a variable, $shv, exported by the cfgutils module [1]. However, for your use case, you might be better off using the local cache (cachedb_local module). Regards, [1]: http://www.opensips.org/html/docs/modules/2.4.x/cfgutils.html#idp5791440 Liviu Chircu OpenSIPS

[OpenSIPS-Users] global variable

2017-09-15 Thread Dani Popa
hi, there is any way to have a global variable over dialogs and scrips, not depending by dialogs ? i need to check if a subscriber had calls in last amount of time(1 second, let's say) then don't engage it in next call. Working with databases, looks is not good enough because of very hight call

[OpenSIPS-Users] NOTIFY results in SIP/2.0 400 Missing or invalid message-summary

2017-09-15 Thread Alexander N. Lunev via Users
Hello everyone! We're using some Chinese GPON CPE with SIP clients in it with OpenSIPS 2.2.3 as a server, and we're having a problem: after successful REGISTER client starts SUBSCRIBE process for event "message-summary", and after authorization pass, server sends NOTIFY with "Event: