Re: [SR-Users] HA+DRBD setup

2015-07-08 Thread solution
we dont want to use VIP On Wed, Jul 8, 2015 at 5:31 PM, Loic Chabert [via SIP Router] < ml-node+s1086192n139416...@n5.nabble.com> wrote: > 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 tha

[SR-Users] sip: uri to tel: uri

2015-07-08 Thread manuel espinoza
Hi, The arch looks like this SBC1 < SIP-Router (Kamailio) <- Asterisk Asterisk sends an invite to kamailio using "sip:" as request uri scheme, but SBC1 expects that invite to arrive using tel:, is there a way to change this in kamailio and forward that invite? Something lik

Re: [SR-Users] HA+DRBD setup

2015-07-08 Thread solution
when i kill manually this error appears and starts in same machine without switching "p_kamailio_monitor_5000 on node40(10.12.1.40) 'unknown error' (1): call=61, status=complete, exit-reason='none', last-rc-change='Wed Jul 8 17:28:" On Wed, Jul 8, 2015 at 5:20 PM, Fred Posner-2 [via SIP Router]

Re: [SR-Users] usleep with variable

2015-07-08 Thread Antanas Masevicius
Hello, i noticed that there was some very old patch, but its for opensips branch: http://sourceforge.net/p/opensips/patches/42/ can this still be something with usage? Did anyone try sleeping for random period in kamailio? Antanas On 08/07/15 11:01, Antanas Masevicius wrote: Hello, been

[SR-Users] working config

2015-07-08 Thread lifayk
Hello All! Can somebody share a working/example config with biderectional nathelper, tcp transport and push notifications (tsilo) for Kamailio >=4.3? Thanks in advance! -- lifayk e: lif...@gmail.com pgp: 0x84CAC40B pgpRrxe6g2VMq.pgp Description: PGP signature ___

Re: [SR-Users] MetaSwitch ignores Contact: header

2015-07-08 Thread Markus
Thanks to you and Alex. Damn, Alex knows everything about anything it seems. A jack of all trades. Daniel, in this case it's easier for me to just skip Kamailio and have MetaSwitch call Asterisk directly. This is what I'm doing now and it works fine. Thx for your help! Markus Am 08.07.2015

[SR-Users] Does Kamailio support Cx interface Diameter over SCTP, somebody tested it?

2015-07-08 Thread Jan Devai
Hi Team, Does anybody know if Kamailio support Cx interface Diameter over SCTP, somebody tested it? Thank you Jan ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/c

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] Sending a message form within kamailio

2015-07-08 Thread Alex Balashov
Oh, I see. Well, one easy way is to look at the source for uac_req_send(). But of course, there are other places where Kamailio endogenously originates SIP requests, e.g. dispatcher OPTIONS pings, dialog module's

Re: [SR-Users] Sending a message form within kamailio

2015-07-08 Thread James Cloos
> It says in the documentation that uac_req_send is for sending a message > from the configuration file. I wanted to send it from within the source > code. Is there a programming function or API I can use? Presumably his suggestion was to took at the src to see how uac_req_send does it -JimC

Re: [SR-Users] Kamailio as radius server

2015-07-08 Thread Salman Zafar
Hi Ali, I understand what you wanted to ask, but you didn't quite put it in correct words. Kamailio server can act as a Radius client which means it can be integrated with a Radius Server. Kamailio itself is not a Radius server you may have to look for options opensource or propriety for Radius s

Re: [SR-Users] Kamailio as radius server

2015-07-08 Thread Ali Taher
Any advise regarding the below would be appreciated. BR, Ali Sent from my iPhone > On Jul 8, 2015, at 2:20 AM, Ali Taher wrote: > > Hello, > > I'm wondering if kamailio can act as radius server who's responsible of > authentication,authorization and accounting, where kamailio receive > acco

[SR-Users] Issues with Yealink SDP and sdp_with_transport()

2015-07-08 Thread Alberto Sagredo
Im using if(sdp_with_transport("RTP/SAVP")) to detect with endpoint is send SAVP or not to divert to and rtp proxy or rtpengine, as you know rtpproxy supports recording and rtpengine does not yet. So when using if(sdp_with_transport("RTP/SAVP")) with Grandstream Phones all worked fine, but when c

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

2015-07-08 Thread Sebastian Damm
Hi, you need to change the ACK the same way you did change your BYE Request. The 400 Bad Request URI response seems to be geneerated by your Kamailio. But I can't find a matching BYE request with CSeq 2, so I don't know what Kamailio is complaining about. The BYE with CSeq 3 is not directed to t

Re: [SR-Users] Kamailio as radius server

