[OpenSIPS-Users] Is there any way to access Referred-By header field?

2015-05-12 Thread microx
Hell all, Does anyone know how to access Referred-By header field (RFC 3892) in OpenSIPS? From the Core variables document, I could not find any variable for Referred-By. Please kindly let me know if you have a solution to this. Thanks. Best wishes, Chen-Che -- View this message in context:

Re: [OpenSIPS-Users] Is there any way to access Referred-By header field?

2015-05-12 Thread Bogdan-Andrei Iancu
Hi Chen-Che, There is no direct way, but you can do it like: $hdr(Referred-By) for the whole hdr $(hdr(Referred-By){nameaddr.uri}) for the URI only $(hdr(Referred-By){nameaddr.uri}{uri.user}) for the URI username only Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer

[OpenSIPS-Users] Opensips 2.1.0: Compiling Error

2015-05-12 Thread Hamid Hashmi
I have successfully installed v1.11.5 but when i compile v2.1.0 on the same machine, have the following ERROR Compiling lex.yy.cCompiling cfg.tab.cLinking opensipsmem/q_malloc.o: In function `qm_mem_check':/usr/local/src/opensips-2.1.0/mem/q_malloc.c:727: undefined reference to

Re: [OpenSIPS-Users] Dialog start event over EVI

2015-05-12 Thread DanB
Hi Ben, Can u please give me an example? Ta, DanB ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Re: [OpenSIPS-Users] Dialog start event over EVI

2015-05-12 Thread Bogdan-Andrei Iancu
OK, let's move this on the #504 issue. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 11.05.2015 15:11, DanB wrote: For now no emergency since we went back to using Accounting Start/Stop over EVI. Works like a charm. Would be interesting if we

Re: [OpenSIPS-Users] tcp_blocking_connect for same ip but different listen port

2015-05-12 Thread Bogdan-Andrei Iancu
Hi Rahul, What presence event is there ? Maybe the Notifies (first and second) are the result of the same event and triggered from the same process (this explaining the serial processing of them). What OpenSIPS version are you using ? as normally, for sequential presence requests, the

Re: [OpenSIPS-Users] CANCEL in t_relay() not forwarding user defined Headers

2015-05-12 Thread Bogdan-Andrei Iancu
Hi Rahul, It will not just a tough job to have a global param controlling the inheritance of some hdr in cancel requests. are you willing to open a feature request on the github tracker ? Best regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On

Re: [OpenSIPS-Users] Is there any way to access Referred-By header field?

2015-05-12 Thread microx
Hi Bogdan-Andrei, Thanks for your comment. It totally works. Best wishes, Chen-Che -- View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Is-there-any-way-to-access-Referred-By-header-field-tp7597066p7597078.html Sent from the OpenSIPS - Users mailing list

Re: [OpenSIPS-Users] Dialog start event over EVI

2015-05-12 Thread Newlin, Ben
The usage of $dlg_val is described in the module documentation [1]. You set and read them just like any other pseudo-variable: $dlg_val(foo) = “bar”; The only thing I don’t know is whether these variables can be accessed from the E_DLG_STATE_CHANGED event route, as it is not clear whether the

Re: [OpenSIPS-Users] Opensips 2.1.0: Compiling Error

2015-05-12 Thread Bogdan-Andrei Iancu
Hi Hamid, Are you sure you do not have some partial compiled code ? try to do make proper and make again. Regards. Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 12.05.2015 13:32, Hamid Hashmi wrote: I have successfully installed v1.11.5 but when i