Thanks William, I've tried with 1.3.0+git~20121016T230329Z~c51aebf621 and did not see that event even after all timers expired. Is this event generated by mod_sms or gsmopen ? Reason I ask is because my use case is around SIP messages only and we want to track delivery to devices. Ex: client connected via eventsocket -> sendevent SMS::SEND_MESSAGE Freeswitch consuming SMS::SEND_MESSAGE -> dispatch SIP message to client device client returning anything other than 200 OK -> fire MESSAGE event tagged as failure If that's the same understanding, then I will dig further here as I'm probably not catching such event (although pretty sure it is subscribed to all events right now). cheers -- lucas On 2012-11-01, at 5:31 PM, William King <william.king@quentustech.com> wrote:
If the sms delivery failed you will see an event with the type of SMS_MESSAGE and there will be a header 'delivery-failure' with a value of 'true'. I'm working on a patch that will enable the event on successful delivery.
William King Senior Engineer Quentus Technologies, INC 1037 NE 65th St Suite 273 Seattle, WA 98115 Main: (877) 211-9337 Office: (206) 388-4772 Cell: (253) 686-5518 william.king@quentustech.com
On 11/01/2012 10:38 AM, Lucas Fontes wrote:
Hi everyone,
I've been trying to determine if a message was successfully delivered to a device. Stumbled on a post from February (subject: Testing mod_sms) http://lists.freeswitch.org/pipermail/freeswitch-dev/2012-February/005619.ht...:
________________________________ From: Anthony Minessale <anthony.minessale at gmail.com <http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev>> To: Warren Lin <wlin121443 at yahoo.com <http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev>> Sent: Tuesday, February 21, 2012 11:01 AM Subject: Re: Testing mod_sms
hi you can find out how to use the lists at http://lists.freeswitch.org
try latest GIT, i put in a patch to fire the events with the heder Failed-Delivery true if you are listening for MESSAGE events you should catch them.
________________________________
I can't find any reference to Failed-Delivery in mod_sms.c neither anywhere else in the source tree. There is a field called Delivery-Failure, but seems to be used by other modules to indicate a failure on the response going out of freeswitch, not to freeswitch. Was this overwritten / rolled back at some point ?
thanks
-- lucas
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org