Re: [SR-Users] LCR routing, and finaly route to media gateway if not found

2016-09-23 Thread Loic Chabert
23 sept. 2016 4:36 PM, "Juha Heinanen" a écrit : Loic Chabert writes: > To accomplish this, i re-write the RURI: "sip:error1@errorserver.local", > and launch RELAY route. But kamailio dont make a DNS query to find IP of > "errorserver.local", only chan

[SR-Users] LCR routing, and finaly route to media gateway if not found

2016-09-23 Thread Loic Chabert
Hello List, I'm finishing my implementation of LCR with kamailio for outgoing calls but one use case does not work. Let me explain: - I have some sbc for one destination. If one destination fail, kamailio try to second one etc.. - If no SBC is available for this destination (for exemple, all are d

Re: [SR-Users] Kamailio know which Interface Packet would route out

2016-07-13 Thread Loic Chabert
Hi, Interface selection is done by kernel when routing lookup is done, no ? If you have the same destination and multiple interface to reach it, kernel will chose the best one (according metric values). If you want to force trafic to go through an interface, interface must be attached to different

Re: [SR-Users] High availability

2016-06-08 Thread Loic Chabert
Hi Moaci, If you want to provide Kamailio HA in two different datacenters, BGP will be the best tool to achieve that. Passing keepalived packets throught VXLAN could be a solution, but if you have any packet loss or bugs in VXLAN implementation in linux kernel, your service will be down. I have t

Re: [SR-Users] High availability

2016-06-05 Thread Loic Chabert
Hello Bill, I have made kamailio ha using exabgp with loopbacks. Check https://github.com/Exa-Networks/exabgp With bgp, kamailio cluster can be splited on severals datacenters. Regards. Le 5 juin 2016 20:53, "Bill" a écrit : > Hi Moacir > > We have only found three ways to handle failover. >

Re: [SR-Users] Kamailio for sip routing architecture

2016-05-25 Thread Loic Chabert
13:02 GMT+02:00 Daniel-Constantin Mierla : > Hello, > > On 24/05/16 10:09, Loic Chabert wrote: > > Hello, > > I can't use load balancing feature because location of sip user is defined. > > but then how the DNS is returning the appropriate server? Or each user has &

Re: [SR-Users] Kamailio for sip routing architecture

2016-05-24 Thread Loic Chabert
ers (CBx) to see which one is available. > > If the perfomrance is the concern, keeping most of the processing inside > the kamailio is a good choice. > > Cheers, > Daniel > > On 23/05/16 10:27, Loic Chabert wrote: > > Hello Kamailio users, > > I'm working

[SR-Users] Kamailio for sip routing architecture

2016-05-23 Thread Loic Chabert
Hello Kamailio users, I'm working on a sip infrastructure, with opensource technologies, and of course Kamailio will run on my new infrastructure :) Kamailio will be my central routing engine, between SBC (running on asterisk), and somes boxes (asterisk too) where customers will be registred. Ple

Re: [SR-Users] Enum module and parallel branching

2016-05-17 Thread Loic Chabert
Hello Juha, Thanks for your help, these functions help me to achieve round-robin invite requests. Calls these functions in failure_route permit to move one branch to the next one. Regards. 2016-05-16 15:59 GMT+02:00 Juha Heinanen : > Loic Chabert writes: > > > Q value follo

Re: [SR-Users] Enum module and parallel branching

2016-05-16 Thread Loic Chabert
Hello guys, After 3 days of tests, same result. As describe in TM module, Q parameter ordering request transmission. When i check Q value, each branch have a different value: branch_route[MANAGE_BRANCH] { xlog("L_INFO", "new [$T_branch_idx] $(branch(q)[$T_branch_idx]) to $bf $ru\n"); }

[SR-Users] Enum module and parallel branching

