[Freeswitch-users] Chatplan: is msg received success?

Daniel Ivanov sertys at gmail.com
Tue Jan 15 13:28:26 MSK 2013


Thanks for that tip, alex. Where is the full doc for mod_chat anyway?
On Jan 14, 2013 5:19 PM, "Carlos Flor" <jackal at cybershroud.net> wrote:

> Alex,
>
> You need to set blocking=true in the chatplan.  This will include a
> Delivery-Failure=true/false header in the event that is generated when you
> send the message.  You will need to have an ESL client parse that field to
> determine next steps.
>
> If you don't explicitly set blocking to true, then FS doesn't wait for a
> response and so it has no way of knowing if the message was delivered or
> not.  For that reason, the Delivery-Failure header is not present in the
> event when in non-blocking mode.
>
>
> On Mon, Jan 14, 2013 at 6:53 AM, Pip Live <itispip-qq at hotmail.com> wrote:
>
>> Hi, I use Freeswitch to handle SIP message between SIP extentions, how
>> can server know does the message be received by client or not? I noticed
>> even if a SIP extention is offline/unregister, SIP message will still be
>> sent by server but just the receiver will never get it (even if later the
>> receiver online/registered again).
>>
>> What I want to achieve is: send SIP message to an extention, if received
>> OK, nothing happen; if not, forward the message to user's email address.
>>
>> brgds, Alex
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at 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 at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130115/d707b4e7/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list