Re: [OpenSIPS-Users] opensips 3.2 B2B module and RTPProxy/RTPEngine

2021-05-26 Thread xaled
d RTPProxy/RTPEngine Hi Would appreciate any hints on how to run the new 3.2 B2B module with RTPProxy or RTPEngine. Thanks, Xaled -Original Message- From: Users On Behalf Of xa...@web.de Sent: Friday, May 14, 2021 1:34 PM To: 'OpenSIPS users mailling list' Subject: [OpenSIPS-Use

Re: [OpenSIPS-Users] opensips 3.2 B2B module and RTPProxy/RTPEngine

2021-05-19 Thread xaled
Hi Would appreciate any hints on how to run the new 3.2 B2B module with RTPProxy or RTPEngine. Thanks, Xaled -Original Message- From: Users On Behalf Of xa...@web.de Sent: Friday, May 14, 2021 1:34 PM To: 'OpenSIPS users mailling list' Subject: [OpenSIPS-Users] opensi

Re: [OpenSIPS-Users] b2b_client_new ; transport=xxx string in dest_uri parameter

2021-05-14 Thread xaled
client_new ; transport=xxx string in dest_uri parameter Hi, It seems like b2b_client_new function ignores the ;transport=xxx string in dest_uri parameter. Is this true, or am I missing something? Thanks, Xaled ___ Users mailing list Users@lists.op

[OpenSIPS-Users] opensips 3.2 B2B module and RTPProxy/RTPEngine

2021-05-14 Thread xaled
Hi, Are the any examples of using the new B2B module in 3.2 with RTPProxy or RTPEngine? I tried adding _offer and _answer call accordingly but never saw RTPProxy or RTPEngine engaged. Even a simple example for A-B call with B2B and RTPEngine would be much appreciated. Thanks, Xaled

[OpenSIPS-Users] b2b_client_new ; transport=xxx string in dest_uri parameter

2021-05-11 Thread xaled
Hi, It seems like b2b_client_new function ignores the ;transport=xxx string in dest_uri parameter. Is this true, or am I missing something? Thanks, Xaled ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman

[OpenSIPS-Users] $b2b_logic.entity(id) in [reply_route] B2B module opensips 3.2

2021-04-27 Thread xaled
tity(id)\n"); b2b_handle_reply(); exit; } B2B REPLY: [183 INVITE] from entity: Thanks, Xaled ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Re: [OpenSIPS-Users] OpenSIPS 3.2 B2B tutorial pre-paid example

2021-04-14 Thread xaled
, Xaled -Original Message- From: Users On Behalf Of Razvan Crainea Sent: Wednesday, April 14, 2021 3:25 PM To: users@lists.opensips.org Subject: Re: [OpenSIPS-Users] OpenSIPS 3.2 B2B tutorial pre-paid example Hi, Xaled! No, there should bot be an SDP, because you don't have an SDP (the

Re: [OpenSIPS-Users] OpenSIPS 3.2 B2B tutorial pre-paid example

2021-04-14 Thread xaled
Hi, could somebody please shed some light on this scenario? Thanks, Xaled -Original Message- From: Users On Behalf Of xa...@web.de Sent: Sunday, April 11, 2021 11:59 PM To: 'OpenSIPS users mailling list' Subject: [OpenSIPS-Users] OpenSIPS 3.2 B2B tutorial pre-paid examp

Re: [OpenSIPS-Users] loose_route with opensips 3.2 B2B module

2021-04-14 Thread xaled
Hi Bogdan, I understood and got it working with extra_hdrs and extra_hdr_bodies. Thank you, Xaled -Original Message- From: xa...@web.de Sent: Wednesday, April 14, 2021 1:54 PM To: 'Bogdan-Andrei Iancu' ; 'users@lists.opensips.org' Subject: RE: [OpenSIPS-Use

Re: [OpenSIPS-Users] loose_route with opensips 3.2 B2B module

2021-04-14 Thread xaled
Hi Bogdan, I got it, the actual question is how can I add new headers (not only Route, but any header) with values to the outgoing B2B INVITE request. Please see my other mail. Thanks, Xaled -Original Message- From: Bogdan-Andrei Iancu Sent: Wednesday, April 14, 2021 12:30 PM To: xa

Re: [OpenSIPS-Users] loose_route with opensips 3.2 B2B module

2021-04-13 Thread xaled
Hi, Could somebody provide any advice on the issue? Thanks, Xaled -Original Message- From: Users On Behalf Of xa...@web.de Sent: Sunday, April 11, 2021 11:36 PM To: 'OpenSIPS users mailling list' Subject: Re: [OpenSIPS-Users] loose_route with opensips 3.2 B2B module Hi,

[OpenSIPS-Users] OpenSIPS 3.2 B2B tutorial pre-paid example

2021-04-11 Thread xaled
this scenario? INVITE sip:TEST001@1.2.3.201:5060;transport=tcp SIP/2.0 Via: SIP/2.0/TCP 1.2.5.183:5060;branch=z9hG4bKb5b7.1ffbf7b1.0 To: ;tag=f79aacce From: ;tag=B2B.81.186.1618177460 CSeq: 3 INVITE Call-ID: 80a9a9cfbe9920f8@1.2.3.201 Max-Forwards: 70 Content-Length: 0 Contact: Thanks, Xaled

Re: [OpenSIPS-Users] loose_route with opensips 3.2 B2B module

2021-04-11 Thread xaled
"sip:$b2b_logic.ctx(server_ip)", ,$avp(route_header)); ERROR:b2b_logic:b2bl_entity_new: header names without values! The need to have an avp for extra_hdrs is an unnecessary limitation, or is there a specific reason for it? Thanks, Xaled -Original Message- From: Users On Beh

[OpenSIPS-Users] loose_route with opensips 3.2 B2B module

2021-04-11 Thread xaled
. route[b2b_test_logic] { <-->loose_route(); if ($rm != "BYE") { # for requests other than BYE, no special actions needs to be done, # just pass the request to the peer b2b_pass_request(); exit; } ..

Re: [OpenSIPS-Users] use of scenario_id in b2b_init_request

2021-04-09 Thread xaled
Hi Vlad, thank you, I missed the $b2b_logic.scenario variable that can be used to differentiate logic within route[b2b_logic_request]. Now it is clear to me. It would be good to include it as an example in the B2B tutorial or B2B module documentation. Greetings, Xaled -Original Message

[OpenSIPS-Users] use of scenario_id in b2b_init_request

2021-04-09 Thread xaled
fferent B2b logic using different routes, but what does the scenario_id used for? Thanks, Xaled ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Re: [OpenSIPS-Users] use of . dot and colon : in XML node names

2021-02-23 Thread xaled
ways to escape the dot? https://tools.ietf.org/html/rfc7852#section-4.1.10 $xml(ProviderInfo) = ""; $xml(ProviderInfo/emergencyCall.ProviderInfo.attr/xmlns) = "urn:ietf:params:xml:ns:emergencyCall.ProviderInfo"; Thanks, Xaled

[OpenSIPS-Users] set value of XML item using variable

2021-02-23 Thread xaled
Hi, is there a way to directly set XML item value using variable. It works for static values $xml(my_doc/doc/list) = "test"; But something like this does not work: $xml(my_doc/doc/list) = "$var(value)"; The only workaround I found it to use .va

Re: [OpenSIPS-Users] Timestamp in date format

2021-02-23 Thread xaled
#issuecomment-61608369 Thanks, Xaled From: Users On Behalf Of Ben Newlin Sent: Tuesday, February 23, 2021 2:25 AM To: OpenSIPS users mailling list Subject: Re: [OpenSIPS-Users] Timestamp in date format That function only uses the current time. As far as I know there are no generic time string

Re: [OpenSIPS-Users] Timestamp in date format

2021-02-22 Thread xaled
Hi Ben, found that as well, thank you. Is there a way to add for example a week to the current datetime to have a datetime that can be used to say that something is valid until one week in the future? If 2013-08-01T12:00:00Z is now then to have 2013-08-08T12:00:00Z Thanks, Xaled From

[OpenSIPS-Users] Timestamp in date format

2021-02-22 Thread xaled
) = "$var(value)"; Unfortunately it does not work like this Thanks, Xaled ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

[OpenSIPS-Users] use of . dot and colon : in XML node names

2021-02-22 Thread xaled
ml/rfc7852#section-4.1.10 $xml(ProviderInfo) = ""; $xml(ProviderInfo/emergencyCall.ProviderInfo.attr/xmlns) = "urn:ietf:params:xml:ns:emergencyCall.ProviderInfo"; Thanks, Xaled ___ Users mailing list Users@lists.opensips.org http://list

[OpenSIPS-Users] Segfault bei TLS certificates in MySQL DB

2020-07-17 Thread xaled
sses Jul 9 02:29:30 test /usr/sbin/opensips[8551]: CRITICAL:core:sig_usr: segfault in attendant (starter) process! Thanks, Xaled ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Re: [OpenSIPS-Users] [OpenSIPS 3.1] Stable Release Date

2020-07-09 Thread xaled
Hi Bogdan, Great news! Will 3.1 Release also include updated control panel or will it come later? Thanks, Xaled Hello everyone, On 27th of May we had the beta release for OpenSIPS 3.1 . There was a lot of extra testing, many reports, a lot of feedback. All these translated in many fixes that

[OpenSIPS-Users] Multidomain TLS with opensips 3.1 part 2

2020-07-08 Thread xaled
x27; Jul 9 02:29:30 test /usr/sbin/opensips[8551]: NOTICE:tls_mgm:init_tls_dom: no crl for tls, using none Jul 9 02:29:30 test /usr/sbin/opensips[8551]: DBG:core:count_module_procs: modules require 2 extra processes Jul 9 02:29:30 test /usr/sbin/opensips[8551]: CRITICAL:core:sig_usr: segfault

Re: [OpenSIPS-Users] multi domain TLS in opensips 3.1

2020-07-08 Thread xaled
Thank you Răzvan, that solved it! In OpenSIPS 3.1, the tls_handshake_timeout is no longer specified in the tls_module, but in each module that uses tls[1]. Therefore, most likely, you are looking at this parameter[2]. [1] https://www.opensips.org/Documentation/Migration-3-0-0-to-3-1-0#toc15 [2]

[OpenSIPS-Users] multi domain TLS in opensips 3.1

2020-07-04 Thread xaled
Hi, I'm trying to get multi domain TLS with MS Teams going and kind of stuck at the beginning. According to MS Teams interconnect tutorial tls_handshake_timeout shall be set to 300. Setting this parameter independent from TLS domain gives an error that parameter is not found. #modparam("tls_m

Re: [OpenSIPS-Users] Access to parameters from generic headers

2020-04-08 Thread xaled
Hi Bogdan, works perfectly, dunno why I did not find it earlier. Thanks! -Original Message- From: Bogdan-Andrei Iancu [mailto:bog...@opensips.org] Sent: Wednesday, April 08, 2020 12:20 PM To: OpenSIPS users mailling list ; xaled Subject: Re: [OpenSIPS-Users] Access to parameters

[OpenSIPS-Users] Access to parameters from generic headers

2020-04-08 Thread xaled
Hi, I'm having problems with accessing values of header parameters. I tried to use regex to extract cause value from Reason header, but it does not work properly. I'm not an regex expert so the regex could wrong. It would be good to have a generic mechanism for this type of values extraction f

[OpenSIPS-Users] Use of multiple outgoing TCP Trunks with B2B

2019-02-12 Thread xaled
would be enough to have a random pick of registered trunk with established TCP connection and relevant credentials for every forwarded INVITE to use additional capacity given by additional trunks. Thanks, Xaled ___ Users mailing list Users

Re: [OpenSIPS-Users] WARNING:core:utimer_ticker: utimer task

2018-11-09 Thread xaled
Nov 8 18:10:10 fra-appsrv01 /usr/local/sbin/opensips[12640]: WARNING:core:handle_timer_job: timer job has a 6 us delay in execution Nov 8 18:10:10 fra-appsrv01 /usr/local/sbin/opensips[12640]: WARNING:core:handle_timer_job: timer job has a 6 us delay in execution Thanks, Xaled From: Bogdan-Andrei I

Re: [OpenSIPS-Users] WARNING:core:utimer_ticker: utimer task

2018-10-30 Thread xaled
Hi Johan, I used standard Debian repos for the installation. Things were ok until vm was migrated to new hardware. thanks, xaled On Johan De Clercq , Oct 30, 2018 19:13 wrote: Xaled, Please use the correct default and init.d package for your distro. They are in your src

Re: [OpenSIPS-Users] WARNING:core:utimer_ticker: utimer task

2018-10-30 Thread xaled
Hi Bogdan, no. Thanks xaled -Original Message- From: Bogdan-Andrei Iancu [mailto:bog...@opensips.org] Sent: Tuesday, October 30, 2018 6:04 PM To: OpenSIPS users mailling list ; xaled Subject: Re: [OpenSIPS-Users] WARNING:core:utimer_ticker: utimer task Hi Xaled, Do you use a

Re: [OpenSIPS-Users] WARNING:core:utimer_ticker: utimer task

2018-10-30 Thread xaled
or 980 ms (now 1970 ms), it may overlap .. Thanks, xaled -Original Message- From: Users [mailto:users-boun...@lists.opensips.org] On Behalf Of xaled Sent: Tuesday, October 30, 2018 3:08 PM To: 'OpenSIPS users mailling list' Subject: Re: [OpenSIPS-Users] WARNING:core:utimer_ticke

Re: [OpenSIPS-Users] WARNING:core:utimer_ticker: utimer task

2018-10-30 Thread xaled
Hi, any hints on this issue? Thanks, xaled -Original Message- From: Users [mailto:users-boun...@lists.opensips.org] On Behalf Of xaled Sent: Wednesday, October 10, 2018 7:05 PM To: 'OpenSIPS users mailling list' Subject: [OpenSIPS-Users] WARNING:core:utimer_ticker: utimer

[OpenSIPS-Users] WARNING:core:utimer_ticker: utimer task

2018-10-10 Thread xaled
on with gcc 4.9.2 Thanks, xaled ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Re: [OpenSIPS-Users] Postgres and virtual DB errors during restart

2018-03-03 Thread xaled
://www.opensips.org/events/Summit-2018Amsterdam On 03/01/2018 05:52 PM, xaled wrote: Hi,   I’m using postgres with virtual_db module and after opensips restarts I’m getting “Connection reset by peer

[OpenSIPS-Users] Postgres and virtual DB errors during restart

2018-03-01 Thread xaled
:: j=0 name=postgres://user:xxx@127.0.0.1/webapp can=1 may=1 r_rec=0 SET:: i=1 name=set2 mode=FAILOVER DB:: j=0 name=postgres://user:xxx@127.0.0.1/sipapp can=1 may=1 r_rec=0 Thanks, Xaled ___ Users mailing list Users@lists.opensips.org

Re: [OpenSIPS-Users] Wrong number of children

2018-02-28 Thread xaled
receiver udp: x.x.x.x:5060 Process:: ID=8 PID=12881 Type=Timer handler Xaled From: Bogdan-Andrei Iancu [mailto:bog...@opensips.org] Sent: Tuesday, February 27, 2018 6:39 PM To: OpenSIPS users mailling list ; xaled Subject: Re: [OpenSIPS-Users] Wrong number of children Ok, thanks to

Re: [OpenSIPS-Users] Wrong number of children

2018-02-27 Thread xaled
Hi Bogdan, Glad I could help with this one. XaledOn Feb 27, 2018 17:39, Bogdan-Andrei Iancu wrote: Thank you Xaled, Based on the output you provided I managed to identify the issue. There is a tricky internal test that actually forces the TCP layer to start

Re: [OpenSIPS-Users] Wrong number of children

2018-02-26 Thread xaled
receiver Process:: ID=17 PID=14991 Type=Timer handler Process:: ID=18 PID=14992 Type=TCP main root@srv01:/etc/opensips# netstat -tlnp | grep opensips root@srv01:/etc/opensips# Thanks, Xaled From: Bogdan-Andrei Iancu [mailto:bog...@opensips.org] Sent: Monday, February 26, 2018 4:57 PM To

Re: [OpenSIPS-Users] Wrong number of children

2018-02-26 Thread xaled
Hi Bogdan, nope, non of them. Greetings, Xaled From: Bogdan-Andrei Iancu [mailto:bog...@opensips.org] Sent: Monday, February 26, 2018 4:41 PM To: OpenSIPS users mailling list ; xaled Subject: Re: [OpenSIPS-Users] Wrong number of children Hi Xaled, Do you use HEP for tracing or

Re: [OpenSIPS-Users] Wrong number of children

2018-02-26 Thread xaled
Hi Callum, that helped thanks. I have 8 TCP receivers and one TCP main process that I did not expected as I only listen on udp. Will have to understand the TCP spawn logic. Greetings, Xaled From: Users [mailto:users-boun...@lists.opensips.org] On Behalf Of Callum Guy Sent: Friday

[OpenSIPS-Users] Wrong number of children

2018-02-23 Thread xaled
, BUF_SIZE 65535 poll method support: poll, epoll_lt, epoll_et, sigio_rt, select. main.c compiled on with gcc 6.3.0 Thanks, Xaled ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Re: [OpenSIPS-Users] Per phone number statistics

2018-02-21 Thread xaled
Hello Ben, thank you for the advice. I will take a look at the module. Never actually used it bevor. Thanks, Xaled From: Users [mailto:users-boun...@lists.opensips.org] On Behalf Of Ben Newlin Sent: Wednesday, February 21, 2018 5:34 PM To: OpenSIPS users mailling list Subject: Re

[OpenSIPS-Users] Per phone number statistics

2018-02-21 Thread xaled
don't seem to allow per number statistic collection. Thanks, Xaled ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Re: [OpenSIPS-Users] history-Info header manipulation

2018-02-21 Thread xaled
Hi Bogdan, ok, thank you for the info. It would be great to have a generic method of accessing such multipart headers. Greetings, Xaled From: Bogdan-Andrei Iancu [mailto:bog...@opensips.org] Sent: Wednesday, February 21, 2018 3:57 PM To: xaled ; 'OpenSIPS users mailling

Re: [OpenSIPS-Users] history-Info header manipulation

2018-02-20 Thread xaled
Hi Bogdan, Mostly yes - single HI Header with multiple hi-entries. A general solution/advice that would work with both single and multiple HI headers would be much appreciated. Thanks, Xaled From: Bogdan-Andrei Iancu [mailto:bog...@opensips.org] Sent: Tuesday, February 20, 2018 1

[OpenSIPS-Users] history-Info header manipulation

2018-02-19 Thread xaled
Hi, Is there any other/better way for the history-Info header manipulation like adding or removing a hi-entry except subst? Thanks, xaled ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Re: [OpenSIPS-Users] call_center module and loose routing

2017-11-22 Thread xaled
Hi Bogdan, thanks for an idea. I will try. Greetings, Xaled From: Bogdan-Andrei Iancu [mailto:bog...@opensips.org] Sent: Wednesday, November 22, 2017 6:17 PM To: Xaled Cc: users@lists.opensips.org Subject: Re: [OpenSIPS-Users] call_center module and loose routing Have you tried

Re: [OpenSIPS-Users] call_center module and loose routing

2017-11-22 Thread Xaled
Hi Correct. Thanks, Xaled > On 22 Nov 2017, at 16:09, Bogdan-Andrei Iancu wrote: > > Hi, > > So you use pre-loaded route in order to send initial INVITEs from SIPSERVER > to OPENSIPS, right ? > > And what you want to achieve is to have all the calls generated by

Re: [OpenSIPS-Users] call_center module and loose routing

2017-11-21 Thread xaled
agent agent Route: opensips, sipserver sipserver Does this make it a bit more clearer? Thanks, xaled From: Bogdan-Andrei Iancu [mailto:bog...@opensips.org] Sent: Tuesday, November 21, 2017 10:55 AM

[OpenSIPS-Users] call_center module and loose routing

2017-11-20 Thread xaled
:0800CallCenter agentagent Route: opensips, sipserversipserver Will something like this work as described above: loose_route(); cc_handle_call(test_flow); Thanks, xaled ___ Users mailing list Users

Re: [OpenSIPS-Users] Feature request? Script Var / AVP variables in route function.

2017-09-22 Thread xaled
There could be a constrain in OpenSIPS that the route name should be defined at the start of opensips process. Otherwise if a variable value for some reason does not match any defined route there will be a problem. Greetings, xaled From: Users [mailto:users-boun...@lists.opensips.org

[OpenSIPS-Users] 2.3 How to set content-disposition header with add_body_part

2017-08-21 Thread xaled
Hi, how can one set the content-disposition Header to the body added with add_body_part function? Thanks xaled ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

[OpenSIPS-Users] Use of colon in XML element names

2017-08-20 Thread xaled
73+02:00 test /usr/local/sbin/opensips[32422]: XML_TEST: #012 The final XML should be like this: http://test.org/abc/params/xml/abc";> 5 Thanks, xaled ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Re: [OpenSIPS-Users] Set userpart parameter using $rU

2017-07-12 Thread xaled
Hi Ben, thanks for pointing this out. I’ll try the fix on my 2.3 opensips. Greetings, Xaled From: Users [mailto:users-boun...@lists.opensips.org] On Behalf Of Ben Newlin Sent: Mittwoch, 12. Juli 2017 14:54 To: OpenSIPS users mailling list Subject: Re: [OpenSIPS-Users] Set userpart

[OpenSIPS-Users] Set userpart parameter using $rU

2017-07-12 Thread xaled
coming URI parameter: "INVITE sip:+1234...@test.com:5080;rn=+1234567 SIP/2.0\r Only modifying the whole URI using $ru works as needed: $ru="sip:" + "+1234567;rn=+1234567" + "@" + "test.com"; "INVITE sip:+1234567;rn=+1234...@test.com

Re: [OpenSIPS-Users] negative values in math_rpn

2017-07-10 Thread xaled
was obviously stuck with the assumption that a value should always come first in an RPN expression. Greetings, xaled

[OpenSIPS-Users] negative values in math_rpn

2017-07-10 Thread xaled
athops:evaluate_rpn: Failed to parse RPN! Thanks, xaled ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Re: [OpenSIPS-Users] Create new branch on receipt of provisional response on the main branch

2017-05-30 Thread xaled
Hi Bogdan, a-ha I thought of triggering on event, but did not find an even for the received 180 response. What I did not know, that one can simulate an event. That is a powerful function. Thanks, Xaled From: Users [mailto:users-boun...@lists.opensips.org] On Behalf Of Bogdan

Re: [OpenSIPS-Users] Create new branch on receipt of provisional response on the main branch

2017-05-29 Thread xaled
{ t_on_reply("global"); t_relay(); } onreply_route[global] { if (t_check_status("180")) { t_inject_branch(“???”); } } Thanks, Xaled From: Bogdan-Andrei Iancu [mailto:bog...@opensips.org] Sent: Freitag, 2

Re: [OpenSIPS-Users] identify branch by name in minor_branch_flag

2017-05-26 Thread xaled
Hi Bogdan, Ok, thanks! Greetings, xaled From: Bogdan-Andrei Iancu [mailto:bog...@opensips.org] Sent: Freitag, 26. Mai 2017 15:25 To: OpenSIPS users mailling list ; xaled Subject: Re: [OpenSIPS-Users] identify branch by name in minor_branch_flag Hi Xaled, The first param of

[OpenSIPS-Users] Create new branch on receipt of provisional response on the main branch

2017-05-22 Thread xaled
Hello, I need to create a branch on receipt of provisional response on the main branch. Doing append_brach in reply_route does not seem to work. What is right way to do it? Thanks, xaled ___ Users mailing list Users

Re: [OpenSIPS-Users] identify branch by name in minor_branch_flag

2017-05-22 Thread xaled
{ append_branch("sip:al...@test.com"); setbflag(1,1); } route[b] { append_branch("sip:b...@test.com"); append_branch("sip:ca...@test.com"); setbflag(2,1); } Thanks, xaled From: Bogdan-Andrei Iancu [mailto:bog...@opensips.org] Sent: Montag, 2

[OpenSIPS-Users] identify branch by name in minor_branch_flag

2017-05-19 Thread xaled
b...@test.com"); } route[2]{ append_branch("sip:b...@test.com"); append_branch("sip:al...@test.com"); } $T_branch_idx could be extended to $T_branch_name. Thanks, xaled ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Re: [OpenSIPS-Users] How to change the order of characters in a string and ascii2hex

2017-05-17 Thread xaled
Hello Răzvan, Ok, just opened an issue. Another good thing would be the possibility to access a specific character in a string. Something like: $var(str) = "123456"; xlog("first character: $var(str)[0] second character: $var(str)[1] "); Greetings,

Re: [OpenSIPS-Users] How to change the order of characters in a string and ascii2hex

2017-05-17 Thread xaled
possible to do with existing functionality I will open a feature. Thanks, xaled From: Users [mailto:users-boun...@lists.opensips.org] On Behalf Of Razvan Crainea Sent: Mittwoch, 17. Mai 2017 10:59 To: users@lists.opensips.org Subject: Re: [OpenSIPS-Users] How to change the order of

[OpenSIPS-Users] How to change the order of characters in a string and ascii2hex

2017-05-16 Thread xaled
Hello, I have a question and a feature idea. What is the best way to change the order of characters in a string? I have a string “12345” and I want to get “21435” It would be nice to have ascii2hex in addition to dec2hex Thanks, xaled

Re: [OpenSIPS-Users] How to parse XML Body?

2017-01-19 Thread xaled
work out. Thanks a lot for your support! From: Bogdan-Andrei Iancu [mailto:bog...@opensips.org] Sent: Donnerstag, 19. Januar 2017 11:54 To: xaled ; 'OpenSIPS users mailling list' Subject: Re: [OpenSIPS-Users] How to parse XML Body? Hi, To be honest I'm not good on p

Re: [OpenSIPS-Users] How to parse XML Body?

2017-01-18 Thread xaled
Hi Bogdan, works like a charm, thanks! As an additional bonus now I know how to work with the perl module ;) $rb(mime)[idx] is even more flexible. From: Bogdan-Andrei Iancu [mailto:bog...@opensips.org] Sent: Dienstag, 17. Januar 2017 15:12 To: xaled ; 'OpenSIPS users mai

Re: [OpenSIPS-Users] How to parse XML Body?

2017-01-13 Thread xaled
quot;(.*)/gml:Coordinates>(.*)<\/gml:Coordinates(.*)/\2/s"; xlog("Position is $(rb[1]{re.subst,$var(reg)})\n"); Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 01/06/2017 05:44 PM, xaled wrote: Hi Bogdan, can you give any hints on how to get

Re: [OpenSIPS-Users] How to parse XML Body?

2017-01-06 Thread xaled
-Andrei Iancu [mailto:bog...@opensips.org] Sent: Donnerstag, 5. Januar 2017 13:12 To: OpenSIPS users mailling list mailto:users@lists.opensips.org> >; xaled mailto:xa...@web.de> > Subject: Re: [OpenSIPS-Users] How to parse XML Body? Try $v

Re: [OpenSIPS-Users] How to parse XML Body?

2017-01-05 Thread xaled
2 #015#012 2016-8-02T04:13:23Z#015#012 #015#012 Thanks From: Bogdan-Andrei Iancu [mailto:bog...@opensips.org] Sent: Donnerstag, 5. Januar 2017 13:12 To: OpenSIPS users mailling list ; xaled Subject: Re: [OpenSIPS-Users] How to parse XML Body? Try $var(reg) = "/gml:Coordinates&

Re: [OpenSIPS-Users] How to parse XML Body?

2017-01-05 Thread xaled
Hi Bogdan, Well - almost enough ;) $var(reg) = "/gml:Coordinates>(.*)(.*)mailto:users-boun...@lists.opensips.org] On Behalf Of xaled Sent: Donnerstag, 5. Januar 2017 12:22 To: 'OpenSIPS users mailling list' Subject: Re: [OpenSIPS-Users] How to parse XML Body? Hi B

Re: [OpenSIPS-Users] How to parse XML Body?

2017-01-05 Thread xaled
Hi Bogdan, that is enough for me! Thanks. From: Bogdan-Andrei Iancu [mailto:bog...@opensips.org] Sent: Donnerstag, 5. Januar 2017 12:19 To: OpenSIPS users mailling list ; xaled Subject: Re: [OpenSIPS-Users] How to parse XML Body? You can use the $(rb[n]) to access a specific

Re: [OpenSIPS-Users] How to parse XML Body?

2017-01-05 Thread xaled
Hi Bogdan; opensips-2.2.2 Thanks. From: Bogdan-Andrei Iancu [mailto:bog...@opensips.org] Sent: Donnerstag, 5. Januar 2017 11:39 To: OpenSIPS users mailling list ; xaled Subject: Re: [OpenSIPS-Users] How to parse XML Body? Hi, What version of OpenSIPS are you using ? Regards

[OpenSIPS-Users] How to parse XML Body?

2017-01-04 Thread xaled
Hi, What is the best way to parse xml body in an INVITE request? I want to access geographic location information gml:Coordinates or gml:pos from xml body and do some routing. I've seen the emergency module, but it is too specific to be useful in my basic scenario. Content-Type: multip