[SR-Users] looks like send core function does not exist

Juha Heinanen jh at tutpro.com
Sun Apr 7 08:06:42 CEST 2013


i removed corex from loaded modules and added string argument to send:

        send("192.98.102.20:5070");

that gave error:

0(15695) ERROR: <core> [cfg.y:3415]: cfg. parser: failed to find command send
 0(15695) : <core> [cfg.y:3554]: parse error in config file /etc/sip-proxy/sip-proxy.cfg, line 1578, column 34: unknown command, missing loadmodule?

 according to core cookbook:

send

Send the original SIP message to a specific destination in stateless
mode. No changes are applied to received message, no Via header is
added. Host can be an IP or hostname. Used protocol: UDP 

Parameter is mandatory and has string format.

Example of usage:

 send("10.10.10.10:5070");

does anyone know what is going on?

-- juha



More information about the sr-users mailing list