2016-05-12 Thread Loic Chabert
Hello, I'm trying to use enum module at core level to route my numbers to end-point asterisk servers. As i read (and validated by tests), when a phone number has two DNS NAPTER entries, enum module create two branch, one for each entries, and send request to asterisk servers (in the same time). D

Re: [SR-Users] BLF state on register

2015-08-28 Thread Loic Chabert
t; dialoginfo modules. > > Maybe next tutorial will help a bit: > - http://kb.asipto.com/kamailio:presence:k43-blf > > Cheers, > Daniel > > > On 27/08/15 14:11, Loic Chabert wrote: > > Thanks for this explanation. > > I have set pua_set_publish() before runnin

Re: [SR-Users] BLF state on register

2015-08-27 Thread Loic Chabert
, not a dialog event. Is it normal ? My hardphone (Yealink) subscribed to Event: dialog, not presence event. Kamailio should "convert" this Presence event into a dialog message no ? Thanks, Regards. 2015-08-27 12:44 GMT+02:00 Daniel-Constantin Mierla : > Hello, > > On 27/08/15

Re: [SR-Users] BLF state on register

2015-08-27 Thread Loic Chabert
still running pua_set_publish() before calling save() of registrar > module? > > Try to look at logs with debug=3 when a register is processed. > > Cheers, > Daniel > > > On 26/08/15 10:08, Loic Chabert wrote: > > Hello, > > SIP is sent over UDP. > > I

Re: [SR-Users] BLF state on register

2015-08-26 Thread Loic Chabert
equests. The > reason timeout is somehow related to the above. > > Again, be sure you look at the traffic on all network interfaces. > > Is SIP sent over UDP or TCP/TLS? > > Cheers, > Daniel > > > On 25/08/15 16:07, Loic Chabert wrote: > > Thanks Daniel, >

Re: [SR-Users] BLF state on register

2015-08-25 Thread Loic Chabert
d looking at syslog should reveal more about what is happening > around. > > Cheers, > Daniel > > > On 25/08/15 11:40, Loic Chabert wrote: > > Hello everyone, > > I'm trying to reproduce BLF's asterisk fonctionnality with kamailio. > With asterisk, on

[SR-Users] BLF state on register

2015-08-25 Thread Loic Chabert
Hello everyone, I'm trying to reproduce BLF's asterisk fonctionnality with kamailio. With asterisk, on register, NOTIFY message has been sent to all suscribed users. So LED became green. How can i reproduce this function ? I have try to execute a "pua_set_publish()" on register route, but it's no

Re: [SR-Users] Request timout - Change value

2015-08-24 Thread Loic Chabert
it per transaction with t_set_fr(), the best is to do > it somewhere before t_relay(), with the value you want for that forwarding > step. > > Cheers, > Daniel > > > On 24/08/15 12:34, Loic Chabert wrote: > > Hello Daniel, > > Thanks for your reply, but i dont need t

Re: [SR-Users] Request timout - Change value

2015-08-24 Thread Loic Chabert
llo, > > see t_set_fr() function of tm module -- with it you can set the timeout > per transaction, for each step of forwarding -- just use it when you want > to change the value. > > Cheers, > Daniel > > > On 24/08/15 11:54, Loic Chabert wrote: > > Hello

[SR-Users] Request timout - Change value

2015-08-24 Thread Loic Chabert
Hello everybody, I'm using kamailio as a dispatcher in front of asterisk boxes and i use a failure route if asterisk box does not respond or send 500error. failure_route[RTF_DISPATCH]{ if(t_is_canceled()){ exit(); } if(t_check_status("500") || (t_branch_timeout() && !t_branch

Re: [SR-Users] SDP IPv4 has been concatenate - no audio

2015-08-07 Thread Loic Chabert
see what append on my call flow. I will update you asap. Thanks, Regards. 2015-08-07 9:04 GMT+02:00 Daniel-Constantin Mierla : > Hello, > > On 30/07/15 17:38, Loic Chabert wrote: > > Hello everyone, > > I'm trying put kamailio in front of asterisk server farm. Fow now

