Re: [SR-Users] [sr-dev] VERY IMPORTANT: deciding when to remove the MI code

2016-12-02 Thread Alex Hermann
th the last entry). -- Alex Hermann ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Re: [SR-Users] event_route[uac:reply] question

2016-09-20 Thread Alex Hermann
l responses? You should be able to set an onreply route in the tm:local-request event_route to catch replies. -- Greetings, Alex Hermann ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org h

Re: [SR-Users] Checking if a reply is part of a forked transaction

2016-08-24 Thread Alex Hermann
Will > explore this tomorrow. No need to add to headers, just set a transaction flag before forking. -- Greetings, Alex Hermann ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lis

Re: [SR-Users] Running both 4.3 and 4.4 with the same database with permission module

2016-08-18 Thread Alex Hermann
reate a 4.4 database and use federated tables to access the 4.3 data > > Not hard to implement any of these 2, but some other modules have the > option to skip these checks, eg: > http://www.kamailio.org/docs/modules/4.4.x/modules/auth_db.html#auth_db.p.ve > rsion_tab

Re: [SR-Users] [kamailio 5.0] upgrade VS rollback/backward compatibility

2016-05-18 Thread Alex Hermann
n you deploy. Set the table version to the one expected by the corresponding kamailio version. -- Alex Hermann Speakup BV ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-route

Re: [SR-Users] Removing parameters from user part of URI

2015-06-15 Thread Alex Hermann
On Monday 15 June 2015, Alex Balashov wrote: > On 06/15/2015 04:20 AM, Alex Hermann wrote: > > $(rU{select,0,;}) will always select the username with all parameters > > stripped. > > Will it? What if the parameters precede the username, i.e. > > sip:param1=hyz;p

Re: [SR-Users] Removing parameters from user part of URI

2015-06-15 Thread Alex Hermann
t the username with all parameters stripped. -- Greetings, Alex Hermann ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Re: [SR-Users] next via branch value

2015-06-01 Thread Alex Hermann
the value you use somewhere (RR-param or $sht) to be able to tear down the session when a BYE comes in. -- Greetings, Alex Hermann ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://

Re: [SR-Users] Header Concatenation - is this a Bad Idea?

2015-04-20 Thread Alex Hermann
his kind of thing easy; Why would you want to use textops? $(hdr(Record-Route[*])) seems to do the trick. -- Greetings, Alex Hermann ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://li

Re: [SR-Users] dialog module shared memory

2015-01-16 Thread Alex Hermann
ts to an external counter process. I still think the concept is ok and i probably need to take another stab at it, but i have no estimate yet of when that might happen. If anyone wants to pick up, please do. -- Greetings, Alex Hermann ___ SIP

Re: [SR-Users] Redirect Server Including Path/Recieved Information

2015-01-12 Thread Alex Hermann
e somewhere. They won't apply cleanly to 4.x. If there is interest now, i'll port and commit them when my setup eventually migrates to 4.x. -- Greetings, Alex Hermann ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users

Re: [SR-Users] Redirect Server Including Path/Recieved Information

2015-01-09 Thread Alex Hermann
mentation for this. [sr-dev] git:alexh/master: core modules/tm modules/sl: Make adding path and flags to redirected contacts optional -- Greetings, Alex Hermann ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@l

Re: [SR-Users] Unexpected evaluation to false on a phonenumber in $avp

2015-01-06 Thread Alex Hermann
ions. An avp value does not result in a boolean, but a string or integer. You should compare the avp to a specific string or integer value (or $null), or use pv_isset(). (This is since the migration from kamailio 1.5 to sip-router). -- Alex Hermann

Re: [SR-Users] how to check if reply is retransmission?

2014-11-13 Thread Alex Hermann
been sent (locally or forwarded). -- Greetings, Alex Hermann ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Re: [SR-Users] how to check if reply is retransmission?

2014-11-13 Thread Alex Hermann
this intentional? You can try calling t_check_trans() beforehand. -- Greetings, Alex Hermann ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Re: [SR-Users] how to check if reply is retransmission?

2014-11-13 Thread Alex Hermann
er from 1 to 0 for this example, because from my memory, i needed the 2nd via in my code. Probably my memory had failed. -- Greetings, Alex Hermann ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router

Re: [SR-Users] how to check if reply is retransmission?

