[SR-Users] Using 302 redirects with Dispatcher Module

Marrold kamailio at marrold.co.uk
Mon Mar 28 22:16:32 CEST 2016


Well spotted, I was studying the dispatcher docs but over looked sl.

Thanks

On Mon, Mar 28, 2016 at 8:42 PM, Alex Balashov <abalashov at evaristesys.com>
wrote:

> On 03/28/2016 03:40 PM, Alex Balashov wrote:
>
>> On 03/28/2016 03:37 PM, Marrold wrote:
>>
>> That works, thanks. It turns out the following does work *without*
>>> appending the contact header-
>>>
>>>      ds_select_domain("1", "8")
>>>      sl_send_reply("302","Redirect");
>>>
>>
>> Huh. I would not have expected that.
>>
>
> Oh. Yeah. The documentation actually says that:
>
> http://kamailio.org/docs/modules/4.3.x/modules/sl.html#sl_send_reply
>
> -- Alex
>
>
> --
> Alex Balashov | Principal | Evariste Systems LLC
> 1447 Peachtree Street NE, Suite 700
> Atlanta, GA 30309
> United States
>
> Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct)
> Web: http://www.evaristesys.com/, http://www.csrpswitch.com/
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160328/477b7e23/attachment.html>


More information about the sr-users mailing list