[SR-Users] 300 Multiple Choices response engine

Alex Balashov abalashov at evaristesys.com
Tue May 22 17:51:55 CEST 2018


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/



More information about the sr-users mailing list