2014-11-13 Thread Alex Hermann
On Thursday 13 November 2014, Juha Heinanen wrote: > Alex Hermann writes: > > > is there a means to check if reply to t_relay()ed request is > > > retransmission? there is t_is_retr_async_reply(), but that does not > > > apply to regular transactions. > > &

Re: [SR-Users] how to check if reply is retransmission?

2014-11-06 Thread Alex Hermann
toring the Via branch parameter of the reply in a htable. -- Alex Hermann ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Re: [SR-Users] rtpproxy & extra_id_pv

2014-09-26 Thread Alex Hermann
, "$avp(extra_id)") > > but in the INVITE message the callid is still the same for all branches. Any suggest? Did you assign a value to $avp(extra) in the script, before calling any of the rtpproxy functions? Did you use the 'b

Re: [SR-Users] [sr-dev] rfc: distributing dialog profiles

2014-08-25 Thread Alex Hermann
On Monday 25 August 2014, Daniel-Constantin Mierla wrote: > Are these patches on top of latest version of dialog module (the ones > with unique id per profile)? They're against a1b6093aaee, which includes some commits mentioning a unique id for profiles. I don't know if they interfere during runt

Re: [SR-Users] [sr-dev] rfc: distributing dialog profiles

2014-08-25 Thread Alex Hermann
On Friday 22 August 2014, Charles Chance wrote: > On 22 August 2014 16:46, Alex Hermann wrote: > > Last week, i just built profile synchronisation in the dialog module, > > based on > > dmq. It took quite a bit of debugging time because of the state dmq was > > in. >

Re: [SR-Users] [sr-dev] rfc: distributing dialog profiles

2014-08-22 Thread Alex Hermann
was in. It still has some rough edges, but i'll try to push a branch (shortly after) this weekend for review. -- Alex Hermann ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Re: [SR-Users] function to reset all flags or bflags?

2014-07-14 Thread Alex Hermann
On Monday 14 July 2014, Juha Heinanen wrote: > there is a function to reset a flag or bflag, but i haven't found one > that would reset all flags or bflags. > > is there a way to do it? if not, is it ok to add such function? $mf is an R/W variable, you could assign 0 to it. Maybe $bf is R/W also

Re: [SR-Users] uri parameter value case sensitiveness

2014-05-19 Thread Alex Hermann
in the route set contains the lr parameter (see Section 19.1.1), the UAC MUST place the remote target URI into the Request-URI and MUST include a Route header field containing the route set values in order, including all parameters. -- Alex Hermann

Re: [SR-Users] [sr-dev] OT: Excessive or fatal bounces for yahoo, hotmail, ...

