Re: [SR-Users] lcr from_uri not matching

2012-02-27 Thread Ben WIlliams
Its 3.2.2 from http://download.opensuse.org/repositories/home:/kamailio:/telephony/CentOS_CentOS-6/ On Tue, Feb 28, 2012 at 3:37 PM, Juha Heinanen wrote: > Ben WIlliams writes: > >> Thanks for checking. It was the only rule I had and it was working but >> only when from_uri was null. > > which v

Re: [SR-Users] lcr from_uri not matching

2012-02-27 Thread Juha Heinanen
Ben WIlliams writes: > Thanks for checking. It was the only rule I had and it was working but > only when from_uri was null. which version of kamailio are you using? -- juha ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list s

Re: [SR-Users] lcr from_uri not matching

2012-02-27 Thread Ben WIlliams
Thanks for checking. It was the only rule I had and it was working but only when from_uri was null. On Tue, Feb 28, 2012 at 2:59 PM, Juha Heinanen wrote: > Ben WIlliams writes: > >> Has anyone experienced this problem where lcr only works when from_uri >> is null. When I change it to .* the match

[SR-Users] lcr from_uri not matching

2012-02-27 Thread Juha Heinanen
Ben WIlliams writes: > Has anyone experienced this problem where lcr only works when from_uri > is null. When I change it to .* the match fails. i just tested with latest master the case where from uri is .* and it worked as expected. check that the rule is enabled in lcr_rule table and that a g

Re: [SR-Users] FW: Dropping 183 and sending 180

2012-02-27 Thread Fabian Borot
Hi Daniel, thank you for the tip, we may upgrade to 3.2 soon, in which case we could use the remove_body() function as well. Also, I did not know about the t_reply function either, txs a lot for the help > Date: Mon, 27 Feb 2012 21:53:37 +0100 > Fro

Re: [SR-Users] XMLOPS xpath issues

2012-02-27 Thread Olle E. Johansson
27 feb 2012 kl. 21:44 skrev Daniel-Constantin Mierla: > > > On 2/27/12 9:28 PM, Olle E. Johansson wrote: >> 27 feb 2012 kl. 21:07 skrev Daniel-Constantin Mierla: >> >>> Hello, >>> >>> an xpath invalid expression should be printed when the xpath expression is >>> incorrect -- I cannot say wha

[SR-Users] Using Voicemail strange behavior - git head 3.3

2012-02-27 Thread David
I was testing the head version in GIT; I ran across a strange issue. The new config includes a "WITH_VOICEMAIL" definition I am not sure exactly how it is designed to work, but by default if the "usrloc" fails it creates a branch and goes to voicemail That part work correctly. It seems howe

Re: [SR-Users] change DBURL without restarting kamailio?

2012-02-27 Thread Daniel-Constantin Mierla
Hello, no such thing in the code, but there are option out there -- use a mysql proxy or set a shared IP between active and backup database. Cheers, Daniel On 2/27/12 9:58 AM, Uri Shacked wrote: Hi, Is there a way to set a DBURL as a parametes that i can change in run time without restartin

Re: [SR-Users] FW: Dropping 183 and sending 180

2012-02-27 Thread Daniel-Constantin Mierla
On 2/27/12 7:25 PM, Fabian Borot wrote: txs a lot Alex, I will try it and let you know the results, sounds like a better idea. You may want to remove the body as well, in the case it has a sdp you dont want to be sent out -- see the functions in textops/textopsx modules. There is also the a

Re: [SR-Users] XMLOPS xpath issues

2012-02-27 Thread Daniel-Constantin Mierla
On 2/27/12 9:28 PM, Olle E. Johansson wrote: 27 feb 2012 kl. 21:07 skrev Daniel-Constantin Mierla: Hello, an xpath invalid expression should be printed when the xpath expression is incorrect -- I cannot say what is wrong, not being an xpath expert by hart. However, there is a mismatching b

Re: [SR-Users] XMLOPS xpath issues

2012-02-27 Thread IƱaki Baz Castillo
2012/2/27 Daniel-Constantin Mierla : > However, there is a mismatching between the xml standards and SIP/SIMPLE > specs. In XML, the namespaces are bound to prefixes, while the guys at IETF > added by their own so called default namespace, which has no prefix for it. > That results in not being abl

Re: [SR-Users] CSEQ problem with SPA504G

2012-02-27 Thread Daniel-Constantin Mierla
Hello, I could not spot a difference in method from r-uri and cseq header -- the error message is printed from sanity module, you can disable the cseq method check, see: * http://kamailio.org/docs/modules/devel/modules/sanity.html But it will be important to see why is failing, can you add

