Re: [SR-Users] Kamailio mod_destroy() ERROR

2015-07-22 Thread Ali Taher
Any help regarding the below would be appreciated. BR, Ali From: Ali Taher [mailto:ata...@vanrise.com] Sent: Wednesday, July 22, 2015 1:39 PM To: 'Kamailio (SER) - Users Mailing List' Cc: 'Ali Taher~Vanrise Technical Support' Subject: Kamailio mod_destroy() ERROR Hello, I'm getting

Re: [SR-Users] Port 5061 Issue

2015-07-22 Thread Daniel-Constantin Mierla
Hello, run with debug=3 and look at the syslog to see if there are some messages giving you a clue about what happens. Cheers, Daniel On 19/06/15 20:45, Ankhit Vivekananda wrote: > Hello, > > I have configured kamailio 4.0.4 long back. Now, I wanted to enable > the usage of port 5061 with TLS. B

Re: [SR-Users] New SIP INVITE from UAS (new dialogue)

2015-07-22 Thread Joao Alves
Hi Daniel, Yes, you're right. It was fragmented at UDP level. I've repeated with TCP as transport and the SDP is complete. Thanks again, Joao -Original Message- From: sr-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Daniel Tryba Sent: quarta-feira, 22 de Julho de

Re: [SR-Users] htable replication between several kamailio's through dmq

2015-07-22 Thread Charles Chance
Hi, Currently not, I'm afraid. It is on the to-do list, but other things have had to take priority. If you'd like to add it on GitHub as a feature request, maybe I or someone else will be able to look at it soon. Cheers, Charles On 22 July 2015 at 15:23, José Seabra wrote: > Hello there, >

Re: [SR-Users] Kazoo like load balancing

2015-07-22 Thread Jurijs Ivolga
Hi Daniel, First of all, thank you for your help! Below you can find more detailed info: I have following infrastructure: 22@10.50.210.9:6574 - UAC 11@10.50.210.9:50365 - UAC 10.101.237.133 - Loadbalancer Kamailio 10.101.241.55 - Kamailio Proxy, where UACs are registered So this is how Invite

Re: [SR-Users] New SIP INVITE from UAS (new dialogue)

2015-07-22 Thread Daniel Tryba
On Wednesday 22 July 2015 14:01:02 Joao Alves wrote: > In relation with the SDP size, I originally just compared with the source > one (see attached). What I just did was to double check using an online > tool and confirmed that the original has 1266 bytes (as also indicated by > the Content's len

Re: [SR-Users] RTP Proxy to WAV Script conversion

2015-07-22 Thread Daniel-Constantin Mierla
Hello, thanks for sharing! Shouldn't the end of the loop (the 'done') be more at the end of the script in order to handle all the saves streams, or is it intended to run for a single saved rtp session? Cheers, Daniel On 22/07/15 16:18, Alberto Sagredo wrote: > Using RTPBreak and sox im able to c

Re: [SR-Users] dmq_is_from_node() issue

2015-07-22 Thread Asgaroth
Hi Robert, Thanks for the suggestion, however, I already have that module parameter enabled as described in the original post :-) : modparam("dmq", "server_address", DMQ_ADDRESS) modparam("dmq", "notification_address", "sip:lb.domain.com:5060") *modparam("dmq", "multi_notify", 1) * modparam("d

Re: [SR-Users] dmq_is_from_node() issue

2015-07-22 Thread Asgaroth
Hi Charles, Thanks for the information, I was intending to use dmq_is_from_node as a security check to ensure that the dmq message arrived from a node that it saw as part of the notification address list (excluding itself of course). I see that it is not intended to be used this way. I'll bu

Re: [SR-Users] dmq_is_from_node() issue

2015-07-22 Thread Charles Chance
Hi, This is expected. The point of DMQ is to enable dynamic scaling without having to define every node in advance in Kamailio config. You should not use dmq_is_from_node() with dmq_handle_message() - it is not intended to be a security check for KDMQ messages, but for other messages replicated d

Re: [SR-Users] dmq_is_from_node() issue

2015-07-22 Thread Robert Boisvert
You might want to consider this function: http://kamailio.org/docs/modules/4.3.x/modules/dmq.html#dmq.p.multi_notify On Wed, Jul 22, 2015 at 10:25 AM, Asgaroth <00asgarot...@gmail.com> wrote: > sorry, I forgot to mention, this is with Kamailio v4.3.1: > > # kamailio -V > version: kamailio 4.3.1 (

Re: [SR-Users] [sr-dev] RFC: about the self signed tls certificates

2015-07-22 Thread Alberto Sagredo
+1 also here :) 2015-07-21 12:25 GMT+02:00 Alekzander Spiridonov : > Agree > > 2015-07-20 22:18 GMT+03:00 Victor Seva >: > >> On 07/20/2015 08:58 PM, Daniel-Constantin Mierla wrote: >> > My proposal is to move generation of self signed certificates to kamctl. >> > There can be a kamctl.tls file

