Re: [SR-Users] Kamailio PostgreSQL Asking Password Everytime

2016-03-23 Thread Daniel-Constantin Mierla
Hello, I haven't used the postgres in a long while, but I think it should ask only once. Can you try by setting the password inside the kamctlrc file and see if works straight away? Cheers, Daniel On 22/03/16 11:52, Barış Şekerciler wrote: > Hello, > I have one postgres server at one server and

Re: [SR-Users] Kamailio 4.3.x kamailio-redis RPM

2016-03-23 Thread Daniel-Constantin Mierla
Not sure if opensuse build service (obs) allows configuring epel repo as a source for packages. If anyone knows more and can share details, I can enable it for the builds. Otherwise, I don't know any other rpm repo. On the other hand, we can build the rpms yourself on your system. You can take th

Re: [SR-Users] for kamailio registration

2016-03-23 Thread Daniel-Constantin Mierla
Hello, On 19/03/16 08:06, Franz Edler wrote: > [...] > > > > The next step for comfortable analyzing is to use sip-scenario which I > have provided at > https://www.dropbox.com/s/nqay103s2rmnffq/sip_scenario.v1.2.7.zip?dl=0 > > This tool produces a message-flow like the attached example. > > >

Re: [SR-Users] processing ACK

2016-03-23 Thread Daniel-Constantin Mierla
On 10/03/16 15:10, jaflong jaflong wrote: > Yes it is related to my earlier question and your information helped me. > > Again you have pointed me in the right direction. I did see > retransmissons from kamailio. > Doing a 't' action in the ACK ceased resending of the 200 OK i used > t_relay i

Re: [SR-Users] Kamailio forward REGISTER return "general error"

2016-03-23 Thread Daniel-Constantin Mierla
On 07/03/16 21:43, Cockhootec Yahrabee wrote: > The problem was in invalid nonce value as you can see from the debug > message > > 0(3411) DEBUG: auth [api.c:136]: auth_check_hdr_md5(): auth:pre_auth: > Invalid nonce value received (ret 2) > > > I was debugging for a while and I was also analyzi

Re: [SR-Users] Kamailio Bridge

2016-03-23 Thread Nelson Migliaro
Resolved.there was an error in my cofniguration. Thank you 2016-03-21 15:17 GMT+01:00 Nelson Migliaro : > Hello, > > I am trying to set up a Kamailio in Bridge Mode with two interfaces using > rtpproxy. > > The problem I have is SDP information port and IP is not updated from > outside to in

Re: [SR-Users] Random number generation kamailio

2016-03-23 Thread Cibin Paul
Daniel, I tried using $RANDOM. It is always giving a random value between 9 digits to 10 digits How can I get a random value between 10 digits to 13 digits. Regards Cibin > On 22-Mar-2016, at 1:19 PM, Cibin Paul wrote: > > Thanks Daniel for the pointer. I will check both modules > > Rega

Re: [SR-Users] TCP connection select problem

2016-03-23 Thread 张顺通
Have provided Callid, thanks. register callid 2bbadd72-d733-434e-bd06-45d9ddb5289b a7fa5d8f-1e46-4605-9a6e-08751bc75fee call 626fec11-684b-1234-d0b9-ecf4bbde9ef8 2016-03-21 18:34 GMT+08:00 张顺通 : > Have provided Callid, thanks. > > register callid > 2bbadd72-d733-434e-bd06-45d9ddb5289b > a7fa5d8

Re: [SR-Users] Random number generation kamailio

