[OpenSIPS-Users] opensips 2.3 and rtpengine module

2017-11-27 Thread Kirill Galinurov
Hi all. I use latest stable opensips 2.3.2 and rtpengine module. In 2.4 devel branch rtpengine module i can use *in-iface=..., out-iface=. *parmeters. But what about rtpengine module in 2.3.2 ? ___ Users mailing list Users@lists.opensips.org http://lists

Re: [OpenSIPS-Users] Debug Assistance (All the gateways are disabled)

2017-11-27 Thread Bogdan-Andrei Iancu
Hi Callum, That message means that all the gateways provisioned under the selected carrier are marked as disabled. So, how do you disable the gws ? do you do dr_disable() from script ? Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 11/27

Re: [OpenSIPS-Users] get expires from REGISTER

2017-11-27 Thread Bogdan-Andrei Iancu
$hdr(Contact) return the whole Contact header which is a name-addr spec (according to the RFC3261 grammar). You should try: $(hdr(Contact){nameaddr.param,expires}) See : http://www.opensips.org/Documentation/Script-Tran-2-3#toc68 Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer

[OpenSIPS-Users] Debug Assistance (All the gateways are disabled)

2017-11-27 Thread Callum Guy
Hi All, This morning one of our OpenSIPs instances (2.1.4 (x86_64/linux)) had an issue that lasted around a minute, I'm trying to establish cause and wondered if anyone would be able to offer suggestions based on our log output. At the time of the issue the server was receiving around genuine 80 c

Re: [OpenSIPS-Users] get expires from REGISTER

2017-11-27 Thread Dragomir Haralambiev
I try this: xlog("Expires= $(hdr(Contact){uri.param,expires}) \n"); Here is ERRORS: Nov 27 14:53:07 /usr/local/sbin/opensips[28413]: ERROR:core:parse_uri: bad uri, state 0 parsed: < (4) / <;audio;expires=120> (57) Nov 27 14:53:07 /usr/local/sbin/opensips[28413]: ERROR:core:tr_eval_uri: invalid uri

Re: [OpenSIPS-Users] get expires from REGISTER

2017-11-27 Thread Liviu Chircu
Hi Dragomir, There is no "Expires" in REGISTER, so $hdr(expires) prints "". Try $(hdr(Contact){uri.param,expires}). Regards, Liviu Chircu OpenSIPS Developer http://www.opensips-solutions.com On 27.11.2017 13:46, Dragomir Haralambiev wrote: Hello, I try to get expires from REGISTER. xlog("E

[OpenSIPS-Users] get expires from REGISTER

2017-11-27 Thread Dragomir Haralambiev
Hello, I try to get expires from REGISTER. xlog("Expires=$hdr(expires)\n"); I receive this: Expires= Here is REGISTER Session Initiation Protocol (SIP as raw text) REGISTER sip:sip-server.com:5060 SIP/2.0\r\n Accept: application/reginfo+xml, application/sdp, application/simple-message-s

[OpenSIPS-Users] Pn-uri - Push Notification with SIP

2017-11-27 Thread Jonathan Hunter
Hi Guys, We use opensips in the core of our network and are looking to implement Push Notification with the Session Initiation Protocol (SIP), as per this spec; https://tools.ietf.org/id/draft-holmberg-sipcore-sip-push-02.html Can anyone recommend a push server software that can be used in the

Re: [OpenSIPS-Users] Regarding avp_db_query

2017-11-27 Thread Vishal Pai
Thanks i got that On Mon, Nov 27, 2017 at 2:03 PM, Răzvan Crainea wrote: > Hi, Vishal! > > You can find the answer to your question in the function's documentation[1]: > If the result gives many rows, then multiple AVPs with corresponding name > will be added. > > Consider the following que

Re: [OpenSIPS-Users] Regarding avp_db_query

2017-11-27 Thread Răzvan Crainea
Hi, Vishal! You can find the answer to your question in the function's documentation[1]: If the result gives many rows, then multiple AVPs with corresponding name will be added. Consider the following query: avp_db_query("select group where username='$tu'", "$avp(group)"); The first line of