Re: [SR-Users] dmq_is_from_node() issue

2015-07-22 Thread Asgaroth
sorry, I forgot to mention, this is with Kamailio v4.3.1: # kamailio -V version: kamailio 4.3.1 (x86_64/linux) f38e67 flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, DBG_F_MALLOC, USE_FUTEX,

[SR-Users] htable replication between several kamailio's through dmq

2015-07-22 Thread José Seabra
Hello there, I'm using the dmq and htable modules to limit the number of concurrent calls in several kamailio's servers. Every call that one kamailio server receives, kamailio increments a htable variable that is replicated to other kamailios through dmq, but if one of these kamailios fails or is

[SR-Users] dmq_is_from_node() issue

2015-07-22 Thread Asgaroth
Hi All, I have an issue with the dmq_is_from_node() function, whereby it does not detect a node is on the bus if it has been removed from its "table" due to previously failed, i presume, ping requests. I have the following snippet in my main routing block: if(is_method("KDMQ")) { if

[SR-Users] RTP Proxy to WAV Script conversion

2015-07-22 Thread Alberto Sagredo
Using RTPBreak and sox im able to convert rtpproxy rtp files to wav. Later you could convert to mp3 if liked Just to share with list https://github.com/albersag/rtpproxy-utils Any comment is well appreciated Best Regards ___ SIP Express Router (SER) a

Re: [SR-Users] New SIP INVITE from UAS (new dialogue)

2015-07-22 Thread Joao Alves
Hi Daniel, For the first issue, your solution did work! In relation with the SDP size, I originally just compared with the source one (see attached). What I just did was to double check using an online tool and confirmed that the original has 1266 bytes (as also indicated by the Content's len

Re: [SR-Users] New SIP INVITE from UAS (new dialogue)

2015-07-22 Thread Daniel Tryba
On Wednesday 22 July 2015 12:37:58 Joao Alves wrote: > The first, it seems we cannot send more than one header on the SIP INVITE. > That is I need to add the "Contact", "Allow" and "Content-Type" fields, but > only the last one is inserted, which is the "Content-Type". If I marked it > as a comment

Re: [SR-Users] New SIP INVITE from UAS (new dialogue)

2015-07-22 Thread Joao Alves
Hi again, Following up on this and having done some further tests, I was finally able to generate a SIP INVITE request using the following command sequence on the command file. $uac_req(method)="INVITE"; $uac_req(ruri)=$shv(userAcontact); $uac_req(turi)="sip:1000@decasa.

Re: [SR-Users] About Acc_radius rad_sttaus Function

2015-07-22 Thread ycaner
Hello all; i found problems. int acc_logic.c file at *acc_onack* function sends "request structer" instead of "ack structer". When i changed from "acc_run_engines(req, 0, NULL);" to "acc_run_engines(ack, 0, NULL);" , it sends right parameter to acc api engine. But there is a problem in acc.c at a

Re: [SR-Users] dmq_usrloc replication and max_contacts

2015-07-22 Thread Asgaroth
Thanks Charles, I'll send some examples of what I am on about to you in the next 30 minutes or so. On 22/07/2015 11:48, Charles Chance wrote: Hi, It seems to me like another bug, although again I'm not familiar with the module so can't be sure without looking that it is not intended behaviou

Re: [SR-Users] dmq_usrloc replication and max_contacts

2015-07-22 Thread Charles Chance
Hi, It seems to me like another bug, although again I'm not familiar with the module so can't be sure without looking that it is not intended behaviour. I plan to look later this week when I have some time but in the meantime, you can send me the examples directly if you like. Cheers, Charles

Re: [SR-Users] "kamctl ul show"/xmlrpc ul.lookup AOR not found for valid registration

2015-07-22 Thread Asgaroth
Hi, Any thoughts on this, I can provide actual examples for this, however, I would rather not send valid subsciber info directly to the list. If anyone is available for looking into it I can send the relevent information/examples directly to them. Thanks On 21/07/2015 15:11, Asgaroth wrote

Re: [SR-Users] dmq_usrloc replication and max_contacts

2015-07-22 Thread Asgaroth
Hi, Any thoughts on this, I can provide actual examples for this, however, I would rather not send valid subsciber info directly to the list. If anyone is available for looking into it I can send the relevent information/examples directly to them. Thanks On 21/07/2015 15:03, Asgaroth wrote

[SR-Users] Kamailio mod_destroy() ERROR

2015-07-22 Thread Ali Taher
Hello, I'm getting below error when starting Kamailio. ERROR: ctl [ctl.c:379]: mod_destroy(): ERROR: ctl: could not delete unix socket /tmp/kamailio_ctl: Operation not permitted (1) Any advice ? Regards, Ali __

Re: [SR-Users] Kazoo like load balancing

2015-07-22 Thread Jurijs Ivolga
Hi, And attachment. :) With kind regards, Jurijs 2015-07-21 19:18 GMT+03:00 Daniel Tryba : > On Tuesday 21 July 2015 17:59:53 Jurijs Ivolga wrote: > > So basically extension 100 sends invite to LB, LB then send invite to > > Kamailio server and Kamailio server replies with 407 error. > > > > D

Re: [SR-Users] Kazoo like load balancing

2015-07-22 Thread Jurijs Ivolga
Hi, Please find my config in attachment. I'm using default config, with minor changes. Please let me know if you need any additional info for debugging this issue. With kind regards, Jurijs 2015-07-21 19:18 GMT+03:00 Daniel Tryba : > On Tuesday 21 July 2015 17:59:53 Jurijs Ivolga wrote: > > S

Re: [SR-Users] About Acc_radius rad_sttaus Function

2015-07-22 Thread ycaner
Hello ; When i debug req->REQ_METHOD for METHOD_ACK , it never give that state. it is always Invite and Invite Thanks -- View this message in context: http://sip-router.1086192.n5.nabble.com/About-Acc-radius-rad-sttaus-Function-tp139840p139841.html Sent from the Users mailing list archive at Na

[SR-Users] About Acc_radius rad_sttaus Function

2015-07-22 Thread Yasin CANER
    Hello;     There is a problem in acc_radius module that radius message has 2 time sends "Acct-Status-Type = Start" when call is established as example below. it should be ALIVE as i see in rad_status.if req_METHOD is ACK , it should be ALIVE. And There is a probl

Re: [SR-Users] replace From header username for AUTH

2015-07-22 Thread Daniel Tryba
On Tuesday 21 July 2015 14:30:51 Al S wrote: > I was wondering how can I replace From header username to perform the > following authentication check with the new value: > > route[AUTH]..if (!auth_check("$fd", "subscriber", "1")) > {auth_challenge("$fd", "1");exit;}... http://www.kama