[Freeswitch-dev] Chat script - Invalid Profile
lukaszciesluk at gmail.com
Wed Jun 11 14:45:40 MSD 2014
I have this small script written in Perl which allows me to send messages
in chat. Of course when I simulate chat command in fs_cli everything is
fine. Unfortunately this script does not work very well....
our $from = $ARGV;
our $to = $ARGV;
our $msg = $ARG;
my $api = new freeswitch::API();
my $foo = $api->executeString("chat sip|$from|$to|$msg");
When I write something to someone in window chat I receive this kind of
from [ciesluk at 10.0.0.199]
to [piotr at 10.0.0.199]
Invalid Profile 10.0.0.199
I must to say that I do not know why I am getting this address 10.0.0.199.
My IP address of server is different (83.142.xxx.xxx). There is no place
where this IP 10.0.0.199 can be set in conf files. Could anyone guide me
how can I fix this error ? Thanks in advance!
-------------- next part --------------
An HTML attachment was scrubbed...
Join us at ClueCon 2014 Aug 4-7, 2014
More information about the FreeSWITCH-dev