Re: [OpenSIPS-Users] call forwarding with replace from uri

2011-02-02 Thread Stefano Pisani
Hi Jesse, in your script you are replacing from header twice. Double check to your script and delete the second uac_replace_from. This function can be used just once a phone call. ciao s Il 02/02/2011 16:41, Jesse Cloutier ha scritto: Thanks for the answer, I was not very clear in my first email

Re: [OpenSIPS-Users] call forwarding with replace from uri

2011-02-02 Thread Jesse Cloutier
Thanks for the answer, I was not very clear in my first email though, sorry for that. Basically when caller A initiates a call, his $fu may be pulled from the db and replaced with a uac_replace_from. Then if the call progresses and is redirected to a new destination the call fails to authentica

Re: [OpenSIPS-Users] call forwarding with replace from uri

2011-02-02 Thread Bogdan-Andrei Iancu
Hi Jesse, Lost me a bit between those pieces of script. Anyhow, as far I understood from your problem, you want to change the FROM URI in order to use the new value later in the script (in the auth part). Well, this does not work - in opensips, the changes you do over the message are not visi

[OpenSIPS-Users] call forwarding with replace from uri

2011-02-01 Thread Jesse Cloutier
Hi list, I having trouble with my script when trying to call forward by reseting the $ru and doing a route(1) My problem seems to be coming from the fact that I am changing my $fu with uac_replace_from. When I xlog the $fu right before the route() It shows the correct value (the original $fu