[Freeswitch-users] Chatplan: is msg received success?
Carlos Flor
jackal at cybershroud.net
Mon Jan 14 18:13:34 MSK 2013
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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130114/5ccea19d/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list