hi all, Is there a way to configure openser so that it sends rport in via header ? Actually th packet from server is reverse natted through another system using any random port, i want it the reply to come on the same port . thanks ....
Regards, Ranveer.
Hello,
you have to use force_rport() in the configuration file for the request you want rport parameter in VIA.
Daniel
On 08/10/05 20:44, ranveer kunal wrote:
hi all, Is there a way to configure openser so that it sends rport in via header ? Actually th packet from server is reverse natted through another system using any random port, i want it the reply to come on the same port . thanks ....
Regards, Ranveer.
hi daniel, as far as i have explored force_rport(), places the rport parameter in the topmost via header and not in its own via header. am i right ?
example :
UAC -> (via1:via2:via3)proxy(force_rport)->(via1:via2:via3,rport:via4)next proxy
i want this : UAC -> (via1:via2:via3)proxy(force_rport)->(via1:via2:via3:via4,rport)next proxy
Please clarify it ?
Regards, Ranveer.
On 8/10/05, Daniel-Constantin Mierla daniel@voice-system.ro wrote:
Hello,
you have to use force_rport() in the configuration file for the request you want rport parameter in VIA.
Daniel
On 08/10/05 20:44, ranveer kunal wrote:
hi all, Is there a way to configure openser so that it sends rport in via header ? Actually th packet from server is reverse natted through another system using any random port, i want it the reply to come on the same port . thanks ....
Regards, Ranveer.
Hello,
On 08/10/05 21:10, ranveer kunal wrote:
hi daniel, as far as i have explored force_rport(), places the rport parameter in the topmost via header and not in its own via header. am i right ?
example :
UAC -> (via1:via2:via3)proxy(force_rport)->(via1:via2:via3,rport:via4)next proxy
i want this : UAC -> (via1:via2:via3)proxy(force_rport)->(via1:via2:via3:via4,rport)next proxy
Please clarify it ?
yes, it is like that. And this is how it is supposed to be, according to RFC3581. Why do you need it in proxy's via? The proxy will look at the second via to get the destination address for reply.
Daniel
Regards, Ranveer.
On 8/10/05, Daniel-Constantin Mierla daniel@voice-system.ro wrote:
Hello,
you have to use force_rport() in the configuration file for the request you want rport parameter in VIA.
Daniel
On 08/10/05 20:44, ranveer kunal wrote:
hi all, Is there a way to configure openser so that it sends rport in via header ? Actually th packet from server is reverse natted through another system using any random port, i want it the reply to come on the same port . thanks ....
Regards, Ranveer.
Hello friends, I need a common database as I am trying to loadbalance 2-3 opensers. How can I make sure that the changes committed by one server, is reflected to other. ie. say user1 registers via ser1 and entry is added to the database. now when i quesry server2 for options of user1 i should get 200 ok.
i mean is there a mechanism to read thru the database. like cache less mode.
Regards, Ranveer.
Hi Ranveer,
there is no cacheless mode for usrloc at this moment. To replicate the REGISTER between several proxies, you can use t_replicate() function. See: http://www.openser.org/docs/modules/0.10.x/tm.html#AEN409
regards, bogdan
ranveer kunal wrote:
Hello friends, I need a common database as I am trying to loadbalance 2-3 opensers. How can I make sure that the changes committed by one server, is reflected to other. ie. say user1 registers via ser1 and entry is added to the database. now when i quesry server2 for options of user1 i should get 200 ok.
i mean is there a mechanism to read thru the database. like cache less mode.
Regards, Ranveer.
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users