2014-04-29 Thread Alex Hermann
st automatically remove addresses that bounce a few times, it is commonly done on many mailinglists. Recipients are themselves reponsible for a properly operating mailserver. -- Greetings, Alex Hermann ___ SIP Express Router (SER) and Kamailio (Open

Re: [SR-Users] event_route[tm:branch-failure] question

2014-04-14 Thread Alex Hermann
tm specific routing blocks when such route block handles the incoming > request (what is stored in t->uas). Isn't the stored state (from t_newtran()) updated on t_relay()? Iirc, at least some fields seem to have the values from t_relay() time, not t_newtran(); -- G

Re: [SR-Users] sql_xquery() and xavp checks

2014-04-08 Thread Alex Hermann
ful to extend $sqlrows() to return the number of rows in the resultset. -- Alex Hermann ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Re: [SR-Users] Transaction Matching Not Working

2013-11-21 Thread Alex Hermann
:dst_phone_num...@zzz.zzz.zzz.zzz:5060 SIP/2.0 > Record-Route: > Via: SIP/2.0/UDP yyy.yyy.yyy.yyy;branch=z9hG4bK9dcc.06fa6927.0 > ;rport=5060Max-Forwards: 14 This is a messed-up Via header. The request is also missing the Via header from the previous hop (Freeswitch).

Re: [SR-Users] Registrar, usrloc and duplicate keys

2013-07-16 Thread Alex Hermann
odules/usrloc/README:744:modparam("usrloc", "db_obs_ruid", 1) > On 7/16/13 2:47 PM, Alex Hermann wrote: > > #modparam("usrloc", "db_obs_ruid", 0) # param does not really exist -- Alex Hermann _

[SR-Users] Registrar, usrloc and duplicate keys

2013-07-16 Thread Alex Hermann
c", "timer_interval", 20) #modparam("usrloc", "db_obs_ruid", 0) # param does not really exist modparam("usrloc", "db_check_update", 1) modparam("usrloc", "timer_procs", 2) modparam("usrloc", "hash_size&q

Re: [SR-Users] question about rtpproxy "r" flag

2013-07-12 Thread Alex Hermann
ted_sdp() on the proxy itself and call msg_apply_changes() before invoking the rtpproxy. -- Alex Hermann ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Re: [SR-Users] Sending CANCEL

2013-07-04 Thread Alex Hermann
On Thursday 04 July 2013 09:55:12 Daniel-Constantin Mierla wrote: > On 7/4/13 9:52 AM, Alex Hermann wrote: > > On Thursday 04 July 2013 09:30:21 Grant Bagdasarian wrote: > >> Which module can I use to have Kamailio generate a CANCEL request when it > > receives a certa

Re: [SR-Users] Sending CANCEL

2013-07-04 Thread Alex Hermann
got lost in the merger with SER's tm module. A resurrection of this function would be very welcome. http://www.kamailio.org/docs/modules/1.5.x/tm.html#id2492468 -- Alex Hermann ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing

Re: [SR-Users] i386 vs. amd64

2013-05-11 Thread Alex Hermann
On Friday 10 May 2013, Daniel-Constantin Mierla wrote: > On 64bit, a memory pointer is 8 bytes instead of 4 as on 32bit. The same > applies to 'long' type which has the same size of the pointer on each > architecture. From here you get more memory usage on 64bit, because many > internal structures

Re: [SR-Users] [PATCH] Memory corruption using s.substr transformation

2013-05-01 Thread Alex Hermann
C25ACF: strncpy (mc_replace_strmem.c:339) strncpy() must be replaced with memmove() when src and dst (may) overlap. -- Alex Hermann ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/

Re: [SR-Users] rfc: accounting records time details

2013-04-29 Thread Alex Hermann
on resolution) split_epoch (2x INT) timestamp_resolution: seconds, miliseconds, microseconds Default would be the current situation: datetime + seconds -- Greetings, Alex Hermann ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailin

Re: [SR-Users] dns queries on ipv6 addresses

2012-10-25 Thread Alex Hermann
On Thursday 25 October 2012, Daniel-Constantin Mierla wrote: > On 10/25/12 4:33 PM, Alex Hermann wrote: > > On Thursday 25 October 2012, Juha Heinanen wrote: > >> an ipv6 address can thus never be a valid domain name. an ipv4 address, > >> on the other hand, is syntacti

Re: [SR-Users] dns queries on ipv6 addresses

2012-10-25 Thread Alex Hermann
if Kamailio refuses to lookup both IPv4 and IPv6 addresses independent of the address family of listening sockets (see my emails about dispatcher and IPv6, where DNS lookups on IPv6 addressed are only skipped if Kamailio is listening on an IPv6 address). -- Greet

Re: [SR-Users] IPv6 addresses in dispatcher on IPv4 only proxy

2012-10-16 Thread Alex Hermann
On Thursday 11 October 2012, Alex Hermann wrote: > I am using the dispatcher module with a database table shared among > multiple proxies. Some proxies do both IPv4 and IPv6, others only do IPv4. > The problem is when i use an IPv6 address in the dispatcher table. Then > the IPv4-only

Re: [SR-Users] IPv6 addresses in dispatcher on IPv4 only proxy

2012-10-16 Thread Alex Hermann
On Monday 15 October 2012, Daniel-Constantin Mierla wrote: > On 10/11/12 2:11 PM, Alex Hermann wrote: > > On Thursday 11 October 2012, Daniel-Constantin Mierla wrote: > > DEBUG: [dns_cache.c:567]: dns_hash_find([IPv6 Address](30), 1), > > h=707 DEBUG: [resolve.c:727]: get

Re: [SR-Users] IPv6 addresses in dispatcher on IPv4 only proxy

2012-10-16 Thread Alex Hermann
On Monday 15 October 2012, Daniel-Constantin Mierla wrote: > On 10/11/12 2:11 PM, Alex Hermann wrote: > > On Thursday 11 October 2012, Daniel-Constantin Mierla wrote: > > DEBUG: [dns_cache.c:567]: dns_hash_find([IPv6 Address](30), 1), > > h=707 DEBUG: [resolve.c:727]: get

