[SR-Users] 300 Multiple Choices response engine

KamDev Essa kamdevessa at yahoo.com
Tue May 22 17:52:30 CEST 2018


 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
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180522/a190ad9e/attachment.html>


More information about the sr-users mailing list