Hi,
When a register request is incoming, I save user location and rewrite contact header after that. I'd like to save this new rewriten user location as an alias, is there a way to set up an alias in the fly ?
I saw you need to use serctl command to add aliases but can you do it in SER in real time ?
Thanks,
Forward the request to the same proxy again over loopback. In the 2nd run you can detect that the request is coming from 127.0.0.1 and save it in aliases table instead of location.
jan.
On 08-12-2005 11:15, Anthony Chapellier wrote:
Hi,
When a register request is incoming, I save user location and rewrite contact header after that. I'd like to save this new rewriten user location as an alias, is there a way to set up an alias in the fly ?
I saw you need to use serctl command to add aliases but can you do it in SER in real time ?
Thanks,
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
I've got a problem with forwarding in loopback. I tried to forward the request with the following code (tested both) :
t_relay_to_udp("127.0.0.1", "5060");
or
forward(127.0.0.1, 5060);
In both of them, I got an error 477 : Can't process to the next hop - 127.0.0.1:5060 Noisy Feefback... Do you know where it could come from ?
Thanks,
Anthony
Jan Janak a écrit :
Forward the request to the same proxy again over loopback. In the 2nd run you can detect that the request is coming from 127.0.0.1 and save it in aliases table instead of location.
jan.
On 08-12-2005 11:15, Anthony Chapellier wrote:
Hi,
When a register request is incoming, I save user location and rewrite contact header after that. I'd like to save this new rewriten user location as an alias, is there a way to set up an alias in the fly ?
I saw you need to use serctl command to add aliases but can you do it in SER in real time ?
Thanks,
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Which version did you use? I'm getting the same error... looking into the code, but nothing found yet.
Michal
On Fri, Dec 09, 2005 at 12:19:20PM +0100, Anthony Chapellier wrote:
I've got a problem with forwarding in loopback. I tried to forward the request with the following code (tested both) :
t_relay_to_udp("127.0.0.1", "5060");
or
forward(127.0.0.1, 5060);
In both of them, I got an error 477 : Can't process to the next hop - 127.0.0.1:5060 Noisy Feefback... Do you know where it could come from ?
Thanks,
Anthony
Jan Janak a écrit :
Forward the request to the same proxy again over loopback. In the 2nd run you can detect that the request is coming from 127.0.0.1 and save it in aliases table instead of location.
jan.
On 08-12-2005 11:15, Anthony Chapellier wrote:
Hi,
When a register request is incoming, I save user location and rewrite contact header after that. I'd like to save this new rewriten user location as an alias, is there a way to set up an alias in the fly ?
I saw you need to use serctl command to add aliases but can you do it in SER in real time ?
Thanks,
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
I'm using SER 0.9.4.
Michal Matyska a écrit :
Which version did you use? I'm getting the same error... looking into the code, but nothing found yet.
Michal
On Fri, Dec 09, 2005 at 12:19:20PM +0100, Anthony Chapellier wrote:
I've got a problem with forwarding in loopback. I tried to forward the request with the following code (tested both) :
t_relay_to_udp("127.0.0.1", "5060");
or
forward(127.0.0.1, 5060);
In both of them, I got an error 477 : Can't process to the next hop - 127.0.0.1:5060 Noisy Feefback... Do you know where it could come from ?
Thanks,
Anthony
Jan Janak a écrit :
Forward the request to the same proxy again over loopback. In the 2nd run you can detect that the request is coming from 127.0.0.1 and save it in aliases table instead of location.
jan.
On 08-12-2005 11:15, Anthony Chapellier wrote:
Hi,
When a register request is incoming, I save user location and rewrite contact header after that. I'd like to save this new rewriten user location as an alias, is there a way to set up an alias in the fly ?
I saw you need to use serctl command to add aliases but can you do it in SER in real time ?
Thanks,
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers