After a second thought:
This shouldn't be a problem since the cleanup_uac_timers( t ); function call
should clear the timer on all branches and the local 408 shouldn't be generated
at all.
So the problem now is why the local 408 were generated.
Allen
From: Allen Zhang
Sent: Thursda
est a solution, please?
In the meantime, I'll try to patch it myself.
Cheers,
Allen
From: Allen Zhang
Sent: Thursday, 24 July 2014 9:23 a.m.
To: 'mico...@gmail.com'; Kamailio (SER) - Users Mailing List
Subject: RE: [SR-Users] MESSAGE forking bug(?)
Hi,
I have a tcpdump captur
Constantin
Mierla
Sent: Wednesday, 23 July 2014 10:41 p.m.
To: Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] MESSAGE forking bug(?)
Hello,
can you get the sip traffic with ngrep on kamailio server? It can be taken with:
ngrep -d any -qt -W byline port 5060
Cheers,
Daniel
On 23/07/14 03
Hi,
I believe there is a bug on MESSAGE forking.
Test scenario:
User A has two records in the location table, with different instance ids: 111
and 222.
One of user A's instance is killed, hence 222 is not reachable.
User B send a MESSAGE to user A.
Kamailio forked the MESSAGE.
Kamailio got a
Hi,
We cloned the kamailio 4.0.0 repository and the spec file was in the source
directory: ~/kamailio-4.0.0/pkg/kamailio/centos/6/kamailio.spec
Cheers,
Allen
From: Daniel-Constantin Mierla [mailto:mico...@gmail.com]
Sent: Thursday, 17 July 2014 7:57 a.m.
To: Allen Zhang; Kamailio (SER
-agent-libs
%else
Requires: net-snmp-libs
The spec file from the build service is correct. So I guess it doesn’t matter
to most people.
Cheers,
Allen
From: sr-users-boun...@lists.sip-router.org
[mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Allen Zhang
Sent: Friday, 11 July 2014
p.m.
To: Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] Really need help on kamailio-snmpstats module
Hello,
which kamailio.spec are you using? Try to edit it to have the dependency named
as the package available on your system.
Cheers,
Daniel
On 09/07/14 07:21, Allen Zhang wrote:
Hi
... ignore and discard
exit;
}
}
sl_send_reply("404","Not here");
}
exit;
}
}
On Tue, Jul 8, 2014 at 10:18 PM, Allen Zhang
ma
Hi
This is a re-post. I'm desperate.
What I'm trying to do:
Use rpmbuild to build kamailio rpms from source code. We made a lot of changes
in the kamailio code. I can't use the rpms from the build service. The plan is
to push these changes to kamailio but that's not done, yet.
The problem is w
od("INVITE|SUBSCRIBE"))
record_route();
also while processing subscribe
if(is_method("SUBSCRIBE")) {
record_route();
handle_subscribe();
t_release();
On Tue, Jul 8, 2014 at 9:18 PM
Hi,
Other please correct me if I’m wrong.
NOTIFY should use record-route header. Make sure your kamailio servers set the
record-route header for SUBSCRIBE requests.
Regards,
Allen
From: sr-users-boun...@lists.sip-router.org
[mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Veerabhara
creation would have failed.
Are you using the rpms from opensuse build service?
Cheers,
Daniel
On 03/07/14 01:56, Allen Zhang wrote:
Hi,
I’m having trouble on installing kamailio-snmpstats module.
I’m using kamailio 4.0. I want to install kamailio’s snmpstats module from RPM.
I compiled net-snmp
Hi,
I'm having trouble on installing kamailio-snmpstats module.
I'm using kamailio 4.0. I want to install kamailio's snmpstats module from RPM.
I compiled net-snmp 5.4 from source and built some RPMS from it.
I've installed net-snmp 5.4 from RPM on the target machine. And when I run 'yum
install
Hi,
Does local server generated 408 time out reply go to onreply_route?
If so, can I change the status code to a 200 class code by doing: $rs = "202"?
If I can change it, does it still go to failure_route? (It's not a 400 class
response anymore.)
The scenario I want to test it's easy to produce
-- in that way you are sure it doesn't get overwritten in case you
execute other functions before you interpret it.
Cheers,
Daniel
On 26/06/14 06:31, Allen Zhang wrote:
Hi,
when t_relay() times out, calling sl_reply_error() will send 408 to the client.
But if I don’t want to send 408, ho
t just walks through the list
of headers, not parsing the header body and not returning its value.
Cheers,
Daniel
On 26/06/14 06:35, Allen Zhang wrote:
Hi,
If I normally receive a INVITE that has a header ‘aaa’ with value ‘bbb’, but
it’s possible that some INVITEs don’t have this header.
How d
Hi,
If I normally receive a INVITE that has a header 'aaa' with value 'bbb', but
it's possible that some INVITEs don't have this header.
How do I determine in the config file if the header exists?
To check the value of the header I do if($hdr(aaa) == "bbb"). But what if the
header doesn't exist?
Hi,
when t_relay() times out, calling sl_reply_error() will send 408 to the client.
But if I don't want to send 408, how do I interpret the error code t_relay()
set?
Regards,
Allen
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailin
Hi Daniel,
In failure route, I used t_reply(). Shall I try send_reply()? What’s the
difference?
Cheers,
Allen
From: Daniel-Constantin Mierla [mailto:mico...@gmail.com]
Sent: Monday, 23 June 2014 8:31 p.m.
To: Allen Zhang; Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] kamailio
37 p.m.
To: Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] kamailio not sending 202 after 408 is sent
Hello,
why is R sending the 408? You should catch it there in a failure route, or
where do you execute m_store() inside R config?
Cheers,
Daniel
On 20/06/14 07:20, Allen Zhang wrote:
Hi all,
I have an edge proxy (E) and a registrar (R) behind it.
In R, if a MESSAGE failed to deliver for any reason, R stores the MESSAGE in
msilo.
If the MESSAGE timed out, R sends a 408 time out first and then send a 202
Accepted after the MESSAGE is stored.
The problem is, E happily forwards
June 2014 3:58 p.m.
To: sr-users@lists.sip-router.org
Subject: Re: [SR-Users] MySQL query result pagination
On 06/04/2014 11:56 PM, Allen Zhang wrote:
> Not ideal because I have many TCP children. And each of them consumes
> private memory.
Yes, but I would think it the superior method to try
-router.org
Subject: Re: [SR-Users] MySQL query result pagination
Allen,
Perhaps your best bet is simply to increase the amount of allocated private
memory?
-- Alex
On 06/04/2014 08:18 PM, Allen Zhang wrote:
> Hi,
>
> When an user does a REGISTER and has a large number of msilo messages
I found this:
SELECT column FROM table
LIMIT N OFFSET offset
Increment offset by index*N in the loop to fetch N records at a time.
But the remaining question is how do I do this using kamailio's MySQL driver?
Raw query?
Allen
From: Allen Zhang
Sent: Thursday, 5 June 2014 12:19 p.m.
To
t easy to build a complex query like this:
Select * from silo where ...(the matching algorithm) AND id > lower_limit AND
id < higher_limit, ordered by id.
Is there a way to do this? Or maybe I'm on the wrong track and there is already
a solution to
-users@lists.sip-router.org
Subject: Re: [SR-Users] Child process exited by a signal 11
On 03/19/2014 07:10 PM, Allen Zhang wrote:
> Yes this makes sense. But higher debug level = more writing. Then
> increasing the debug level should causes more problem - because more
> buffering an
PM, Allen Zhang wrote:
> Shouldn't the debug level only have an impact on the amount of
> information written to the log? And that should only changes the delay
> between operations?
Well, from a programmatic point of view, not necessarily. Writing debug logs is
an operation
g] On Behalf Of Alex Balashov
Sent: Thursday, 20 March 2014 11:58 a.m.
To: sr-users@lists.sip-router.org
Subject: Re: [SR-Users] Child process exited by a signal 11
On 03/19/2014 06:50 PM, Allen Zhang wrote:
> 1, I noticed that the main thread was 4097 and 4098 died. what is the
> child proc
Hi,
Scenario:
Our kamailio server normally has a debug level of 2.
The server gets a segmentation fault and dies when we run a certain demo. The
error message is:
"[4097]: ALERT: [main.c:789]: child process 4098 exited by a signal 11"
And we got a lot of these before it dies:
"error reading: Con
ailio (SER) - Users Mailing List
Subject: Re: [SR-Users] Function to test DB connection in the cfg file?
10 nov 2013 kl. 21:33 skrev Allen Zhang
mailto:allen.zh...@imgtec.com>>:
Hi all,
This is a re-post. My email didn't seem to get on the list last time.
Is there a function I can
the health status of the database connection before
sending a reply back.
Note the OPTIONS request doesn't have a user part in the RURI. Hence,
is_subscriber() and alias_db_lookup() don't work.
Any suggestion?
Regards,
Allen Zhang
___
SIP
e the OPTIONS request doesn't have a user part in the RURI. Hence,
is_subscriber() and alias_db_lookup() don't work.
Any suggestion?
Regards,
Allen Zhang
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-
Allen
From: Daniel-Constantin Mierla [mailto:mico...@gmail.com]
Sent: Thursday, 11 July 2013 9:58 p.m.
To: Kamailio (SER) - Users Mailing List; Allen Zhang
Subject: Re: [SR-Users] how to make dispatcher module use more than one tcp
connections to the destinations?
Hello,
have you seen the
Hi list,
I have a loadbalancer before sipproxies. I call t_reley() on the dispatcher to
forward requests to destinations.
All goes well under low load.
But when load goes up to 500 requests/s, the loadbalancer still sends requests
via only one tcp connection. This maxes out the tcp write queue.
Hi list,
I have a loadbalancer before sipproxies. I call t_reley() on the dispatcher to
forward requests to destinations.
All goes well under low load.
But when load goes up to 500 requests/s, the loadbalancer still sends requests
via only one tcp connection. This maxes out the tcp write queue.
Hi,
Our set up:
UA1 -
-- Proxy1
\
/
Loadbalancer (dispatcher module)
/
36 matches
Mail list logo