13 Jul
2012
13 Jul
'12
1:39 a.m.
Hello, I am trying to send an SMS using mod_sms via ESL using: require ESL; my $con = new ESL::ESLconnection("localhost", "8021", "ClueCon"); my $e = new ESL::ESLevent("custom", "SMS::SEND_MESSAGE"); $e->addHeader("to", "1004\@www.freeswitch.org"); $e->addHeader("from", "testing\@foobar.com"); $e->addHeader("sip_profile", "internal"); $e->addHeader("dest_proto", "sip"); $e->addBody(shift); $con->sendEvent($e); as it appears in mod_sms wiki. But, how can I read the result of the event?. sendRcv waits for the response, but only works with commands not with events. Thanks in advance. Regards