[SR-Users] event_route[core:receive-parse-error] is not executed 4.1.6

2014-09-29 Thread Julia Boudniatsky
Hello, I try to use an event_route[core:receive-parse-error] { xlog(L_WARN, Parse-error: $rm from $avp(inc_carrier)/n$mb/n); } ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users

[SR-Users] event_route[core:receive-parse-error] is not executed 4.1.6

2014-09-29 Thread Julia Boudniatsky
Hello, I try to use an event_route[core:receive-parse-error] { xlog(L_WARN, Event-parse-error: $rm from $avp(inc_carrier)/n$mb/n); } corelog=1 debug=0 kamailio 4.1.6 from source Wrong header From is simulated by SIPP. In log I receive

[SR-Users] Uri transformations stopped working after upgrade from 3.3 to 4.1.6.

2014-09-30 Thread Julia Boudniatsky
Hello, Some Uri transformations stopped working after upgrade from 3.3 to 4.1.6. *To: sip:01412127775678;cic=012;csel=noind@10.25.153.150:5060 http://noind@10.25.153.150:5060;user=phone* *In v3.3* $tu({uri.params}) return: cic=012;csel=noind $tu({uri.param,cic}) return:

Re: [SR-Users] Uri transformations stopped working after upgrade from 3.3 to 4.1.6.

2014-09-30 Thread Julia Boudniatsky
, On 30/09/14 10:41, Julia Boudniatsky wrote: Hello, Some Uri transformations stopped working after upgrade from 3.3 to 4.1.6. *To: sip:01412127775678;cic=012;csel=noind@10.25.153.150:5060 http://noind@10.25.153.150:5060;user=phone* *In v3.3* $tu({uri.params}) return: cic=012

[SR-Users] event_route[core:receive-parse-error] question

2014-10-01 Thread Julia Boudniatsky
Hello, I try to use event_route[core:receive-parse-error] in 4.1.6 event_route[core:receive-parse-error] { xlog(L_WARN, Event-parse-error: $rm from $avp(inc_carrier)/n$mb/n); } When core parse error occurs , *log message is not printed*. What is wrong? Thank you, Julia

Re: [SR-Users] event_route[core:receive-parse-error] question

2014-10-01 Thread Julia Boudniatsky
of the basic parsing (again, iirc), you should catch that using sanity_check() function from sanity module, using it somewhere at the top of config request route (see default config, it is in the route[REQINIT)). Cheers, Daniel On 01/10/14 14:38, Julia Boudniatsky wrote: Hello, I try

[SR-Users] Problem with locally generated BYE in dialog timeout.

2014-10-01 Thread Julia Boudniatsky
Hello, We use dialog module in our configuration. uac_replace_from/to is called after dlg_manage(). restore_mode is auto. URIs are modified automatically in all subsequent local requests, exclude BYE generated in dlg timeout. In this case original URIs are sent to both caller and calee sides. If

Re: [SR-Users] Problem with locally generated BYE in dialog timeout.

2014-10-02 Thread Julia Boudniatsky
have problem only with locally generated BYE, all other local requests (ACK, CANCEL) works fine. Thank you, Julia On Wed, Oct 1, 2014 at 4:28 PM, Julia Boudniatsky juli...@gmail.com wrote: Hello, We use dialog module in our configuration. uac_replace_from/to is called after dlg_manage

Re: [SR-Users] Problem with locally generated BYE in dialog timeout.

2014-10-02 Thread Julia Boudniatsky
is to enable event_route[tm:local-request] to catch local generated BYEs and update the headers there (either from dialog variables or from other source if you can determine that). Cheers, Daniel On 02/10/14 09:00, Julia Boudniatsky wrote: We use dialog module in our configuration

[SR-Users] kamailio with pipelimit crashes when CPU load average 2

