[OpenSIPS-Devel] [OpenSIPS/opensips] f54447: config: skip optional parameters

Razvan Crainea razvan at opensips.org
Wed Mar 5 14:10:37 CET 2014


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f544472e887d4678819a202be770e5a0c4f6a0ec
      https://github.com/OpenSIPS/opensips/commit/f544472e887d4678819a202be770e5a0c4f6a0ec
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2014-03-05 (Wed, 05 Mar 2014)

  Changed paths:
    M cfg.y
    M route.c

  Log Message:
  -----------
  config: skip optional parameters

when a parameter is not mandatory, you can skip it by adding the next comma.
For example: uac_replace_from(,"sip:robin at gotham.org")




More information about the Devel mailing list