[OpenSIPS-Devel] [opensips] force_send_socket now requires proto? in d29cd9d (devel) (#447)

Rik Broers notifications at github.com
Wed Apr 1 14:26:23 CEST 2015


version: opensips 2.2-dev (x86_64/linux)
git revision: d29cd9d

Unable to get force_send_socket to work without a proto. While it should be optional according to docs.
Working syntax in 1.10/1.11: (yes with quotes)
 force_send_socket("12.12.21.12");

Output in devel:
Apr  1 14:12:32 SRV-DEV-HPROXY-1 opensips: CRITICAL:core:yyerror: parse error in config file //etc/opensips/opensips.cfg, line 445, column 32-33: syntax error
Apr  1 14:12:32 SRV-DEV-HPROXY-1 opensips: CRITICAL:core:yyerror: parse error in config file //etc/opensips/opensips.cfg, line 445, column 33-34: bad argument, [proto:]host[:port] expected

The following syntaxes do not work (also tried with quotes). While they should in my opinion:
 force_send_socket(12.12.21.12);
 force_send_socket(12.12.21.12:5060);


Working:
force_send_socket(udp:12.12.21.12);
force_send_socket(udp:12.12.21.12:5060);



---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/447
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20150401/d0b67deb/attachment.htm>


More information about the Devel mailing list