looks like forward core function does not accept pseudo var argument.
then i found this:
I just committed a patch that allow using send() without any parameter:
* http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=8e4db808...
if that commit is still valid, it is not reflected by 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");
so which way this is?
-- juha
i found the answer. there is send function also in corex module that allows pv arg.
in order to avoid confusion, would it be possible to remove send and send_tcp from core?
-- juha
Hello,
On 4/6/13 5:22 PM, Juha Heinanen wrote:
i found the answer. there is send function also in corex module that allows pv arg.
in order to avoid confusion, would it be possible to remove send and send_tcp from core?
they were removed from core, iirc - Richard did the migration from core to corex module. Probably he didn't remove from wiki coobook, otherwise the both functions are documented in the readme of corex:
http://kamailio.org/docs/modules/stable/modules/corex.html#id2522640
Just update the wiki to get rid of these two functions there.
Cheers, Daniel
-- juha
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users