2014-11-16 Thread Julia Boudniatsky
Hello, Sometimes kamailio with pipelimit crashes with segmentation fault, when CPU load average 2. The problem is not reproduced in the LAB (we used stress –c ). Please find attached core file. Thank you, Julia Core was generated by `/usr/local/sbin/kamailio -P /var/run/kamailio.pid -m

[SR-Users] xavp contact_avp question

2014-11-27 Thread Julia Boudniatsky
Hello, We use get_redirects(*) and t_load_contacts in script. modparam(tm, contacts_avp, $avp(contacts)) In versions previous to 4.1 print all contacts: $(avp(contacts[*]) delete all contacts: $(avp(contacts[*])=$null From 4.1 this avp is changed to xavp

Re: [SR-Users] xavp contact_avp question

2014-11-27 Thread Julia Boudniatsky
...@gmail.com wrote: Hello, On 27/11/14 10:16, Julia Boudniatsky wrote: Hello, We use get_redirects(*) and t_load_contacts in script. modparam(tm, contacts_avp, $avp(contacts)) In versions previous to 4.1 print all contacts: $(avp(contacts[*]) delete all contacts

[SR-Users] Wrong dialog selected in on_reply/failure route in case of spirals.

2014-12-10 Thread Julia Boudniatsky
After kamailio upgrade from v3.3 to v4.1.7 in production ~5% of calls with spirals dialog are failed with wrong dialog variables in on-reply/failure routes. The problem has been reproduced in the LAB (load test generated by SIPP). Please see the attached file with debug3 log. Scenario:

Re: [SR-Users] Wrong dialog selected in on_reply/failure route in case of spirals.

2014-12-10 Thread Julia Boudniatsky
the results? I just pushed a patch that should fix it. Cheers, Daniel On 09/12/14 19:06, Julia Boudniatsky wrote: After kamailio upgrade from v3.3 to v4.1.7 in production ~5% of calls with spirals dialog are failed with wrong dialog variables in on-reply/failure routes. The problem has been

Re: [SR-Users] Wrong dialog selected in on_reply/failure route in case of spirals.

2014-12-16 Thread Julia Boudniatsky
dump the dialogs with kamctl, can you see the two structure listed? Are they with same dialog attributes (From/To/...)? Dialog module has a parameter for detecting spirals, have you set it to some value? Cheers, Daniel On 10/12/14 13:39, Julia Boudniatsky wrote: Hello Daniel, I have

Re: [SR-Users] Search Un-Register Expires header

2015-01-19 Thread Julia Boudniatsky
Hello Emilio, I use if( $hdr(Expires)==0) { Best regards, Julia On Mon, Jan 19, 2015 at 1:44 PM, Emilio Soler Muñoz emilioso...@gmail.com wrote: Hi, I find a problem when I try to search the header Expires with value 0. At my kamailio.cfg the configuration is: if ( search_hf(Expires,

Re: [SR-Users] Search Un-Register Expires header

2015-01-19 Thread Julia Boudniatsky
For header Contact : if($sel(contact.expires) == 0) { also may be used. BR, Julia On Mon, Jan 19, 2015 at 2:56 PM, Emilio Soler Muñoz emilioso...@gmail.com wrote: Thank you all for the help. Finally, considering that according to the RFC in Contact header can only come expires = 0 I set

Re: [SR-Users] Wrong dialog selected in on_reply/failure route in case of spirals.

2015-01-27 Thread Julia Boudniatsky
Hello Daniel, Today I installed kamailio from GIT last devel 4.3.0-dev3. *The problem is solved!* Thank you so much for your help ! Julia On Mon, Jan 26, 2015 at 8:38 PM, Julia Boudniatsky juli...@gmail.com wrote: Yes it /usr/local/sbin/kamailio, I haven't internet in the test server. I

Re: [SR-Users] Wrong dialog selected in on_reply/failure route in case of spirals.

2015-01-25 Thread Julia Boudniatsky
the archives zip or tgz, being more common formats that can be unarchived everywhere without installing additional app, being handy to open even on small devices. Now it is ok with rar, being at the desk. Cheers, Daniel On 14/01/15 14:43, Julia Boudniatsky wrote: Hello Daniel, Please find

Re: [SR-Users] 4.2.3 textops: flag f doesn't work in subst_hf(hf, subexp, flags)

2015-03-09 Thread Julia Boudniatsky
:49, Julia Boudniatsky wrote: Hello, I received INVITE with 3 Diversion headers. I try to make substitutions in the body of a first Diversion header field by using flag f, command *subst_hf(Diversion, /sip:(.*)@/sip:$var(dU)@/, f) ;* substitutes *all headers *Diversion instead of only first

[SR-Users] 4.2.3 textops: flag f doesn't work in subst_hf(hf, subexp, flags)

2015-03-08 Thread Julia Boudniatsky
Hello, I received INVITE with 3 Diversion headers. I try to make substitutions in the body of a first Diversion header field by using flag f, command *subst_hf(Diversion, /sip:(.*)@/sip:$var(dU)@/, f) ;* substitutes *all headers *Diversion instead of only first header, command

Re: [SR-Users] Kamailio V4.2.5 append prefix to Request Uri problem.

2015-05-29 Thread Julia Boudniatsky
Hi, Try to use: $rU=$_s($avp(69)$rU); BR Julia On Fri, May 29, 2015 at 12:13 PM, Yasin CANER yasin.ca...@netgsm.com.tr wrote: Hello; i try to append prefix to $rU like below in Kamailio V4.2.5 . i get error even if i set string value. it works only when i append like that

Re: [SR-Users] Kamailio V4.2.5 append prefix to Request Uri problem.

2015-05-29 Thread Julia Boudniatsky
Please see in http://www.kamailio.org/wiki/cookbooks/4.2.x/pseudovariables $_s(format) - Evaluate dynamic format *$_s(format)* - returns the string after evaluating all pseudo-variables in format $var(x) = sip: + $rU + @ + $fd; # is equivalent of:$var(x) = $_s(sip:$rU@$fd); BR

Re: [SR-Users] PKG memory leak in 4.2.6

2015-11-11 Thread Julia Boudniatsky
OPTIONS request via sipsak: > > sipsak -s sip:pkgsummary@yourserverip > > Check the syslog to see if the pkg summary messages are there and if yes, > send them here. > > If not, you may need to decrease the value for memlog, do: > > kamcmd cfg.set_now_int core memlog 1 > > and t

[SR-Users] PKG memory leak in 4.2.6

2015-11-10 Thread Julia Boudniatsky
Hello, We are running Kamailio 4.2.6 ( db77ac) compiled with memory debugging. The free PKG memory has decreased on ~6.5 M after two weeks. Please see attached file with the log messages at kamailio shutdown. Thank you in advance, Julia. Nov 10 17:48:09 KAMnet-JAF-01

[SR-Users] core parameter onsend_route_reply=1 doesn't execute onsend_route block for received replies

2015-08-30 Thread Julia Boudniatsky
Hello, I set some logs in onsend_route and it works fine for requests. With setting core parameter onsend_route_reply=1 ( yes, on), i expect to see logs for replays also, but it not occurs. Is this a bug or I miss something? version: kamailio 4.2.6 (x86_64/linux) db77ac BR, Julia

Re: [SR-Users] core parameter onsend_route_reply=1 doesn't execute onsend_route block for received replies

2015-08-31 Thread Julia Boudniatsky
0 entered Thank you, Julia On Mon, Aug 31, 2015 at 7:24 PM, Daniel-Constantin Mierla <mico...@gmail.com > wrote: > Hello, > > do you get any other log error message? > > If you run with debug=3, do you a message containing: > > ... reply forwarded to ... > >

Re: [SR-Users] PKG memory leak in 4.2.6

2015-12-02 Thread Julia Boudniatsky
once you > get the log messages, you can set it back to higher value: > > kamcmd cfg.set_now_int core memlog 5 > > Cheers, > Daniel > > > On 11/11/15 11:03, Julia Boudniatsky wrote: > > Hello Daniel, > > I'll try to execute this procedure. > > Tha

Re: [SR-Users] question about dlg_var

2016-03-03 Thread Julia Boudniatsky
Hello, I am using two different on_reply routes: if (is_method("INVITE") && !has_totag()) { ... t_on_reply(REPLY_TO_SOURCE); } route[WITHINDLG] { if(has_to_tag()) { t_on_reply(REPLY_IN_DIALOG); } May be it will help. Best regards, Julia. On Thu, Mar 3, 2016

[SR-Users] event_route[uac:reply] question

2016-09-19 Thread Julia Boudniatsky
I send INVITE via uac_send_req() and receive "183" and "200"responses. Only "200" appears in the log of event_route[uac:reply]. Is event_route[uac:reply] executed only for final responses? Thank you, Julia ___ SIP Express Router (SER) and Kamailio

Re: [SR-Users] event_route[uac:reply] question

2016-09-19 Thread Julia Boudniatsky
I found in the module uac documentation: "6.1. event_route[uac:reply] Event route executed for the* final* reply to the request set with uac_req_send(). Thanks, Julia On Mon, Sep 19, 2016 at 1:34 PM, Julia Boudniatsky <juli...@gmail.com> wrote: > I send INVITE via uac_send_req

Re: [SR-Users] event_route[uac:reply] question

2016-09-20 Thread Julia Boudniatsky
> > Cheers, > Daniel > > On 20/09/16 07:27, Julia Boudniatsky wrote: > > I found in the module uac documentation: > > "6.1. event_route[uac:reply] > Event route executed for the* final* reply to the request set with > uac_req_send(). > > Thanks, > Julia >

Re: [SR-Users] event_route[uac:reply] question

2016-09-20 Thread Julia Boudniatsky
Hi Alex, This works fine, undoubtedly it's a better solution. Thank you very much! Julia. On Tue, Sep 20, 2016 at 11:28 AM, Alex Hermann <a...@speakup.nl> wrote: > On maandag 19 september 2016 13:34:07 CEST Julia Boudniatsky wrote: > > I send INVITE via uac_send_req() and receive

Re: [SR-Users] To/From tags in uac_req()

2016-08-18 Thread Julia Boudniatsky
org/wiki/cookbooks/4.4.x/pseudovariables#uac_req_key > > Tags are not among them. > > However, it might be possible to generate a completely synthetic SIP > message yourself using an alternate facility: > > http://kamailio.org/docs/modules/4.4.x/modules/corex.html# > corex.f.send_da

Re: [SR-Users] To/From tags in uac_req()

2016-08-18 Thread Julia Boudniatsky
h dialog module and then trigger > the end of the dialog via config or mi/rpc: > > - https://www.kamailio.org/docs/modules/stable/modules/dialog. > html#idp47915332 > > - https://www.kamailio.org/docs/modules/stable/modules/dialog. > html#idp47967692 > > Cheers, > Da

[SR-Users] To/From tags in uac_req()

2016-08-18 Thread Julia Boudniatsky
Hello, Is it possible to set To/From tags in uac_req() ? We want to implement service like "color ring back tone". *Kamailio uac* *Asterisk* INVITE SDP --> <-200 SDP--

Re: [SR-Users] t_precheck_trans

2017-01-06 Thread Julia Boudniatsky
It's a function of TMX module. http://www.kamailio.org/docs/modules/4.4.x/modules/tmx.html#tmx.f.t_precheck_trans Best regards. Julia. On Fri, Jan 6, 2017 at 7:55 PM, Annus Fictus wrote: > Hi, > > where can I find documentation for this function present on the default

Re: [SR-Users] kamailio 4.4 segmentation fault when dp_translate match dialplan with ftmatch operator and empty match expression

2016-12-19 Thread Julia Boudniatsky
in Mierla < mico...@gmail.com> wrote: > Hello, > > I mistakenly pointed to a wrong frame, can you do it again for frame 2? > frame 2 > list > > Cheers, > Daniel > > > On 19/12/2016 21:28, Julia Boudniatsky wrote: > > Hello Daniel, > > Thank you for reply

Re: [SR-Users] kamailio 4.4 segmentation fault when dp_translate match dialplan with ftmatch operator and empty match expression

2016-12-19 Thread Julia Boudniatsky
gt; Hello, > > can you give the output in gdb for: > > frame 0 > list > > The head of 4.4 branch got some extra commits to the module and those > commands help to identify the right lines of code. > > Cheers, > Daniel > > On 19/12/2016 13:47, Julia Boudniats

[SR-Users] kamailio 4.4 segmentation fault when dp_translate match dialplan with ftmatch operator and empty match expression

2016-12-19 Thread Julia Boudniatsky
version: kamailio 4.4.4 id:852c47 ENTRY: { PRIO: 16765956 MATCHOP: 2 *MATCHEXP: * MATCHLEN: 0 SUBSTEXP: REPLEXP: ATTRS: 1

Re: [SR-Users] kamailio 4.4 segmentation fault when dp_translate match dialplan with ftmatch operator and empty match expression

2016-12-20 Thread Julia Boudniatsky
<mico...@gmail.com > wrote: > Hello, > > thanks, it helped and hopefully it is not fixed in master and 4.4 > branches? Can you try fetching from git repository and see all ok now? > > Cheers, > Daniel > > On 20/12/2016 06:56, Julia Boudniatsky wrote: