[Serusers] Re: SER forwarding to Asterisk
karim basraoui
basraouik at gmail.com
Thu Jan 25 20:42:19 CET 2007
Hi,
i have found the solution:
if (method == "INVITE") {
if (uri =~ "^sip:*"){
rewritehost("192.168.4.66");
t_relay_to_udp( "192.168.4.66", "5060");
break;
}
};
if (method == "CANCEL" || method == "BYE") {
if (uri =~ "^sip:*"){
forward( 192.168.4.66 , 5060 );
}
};
if (method == "ACK"){
if (uri =~ "^sip:*"){
rewritehost("192.168.4.66");
}
};
thank you any way and hope that this will help
2007/1/25, karim basraoui <basraouik at gmail.com>:
>
> Hi,
>
> The topic may have been already discussed, but still there are some
> problems.
>
> I have an architecture like this :
>
> UA1 ->SER -> ASTERISK -> UA2
>
> when UA1 sends an INVITE to UA2, SER forwards the call to ASTERISK, i can
> hear UA2 ringing. however, when UA2 answers, i can see "connected" on UA1
> but UA2 hungs up by itself, as if ASTERISK cancels the call.
>
> is there any solution to oblige ASTERISK to forward the "200 OK" to SER?
>
> thanks in advance
> --
> BASRAOUI Karim
--
BASRAOUI Karim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20070125/9d715420/attachment.htm>
More information about the sr-users
mailing list