[SR-Users] whats happened to iptel.org

2018-01-29 Thread voipspace voipspace
Anyone know whats happened to iptel.org The webiste is now a wix page iptel.org the sip uri mu...@iptel.org was a useful resource. Now the song has changed and the service is down alot Has it it changed hands or been sold? ___ Kamailio (SER) - Users

Re: [SR-Users] SIP reply reason and code in dialog

2018-01-26 Thread voipspace voipspace
or a BYE is generated by Kamailio because the dialog lifetime elapsed. > There is no SIP response at that moment. > > Maybe you can explain what you need to achieve and then see if that's > possible to do somehow > > Cheers, > Daniel > > On 21.01.18 16:24, voipsp

[SR-Users] SIP reply reason and code in dialog

2018-01-21 Thread voipspace voipspace
within event_route[dialog:end] How do I find out SIP reply reason phrase and SIP reply code $rr $rs and $T_rpl($rs) $T_rpl($rr) are null ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman

Re: [SR-Users] exec warning

2018-01-17 Thread voipspace voipspace
I am using in route, event_route blocks; 17.01.2018, 14:07, "Daniel-Constantin Mierla" : > Hello, > > are you using exec_msg() for a SIP response? > > Cheers, > Daniel > > On 17.01.18 00:48, voipspace voipspace wrote: >>  exec_msg gives the following

[SR-Users] exec warning

2018-01-16 Thread voipspace voipspace
exec_msg gives the following warning. Even when no variables are used in the parameters 8(29619) WARNING: exec [exec_hf.c:464]: append_fixed_vars(): uri not parsed 8(29619) WARNING: exec [exec_hf.c:482]: append_fixed_vars(): orig URI not parsed _

Re: [SR-Users] How much is too much logging

2018-01-15 Thread voipspace voipspace
Not yet come to the load testing stage yet. Still building the system. Target is 2 calls a hour. Is 50 log lines per call considered a lot? 15.01.2018, 11:05, "Daniel-Constantin Mierla" : > Hello, > > On 14.01.18 23:34, voipspace voipspace wrote: >>  Hi >> &g

[SR-Users] send_data keeps connection open

2018-01-14 Thread voipspace voipspace
Hi I tried send_data it transmits the data however the socket connect remains open. Is it possibe to just send. I dont want the other end to need to close the connect or reply. thanks ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org

[SR-Users] How much is too much logging

2018-01-14 Thread voipspace voipspace
Hi I set my logging like this to rsyslog to write to local file log_facility=LOG_LOCAL0 "local0.* -/var/log/kamailio.log" >> /etc/rsyslog.conf The entries I have logging is quite detailed and can even be used to in place of acc info. For each call it writes 50 lines. Would this be conside

[SR-Users] cdr processing questions

2018-01-07 Thread voipspace voipspace
A few question; Firstly With mod acc and acc_cdr i see the default fields logged is only start_time, end_time, duration. This is an actual entry logged. start_time, end_time, duration 1515353126, 1515353135, 9.66 Why is the duration 9.66? It seems wrong because it is more then the

Re: [SR-Users] Happy New Year 2018!

2018-01-02 Thread voipspace voipspace
Happy New Year, Every One. Hope you had great time off with family and friends. May 2018 be prosperous and happy for you all. On to bigger and greater thing in the new year. bw Kamailio is awesome! 01.01.2018, 11:09, "Daniel-Constantin Mierla" : > A Happy And Prosperous Year 2018 to everyon

Re: [SR-Users] In failure_route after t_drop and t_relay - cancel problem

2018-01-02 Thread voipspace voipspace
It was a misconfig on my end. I rechecked I had record route and route(RELAY) in proper place. It is fine now :) 02.01.2018, 11:40, "Daniel-Constantin Mierla" : > Hello, > > did the last forwarded invite get any 1xx response? > > Cheers, > Daniel > > On 2

[SR-Users] In failure_route after t_drop and t_relay - cancel problem

2017-12-28 Thread voipspace voipspace
Hi Relevent section of the config similiar to below. Incoming invite is sent to a redirect server, 300 reply is sent back.failure_route catches the '300' applies t_drop_replies(); and creates a new inviteto host NEW_ADDRESS. The issue I am facing - at this point when a CANCEL is received a '200' is

[SR-Users] Handling redirect replies and send to new host