Re: [SR-Users] Wrong onreply_route is called after serial forking

2012-10-11 Thread Alex Hermann
e purpose of having the possibility to set different onreply_routes (and makes for very messy onreply_routes). -- Greetings, Alex Hermann ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists

Re: [SR-Users] Wrong onreply_route is called after serial forking

2012-10-11 Thread Alex Hermann
On Thursday 11 October 2012, Juha Heinanen wrote: > Alex Hermann writes: > > 1) set onreply_route to A > > 2) relay 1st branch > > 3) 1st branch times out, internal 408 is created > > 4) tm send CANCEL to 1st branch > > > > 5) in failure route, onreply_ro

[SR-Users] Wrong onreply_route is called after serial forking

2012-10-11 Thread Alex Hermann
relayed and not pick up later changes meant for other branches. How would i fix this? -- Greetings, Alex Hermann ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin

Re: [SR-Users] IPv6 addresses in dispatcher on IPv4 only proxy

2012-10-11 Thread Alex Hermann
On Thursday 11 October 2012, Daniel-Constantin Mierla wrote: > On 10/11/12 12:00 PM, Alex Hermann wrote: > > On Thursday 11 October 2012, Daniel-Constantin Mierla wrote: > >> Do you get any other error/debug > >> message before that can give an hint why is failing?

Re: [SR-Users] IPv6 addresses in dispatcher on IPv4 only proxy

2012-10-11 Thread Alex Hermann
why is failing? Unfortunately not. > On 10/11/12 10:53 AM, Alex Hermann wrote: > > Is there any setting i can use on the IPv4-only proxies to make it skip > > the IPv6 records? (apart from listening on an IPv6 address) > > don't they have access to a dns server that could

[SR-Users] IPv6 addresses in dispatcher on IPv4 only proxy

2012-10-11 Thread Alex Hermann
/modules_k/dispatcher.so) Is there any setting i can use on the IPv4-only proxies to make it skip the IPv6 records? (apart from listening on an IPv6 address) -- Greetings, Alex Hermann ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing

[SR-Users] Catch error "status rewrite by UAS" in on_reply

2012-09-03 Thread Alex Hermann
, but i would like to catch this error in the script's on_reply route because I need to prevent some actions on the reply if it will not be forwarded to the UAC. Is there a way to do this? -- Greetings, Alex Hermann ___ SIP Express Router (SER

Re: [SR-Users] rtimer execution period - round two

2012-07-24 Thread Alex Hermann
ement, which seems quite unlikely. Any way to fix that? Just to be sure, you do have set max_while_loops high enough to handle your message rate? -- Alex Hermann ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-use

[SR-Users] Failed shared memory allocation even though there's enough free memory

2012-04-16 Thread Alex Hermann
m:max_used_size = 268048584 shmem:free_size = 263613168 shmem:fragments = 62156 This is on 1.5.x, any suggestion on why it keeps failing and how to prevent this error? -- Greetings, Alex Hermann ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-use

Re: [SR-Users] 503 on DB Error

2011-12-12 Thread Alex Hermann
an error_route block when a DB error occurs. Maybe with the proper return stack setup so the admin is able to return to the statement following the failed db query if he doesn't want to end the processing with some failure reply. -- Greetings, Alex Hermann

Re: [SR-Users] db_mysql "Commands out of sync; you can't run this command now "

2011-08-29 Thread Alex Hermann
high chance of allocating the same address (in their own address space) for the connection struct. Attached patch should give a thread_id truly unique per connection. If you're able to find multiple processes using the same thread_id, you've found the cause. -- Greetings, Alex

Re: [SR-Users] db_mysql "Commands out of sync; you can't run this command now "

2011-08-29 Thread Alex Hermann
l connection: That is weird. AFAIK, connections can't be shared between processes, there seems to be no locking/semaphores/whatever to protect against simultaneous access. Maybe you got lucky in your tests and just didn't have enough traffic to hit the simultaneous access

Re: [SR-Users] db_mysql "Commands out of sync; you can't run this command now "

2011-08-28 Thread Alex Hermann
On Sunday 28 August 2011, MÉSZÁROS Mihály wrote: > I attached the log file. > If you need detailed log/higher log level, then please let me know. usrloc seems to be using the same connection from multiple processes: pid: 18389 and 18391, connection: 0xb7387d5c Aug 28 12:40:10 hal /usr/sbin/kama

