[OpenSIPS-Users] Proxy everything to asterisk
Arthur Titeica
arthur at psw.ro
Wed Apr 17 14:17:39 CEST 2013
Seems to work after doing some basic tests.
Thank you all for the great input.
În ziua de Mie 17 Apr 2013, la 13:06:31, Olle E. Johansson a scris:
17 apr 2013 kl. 13:04 skrev Bogdan-Andrei Iancu <bogdan at opensips.org[1]>:
> > Hello Arthur,
> >
> > The OpenSIPS script allows you to implement whatever logic you want, so
the answer is : yes, you can do that.
> >
> > Reuse the part for handling the sequential requests from the default
> > opensips script and for initial requests (after handling CANCEL and
> > retransmissions) you can simply do :
> > $du = "sip:asterisk_ip:asterisk_port"[2]; t_relay;
> >
> > This will send the INVITE to asterisk without changing the RURI at all.
> >
> Just to add a little bit more:
>
>
> Depending upon the version of Asterisk, you might want to select transport
> as well, like
>
>
> $du = _"sip:asterisk_ip:asterisk_port;transport=udp"_;
>
Hello,
I'm rather new to opensisps.
More information about the Users
mailing list