Receive response of an event in ESL
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
5228
Age (days ago)
5228
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jose Miguel Sucasas Mejuto