[SR-Users] Use of mtree module having multiple trees in the same table

2011-06-13 Thread jose luis millan
hello, I wonder if anyone could help me understanding how can I use this module in a scenario where multiple mtrees are defined behind the same database table. I can't guess how to speficy to 'mt_match' the mtree I want to match against, since the 'mtree' module parameter defines a specific memor

Re: [SR-Users] Multiple INVITEs and discarded call_control

2011-06-13 Thread Mino Haluz
It does not work, t_newtran always returns success, so it will never absorb the retransmission. So what I did was: if ($sht(a=>$ci::retrans) == 0) { $sht(a=>$ci::retrans) = 1; } else { exit(); } xlog("L_INFO","XLOG: xxx");

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

2011-06-13 Thread Daniel-Constantine Mierla
On Jun 13, 2011, at 2:48 PM, Iñaki Baz Castillo wrote: > 2011/6/13 Daniel-Constantin Mierla : >> I saw Andrei jumped in and added case insensitive comparison of naptr flags >> -- just to conclude this discussion, is it working on now? > > Hi Daniel, I've tested it right *now* :) > Yes, it work

[SR-Users] RTP proxy

2011-06-13 Thread michel freiha
Dear All, I'm using the below config plan for routing my calls...The issue that forcing rtp proxy is not working well and the rtp proxy is never forcedCan you please provide me a guidance here? if($rU=~"^00.*" ) { if(!cr_route("default", "domain.com", "$rU",

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

2011-06-13 Thread Iñaki Baz Castillo
2011/6/13 Daniel-Constantin Mierla : > I saw Andrei jumped in and added case insensitive comparison of naptr flags > -- just to conclude this discussion, is it working on now? Hi Daniel, I've tested it right *now* :) Yes, it works. -- Iñaki Baz Castillo

Re: [SR-Users] Kamailio dispatcher

2011-06-13 Thread Evgeniy Spinov
On Mon, 2011-06-13 at 12:12 +0200, Daniel-Constantin Mierla wrote: > > On 6/13/11 12:03 PM, Evgeniy Spinov wrote: > > On Mon, 2011-06-13 at 10:49 +0200, Daniel-Constantin Mierla wrote: > >> Hello, > >> > >> On 6/12/11 9:56 PM, Spinov Evgeniy wrote: > >>> Hello. > >>> > >>> > >>> DCM> Hello, > >>

Re: [SR-Users] Meaning of empty body in NOTIFY

2011-06-13 Thread Daniel-Constantin Mierla
Hello, On 6/11/11 6:54 AM, Iñaki Baz Castillo wrote: 2011/6/10 Daniel-Constantin Mierla: have you spotted in SIP/SIMPLE specs what has to be sent when the presentity is offline? My quick google was not that succesful. Maybe Inaki has the specs more fresh indexed in memory and can help. If the

Re: [SR-Users] Kamailio dispatcher

2011-06-13 Thread Daniel-Constantin Mierla
On 6/13/11 12:03 PM, Evgeniy Spinov wrote: On Mon, 2011-06-13 at 10:49 +0200, Daniel-Constantin Mierla wrote: Hello, On 6/12/11 9:56 PM, Spinov Evgeniy wrote: Hello. DCM> Hello, DCM> to understand the scenario: DCM> - first branch has destination uri ($du) set Exactly. DCM> - it

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

2011-06-13 Thread Daniel-Constantin Mierla
Hello, On 6/11/11 9:24 AM, Iñaki Baz Castillo wrote: 2011/6/10 Iñaki Baz Castillo: Then if you use a simple config with t_relay(), go to tm module, see where t_relay() is defined, follow a bit the code and set a breakpoint by file and line number at a convenient location (as much as close to dn

Re: [SR-Users] Kamailio dispatcher

2011-06-13 Thread Evgeniy Spinov
On Mon, 2011-06-13 at 10:49 +0200, Daniel-Constantin Mierla wrote: > Hello, > > On 6/12/11 9:56 PM, Spinov Evgeniy wrote: > > Hello. > > > > > > DCM> Hello, > > > > DCM> to understand the scenario: > > DCM> - first branch has destination uri ($du) set > > > > Exactly. > > > > DCM> - it failed

Re: [SR-Users] Proxy Address

2011-06-13 Thread michel freiha
Dear Sir, Can you please have a look to my config file and let me know please why the rtp proxy is not forced in SDP? PasteBin address: http://pastebin.com/NrJR8geQ Regards On Mon, Jun 13, 2011 at 10:49 AM, Klaus Darilion < klaus.mailingli...@pernau.at> wrote: > What is the IP address if the

Re: [SR-Users] Kamailio dispatcher

2011-06-13 Thread Daniel-Constantin Mierla
Hello, On 6/12/11 9:56 PM, Spinov Evgeniy wrote: Hello. DCM> Hello, DCM> to understand the scenario: DCM> - first branch has destination uri ($du) set Exactly. DCM> - it failed and gets to failure route where you call ds_next_domain() DCM> and $du s still the one from first branch? Ex

Re: [SR-Users] Proxy Address

2011-06-13 Thread Klaus Darilion
What is the IP address if the first case? A wrong one or the original IP address provided by the caller? If it is the original IP address, either force_rtp_proxy was not called or there was a problem wiht the rtpproxy. Use xlog statements in front and after the rtpproxy functions and verify

Re: [SR-Users] Double tuple in notify

2011-06-13 Thread Robert Jongbloed
Yes, correct. I don't think this is anything to do with Kamailio, I will detach you from the thread, Thanks for all your assistance! Robert Jongbloed Vox Lucida Pty. Ltd. On 12/06/2011, at 8:11 PM, Iñaki Baz Castillo wrote: > The id of both tuples are different so the server must kee

[SR-Users] Proxy Address

2011-06-13 Thread michel freiha
Dear All, I'm using kamailio as Proxy server for registration with RTP proxy as relay server for voice packets...I have an issue that when sending an Invite, the audio address in SDP (o header)is not RTP Proxy address while if I send another Invite to kamailio (second Invite), the RTP Proxy addres