[Freeswitch-users] Hook on SIP CANCEL

Dmitry Sytchev kbdfck at gmail.com
Tue May 6 10:40:36 MSD 2014


Maybe it is possible to use ESL events to determine hangup by cancel?

2014-05-06 6:29 GMT+04:00 Vincent Xia <gmangudai at gmail.com>:

> i have the same issue and hope someone could shed a light.
>
> 2014-05-06 5:59 GMT+08:00, Oleg Stolyar <olegstolyar at gmail.com>:
> > Hi guys,
> >
> > I am using the api_hangup_hook variable to let my internal system know
> when
> > a call is terminated.
> >
> > Every now and then  my calling party cancels the SIP Invite before my
> dial
> > plan is finished.  IN this case FreeSWITCH properly responds with a "487
> > Request Terminated"
> >
> > However, this does not fire the command assigned to the api_hangup_hook
> > variable.  This is probably also proper since the call has not yet been
> > established.
> >
> > My question is whether there is a place somewhere where I can hook into
> the
> > processing of the CANCEL SIP message.
> >
> > Thank you
> > Oleg
> >
>
> _________________________________________________________________________
> 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
>



-- 
Best regards,

Dmitry Sytchev,
IT Engineer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140506/95f1244c/attachment.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list