2016-03-23 Thread Cibin Paul
The problem is not with RANDOM. $fU is not taking more than 10 digit number. What could be the reason? $var(x) = 123456789012; $fU = $var(x); uac_replace_from("$var(x)","”); The above code is assigning cli with 2147483647. Could you please help me on this Regards Cibin > On 23-Mar-2016,

Re: [SR-Users] Random number generation kamailio

2016-03-23 Thread Daniel-Constantin Mierla
The $random gives an integer value, so max length is 10. Actually, vars in config file can be either integer or string. If you want a larger length you can build it as tring from two other random values. Like: $var(r1) = $RANDOM; $var(r2) = $RANDOM; $var(largerandom) = "" + $var(r1) + $var(r2);

Re: [SR-Users] TCP connection select problem

2016-03-23 Thread Daniel-Constantin Mierla
Had to go in a trip -- will look at it when I get the first chance. Daniel On 23/03/16 11:53, 张顺通 wrote: > Have provided Callid, thanks. > > register callid > 2bbadd72-d733-434e-bd06-45d9ddb5289b > a7fa5d8f-1e46-4605-9a6e-08751bc75fee > > call > 626fec11-684b-1234-d0b9-ecf4bbde9ef8 > > 2016-03-21

Re: [SR-Users] Random number generation kamailio

2016-03-23 Thread Cibin Paul
Perfect. That solved my issue. You are saviour Thanks & Regards Cibin > On 23-Mar-2016, at 4:49 PM, Daniel-Constantin Mierla > wrote: > > The $random gives an integer value, so max length is 10. Actually, vars in > config file can be either integer or string. If you want a larger length yo

[SR-Users] Presence Publish expires

2016-03-23 Thread Igor Olhovskiy
Hi! Is there any possibility to set Expires in PUBLISH message to never in Presence module? I want to have BLF’s that indicates states, that driven via PUBLISH, but can be really irregular (let’s say once a week) -- Best regards, Igor ___ SIP Express Ro

[SR-Users] Presence Publish expires

2016-03-23 Thread Juha Heinanen
Igor Olhovskiy writes: > Is there any possibility to set Expires in PUBLISH message to never in > Presence module? > I want to have BLF’s that indicates states, that driven via PUBLISH, but > can be really irregular (let’s say once a week) at least in pua_publish, expires parameter can be set to

Re: [SR-Users] Presence Publish expires

2016-03-23 Thread Igor Olhovskiy
Yes, but shouldn’t it override by modparam("presence", "max_expires", 3600) 2016-03-23 14:44 GMT+02:00 Juha Heinanen : > Igor Olhovskiy writes: > > > Is there any possibility to set Expires in PUBLISH message to never in > > Presence module? > > I want to have BLF’s that indicates states, that dr

Re: [SR-Users] TCP connection select problem

2016-03-23 Thread 张顺通
have a nice trip, :). 2016-03-23 19:23 GMT+08:00 Daniel-Constantin Mierla : > Had to go in a trip -- will look at it when I get the first chance. > > Daniel > > > On 23/03/16 11:53, 张顺通 wrote: > > Have provided Callid, thanks. > > register callid > 2bbadd72-d733-434e-bd06-45d9ddb5289b > a7fa5d8f-

Re: [SR-Users] Presence Publish expires

2016-03-23 Thread Juha Heinanen
Igor Olhovskiy writes: > Yes, but shouldn’t it override by modparam("presence", "max_expires", 3600) You need to set max_expires to accommodate your needs. -- Juha ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@li

Re: [SR-Users] Random number generation kamailio

