[SR-Users] 300 Multiple Choices response engine

KamDev Essa kamdevessa at yahoo.com
Tue May 22 18:12:27 CEST 2018


 If its a simple LCR solution returning Multiple routes I will only use a single $rU in the URI. Correct. I know your example maybe for follow me where we have different destinations. 
KD
    On Tuesday, May 22, 2018, 11:56:18 AM EDT, Alex Balashov <abalashov at evaristesys.com> wrote:  
 
 I don't know your logic for pulling your contacts?

On Tue, May 22, 2018 at 03:52:30PM +0000, KamDev Essa wrote:

>  Why do I need to change the $rU (abc123 and def456) will it not always be abc123 based on the $rU I get?
> KD
>    On Tuesday, May 22, 2018, 11:40:02 AM EDT, Alex Balashov <abalashov at evaristesys.com> wrote:  
>  
>  On Tue, May 22, 2018 at 03:34:23PM +0000, KamDev Essa wrote:
> 
> >  So append <sip:...>\r\n<sip:...>\r\n<sip:...>\r\n<sip:...>\r\n as needed?
> 
> No. Grammatically, your options are either:
> 
>   append_to_reply("Contact: <sip:abc123 at host>;q=0.1\r\n"):
>   append_to_reply("Contact: <sip:def456 at host>;q=0.2\r\n"):
>   ...
> 
> Or:
> 
>   append_to_reply("Contact: <sip:abc123 at host>;q=0.1,<sip:def456 at host>;q=0.2,...\r\n");
> 
> -- Alex
> 
> -- 
> Alex Balashov | Principal | Evariste Systems LLC
> 
> Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) 
> Web: http://www.evaristesys.com/, http://www.csrpswitch.com/
> 
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>  

> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


-- 
Alex Balashov | Principal | Evariste Systems LLC

Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) 
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users at lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180522/bff16010/attachment.html>


More information about the sr-users mailing list