Re: [SR-Users] loose_route causing loop

2013-01-31 Thread Andrew Pogrebennyk
Hello, Usually this happens when the RURI has the IP address/ domain which points to this server or which is present in the domain table. There are some clients which may put even server IP address into Contact of INVITE or 200 OK instead of its own so the further requests will be mis-routed. You s

[SR-Users] loose_route causing loop

2013-01-31 Thread Renan Capaverde
Hello, I have a problem with my configuration file. When I receive a in-dialog request (REINVITE) with topmost route being my kamailio server, it enters in loop and then the call is dropped. What is the easiest way to prevent this to happen? Best Regards, -- *Renan Capaverde* /Estagiário N

Re: [SR-Users] How to rewrite "tu" in CANCEL message ?

2013-01-31 Thread Julia
Thank you, we will try to test it. -Original Message- From: Daniel-Constantin Mierla [mailto:mico...@gmail.com] Sent: Thursday, January 31, 2013 1:57 PM To: Julia; 'SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) -Users Mailing List' Subject: Re: [SR-Users] How to rewrite "tu

Re: [SR-Users] How to rewrite "tu" in CANCEL message ?

2013-01-31 Thread Daniel-Constantin Mierla
I checked the sources and found that building CANCEL with From/To headers used in the INVITE sent out is done when using uac functions for changing their value. Some internal flags are set by those functions. So a patch should be done for remove_hf()/insert_hf() case or alternatively export a

Re: [SR-Users] #!KAMAILIO

2013-01-31 Thread Daniel-Constantin Mierla
Hello, related to the initial topic of this discussion, the first line sets the algorithm for looking up script variables. So far, up to 3.4.x, here were the rules: - #!KAMAILIO - anything $xy (including the $xy(...)) must be a pseudo-variable (pv) - #!SER - anything $xy is considered an AVP

Re: [SR-Users] How to rewrite "tu" in CANCEL message ?

2013-01-31 Thread Julia
We get the same result with modparam("tm", "reparse_invite", 1) and modparam("tm", "reparse_invite", 0) -Original Message- From: sr-users-boun...@lists.sip-router.org [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Daniel-Constantin Mierla Sent: Thursday, January 31, 2013 1:

Re: [SR-Users] How to rewrite "tu" in CANCEL message ?

2013-01-31 Thread Daniel-Constantin Mierla
Hello, have you changed the value for tm parameter 'reparse_invite': http://kamailio.org/docs/modules/stable/modules/tm.html#reparse_invite Cheers, Daniel On 1/31/13 12:02 PM, Julia wrote: OK, but a problem is in partially re-parsing of CANCEL. ru = modified ru; tu = original tu; fu = origin

Re: [SR-Users] How to rewrite "tu" in CANCEL message ?

2013-01-31 Thread Julia
OK, but a problem is in partially re-parsing of CANCEL. ru = modified ru; tu = original tu; fu = original fu. In this case 481 received from GW. INVITE --> Kam INVIRE --> ru=a ru=c tu=a tu=c fu=b fu=d <---100

Re: [SR-Users] BasicKamailio DB question

2013-01-31 Thread Rumen Mihailov
Hello Jason, I would rather use a single database to keep consistensy. In my setup I have setup a MySQL cluster that has single virtual IP and all asterisk and kamailio boxes connect to it. This way multiple asterisk servers have the same users and might be used only for load balancing. Same appl

Re: [SR-Users] How to rewrite "tu" in CANCEL message ?

2013-01-31 Thread Olle E. Johansson
Unless you rewrote the To-URI in the INVITE, you really should not try to change a CANCEL. It needs to be almost a copy of the matching INVITE. /O 30 jan 2013 kl. 14:40 skrev Carsten Bock : > Hi, > > probably the best way is to simply use the uac_replace_to-method from > the uac module: > > ht

Re: [SR-Users] siremis CDR problem

2013-01-31 Thread Scott, Matt
Thanks for responding, yes I think I have all that ready. Not sure if accdb_comment was needed, but I enabled. We deleted the tables, and re-created based on tutorial. MySql is running, as I'm using dispatcher in db mode. Any other thoughts? loadmodule "acc.so" enabling accountingdb he