[SR-Users] "kamctl fifo debug" does not work

2011-03-09 Thread Klaus Darilion
root@pbx-kam-1:/home/klaus3000# kamctl fifo debug
DEBUG:: 2

root@pbx-kam-1:/home/klaus3000# kamctl fifo debug 0
DEBUG:: 0

Mar  9 11:04:23 pbx-kam-1 /usr/sbin/kamailio[4548]: INFO: 
[cfg/cfg_ctx.c:411]: INFO: cfg_set_now(): core.debug has been changed to 0

but:

root@pbx-kam-1:/home/klaus3000# kamctl fifo debug
DEBUG:: 2


Is this a bug?

regards
Klaus

___
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] "kamctl fifo debug" does not work

2011-03-09 Thread Klaus Darilion


Am 09.03.2011 12:18, schrieb Klaus Darilion:
> root@pbx-kam-1:/home/klaus3000# kamctl fifo debug
> DEBUG:: 2
> 
> root@pbx-kam-1:/home/klaus3000# kamctl fifo debug 0
> DEBUG:: 0
> 
> Mar  9 11:04:23 pbx-kam-1 /usr/sbin/kamailio[4548]: INFO: 
> [cfg/cfg_ctx.c:411]: INFO: cfg_set_now(): core.debug has been changed to 0
> 
> but:
> 
> root@pbx-kam-1:/home/klaus3000# kamctl fifo debug
> DEBUG:: 2
> 
> 
> Is this a bug?

Seems like, although the start-up value is reported, the debug value is
changed for worker childs, but not for dedicated timer processes.

regards
klaus

___
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] Question about LCR

2011-03-09 Thread Geoffrey Mina
There is nothing wrong with the carriers, so I wouldn't want to mark them.
Just no route to destination type scenario.

I like daniels option with the drop on_branch.  Only challenge I have is
keeping a list of all the flags I have already tried.  Say I have five
carrier groups and I set the flags in gw to 1 2 3 4 or 5 respectivley.  How
could I use an AVP to efficiently keep a running list and then check against
that list?

Thanks!
On Mar 8, 2011 9:02 PM, "Juha Heinanen"  wrote:
> Daniel-Constantin Mierla writes:
>
>> > The issue I am running into is that in a scenario where
>> > both my carriers respond with a 5XX, I end up presenting the same call
to
>> > all 4 gateways. I would like to present the call to one gateway on each
>> > carrier and not try the same carriers second gateway for the same
>> > call.
>
> currently only lcr rule can be a stopper rule, i.e., if it matches,
> other matching rules are not tried.
>
> you can disable a failing gateway for some number of seconds, which
> should reduce unsuccessful attempts.
>
> -- juha
___
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


[SR-Users] Does Kamailio support RFC5626 as Edge Proxy(or outbound proxy)

2011-03-09 Thread Derrick Ding
Dear All,

 

I wonder if Kamailio supports RFC5626 as edge proxy or outbound proxy.

That is, 

 

Edge Proxy adds a Path header with a flow token
   and includes the "ob" parameter when Processing Register Requests.
 
Eg:
   Path: 
 

If does, how can I config it in kamailio.cfg. At present, Kamailio can
only forward register msg to sip server and reply 200 OK to SIP UA with
"require: outbound" when register accepted. No "Path" and "ob" added in
the msg forwarded to SIP server.

 

You answer is appreciated!!

 

Sincerely,

Derrick

___
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] Does Kamailio support RFC5626 as Edge Proxy(or outbound proxy)

2011-03-09 Thread Ovidiu Sas
The nat_traversal module has a keep-alive mechanism that can be used
to keep connections active on proxy servers.
Also, using the textops module, new headers can be added an existing
headers can be modified.

I haven't read the whole rfc to give you definite answer, but it may
be possible to emulate an edge server with a well crafted config.


Regards,
Ovidiu Sas

On Wed, Mar 9, 2011 at 11:38 AM, Derrick Ding  wrote:
> Dear All,
>
>
>
> I wonder if Kamailio supports RFC5626 as edge proxy or outbound proxy.
>
> That is,
>
>
>
> Edge Proxy adds a Path header with a flow token
>
>    and includes the "ob" parameter when Processing Register Requests.
>
>
>
> Eg:
>
>    Path: 
>
>
>
> If does, how can I config it in kamailio.cfg. At present, Kamailio can only
> forward register msg to sip server and reply 200 OK to SIP UA with “require:
> outbound” when register accepted. No “Path” and “ob” added in the msg
> forwarded to SIP server.
>
>
>
> You answer is appreciated!!
>
>
>
> Sincerely,
>
> Derrick
>
> ___
> 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
>
>

___
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] Does Kamailio support RFC5626 as Edge Proxy(or outbound proxy)

2011-03-09 Thread Andreas Granig
Hi Derrick,

> Edge Proxy adds a Path header with a flow token
>and includes the "ob" parameter when Processing Register Requests.
>  
> Eg:
>Path: 

http://kamailio.org/docs/modules/stable/modules_k/path.html and
http://kamailio.org/docs/modules/stable/modules_k/registrar.html#id2954403
(and the two following params) might be sufficient if you're just
interested in traversing NAT via kamailio acting as a load-balancer.
It's an implementation of RFC3327, see
http://openser.org/pipermail/devel/2006-March/002142.html for a
real-world example.

It won't handle the "ob" header and various keep-alive mechanisms
proposed in RFC5626 though, but probably you can solve this with the
nat-ping features of nathelper or nat_traversal modules anyways?

Andreas



signature.asc
Description: OpenPGP digital signature
___
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] Does Kamailio support RFC5626 as Edge Proxy(or outbound proxy)

2011-03-09 Thread Derrick Ding
Hi Andreas and Ovidiu

Thanks for your reply, I will learn it.
I am the beginner of Kamalio from this week. Now I can make kamalio work
as  an proxy between UA and Asterisk Sip server. I have some basic
problem for outgoing call. I will create another topic for that. And
hope you will help. :-)

Thanks a again

Derrick

-Original Message-
From: sr-users-boun...@lists.sip-router.org
[mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Andreas
Granig
Sent: Wednesday, March 09, 2011 2:00 PM
To: sr-users@lists.sip-router.org
Subject: Re: [SR-Users] Does Kamailio support RFC5626 as Edge Proxy(or
outbound proxy)

Hi Derrick,

> Edge Proxy adds a Path header with a flow token
>and includes the "ob" parameter when Processing Register Requests.
>  
> Eg:
>Path: 

http://kamailio.org/docs/modules/stable/modules_k/path.html and
http://kamailio.org/docs/modules/stable/modules_k/registrar.html#id29544
03
(and the two following params) might be sufficient if you're just
interested in traversing NAT via kamailio acting as a load-balancer.
It's an implementation of RFC3327, see
http://openser.org/pipermail/devel/2006-March/002142.html for a
real-world example.

It won't handle the "ob" header and various keep-alive mechanisms
proposed in RFC5626 though, but probably you can solve this with the
nat-ping features of nathelper or nat_traversal modules anyways?

Andreas


___
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