Re: [SR-Users] XMLOPS xpath issues

2012-02-27 Thread Olle E. Johansson
27 feb 2012 kl. 21:07 skrev Daniel-Constantin Mierla: > Hello, > > an xpath invalid expression should be printed when the xpath expression is > incorrect -- I cannot say what is wrong, not being an xpath expert by hart. > > However, there is a mismatching between the xml standards and SIP/SIMP

Re: [SR-Users] XMLOPS xpath issues

2012-02-27 Thread Daniel-Constantin Mierla
I forgot to mention another option, a dirty workaround, use subst transformation to replace "xmlns=" with something else like "xmlxx=". Then practically there will be no more a xmlns without prefix and limxml2 xpath implementation is working fine without need to add xml_ns parameter to xmlops m

Re: [SR-Users] XMLOPS xpath issues

2012-02-27 Thread Daniel-Constantin Mierla
Hello, an xpath invalid expression should be printed when the xpath expression is incorrect -- I cannot say what is wrong, not being an xpath expert by hart. However, there is a mismatching between the xml standards and SIP/SIMPLE specs. In XML, the namespaces are bound to prefixes, while th

[SR-Users] XMLOPS xpath issues

2012-02-27 Thread Olle E. Johansson
Friends, I'm having issues with the xpath support. If I run Daniel's example in the XMLOPS, xpath works as documented. But if I take the body of a PUBLISH from the and run xpath, I don't get expected results. Now, I'm no XPATH guru so I may be totally off the markup here... Here's the test scrip

[SR-Users] FW: Dropping 183 and sending 180

2012-02-27 Thread Fabian Borot
txs a lot Alex, I will try it and let you know the results, sounds like a better idea. > From: fbo...@hotmail.com > To: us...@lists.kamailio.org > Subject: Dropping 183 and sending 180 > Date: Mon, 27 Feb 2012 12:34:05 -0500 > > > Hello > >

Re: [SR-Users] How to do accounting for Kamailio-generated BYEs?

2012-02-27 Thread Alex Balashov
On 02/27/2012 12:58 PM, Yufei Tao wrote: Hi I've got a mediaproxy that detects no media, and sends dlg_end_dlg to Kamailio via mi_datagram socket. Then Kamailio sends BYE to both calling parties. It all works fine. But my question is, how to do accounting for these Kamailio-generated BYEs? They

[SR-Users] How to do accounting for Kamailio-generated BYEs?

2012-02-27 Thread Yufei Tao
Hi I've got a mediaproxy that detects no media, and sends dlg_end_dlg to Kamailio via mi_datagram socket. Then Kamailio sends BYE to both calling parties. It all works fine. But my question is, how to do accounting for these Kamailio-generated BYEs? They don't appear in the acc table. I'm using K

Re: [SR-Users] Dropping 183 and sending 180

2012-02-27 Thread Alex Balashov
Fabian, You may want to take this approach instead: http://www.kamailio.org/docs/modules/3.2.x/modules/textopsx.html#change_reply_status -- Alex Balashov - Principal Evariste Systems LLC 260 Peachtree Street NW Suite 2200 Atlanta, GA 30303 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://w

[SR-Users] Dropping 183 and sending 180

2012-02-27 Thread Fabian Borot
Hello We need to implement this scenario: client -> proxy --> provider The provider sends 183 with SDP and we need to drop it and send 180 instead. I managed to do it like this: 1- on_reply block, I catch the 183 if it comes, call a route block named "DROP_180" then drop it: if ($rs

[SR-Users] Social networking event, London, March 6, 2012

2012-02-27 Thread Daniel-Constantin Mierla
Hello, we are already several folks planing to go out after the first day of UC Expo and continue discussions about latest news of Kamailio/SER project and VoIP/Telecomunications. If you want to join, drop me a message to send you the details of the location. Looking forward to meeting many

[SR-Users] CSEQ problem with SPA504G

2012-02-27 Thread David
Hello, I am trying to connect to a kamailio server using a Cisco SPA504G phone using TCP instead of TCP. When in UDP, it works fine, but in TCP I get errors relating to CSEQ. I included the trace taking with ngrep after the email. I don't understand the CSeq error. I had a look at RFC3261, i

[SR-Users] change DBURL without restarting kamailio?

2012-02-27 Thread Uri Shacked
Hi, Is there a way to set a DBURL as a parametes that i can change in run time without restarting kamailio? It is usfull if i have a backup data base and i dont want to use mysql clustering... Cheers, Uri ___ SIP Express Router (SER) and Kamailio (OpenS