[SR-Users] SDP IPv4 has been concatenate - no audio

2015-07-30 Thread Loic Chabert
Hello everyone, I'm trying put kamailio in front of asterisk server farm. Fow now, 2 asterisk servers are running and i'm trying to make some basic calls between two UACc. All asterisk servers has been ofuscaded from public internet using 10.189.122.0/24 network. All trafic must be passed through

Re: [SR-Users] Compiling only one module

2015-07-17 Thread Loic Chabert
it, with some more details, see: > > https://www.kamailio.org/wiki/tutorials/faq/main#modules > > Cheers, > Daniel > > > On 17/07/15 13:12, Loic Chabert wrote: > > Hello, > > I'm writing a new module for influxdb stats. > I've wrote my code and no

[SR-Users] Compiling only one module

2015-07-17 Thread Loic Chabert
Hello, I'm writing a new module for influxdb stats. I've wrote my code and now i need to compile it. How can i compile it ? I don't want to compile all modules, only this one. Thanks in advance, Regards. ___ SIP Express Router (SER) and Kamailio (OpenSE

Re: [SR-Users] HA+DRBD setup

2015-07-09 Thread Loic Chabert
VIP > > On Wed, Jul 8, 2015 at 5:31 PM, Loic Chabert [via SIP Router] <[hidden > email] <http:///user/SendEmail.jtp?type=node&node=139418&i=0>> wrote: > >> Hello, >> >> For failover IP, why could not use keepalived ? With a script monitoring,

Re: [SR-Users] BYE request with Sipp refused

2015-07-08 Thread Loic Chabert
Hello Sebastian, I have more time to check today, and followed your instruction. I have added rss="true" on 200OK (with sdp), and next, an ACK should be sent by my sipp, with asterisk IP on request line. But this ACK is not sent by my sipp. Sipp detect this 200OK, but not respond with an ACK (wai

Re: [SR-Users] HA+DRBD setup

2015-07-08 Thread Loic Chabert
Hello, For failover IP, why could not use keepalived ? With a script monitoring, you can switch vip from one host to another easily. More simple than corosync etc in my opinion. Regards. Loïc. Le 8 juil. 2015 13:49, "Fred Posner" a écrit : > > > On 07/08/2015 12:31 AM, solution wrote: > > but

Re: [SR-Users] BYE request with Sipp refused

2015-07-06 Thread Loic Chabert
Hello, Thanks for your explaination Sebastian but ... nothing change, RR has not been added. But i have noticed a new error: 400 Bad request (as you can see in my attachment). Why there is so many ACK/200 OK on my wireshark trace. On my scenario, there is only one ACK no ? Is it normal ? Many th

Re: [SR-Users] BYE request with Sipp refused

2015-07-06 Thread Loic Chabert
nfig of kamailio doing record_route() and then expecting > Route header in BYE, but your BYE is not having one. > > Cheers, > Daniel > > > On 05/07/15 12:05, Loic Chabert wrote: > > Hello everyone, > > I'm a newbie in kamailio world and make some tests to dispat

Re: [SR-Users] Kamailio multiple registration

2015-07-06 Thread Loic Chabert
Hello, Yes you can use Sipp and a template for registration. You can find a list of scenario on : https://github.com/saghul/sipp-scenarios Just launch the command with a CSV (as parameter) and your user/password inside. Regards, Loic. 2015-07-06 8:48 GMT+02:00 Daniel-Constantin Mierla : > Hell

[SR-Users] BYE request with Sipp refused

2015-07-05 Thread Loic Chabert
Hello everyone, I'm a newbie in kamailio world and make some tests to dispatch call over several asterisk instances. This part works, my call has been distributed over two instances (if i make a call with jitsi for example). Now, i want to test performance of my cluster and use Sipp to chalenge it