Re: [SR-Users] Multiple parallel branches, one invalid

2017-03-10 Thread Anthony Joseph Messina
On Thursday, March 9, 2017 8:16:55 PM CST Nathan Ward wrote: > I have a scenario I’m not sure of the best way to solve. > > I use alias_db and have multiple destinations for a single number, and have > append_branches set to 1. I then use lookup_branches to get details from > the location table

[SR-Users] Multiple parallel branches, one invalid

2017-03-09 Thread Nathan Ward
Hi, I have a scenario I’m not sure of the best way to solve. I use alias_db and have multiple destinations for a single number, and have append_branches set to 1. I then use lookup_branches to get details from the location table for each branch. I then do t_load_contacts and t_next_contacts,

Re: [SR-Users] Multiple async operations in single transaction fail (using http_async_client)

2016-05-30 Thread Daniel-Constantin Mierla
Hello, I saw you opened an issue on github on this topic -- let's continue there the discussion. Cheers, Daniel On 26/05/16 19:05, Thom Seddon wrote: > Hi All, > > I've been doing some work this week with the new http_async_client > module, it seems that with it's default behaviour it's not

[SR-Users] Multiple async operations in single transaction fail (using http_async_client)

2016-05-27 Thread Thom Seddon
Hi All, I've been doing some work this week with the new http_async_client module, it seems that with it's default behaviour it's not possible to execute another async query in the block immediately following the response, for example the following config: request_route { if (!t_newtran()) {

Re: [SR-Users] Multiple Registrations - Overwrite oldest contact

2016-05-17 Thread Bruno Emer
Hello, David. Sorry for the time to reply you. I was a little busy here in the last few days. I am not sure about the "==". We had tried it here, but it only worked when we used with =~. We are currently running kamailio 4.2, so it may be a problem with our version. About the $hdr variable, it

Re: [SR-Users] Multiple Registrations - Overwrite oldest contact

