Revision
14631
Author
gmaruzz
Date
2009-08-25 03:46:59 -0500 (Tue, 25 Aug 2009)

Log Message

celliax: added ciapalo, a script to dump the raw SMSs (containing both ucs2 and utf versions) in a file as soon as they arrive

Modified Paths

Added Paths

Diff

Added: freeswitch/branches/gmaruzz/mod_celliax/ciapalo (0 => 14631)


--- freeswitch/branches/gmaruzz/mod_celliax/ciapalo	                        (rev 0)
+++ freeswitch/branches/gmaruzz/mod_celliax/ciapalo	2009-08-25 08:46:59 UTC (rev 14631)
@@ -0,0 +1,8 @@
+#!/usr/bin/perl
+open(FILEOUT, ">> /tmp/smses_received");
+while(<>){
+       print FILEOUT  $_ ;
+       printf FILEOUT  "\n" ;
+}
+close(FILEOUT);
+
Property changes on: freeswitch/branches/gmaruzz/mod_celliax/ciapalo
___________________________________________________________________
Name: svn:executable
   + *

Modified: freeswitch/branches/gmaruzz/mod_celliax/mod_celliax.c (14630 => 14631)


--- freeswitch/branches/gmaruzz/mod_celliax/mod_celliax.c	2009-08-25 04:36:48 UTC (rev 14630)
+++ freeswitch/branches/gmaruzz/mod_celliax/mod_celliax.c	2009-08-25 08:46:59 UTC (rev 14631)
@@ -1340,6 +1340,7 @@
   switch_set_string(globals.SKYPIAX_INTERFACES[interface_id].at_indicator_callsetupincoming_string , "CIEV: 6;1");
   switch_set_string(globals.SKYPIAX_INTERFACES[interface_id].at_indicator_callsetupoutgoing_string , "CIEV: 6;2");
   switch_set_string(globals.SKYPIAX_INTERFACES[interface_id].at_indicator_callsetupremoteringing_string , "CIEV: 6;3");
+  switch_set_string(globals.SKYPIAX_INTERFACES[interface_id].sms_receiving_program , "/usr/local/bin/ciapalo");
   globals.SKYPIAX_INTERFACES[interface_id].at_has_clcc = 0;
   globals.SKYPIAX_INTERFACES[interface_id].at_has_ecam = 0;