Re: [Kamailio-Users] Profile takes some time to be cleared

2009-04-16 Thread mayamatakeshi
On Wed, Apr 15, 2009 at 5:28 PM, Daniel-Constantin Mierla > > I did a patch some days ago. Can you test it with 1.5 or trunk? > http://lists.kamailio.org/pipermail/users/2009-April/022811.html I modified my cfg to run with trunk (rev. 5795) and verified presence of the problem reported by Alex (no

Re: [Kamailio-Users] prefix() cannot take pseudovariable argument?

2009-04-16 Thread Daniel-Constantin Mierla
On 04/16/2009 10:42 PM, Alex Balashov wrote: > Daniel-Constantin Mierla wrote: > > >> Hello, >> >> On 04/16/2009 10:14 PM, Alex Balashov wrote: >> >>> Why can't prefix() accept a pseudovariable argument, e.g. >>> >>> prefix("$avp(S:the_prefix)"); >>> >>> ? >>> >>> It is interpreted li

Re: [Kamailio-Users] prefix() cannot take pseudovariable argument?

2009-04-16 Thread Alex Balashov
Daniel-Constantin Mierla wrote: > Hello, > > On 04/16/2009 10:14 PM, Alex Balashov wrote: >> Why can't prefix() accept a pseudovariable argument, e.g. >> >> prefix("$avp(S:the_prefix)"); >> >> ? >> >> It is interpreted literally. >> > this is old function from core -- most of them do not

Re: [Kamailio-Users] prefix() cannot take pseudovariable argument?

2009-04-16 Thread Daniel-Constantin Mierla
Hello, On 04/16/2009 10:14 PM, Alex Balashov wrote: > Why can't prefix() accept a pseudovariable argument, e.g. > > prefix("$avp(S:the_prefix)"); > > ? > > It is interpreted literally. > this is old function from core -- most of them do not take pseudo-variables as argument. You can use in

[Kamailio-Users] prefix() cannot take pseudovariable argument?

2009-04-16 Thread Alex Balashov
Why can't prefix() accept a pseudovariable argument, e.g. prefix("$avp(S:the_prefix)"); ? It is interpreted literally. -- Alex Balashov Evariste Systems Web: http://www.evaristesys.com/ Tel: (+1) (678) 954-0670 Direct : (+1) (678) 954-0671 Mobile : (+1) (678) 237-1775

Re: [Kamailio-Users] get sdp audio port in a script variable

2009-04-16 Thread Daniel-Constantin Mierla
Hello, On 04/15/2009 06:01 PM, antonroman wrote: > Hi all, > > I need to get the INVITE sdp audio port in a script variable to be used in > an external command. > Is this possible without modifying the source code? I think it can't be done > with the TEXTOP module, can be? > yes, you can use re

Re: [Kamailio-Users] help using rewrite prefix

2009-04-16 Thread Carlos A. Alvarez
Thanks for your reply!!! -Original Message- From: Henning Westerholt [mailto:henning.westerh...@1und1.de] Sent: Thursday, April 16, 2009 5:21 AM To: users@lists.kamailio.org Cc: Carlos A. Alvarez Subject: Re: [Kamailio-Users] help using rewrite prefix On Monday 13 April 2009, Carlos A. A

Re: [Kamailio-Users] help using rewrite prefix

2009-04-16 Thread Carlos A. Alvarez
Yes sir that is correct. I have a b2bua and the requests are forwarded to it, this causes kamailio to loose track of the state of the call. Invite! >>--->>->> Replies messages are sent like this --->>->> Only happens when I strip a number or rewrite the prefix. All other

Re: [Kamailio-Users] reducing T1 timer per route

2009-04-16 Thread Juan Perez
thank you a lot guys. cheers jp - Original Message From: Ovidiu Sas To: Juan Perez Cc: Klaus Darilion ; kamailio Sent: Wednesday, April 15, 2009 6:14:39 PM Subject: Re: [Kamailio-Users] reducing T1 timer per route Before relaying the call, set the fr_timer_avp to the desired va

Re: [Kamailio-Users] starting kamailio using kamailio binary

2009-04-16 Thread Juan Perez
ok, thanks guys, I think I get it now. I will try using Henning's approach. I thought that the "kamctl lcr show" calls "kamailio" with fifo related parameters to load the values into memory. Some sort of "kamailio fifo lcr reload" for example. And I was looking to use that if possible instead o

Re: [Kamailio-Users] starting kamailio using kamailio binary

2009-04-16 Thread Henning Westerholt
On Wednesday 15 April 2009, Klaus Darilion wrote: > > I found a prob, when using ODBC to access a MSSQL db the kamctl script > > does not "reads" the content of that DB but the local mysql db. I would > > like to know how I can use the command "kamctl lcr show" or "kamctl lcr > > reload" now. Can I

Re: [Kamailio-Users] help using rewrite prefix

2009-04-16 Thread Henning Westerholt
On Monday 13 April 2009, Carlos A. Alvarez wrote: > I need help setting up carrierroute using the rewrite prefix and the strip > function. It seem like every time I use the Rewrite Prfix function the > carrierroute module will rewrite the prefix, but then I don't get certain > reply messages on ka