thx we got it in action.c and implemented it also..
Now there is one more issue i like to discuss......
what we are doing is...have written a module and every INVITE request we are forwarding it to that place......
checks done there 1. is call allowed 2. is call denied 3. has call to be forwarded...etc and few more....
Now if we are forwarding it to some number so in ser.cfg we just relay the call after writing new uri into the structure.....now if we want to do the same checks of allow , deny and forward etc on the same call....will recursion do it in our module or we have to play with ser.cfg.....
regards
From: Jan Janak jan@iptel.org To: kapil dhawan oswriter@hotmail.com CC: serusers@lists.iptel.org Subject: Re: [Serusers] Rewrite URI Date: Wed, 11 Feb 2004 20:19:34 +0100
See rewrite_RURI function in sip_router/modules/rr/loose.c
Jan.
On 11-02 09:27, kapil dhawan wrote:
I want to rewrite URI in one of my modules. How can i do it....i know to
do
it in ser.cfg file but not in my module.....
Easiest Money Transfer to India. Send Money To 6000 Indian Towns. http://go.msnserver.com/IN/42198.asp Easiest Way To Send Money Home!
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
_________________________________________________________________ Masterpieces made affordable! Buy art prints. http://go.msnserver.com/IN/42736.asp MSN Shopping.