[Freeswitch-users] sip_hangup_disposition
Vallimamod Abdullah
vma at vallimamod.org
Tue Mar 27 09:49:20 UTC 2018
Hi,
You cannot send a CANCEL to an incoming call as it is a sip request. You reject it with a 4XX or 6XX sip response code like 480 Temporarily Unavailable or 486 Busy Here.
In this case, you will see send_refuse in sip_hangup_disposition.
You will see send_cancel if the caller ends an outgoing call before it is answered, so only on leg A.
Best Regards,
--
Vallimamod Abdullah
SIP Solutions
linkedin.com/in/vallimamod
.
> On 27 Mar 2018, at 09:52, Gregor Nanger <gregor at infomedia.si> wrote:
>
> Thank u Serge for answer. What if callee cancel incoming call on phone, would I see in CDR as send_cancel?
>
>
> 2018-03-27 1:59 GMT+02:00 Serge Yuriev <me at nevian.org>:
> Hi,
>
> You SEND cancel so it’s initiated on your side. %)
> btw leb B just can't send you CANCEL.
>
>> On 26 Mar 2018, at 16:11, Gregor Nanger <gregor at infomedia.si> wrote:
>>
>> Hi!
>>
>> I am bridging incoming call to provider. In CDR of b leg I see send_cancel. But how do I know which side initiated cancel (originator or provider)?
>>
>> Thank you, Gregor
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.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
>
> --
> Serge S. Yuriev
>
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.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
>
>
>
> --
> Gregor Nanger
>
> CTO
> t./f.: 00386 (0) 7 6000 308/309 • m:. 00386 (0)41 756485
> • Infomedia d.o.o. • Jerebova 3, Novo mesto, Slovenia
> • www.infomedia.si
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.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
More information about the FreeSWITCH-users
mailing list