Re: [SR-Users] db_mysql "Commands out of sync; you can't run this command now "

2011-08-28 Thread Alex Hermann
e PV $sqlrows. But please do above test without reverting this. -- Alex Hermann diff --git a/modules/db_mysql/km_dbase.c b/modules/db_mysql/km_dbase.c index d85fe5f..c192a0e 100644 --- a/modules/db_mysql/km_dbase.c +++ b/modules/db_mysql/km_dbase.c @@ -78,6 +78,13 @@ static int db_mysql_submit_que

Re: [SR-Users] Float Comparison

2011-08-25 Thread Alex Hermann
orks. Maybe even direct string comparison can be used on two fixed point values (as string) with equal precision. -- Greetings, Alex Hermann ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http

Re: [SR-Users] Float Comparison

2011-08-25 Thread Alex Hermann
On Thursday 25 August 2011, Daniel-Constantin Mierla wrote: > On 8/25/11 12:54 PM, Alex Hermann wrote: > > If you just use fixed-point for fractional values, you can remove the dot > > and convert to int. > > > > $(var(float){s.replace,.}{s.int}) > > By

Re: [SR-Users] [sr-dev] [regression] Message flags set in branch_route not saved into transaction

2011-08-25 Thread Alex Hermann
On Thursday 25 August 2011, Daniel-Constantin Mierla wrote: > Hello, > > On 8/22/11 6:35 PM, Alex Hermann wrote: > > On Monday 22 August 2011 16:43:43 Alex Hermann wrote: > >> On Monday 22 August 2011, Alex Hermann wrote: > >>> It seems kamailio 3 does not sa

Re: [SR-Users] Float Comparison

2011-08-25 Thread Alex Hermann
n the format integer.decimals) and split the value using transformation > in the part before the dot and the part after dot. Then you can do > operations with them. If you just use fixed-point for fractional values, you can remove the dot and convert to int. $(var(float){s.replace,.}{s.int}) --

Re: [SR-Users] WARNING: timer: add_timeout: 0 expire timer added

2011-08-23 Thread Alex Hermann
of the bug still to be fixed. Indeed, I missed that commit in the stream of commits and was still on an ancient version of saterday evening... Current master is ok. Thanks, -- Alex Hermann ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-user

Re: [SR-Users] WARNING: timer: add_timeout: 0 expire timer added

2011-08-23 Thread Alex Hermann
On Tuesday 23 August 2011 14:57:51 Juha Heinanen wrote: > Alex Hermann writes: > > I get this warning message when a request is relayed over tcp: > > > > WARNING: [timer_funcs.h:119]: WARNING: timer: add_timeout: 0 > > expire timer added > > which version of

[SR-Users] WARNING: timer: add_timeout: 0 expire timer added

2011-08-23 Thread Alex Hermann
udp does not show the warning. Where does this warning come from and how do i suppress it? -- Greetings, Alex Hermann ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Re: [SR-Users] uac_req: pseudovariables, avps

2011-08-23 Thread Alex Hermann
> $avp(s:first_caller_cli)\r\nX-PUSH-DST: $rU\r\n"; Strings aren't evaluated for PV's. Use pv_printf or concatenate the different components with '+'. -- Greetings, Alex Hermann ___ SIP Express Router (SER) and Kamailio

Re: [SR-Users] [sr-dev] [regression] Message flags set in branch_route not saved into transaction

2011-08-22 Thread Alex Hermann
On Monday 22 August 2011 16:43:43 Alex Hermann wrote: > On Monday 22 August 2011, Alex Hermann wrote: > > It seems kamailio 3 does not save message flags set in branch route into > > the transaction. In reply_route and failure_route the flag set in > > branch_route is unset

Re: [SR-Users] [regression] Message flags set in branch_route not saved into transaction

2011-08-22 Thread Alex Hermann
On Monday 22 August 2011, Alex Hermann wrote: > It seems kamailio 3 does not save message flags set in branch route into > the transaction. In reply_route and failure_route the flag set in > branch_route is unset. In 1.4 this used to work. I would like to get that > behaviour b

[SR-Users] [regression] Message flags set in branch_route not saved into transaction