2016-05-13 Thread David Holl
Thank you, Bruno! Regarding this test: if ($hdr(User-Agent)=~$(ulc(caller=>user_agent)[$var(i)])) { Shouldn't the =~ be replaced with == so that user agent strings aren't misinterpretted as regular expressions? It appears to work on my end with == when I tested just now.

Re: [SR-Users] Multiple Registrations - Overwrite oldest contact

2016-05-13 Thread Bruno Emer
Hello all! After some time I was able to get this working here, and now I am coming back to share my configuration with you guys (in case someone needs to get this working). Here is what we have done: route[REGISTRAR] { if (is_method("REGISTER")) {

Re: [SR-Users] Multiple SIP-servers with SRV-records and authentication secrets

2016-04-09 Thread Alfred E. Heggestad
On 04/04/16 10:27, Olle E. Johansson wrote: On 03 Apr 2016, at 18:09, Alfred E. Heggestad wrote: Dear SIP-experts and DNS-SRV gurus; I have some questions to the deployers of SER/Kamailio and best current practice for multiple SIP-servers with SRV-records and authentication.

Re: [SR-Users] Multiple SIP-servers with SRV-records and authentication secrets

2016-04-04 Thread Olle E. Johansson
> On 03 Apr 2016, at 18:09, Alfred E. Heggestad wrote: > > Dear SIP-experts and DNS-SRV gurus; > > > I have some questions to the deployers of SER/Kamailio and > best current practice for multiple SIP-servers with SRV-records > and authentication. This is not a question about

Re: [SR-Users] Multiple SIP-servers with SRV-records and authentication secrets

2016-04-03 Thread Daniel-Constantin Mierla
Hello, are you using also a different realm per server? Because, iirc, the username/password must be the same for a realm. On the other hand, for many kamailio in a farm should not matter much, because the relevant attribute in the 401 is the nonce. If you set the secret for generating the nonce

Re: [SR-Users] Multiple SIP-servers with SRV-records and authentication secrets

2016-04-03 Thread James Cloos
> "AH" == Alfred E Heggestad writes: AH> 1. Multiple SIP-servers are deployed for the same domain AH> 2. The DNS is configured with SRV-records for load balancing, AH>example: (lets call the domain "example.com") AH> 3. when a SIP client registers, it resolves the domain

[SR-Users] Multiple SIP-servers with SRV-records and authentication secrets

2016-04-03 Thread Alfred E. Heggestad
Dear SIP-experts and DNS-SRV gurus; I have some questions to the deployers of SER/Kamailio and best current practice for multiple SIP-servers with SRV-records and authentication. This is not a question about Kamailio itself but rather experience with deployment of it in the field. The current

Re: [SR-Users] Multiple Registrations - Overwrite oldest contact

2016-04-03 Thread Olle E. Johansson
> On 01 Apr 2016, at 22:37, Bruno Emer wrote: > > Now, I have just one more question about my scenario: when I register a user, > is there a way to create something like a "custom field" on the location? To > explain better: If possible, I can add something like a custom

Re: [SR-Users] Multiple Registrations - Overwrite oldest contact

2016-04-02 Thread Franz Edler
-router.org] On Behalf Of Bruno Emer Sent: Friday, April 1, 2016 10:37 PM To: sr-users@lists.sip-router.org Subject: Re: [SR-Users] Multiple Registrations - Overwrite oldest contact Sure it is! This is exactly what I was looking for! Actually I wasn't able to see that there was a way to perform

Re: [SR-Users] Multiple Registrations - Overwrite oldest contact

2016-04-01 Thread Bruno Emer
Sure it is! This is exactly what I was looking for! Actually I wasn't able to see that there was a way to perform this action! Thanks for your help, Olle! I will try to create this, and when I have it done, I will post my script here, so if someone else need the same problem I can help. Now, I

Re: [SR-Users] Multiple Registrations - Overwrite oldest contact

2016-04-01 Thread Olle E. Johansson
That requires a bit more of reading the same doc page, but I still think you can do it. Run reg_fetch_contacts and check how many you have. Loop through them and unregister by the ruri (id) of the one that expires first if you have too many. We’ve made this function to make the location

Re: [SR-Users] Multiple Registrations - Overwrite oldest contact

2016-04-01 Thread Bruno Emer
This is my problem... I want to have 2 contacts for AOR, and not only one. When the 3rd arrives, it must remove the oldest and continue with 2... *If I am using the 0x04 parameter, it will save just one contact, and the user will not be able to get the Invite both, in the mobile device and web

Re: [SR-Users] Multiple Registrations - Overwrite oldest contact

2016-04-01 Thread Olle E. Johansson
> On 01 Apr 2016, at 21:59, Olle E. Johansson wrote: > > >> On 01 Apr 2016, at 21:31, Bruno Emer > > wrote: >> >> Hello all. >> >> I have problem here and I tried to find a solution and search over internet, >> but without

Re: [SR-Users] Multiple Registrations - Overwrite oldest contact

2016-04-01 Thread Olle E. Johansson
> On 01 Apr 2016, at 21:31, Bruno Emer wrote: > > Hello all. > > I have problem here and I tried to find a solution and search over internet, > but without success. > > My scenario is the following: I have an application that must be registered > in Kamailio when a user

[SR-Users] Multiple Registrations - Overwrite oldest contact

2016-04-01 Thread Bruno Emer
Hello all. I have problem here and I tried to find a solution and search over internet, but without success. My scenario is the following: I have an application that must be registered in Kamailio when a user logs in the web interface, so he can get calls (something like a web softphone using

Re: [SR-Users] Multiple LCR instances with LCR module

2016-03-25 Thread DanB
Hey Juha, Many thanks for so quick feedback! Changing the module param did the trick. Have a good one! DanB ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org

[SR-Users] Multiple LCR instances with LCR module

2016-03-25 Thread Juha Heinanen
DanB writes: > I was wondering if any of you use multiple LCR instances with LCR module > since I could see that the documentation allows it, however for some > reason the queries to load data (both on restart or kamcmd lcr.reload) > somehow hardcode the value of 1 inside: check that your

[SR-Users] Multiple LCR instances with LCR module

2016-03-25 Thread DanB
Hey Guys, I was wondering if any of you use multiple LCR instances with LCR module since I could see that the documentation allows it, however for some reason the queries to load data (both on restart or kamcmd lcr.reload) somehow hardcode the value of 1 inside: """ select

Re: [SR-Users] Multiple crashes of Kamailio 4.2.1

2015-10-17 Thread Igor Potjevlesch
7 port = 1195477710 proto = 0 options = 0x6ff8f8 ":f:cm:M:dVIhEeb:l:L:n:vKrRDTN:W:w:t:u:g:P:G:SQ:O:a:A:" ret = -1 seed = 2329478669 rfd = 4 debug_save = 0 debug_flag = 0 dont_fork_cnt = 0 n_lst = 0x40

Re: [SR-Users] Multiple crashes of Kamailio 4.2.1

2015-09-18 Thread Igor Potjevlesch
t' <sr-users@lists.sip-router.org> Objet : Re: [SR-Users] Multiple crashes of Kamailio 4.2.1 Hello, can you test with latest version branch 4.2? I backported several patches related to dialog module, among them some related to a race for deleted dialogs detected as spiral, which may b

Re: [SR-Users] Multiple crashes of Kamailio 4.2.1

2015-09-17 Thread Igor Potjevlesch
mico...@gmail.com] Envoyé : jeudi 17 septembre 2015 11:40 À : Igor Potjevlesch <igor.potjevle...@gmail.com>; 'Kamailio (SER) - Users Mailing List' <sr-users@lists.sip-router.org> Objet : Re: [SR-Users] Multiple crashes of Kamailio 4.2.1 Hello, from the second trace, can you get out

Re: [SR-Users] Multiple crashes of Kamailio 4.2.1

2015-09-17 Thread Daniel-Constantin Mierla
Hello, from the second trace, can you get output for: frame 0 list info locals p *dlg Cheers, Daniel On 11/09/15 18:23, Igor Potjevlesch wrote: > > Hello Daniel, > > > > From the two crashes occurred today, I got 2 coredump. So I copy/past > the result from these 4 backtraces: > > > > No

Re: [SR-Users] Multiple crashes of Kamailio 4.2.1

2015-09-17 Thread Daniel-Constantin Mierla
0a01201001 > > __FUNCTION__ = "dlg_clean_run" > > *(gdb) p *dlg* > > Cannot access memory at address 0xb02030a01201001 > > (gdb) > > > > I hope this will help. > > > > Regards, > > > > Igor. > > > > > >

Re: [SR-Users] Multiple crashes of Kamailio 4.2.1

2015-09-12 Thread Igor Potjevlesch
dbce69b8) at main.c:2578 cfg_stream = 0x1f28010 c = -1 r = 0 tmp = 0x7fffdbce6f70 "" tmp_len = 0 port = 0 proto = 32767 options = 0x6fcc00 ":f:cm:M:dVIhEeb:l:L:n:vKrRDTN:W:w:t:u:g:P:G:SQ:O:a:A:" ret

Re: [SR-Users] Multiple crashes of Kamailio 4.2.1

2015-09-11 Thread Igor Potjevlesch
0x2019010 c = -1 r = 0 tmp = 0x74d8ff70 "" tmp_len = 0 port = 0 proto = 32767 options = 0x6fcc00 ":f:cm:M:dVIhEeb:l:L:n:vKrRDTN:W:w:t:u:g:P:G:SQ:O:a:A:" ret = -1 seed = 3024771980 rfd =

Re: [SR-Users] Multiple crashes of Kamailio 4.2.1

2015-09-11 Thread Gary Wallis
Is Kamailio getting too complicated? Trying to do everything? Kind regards, <>___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Re: [SR-Users] Multiple crashes of Kamailio 4.2.1

2015-09-11 Thread Daniel-Constantin Mierla
options = 0x6fcc00 > ":f:cm:M:dVIhEeb:l:L:n:vKrRDTN:W:w:t:u:g:P:G:SQ:O:a:A:" > > ret = -1 > > seed = 2249241156 > > rfd = 4 > > debug_save = 0 > > debug_flag = 0 > > dont_fork_cnt = 0 > > n

Re: [SR-Users] Multiple crashes of Kamailio 4.2.1

2015-09-11 Thread Igor Potjevlesch
t_fork_cnt = 0 n_lst = 0xc2 p = 0x7fff08877e7e "" __FUNCTION__ = "main" Regards, Igor. De : Igor Potjevlesch [mailto:igor.potjevle...@gmail.com] Envoyé : jeudi 10 septembre 2015 16:43 À : mico...@gmail.com; 'Kamailio (SER

Re: [SR-Users] Multiple crashes of Kamailio 4.2.1

2015-09-11 Thread Daniel-Constantin Mierla
Well, not many relevant changes were done for quite some time to core components, so those should be very stable, but it happened that we discovered bugs even after more than 5 years, because they can be triggered by corner cases that don't show up. Then, we get always new modules, those take

Re: [SR-Users] Multiple crashes of Kamailio 4.2.1

2015-09-10 Thread Igor Potjevlesch
Hello, We got some others crashes even after updated to 4.2.3. >From the last one, I got the following into "bt full": Core was generated by `/usr/local/sbin/kamailio -P /var/run/kamailio.pid -m 256 -M 64'. Program terminated with signal 11, Segmentation fault. #0 0x00617612 in

Re: [SR-Users] Multiple crashes of Kamailio 4.2.1

2015-09-10 Thread Daniel-Constantin Mierla
Hello, there are newer releases in branch 4.2, was there any reason to stop at 4.2.3? Back to the backtrace, this one is from shutdown, happening during the cleanup, not showing the reason of the crash at runtime, unless there was a manual shut down triggered at that moment. Do you have another

[SR-Users] multiple proxies

2015-08-28 Thread Bruce Lefko
If I want to have multiple kamailio proxies in front of multiple media servers, can I balance them using plain old DNS behind a domain name? If I wanted a specific proxy to be notified about an entire SIP dialog I could set the record route to use the public IP of the proxy that received the

[SR-Users] multiple proxies

2015-08-27 Thread Bruce Lefko
If I want to have multiple kamailio proxies in front of multiple media servers, can I balance them using plain old DNS behind a domain name? If I wanted a specific proxy to be notified about an entire SIP dialog I could set the record route to use the public IP of the proxy that received the

Re: [SR-Users] multiple proxies

2015-08-27 Thread SamyGo
Hi Bruce, Get some ideas from here: http://www.opentelecom.it/cluecon/ClueCon_2015_Load_Balancing_HA.pdf Also using DNS SRV is a good idea for use afront of multiple active proxies. BR, Sammy On Aug 27, 2015 1:53 PM, Bruce Lefko blefko5...@gmail.com wrote: If I want to have multiple kamailio

Re: [SR-Users] multiple proxies

2015-08-27 Thread Daniel-Constantin Mierla
Are you looking for load balancing the traffic to media servers or the traffic to kamailio proxies? Traffic to media servers can be balanced with dispatcher module. Traffic to kamailio server can be balanced with DNS SRV and using IP address for record routing will ensure that requests to same

[SR-Users] Multiple crashes of Kamailio 4.2.1

2015-07-20 Thread Igor Potjevlesch
Hello, 3 crashes occurred today (we never seen crashes on this server before) during a period of 20 minutes. I had a look to the coredumps. Here is a quick overview of the first entries of bt full: core.27671 : #0 0x7f5577048d65 in run_trans_callbacks_internal

[SR-Users] Multiple Phone Numbers registration

2015-05-29 Thread Al S
Hi, Does Kamilio have a predefined module to support Multiple Phone Numbers registration with a single Registration?I am trying to register multiple numbers on behalf of IP-PBXs. Thanks,Al

[SR-Users] Multiple Phone Numbers registration

2015-05-29 Thread Juha Heinanen
Al S writes: Does Kamilio have a predefined module to support Multiple Phone Numbers registration with a single Registration?I am trying to register multiple numbers on behalf of IP-PBXs. there are many ways you can achieve that. One is to define aliases for one number and then register

Re: [SR-Users] Multiple OR into a if

2015-02-06 Thread Igor Potjevlesch
Potjevlesch Cc : 'Kamailio (SER) - Users Mailing List' Objet : Re: [SR-Users] Multiple OR into a if Hello, I give it a try and I get the message from: xlog(L_WARN,TU=06\n); which is the only one that is true in this case. Don't you get it? Btw, I noticed a space after @ in $tu, is it from

Re: [SR-Users] Multiple OR into a if

2015-02-05 Thread Igor Potjevlesch
février 2015 12:40 À : Igor Potjevlesch; 'Kamailio (SER) - Users Mailing List' Objet : Re: [SR-Users] Multiple OR into a if Hello, I was traveling and had no time for it. Anyhow, you compare $rU, which is request uri username -- the address in the first line of SIP requests. In the onreply_routes

Re: [SR-Users] Multiple OR into a if

2015-02-05 Thread Daniel-Constantin Mierla
, Igor. *De :*Daniel-Constantin Mierla [mailto:mico...@gmail.com] *Envoyé :* mardi 3 février 2015 12:40 *À :* Igor Potjevlesch; 'Kamailio (SER) - Users Mailing List' *Objet :* Re: [SR-Users] Multiple OR into a if Hello, I was traveling and had no time for it. Anyhow, you compare

Re: [SR-Users] Multiple OR into a if

2015-02-03 Thread Daniel-Constantin Mierla
:* RE: [SR-Users] Multiple OR into a if The To header looks like this (in compact form): t: sip:0123456...@sip.domain.tld;tag=f15e211394273201512715012\r\n Regards, Igor. *De :*Igor Potjevlesch [mailto:igor.potjevle...@gmail.com] *Envoyé :* mardi 27 janvier 2015 15:55

Re: [SR-Users] Multiple OR into a if

2015-02-03 Thread Igor Potjevlesch
Mailing List' Objet : RE: [SR-Users] Multiple OR into a if The To header looks like this (in compact form): t: sip:0123456...@sip.domain.tld;tag=f15e211394273201512715012\r\n Regards, Igor. De : Igor Potjevlesch [mailto:igor.potjevle...@gmail.com] Envoyé : mardi 27 janvier 2015

Re: [SR-Users] Multiple OR into a if

2015-01-27 Thread Daniel-Constantin Mierla
Hello, can you paste here the SIP message (or at least the To header and request URI) for such case? I would like to reproduce. Also, you can try removing components of the expression in the second IF one by one to see where it breaks. Cheers, Daniel On 27/01/15 09:45, Igor Potjevlesch wrote:

[SR-Users] Multiple OR into a if

2015-01-27 Thread Igor Potjevlesch
Hello, I'm very disappointed because of the following behaviour: if ($tu=~^sip:0[1-9]{9}) { [.] In that case, Kamailio returns TRUE because the instructions in the block are executed. } if ($rU=~^33 || $rU=~^0033 || $rU=~^0[1-9]{9} ||

Re: [SR-Users] Multiple OR into a if

2015-01-27 Thread Igor Potjevlesch
List' Objet : RE: [SR-Users] Multiple OR into a if Hello Daniel, Just to let you, it's in MANAGE_REPLY. Is that make any difference? Regards, Igor. De : sr-users [mailto:sr-users-boun...@lists.sip-router.org] De la part de Daniel-Constantin Mierla Envoyé : mardi 27 janvier 2015

Re: [SR-Users] Multiple OR into a if

2015-01-27 Thread Igor Potjevlesch
: Re: [SR-Users] Multiple OR into a if Hello, can you paste here the SIP message (or at least the To header and request URI) for such case? I would like to reproduce. Also, you can try removing components of the expression in the second IF one by one to see where it breaks. Cheers, Daniel

Re: [SR-Users] multiple endpoints call

2014-10-12 Thread Yuriy Gorlichenko
I tried use default forking, but still have issue. I have multiple endpoints that may be as traditional sip client and as WebSocket based sip client. Then I use asterisk behind kamailio. When I use default t_relay (not changed with du) routing try going through kamailio and it usuccessull (it is

[SR-Users] Multiple kamailio sharing single Registration DB

2014-10-08 Thread Varghese Paul
Hi all, How i can setup multiple kamailio servers should share the single registration DB. Requirement: I have two kamailio instances Kamailio-A and Kamalio-B ,both are sharing the same DB which is postgre*SQL *which is hosted in some other server. When a USER AGENT A send a register packet to

[SR-Users] Multiple kamailio sharing single Registration DB

2014-10-08 Thread Juha Heinanen
Varghese Paul writes: 1. How kamailio retrieving the registrations status ? Is it from the DB or from the internal cache ? 2. How can i read the registration status from the DB always ? you can find the answer in usrloc README. it always a good idea to read documentation first before

[SR-Users] multiple endpoints call

2014-10-07 Thread Marino Mileti
Data: 6-ott-2014 22.02 A: Kamailio (SER) - Users Mailing Listsr-users@lists.sip-router.org Ogg: [SR-Users] multiple endpoints call Hello. I have multiple endpoints registered at my kamailio with one account (for example user1 registerd from norhway, USA, and Russia at one time), so when I

Re: [SR-Users] multiple endpoints call

2014-10-07 Thread Yuriy Gorlichenko
Thanks. I used some custom thiks to change $ru. Now I will delete it. 2014-10-07 0:33 GMT+04:00 Daniel-Constantin Mierla mico...@gmail.com: Hello, are you using t_relay()? Parallel forking should be default with that function. Cheers, Daniel On 06/10/14 22:02, Yuriy Gorlichenko wrote:

[SR-Users] multiple endpoints call

2014-10-06 Thread Yuriy Gorlichenko
Hello. I have multiple endpoints registered at my kamailio with one account (for example user1 registerd from norhway, USA, and Russia at one time), so when I call from user2 to user1 I want to ring all endpoints registered by user1 account. Now I can ring only one, first entry at location table.

Re: [SR-Users] multiple endpoints call

2014-10-06 Thread Daniel-Constantin Mierla
Hello, are you using t_relay()? Parallel forking should be default with that function. Cheers, Daniel On 06/10/14 22:02, Yuriy Gorlichenko wrote: Hello. I have multiple endpoints registered at my kamailio with one account (for example user1 registerd from norhway, USA, and Russia at one

[SR-Users] Multiple port configuration

2014-05-09 Thread Alex Villací­s Lasso
How do I configure kamailio to listen to multiple ports, on all known interfaces? I have tried listen=udp:*:5060, listen=udp:*:5062 on separate lines, but I get the following errors: Not starting : invalid configuration file! 0(7806) : core [cfg.y:3411]: yyerror_at(): parse error in config

Re: [SR-Users] Multiple port configuration

2014-05-09 Thread Daniel-Constantin Mierla
Multiple port=xyz lines is the way, be sure you don't have any listen=... If doesn't work, give the log messages with debug=3 in kamailio.cfg. Cheers, Daniel On 09/05/14 23:54, Alex Villací­s Lasso wrote: How do I configure kamailio to listen to multiple ports, on all known interfaces? I

Re: [SR-Users] multiple bodies with an INVITE

2013-09-26 Thread Daniel-Constantin Mierla
Hello, On 9/12/13 10:55 AM, Adnan wrote: Hi, I am using Kamailio (4.0.3 (x86_64/linux)) against an MSS in the mobile core network. Kamailio receives an INVITE with following bodies: Content-Type: application/sdp Content-Type: application/ISUP;base=itu-t92+;version=itu-t92+. How

[SR-Users] multiple bodies with an INVITE

2013-09-12 Thread Adnan
Hi, I am using Kamailio (4.0.3 (x86_64/linux)) against an MSS in the mobile core network. Kamailio receives an INVITE with following bodies: Content-Type: application/sdp Content-Type: application/ISUP;base=itu-t92+;version=itu-t92+. How can the latter part i.e. the ISUP body be

Re: [SR-Users] Multiple calls uac_replace_from()

2013-03-19 Thread Anca Vamanu
Hi Alex, If you create dialog before and use the implementation that relies on dialog variables [1], it is safe to call uac_replace_from() multiple times on the same message, or even the same initial message but looped. The module will detect that uac_replace_from() was called multiple times

Re: [SR-Users] Multiple calls uac_replace_from()

2013-03-19 Thread Alex Balashov
Hello Anca, On 03/19/2013 06:00 AM, Anca Vamanu wrote: If you create dialog before and use the implementation that relies on dialog variables [1], it is safe to call uac_replace_from() multiple times on the same message, or even the same initial message but looped. The module will detect that

Re: [SR-Users] Multiple calls uac_replace_from()

2013-03-11 Thread Daniel Tryba
On Thursday 07 March 2013 12:13:50 Alex Balashov wrote: I realise that one logical possibility is to store the desired value in a variable, manipulate it as needed throughout the request processing flow, and just call uac_replace_from() once, at the end. That was the conclusion for my

Re: [SR-Users] Multiple calls uac_replace_from()

2013-03-11 Thread Daniel-Constantin Mierla
On 3/11/13 11:37 AM, Daniel Tryba wrote: On Thursday 07 March 2013 12:13:50 Alex Balashov wrote: I realise that one logical possibility is to store the desired value in a variable, manipulate it as needed throughout the request processing flow, and just call uac_replace_from() once, at the

Re: [SR-Users] Multiple calls uac_replace_from()

2013-03-11 Thread Alex Balashov
Calling multiple times with msg_apply_changes() will still result in the stateful restoration of the original From in requests and replies going back to the originating side? Daniel-Constantin Mierla mico...@gmail.com wrote: On 3/11/13 11:37 AM, Daniel Tryba wrote: On Thursday 07 March

Re: [SR-Users] Multiple calls uac_replace_from()

2013-03-11 Thread Daniel-Constantin Mierla
On 3/11/13 1:42 PM, Alex Balashov wrote: Calling multiple times with msg_apply_changes() will still result in the stateful restoration of the original From in requests and replies going back to the originating side? ah, ok, I see what you meant. The restore will be to the previously updated

[SR-Users] Multiple calls uac_replace_from()

2013-03-07 Thread Alex Balashov
Forgive me if I failed to follow a recent discussion to its conclusion, but what is the bottom line on calling uac_replace_from() consecutively, in the course of processing one request? Is it possible, while using restore_mode 'auto'? Is there a correct way to do it, such as calling

Re: [SR-Users] Multiple calls uac_replace_from()

2013-03-07 Thread Alex Balashov
P.S. I realise that one logical possibility is to store the desired value in a variable, manipulate it as needed throughout the request processing flow, and just call uac_replace_from() once, at the end. However, the problem in this case is that I am doing multiple branches -- first to a

Re: [SR-Users] Multiple radius responses on a missed call

2013-02-08 Thread Efelin Novak
Thanks Daniel, I'll check it and post results here. Efelin 2013/2/8 Daniel-Constantin Mierla mico...@gmail.com: Hello, there are different event logged for accounting: - missed call event which is sent from the point of view of callee - transaction answered which is sent from the point of

Re: [SR-Users] Multiple radius responses on a missed call

2013-02-08 Thread Efelin Novak
I'm little bit confused about a usage of radius acc_radius module. Parameters from acc_radius module can also be found in acc module after recompiling it with ENABLE_RADIUS_ACC=true. Which one should I use? Which one is more up to date? What is the difference? Cheers, Efelin 2013/2/8 Efelin

Re: [SR-Users] Multiple rtimer processes + mqueue

2013-01-04 Thread Daniel-Constantin Mierla
All safe. The fetch removes the item from queue within a lock and then keeps it in the process space. It is no possible race for many processes to consume the same item. Cheers, Daniel On 1/3/13 4:54 PM, Alex Balashov wrote: Will multiple rtimer processes consuming the same mqueue, i.e. via a

[SR-Users] Multiple rtimer processes + mqueue

2013-01-03 Thread Alex Balashov
Will multiple rtimer processes consuming the same mqueue, i.e. via a blocking mechanism while(mq_fetch(...)) ... hurt anything? -- Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur, GA 30030 United States Tel: +1-678-954-0670 Web:

[SR-Users] multiple t_on_branch[]

2012-06-01 Thread Vitaliy Aleksandrov
Hi all, Does kamailio allow to configure more than one branch_route for an initial INVITE ? I have tried to add: t_on_branch(branch_r1); t_on_branch(branch_r2); before t_relay(). Mentioned branch routes write debug to the kamailio.log and it looks like that only the last

Re: [SR-Users] multiple t_on_branch[]

2012-06-01 Thread Alex Balashov
Vitaliy: Short answer: no. You can only have one branch route. However, there may be other means of accomplishing the same goal. Check out, for example, the onsend_route. -- Alex On 06/01/2012 04:08 AM, Vitaliy Aleksandrov wrote: Hi all, Does kamailio allow to configure more than one

Re: [SR-Users] Multiple INVITEs and discarded call_control

2011-10-07 Thread Mino Haluz
Hi, I finally resolved this issue. The problem is in the callcontrol module. The original code: static int postprocess_request(struct sip_msg *msg, unsigned int flags, void *_param) { CallInfo *call; if ((msg-msg_flags FL_USE_CALL_CONTROL) == 0) return 1; // the

Re: [SR-Users] Multiple INVITEs and discarded call_control

2011-08-15 Thread Mino Haluz
Any updates on this? I updated callcontrol which has some bug fixed: callcontrol (2.0.14) unstable; urgency=low * Avoid handling requests with a duplicated CallID But it still does not work. The callcontrol is executed 3 times and in the config, I have only once the mark xxx printed in syslog

Re: [SR-Users] Multiple INVITEs and discarded call_control

2011-06-13 Thread Mino Haluz
It does not work, t_newtran always returns success, so it will never absorb the retransmission. So what I did was: if ($sht(a=$ci::retrans) == 0) { $sht(a=$ci::retrans) = 1; } else { exit(); } xlog(L_INFO,XLOG: xxx);

[SR-Users] Multiple INVITEs and discarded call_control

2011-06-06 Thread Mino Haluz
Hi, my kamailio server is receiving from some customers 3 identical INVITEs when call is initiated (separated by 200ms). Those 3 INVITEs are making a big problem with call_control: WARNING: call_control [call_control.c:1156]: dialog to trace controlled call was not created. discarding

Re: [SR-Users] Multiple INVITEs and discarded call_control

2011-06-06 Thread Daniel-Constantin Mierla
Hello, if it is a retransmission, then just do t_newtran() in your config file before handling it to call control to be sure the retransmitted requests are absorbed. http://kamailio.org/docs/modules/stable/modules/tm.html#t_newtran Cheers, Daniel On 6/6/11 4:29 PM, Mino Haluz wrote: Hi,

Re: [SR-Users] Multiple call accounting from an IP

2011-02-09 Thread Daniel-Constantin Mierla
Hello, On 2/7/11 8:13 PM, Amit Nepal wrote: Hi everyone, I am sure someone have been working with this scenario, how about accounting multiple calls from same account or ip address while using ip auth ? I don't understand what you want exactly to achieve. Kamailio doesn't set any

[SR-Users] Multiple call accounting from an IP

2011-02-07 Thread Amit Nepal
Hi everyone, I am sure someone have been working with this scenario, how about accounting multiple calls from same account or ip address while using ip auth ? -- Thank You Amit Nepal Systems Administrator Phoenix Internet Phone: 602-385-0731 602-234-0917#112

[SR-Users] Multiple Sip

2011-01-24 Thread aram amin
Dear Sir / Madam I registered for your services today and the main purpose was to register my other voip/sip providers with your services so that I can have more options in making out bound calls with my sip phone, however could you please explain to me that if for instance, I have three

[SR-Users] Multiple Servers Serving A Domain

2010-09-29 Thread Jon Farmer
Hi, I currently have 1 OpenSer server in front of a number of Asterisk boxes. I want to move to a scenario where I have multiple OpenSer boxes serving the same domain name in front of the Asterisk boxes. The UA could be registered on either of the OpenSer via SRV. When Asterisk has a call for the

Re: [SR-Users] multiple instances on different ports

2010-07-27 Thread Uriel Rozenbaum
: uriel.rozenb...@gmail.com To: rob1...@gmail.com CC: us...@lists.kamailio.org Subject: Re: [SR-Users] multiple instances on different ports Hi, try using force_send_socket but you'll have to declare the socket with 5060 as well http://www.kamailio.org/dokuwiki/doku.php/core-cookbook:3.0.x

[SR-Users] multiple instances on different ports

2010-07-26 Thread Robert R
Hi, I am trying to run multiple different instances of openser on the same server using different ports. Regardless of receiving INVITE on any of the ports (5061, 5062, ...) I want openser always to proxy the message to port 5060. invite:5061 --- openser -- invite:5060 invite:5062 --- openser

Re: [SR-Users] Multiple domains in different servers

2010-05-28 Thread Klaus Darilion
Am 27.05.2010 23:09, schrieb Ricardo Coelho: I am working on a project that aims to improve scalability of a system and it is required that only some phones are attached to openserA and all the others are attached to openserB. I am new to openser so forgive me for the lack of knowledge. Ok.

Re: [SR-Users] Multiple domains in different servers

2010-05-27 Thread Manwe
El Thu, 27 May 2010 04:44:53 +0100 Ricardo Coelho ricardo.tch...@gmail.com escribió: Hi, Right now I have 2 machines (one on domainA and the other on domainB). I want to allow a phone registered in the openser from domainA to call a phone registered in the openser from domainB (and

Re: [SR-Users] Multiple domains in different servers

2010-05-27 Thread Ricardo Coelho
Insert both domains in both mysql databases of each openser On May 27, 2010, at 8:25 AM, Jon Bonilla (Manwe) wrote: El Thu, 27 May 2010 04:44:53 +0100 Ricardo Coelho ricardo.tch...@gmail.com escribió: Hi, Right now I have 2 machines (one on domainA and the other on domainB). I want to

Re: [SR-Users] Multiple domains in different servers

2010-05-27 Thread Manwe
El Thu, 27 May 2010 16:09:35 +0100 Ricardo Coelho ricardo.tch...@gmail.com escribió: Hi, Forget the domains and tables. What I want is: I have 2 machines running openser and some phones are registered on openserA and some on openserB. I want to allow a phone in openserA to call a phone in

Re: [SR-Users] Multiple domains in different servers

2010-05-27 Thread Klaus Darilion
Am 27.05.2010 17:09, schrieb Ricardo Coelho: I have 2 machines running openser and some phones are registered on openserA and some on openserB. Why are some phones registered at openserA and others at openserB? - Do they have different SIP domains where one SIP domain point to A and other

Re: [SR-Users] Multiple domains in different servers

2010-05-27 Thread Ricardo Coelho
I am working on a project that aims to improve scalability of a system and it is required that only some phones are attached to openserA and all the others are attached to openserB. I am new to openser so forgive me for the lack of knowledge. Thanks On May 27, 2010, at 5:05 PM, Klaus

Re: [SR-Users] Multiple domains in different servers

2010-05-27 Thread Edson - Lists
Hi, Ricardo... Just help us understand your needs so that we can better help you... When you talk on scalability, on how many registered users are we talking about? Are all this users just registered, or are you planning to use RTPProxy? If so, on the same machine? Just let say that just