2016-03-23 Thread Daniel Tryba
On Wed, Mar 23, 2016 at 04:49:09PM +0530, Cibin Paul wrote: > $var(x) = 123456789012; > > $fU = $var(x); > uac_replace_from("$var(x)","”); > > > The above code is assigning cli with 2147483647. Could you please help me on > this Seeing the value 2147483647 should trigger some neurons (it is 2^

[SR-Users] set_advertised_address() / set_advertised_port() + PVs?

2016-03-23 Thread Alex Balashov
Hello, I have a need to deploy Kamailio in AWS in a scenario of this sort: [Public Internet] <---> Kamailio <---> (Internal AWS servers) In such a scenario, Kamailio would be multihomed. Furthermore, in addition to sending out of two distinct network interfaces, the networking idiosyncras

Re: [SR-Users] set_advertised_address() / set_advertised_port() + PVs?

2016-03-23 Thread Daniel-Constantin Mierla
Hello, On 23/03/16 18:51, Alex Balashov wrote: > Hello, > > I have a need to deploy Kamailio in AWS in a scenario of this sort: > > >[Public Internet] <---> Kamailio <---> (Internal AWS servers) > > In such a scenario, Kamailio would be multihomed. > > Furthermore, in addition to sending out o

Re: [SR-Users] Presence Publish expires

2016-03-23 Thread Daniel-Constantin Mierla
Hello, you can change the expire value in the PUBLISH request, then do msg_apply_changes() before handling it with presence module function. Cheers, Daniel On 23/03/16 13:17, Igor Olhovskiy wrote: > Hi! > Is there any possibility to set Expires in PUBLISH message to never in > Presence module? >

Re: [SR-Users] set_advertised_address() / set_advertised_port() + PVs?

2016-03-23 Thread Alex Balashov
On 03/23/2016 02:32 PM, Daniel-Constantin Mierla wrote: On the other hand, what I prefer in this case is to use different ports for communication with external and internal worlds. Then you can specify the listen on external port with advertise address and the one for internal without. Nothing e

Re: [SR-Users] set_advertised_address() / set_advertised_port() + PVs?

2016-03-23 Thread Daniel-Constantin Mierla
On 23/03/16 19:33, Alex Balashov wrote: > On 03/23/2016 02:32 PM, Daniel-Constantin Mierla wrote: > >> On the other hand, what I prefer in this case is to use different ports >> for communication with external and internal worlds. Then you can >> specify the listen on external port with advertise

Re: [SR-Users] set_advertised_address() / set_advertised_port() + PVs?

2016-03-23 Thread Alex Balashov
On 03/23/2016 02:35 PM, Daniel-Constantin Mierla wrote: I meant advertise attribute for listen parameter: listen=udp:x.y.z.w:5060 advertise a.b.c.d:5060 listen=udp:x.y.z.w:5080 Huh! I guess when I go to bed, I should make a habit of curling up with the latest edition of the core cookbook.

Re: [SR-Users] set_advertised_address() / set_advertised_port() + PVs?

2016-03-23 Thread Alex Balashov
Daniel, Utilising the suggestion you advanced, will record_route() automatically take care of populating the advertised address if it is set as an 'advertise' directive on the socket? -- Alex Balashov | Principal | Evariste Systems LLC 1447 Peachtree Street NE, Suite 700 Atlanta, GA 30309 Uni

Re: [SR-Users] Kamailio 5.0 - B2BUA

2016-03-23 Thread Daniel-Constantin Mierla
If the Daniel being addressed to is me, then ... I haven't rejected any patch with new features in kamailio that doesn't have significant impact on performance and doesn't break existing and expected functionality. So anyone is welcome to bring in code ... Otherwise, besides (hopping to) getting

Re: [SR-Users] set_advertised_address() / set_advertised_port() + PVs?

2016-03-23 Thread Daniel-Constantin Mierla
On 23/03/16 19:42, Alex Balashov wrote: > Daniel, > > Utilising the suggestion you advanced, will record_route() > automatically take care of populating the advertised address if it is > set as an 'advertise' directive on the socket? > Yep, record-route and via as well as matching myself conditio

Re: [SR-Users] set_advertised_address() / set_advertised_port() + PVs?

2016-03-23 Thread Alex Balashov
On 03/23/2016 02:45 PM, Daniel-Constantin Mierla wrote: Yep, record-route and via as well as matching myself condition are done automatically -- nothing else to do in config apart of setting send-socket. That's brilliant. Thank you! -- Alex Balashov | Principal | Evariste Systems LLC 1447 Pea

Re: [SR-Users] set_advertised_address() / set_advertised_port() + PVs?

2016-03-23 Thread Daniel-Constantin Mierla
On 23/03/16 19:46, Alex Balashov wrote: > On 03/23/2016 02:45 PM, Daniel-Constantin Mierla wrote: > >> Yep, record-route and via as well as matching myself condition are >> done automatically -- nothing else to do in config apart of setting >> send-socket. > > That's brilliant. Thank you! > Welco

[SR-Users] Git clone failing?

2016-03-23 Thread Richard Good
Hi Is anyone else struggling with git clone? richard@richard-laptop-new:~/Smile-dev/git_code$ git clone --depth 1 --no-single-branch git://git.kamailio.org/kamailio kamailio Cloning into 'kamailio'... fatal: read error: Connection reset by peer Tried on a few machines our side and keep getting c

[SR-Users] Feature request for Dialog terminate

2016-03-23 Thread Yasin CANER
Hello;     i think  terminate a dialog with callid on rpc is really useful for dialog module. there is only terminate call  with hash_id on rpc . So it is so many transcation to terminate a call. Thanks --

Re: [SR-Users] Kamailio 5.0 - B2BUA

2016-03-23 Thread Alex Balashov
Daniel, (Yes, it was addressed to you. :-) On 03/23/2016 02:43 PM, Daniel-Constantin Mierla wrote: I haven't rejected any patch with new features in kamailio that doesn't have significant impact on performance and doesn't break existing and expected functionality. So anyone is welcome to bring

Re: [SR-Users] Git clone failing?

2016-03-23 Thread Fred Posner
On 03/23/2016 09:45 AM, Richard Good wrote: > Hi > > Is anyone else struggling with git clone? > > richard@richard-laptop-new:~/Smile-dev/git_code$ git clone --depth 1 > --no-single-branch git://git.kamailio.org/kamailio > kamailio > Cloning into 'kamailio'... >

Re: [SR-Users] Kamailio 5.0 - B2BUA

2016-03-23 Thread Alex Balashov
On 03/23/2016 03:01 PM, Alex Balashov wrote: The only major uses of it in larger commercial platforms of which I am aware are that of Sipwise, Juha Heinanen/Tutpro's OpenSIPg product, and our CSRP. Pedantic correction: I guess OpenSIPg is technically marketed by OpenXg Inc., so my nomenclatur

Re: [SR-Users] set_advertised_address() / set_advertised_port() + PVs?

2016-03-23 Thread Fred Posner
On 03/23/2016 01:51 PM, Alex Balashov wrote: > Hello, > > I have a need to deploy Kamailio in AWS in a scenario of this sort: > > >[Public Internet] <---> Kamailio <---> (Internal AWS servers) > > In such a scenario, Kamailio would be multihomed. > > > 1. Is this sane? Any unforeseen effe

Re: [SR-Users] set_advertised_address() / set_advertised_port() + PVs?

2016-03-23 Thread Alex Balashov
On 03/23/2016 03:15 PM, Fred Posner wrote: I have a main listen=udp:192.168.25.31 advertise PUBLIC:5060 and then when needed... set_advertised_address("192.168.25.31"); as in... if ($rd=~"192.168.25") { set_advertised_address("192.168.25.31"); } Cool. It sounds like Daniel's suggestion

Re: [SR-Users] kamailio in a multi-site configuration

2016-03-23 Thread Sunil More
Hello Daniel, Is dmq module used here ? Regards, Sunil More On Feb 17, 2016 1:54 PM, "Daniel-Constantin Mierla" wrote: > Hello, > > there are many topologies you can deploy in such case. > > If you want full independence of the head-office when they get > disconnected from internet (so they can

Re: [SR-Users] Kamailio 5.0 - B2BUA

2016-03-23 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > You said sems is calable but lacks docs, I guess that is less time > consuming to sort out for someone really interested given it is open > source than implementing something from scratch. I have been sending requests out from Kamailio via SEMS, for example, if