2011-08-22 Thread Alex Hermann
ITE] Reply end: 0011 [INVITE] Failure (408): 0011 Log output on 1.4: [INVITE] Request begin: [INVITE] Request before relay: 0001 [INVITE] Branch begin: 0001 [INVITE] Branch end: 0101 [INVITE] Reply (100) begin: 0101 [INVITE] Reply end: 0111 [INVITE] Failure (408) begi

Re: [SR-Users] time for acc records

2011-08-11 Thread Alex Hermann
On Thursday 11 August 2011, Henning Westerholt wrote: > On Thursday 11 August 2011, Alex Hermann wrote: > > On Wednesday 10 August 2011 14:21:10 Daniel-Constantin Mierla wrote: > > > - a new column to store the seconds.milliseconds as double > > > > Please don&#

Re: [SR-Users] time for acc records

2011-08-11 Thread Alex Hermann
could use the DECIMAL type. -- Alex Hermann ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Re: [SR-Users] Modifying $rU after lookup()

2011-08-09 Thread Alex Hermann
for all branches in a transaction. -- Greetings, Alex Hermann ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Re: [SR-Users] $du gets set automatically before branch_route

2011-08-05 Thread Alex Hermann
h=fb4ecbf > 986f4af366e5be9cbad26ceba924c77fd > > It would be great if you can give it a try and let me know if all is ok. > Then it will be safe to backport to 3.1. I tested an empty $du and a filled in $du and both arrive as expected in branch_route. I did not test any further. -- Gre

Re: [SR-Users] $du gets set automatically before branch_route

2011-08-01 Thread Alex Hermann
t does it? It should not happen like that, > I see no reason for it, but it would be good to review it. Pointing in > the sources will save some time of blind search here. I think it is in t_fwd.c : prepare_new_uac() around line 294 -- Alex Hermann __

Re: [SR-Users] $du gets set automatically before branch_route

2011-08-01 Thread Alex Hermann
On Monday 01 August 2011 17:58:17 Alex Balashov wrote: > On 08/01/2011 11:57 AM, Alex Hermann wrote: > > Is it even guaranteed that $du gets set to $ru in every possible > > scenario? > > No, it is set only in a few cases. > > Good way to check: > > if(

[SR-Users] $du gets set automatically before branch_route

2011-08-01 Thread Alex Hermann
purpose of this change and if there is a way to determine if $du is (was) unset other than comparing $ru to $du, wich seems a bit inefficient? Is it even guaranteed that $du gets set to $ru in every possible scenario? -- Alex Hermann ___ SIP Express

Re: [SR-Users] "select count(*)" with avp_db_query always returns null

2011-07-05 Thread Alex Hermann
On Wednesday 29 June 2011, Andrade Ricardo (CI/AFU1) wrote: > Perhaps this fits better into a bug report, but I'd like to know if > somebody out there experienced a similar issue. I am executing a "select > count" query using the avp_db_query function, but it is not storing the > results in any avp

Re: [SR-Users] t_relay_to("0x02") alternative with kamailio 3.1

2011-06-16 Thread Alex Hermann
mailio 3.1. If i read the docs correctly, in 3.1 t_relay() never sends an automatic reply, so you can just omit the flags. -- Alex Hermann ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Re: [SR-Users] NAPTR priorities doesn't seem to work properly

2011-06-15 Thread Alex Hermann
On Wednesday 15 June 2011, Iñaki Baz Castillo wrote: > 2011/6/9 Iñaki Baz Castillo : > > 2011/6/9 Alex Hermann : > > 2) About your quoted text, indeed RFC 2915 says that. But that just > > means that, an application (in this case a SIP client) must take > > *first*

Re: [SR-Users] NAPTR priorities doesn't seem to work properly

2011-06-09 Thread Alex Hermann
atch is completed. All other records are discarded. From section 2: Order A 16-bit unsigned integer specifying the order in which the NAPTR records MUST be processed to ensure the correct ordering of rules. Low numbers are processed before high numbers, and once a NAPTR

Re: [SR-Users] kamailio debian package bug report : 3.1.3+lenny2

2011-05-31 Thread Alex Hermann
tionally, IMHO, for Debian, LIBDIR=/usr/lib should be exported so the packages have the modules in /usr/lib as does the rest of Debian. -- Alex Hermann SpeakUp BV t: 088-7732587 f: 088-7732588 ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-u

Re: [SR-Users] kamailio debian package bug report : 3.1.3+lenny2