2015-07-08 Thread Alberto Sagredo
Kamailio is not a Radius server.. Can use them. Kamailio is other "THING" 2015-07-08 1:20 GMT+02:00 Ali Taher : > Hello, > > I'm wondering if kamailio can act as radius server who's responsible of > authentication,authorization and accounting, where kamailio receive > accounting record types (st

Re: [SR-Users] dialog: use keepalive & timeout features together

2015-07-08 Thread Andrey Utkin
2015-07-07 10:07 GMT+03:00 Daniel-Constantin Mierla : > if there is no response to keepalive, the call should be terminated in > like 10 seconds. Thank you for quick reply Daniel. Can this be different for the case of TLS connections? I guess this can matter. -- Andrey Utkin ___

[SR-Users] Pipelimit

2015-07-08 Thread Fred Posner
I know in ratelimit, you can define a method within queues... for example, modparam("ratelimit", "queue", "3:INVITE") to match on INVITE method. With pipelimit, is the method called from the config, such as: if(is_method("INVITE")) { # Checking limit on INVITE if (!pl_check("$au", "traildrop"

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] HA+DRBD setup

2015-07-08 Thread Fred Posner
On 07/08/2015 12:31 AM, solution wrote: > but while i manually killing that application fail over switching is not > happening. Are there any errors? --fred ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.si

Re: [SR-Users] Potential ip_addr_match_net bug

2015-07-08 Thread Kyle Kurz
Thanks Daniel, I can confirm that patch fixes my specific issue with a 172.16.0.0/12 localnet. I didn't test any other localnets though. Kyle On Tue, Jul 7, 2015 at 2:19 AM, Daniel-Constantin Mierla wrote: > Hello, > > would you be able to test the patch from next commit? > > > https://github.c

Re: [SR-Users] HA+DRBD setup

2015-07-08 Thread solution
Hi, My aim is to monitor kamailio process in one server which is master and another one slave,by using corosync and pacemaker we need to handle fail over switching without using VIP.now fail over switching is working fine if i stop corosync and pacemaker in master,but while i manually killing that

Re: [SR-Users] Moving from haproxy to db_cluster

2015-07-08 Thread Jan Hazenberg
Daniel Tryba schreef op 2015-07-08 12:19: On Wednesday 08 July 2015 11:02:44 Jan Hazenberg wrote: The question is if a database node fails and the TCP connection breaks the sql query will probably fail when using haproxy since it is not aware of the query. Will the db_cluster module send the que

Re: [SR-Users] Moving from haproxy to db_cluster

2015-07-08 Thread Daniel Tryba
On Wednesday 08 July 2015 11:02:44 Jan Hazenberg wrote: > The question is if a database node fails and the TCP connection breaks > the sql query will probably fail when using haproxy since it is not > aware of the query. Will the db_cluster module send the query to the > next available mysql nod

[SR-Users] CNXCC cnxcc_set_max_time Version 4.2

2015-07-08 Thread Jonathan Hunter
Hi All, Sorry further information on the below. On version 4.2.0 I now have the CNXCC module trying to terminate the call and I can see in the logs; Jul 8 10:04:05 voxweb1 kamailio4-2[28013]: ALERT: cnxcc [cnxcc_check.c:157]: check_calls_by_time(): [84738257-9ffa-1233-479c-2a8a2e4d8baa] call has

[SR-Users] Moving from haproxy to db_cluster

2015-07-08 Thread Jan Hazenberg
Hi, I have a question about the db_cluster module. We are currently using a galera mysql cluster from severalnines, in this setup haproxy is installed on the kamailio nodes handling the database failover. The question is if a database node fails and the TCP connection breaks the sql query wi

Re: [SR-Users] Textops and Multipart Body - adding ISUP segfaults Kamailio

2015-07-08 Thread andre second
Hi Victor, Many thanks for your reply. Here is what happens if I amend msg_apply_changes():  /usr/sbin/kamailio[1705]: ERROR: textops [textops.c:1854]: append_multibody_helper(): Cannot get boundary. Is body multipart?  /usr/sbin/kamailio[1705]: INFO:

Re: [SR-Users] MetaSwitch ignores Contact: header

2015-07-08 Thread Daniel-Constantin Mierla
Hello, indeed, Metaswitch breaks SIP routing and the best is fixing their side, as pointed by Alex. However, Kamailio is flexible enough to solve this issue, eventually temporarily until the peer is fixing its side. Do you get Route header in the ACK? That would be crucial in selecting the ACK f

Re: [SR-Users] Sending a message form within kamailio

2015-07-08 Thread Shouvanik Chakrabarti
It says in the documentation that uac_req_send is for sending a message from the configuration file. I wanted to send it from within the source code. Is there a programming function or API I can use? Thanks, Shouvanik On Wed, Jul 8, 2015 at 1:40 PM, Shouvanik Chakrabarti < shouvanik.chakraba...@g

Re: [SR-Users] Sending a message form within kamailio

2015-07-08 Thread Shouvanik Chakrabarti
Thanks a lot. On Wed, Jul 8, 2015 at 1:26 PM, Alex Balashov wrote: > Hello, > > ‎Have a look at the uac_req_send() function in the uac module. > > -- > Alex Balashov | Principal | Evariste Systems LLC > 303 Perimeter Center North, Suite 300 > Atlanta, GA 30346 > United States > > Tel: +1-800-25

[SR-Users] usleep with variable

2015-07-08 Thread Antanas Masevicius
Hello, been struggling to make a random sleep with cfgutils functions. ex: $avp(i:444) = 123; usleep("$avp(i:444)"); gives an error: ERROR: [route.c:1189]: fix_actions(): fixing failed (code=-1) at cfg:/etc/kamailio/kamailio-sp1new.cfg:723 Kamailio version: 4.3 If usleep accepts only numb

Re: [SR-Users] Sending a message form within kamailio

2015-07-08 Thread Alex Balashov
Hello, ‎Have a look at the uac_req_send() function in the uac module. -- Alex Balashov | Principal | Evariste Systems LLC 303 Perimeter Center North, Suite 300 Atlanta, GA 30346 United States Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct) Web: http://www.evaristesys.com/, http://www

[SR-Users] Sending a message form within kamailio

2015-07-08 Thread Shouvanik Chakrabarti
Hello, I am writing a module for kamailio and as part of its functionality I need to generate and send SIP messages. How would I go about sending an SIP message from within kamailio? Any help would be deeply appreciated. Thanks, Shouvanik ___ SIP Expre