2017-12-27 Thread voipspace voipspace
Hi I am aiming to do the following User calls to Kamailio Switch (A) Switch (A) calls to Kamailio redirect server (B).. (B) runs script to determine route (B) sends Stateless 300 redirect reply to (A). (A) sends ACK to (B). (A) send user call to another host (extracted from header variable from

[SR-Users] Is it possible to inject variables into transaction scope

2017-12-25 Thread voipspace voipspace
 Hi Say I am in a event_route[xhttp:request], which is outside of any transaction scope. I have a transaction id that I am about to resume with t_continue. From here within event_route[xhttp:request] can avp variable be set so they would be accessable in the resumed transaction regards   _

[SR-Users] how to escape asterisk in pattern matching

2017-12-05 Thread voipspace voipspace
how to escape asterisk in pattern matching if($rU=~"\d+*") regards ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

[SR-Users] How to use ruri-pattern with allow_trusted?

2017-12-04 Thread voipspace voipspace
Hi Have used allow_trused to pass the allowed ip. Now I want to check the request has a correct tech prefix. With an entry in ruri-patten column in the trusted table for example 75622#. So if calls are to olny be allowed when the "to" destination starts with 75622#.  Regards _

Re: [SR-Users] Best way to do routing against a list of gateways

2017-11-29 Thread voipspace voipspace
http://www.kamailio.org/docs/modules/4.4.x/modules/htable.html#htable.rpc.reload looks like it is a good method. thanks29.11.2017, 14:48, "voipspace voipspace" : How then could I dynamic add or remove htables entries 29.11.2017, 14:40, "Alexandru Covalschi" <568...@gmail.co

Re: [SR-Users] Best way to do routing against a list of gateways

2017-11-29 Thread voipspace voipspace
_Alexandru CovalschiVoIP Engineer and System Administratortel: +373 673 98 493 29 нояб. 2017 г., в 13:58, voipspace voipspace <voipsp...@yandex.com> написал(а):I suppose I just could do sql direct on lcr_gw table like select ip_addr, prefix from lcr_gw where gw_name = "my_termin

Re: [SR-Users] Best way to do routing against a list of gateways

2017-11-29 Thread voipspace voipspace
heard sql directly is prone to memory leaks   29.11.2017, 11:29, "voipspace voipspace" :Hi I want to build the following scenerio There should be some sort of database table to hold a list of gateway entries with fields ip, prefix, and name/description. It would be good to use exiting tables to

Re: [SR-Users] Best way to do routing against a list of gateways

2017-11-29 Thread voipspace voipspace
 Carrierroute still is doing prefix matching which i do not need29.11.2017, 11:38, "Yu Boot" : Hello. Try carrierroute module. Use it with failure_route to iterate thru different gateways from database. 29.11.2017 14:29, voipspace voipspace

[SR-Users] Best way to do routing against a list of gateways

2017-11-29 Thread voipspace voipspace
Hi I want to build the following scenerio There should be some sort of database table to hold a list of gateway entries with fields ip, prefix, and name/description. It would be good to use exiting tables to use what is avaiable. Have been looking at the lcr and drouting tablesbut it seems they are

Re: [SR-Users] allow_trusted not passing

2017-11-29 Thread voipspace voipspace
ound.On the other hand, if you do not need the pattern matching, I suggest touse address table instead of trusted table, it is better optimized forip and network address matching.Cheers,DanielOn 28.11.17 09:41, Sebastian Damm wrote: Hi, On Tue, Nov 28, 2017 at 1:47 AM, voipspace voipspac

Re: [SR-Users] allow_trusted not passing

2017-11-27 Thread voipspace voipspace
bidden");    exit;} Alexandru CovalschiVoIP Engineer and System Administratortel: +373 673 98 493 27 нояб. 2017 г., в 11:48, voipspace voipspace <voipsp...@yandex.com> написал(а):},___Kamailio (SER) - Users M

[SR-Users] allow_trusted not passing

2017-11-27 Thread voipspace voipspace
Hi I have the following condition below in my config if (!allow_trusted("$si", "$proto")) {    xlog("L_INFO","\n\n--NOT trusted! - $si - $proto");    sl_send_reply("403", "Forbidden");    exit;} I checked that $si is the same ip as in the permissions table and confirmed that it has been loadedwith