2011-05-31 Thread Alex Hermann
On Tuesday 31 May 2011, Daniel-Constantin Mierla wrote: > On 5/31/11 9:55 AM, Alex Hermann wrote: > > I still had the issue that the install process was installing the libs to > > /usr/lib64 instead of /usr/lib. The rules file was only removing dups > > from /usr/lib. The fix

Re: [SR-Users] kamailio debian package bug report : 3.1.3+lenny2

2011-05-31 Thread Alex Hermann
sterday available) 3.1.4? I still had the issue that the install process was installing the libs to /usr/lib64 instead of /usr/lib. The rules file was only removing dups from /usr/lib. The fix for me was to export the LIBDIR variable in the rules file to have the libs installed in the correct dir

Re: [SR-Users] [PATCH] modules_k/db_sqlite: new sql backend

2011-04-04 Thread Alex Hermann
>len = len; > + memcpy(s->s, _s, len); > + s->s[len] = 0; > +} You should really check the return value of all pkg_*alloc() function calls. -- Alex Hermann ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Re: [SR-Users] How to access additional xavp's

2011-03-07 Thread Alex Hermann
On Sunday 06 March 2011, Daniel-Constantin Mierla wrote: > it took me quite a while due to traveling, but now the issue should be > fixed on git. Indeed there was an issue with the indexes when accessing > the xavp as PV. Thanks for the fix, they work fine now. -- Met vriendelijke gro

Re: [SR-Users] Redundancy between 2 Kamailio servers

2011-02-02 Thread Alex Hermann
On Wednesday 02 February 2011, Klaus Darilion wrote: > Am 02.02.2011 15:24, schrieb Alex Hermann: > > On Wednesday 02 February 2011, you wrote: > >> Alex, what happens if one server is down. There will be lots of > >> "replication transactions" which will time

Re: [SR-Users] Redundancy between 2 Kamailio servers

2011-02-02 Thread Alex Hermann
On Wednesday 02 February 2011, you wrote: > Am 27.01.2011 13:05, schrieb Alex Hermann: > > On Thursday 27 January 2011, Klaus Darilion wrote: > >> Am 27.01.2011 11:21, schrieb Danny Dias: > >>> I've read some difficulty in the synchronisation of registrations >

Re: [SR-Users] kamailio and sip-router at FOSDEM 2011 - social event

2011-01-31 Thread Alex Hermann
on Saturday evening, 6th February. According to my calendar, saturday is the 5th of February. I'm going to assume you meant saturday the 5th and not sunday the 6th. Please correct me if i'm wrong. -- Greetings, Alex Hermann ___ SIP Ex

Re: [SR-Users] Redundancy between 2 Kamailio servers

2011-01-27 Thread Alex Hermann
he HA ip so they follow the NAT binding of the client. -- Alex Hermann ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Re: [SR-Users] Redundancy between 2 Kamailio servers

2011-01-27 Thread Alex Hermann
rectly accessible by clients, they go via load-balancers. Clients keep the NAT binding with the balancer, not the registrar. -- Greetings, Alex Hermann ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-rout

Re: [SR-Users] Redundancy between 2 Kamailio servers

2011-01-27 Thread Alex Hermann
e i tried, they are not, at least not in writeback mode. One proxy is expiring records from the DB which the other proxy is trying to update. Maybe DB-only mode will work, but that has some practical (performcance) problems. -- Greetings, Alex Hermann

Re: [SR-Users] How to access additional xavp's

2010-12-24 Thread Alex Hermann
On Friday 24 December 2010, Daniel-Constantin Mierla wrote: > On 12/21/10 2:44 PM, Alex Hermann wrote: > > I'm currently toying with xavp's and have some trouble accessing the > > values. I want to have access to the xavp that isn't the last added > > o

[SR-Users] How to access additional xavp's

2010-12-21 Thread Alex Hermann
Hello, I'm currently toying with xavp's and have some trouble accessing the values. I want to have access to the xavp that isn't the last added one. From the wiki page on http://sip-router.org/wiki/devel/xavp I got the impression that indices are supported, but that doesn't seem to work. In the f

Re: [SR-Users] Wrong handling CANCEL message

2010-05-04 Thread Alex Hermann
is received by the UAC, it should handle it just like the well known INVITE + 200 OK / CANCEL race for which it should send a BYE if the dialog is to be ended. -- Alex Hermann ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing l