Thank you Daniel.
What is the best way to end calls for states 3 and 4 ?

Regards

Abdoul OSSENI
Ingénieur DevOps chez Néo-Soft
Co-Fondateur de ON SERVICES
Tél : +33 601 135 167

2018-07-19 18:49 GMT+02:00 Daniel-Constantin Mierla <miconda@gmail.com>:
Hello,


On 19.07.18 18:15, Abdoul Osséni wrote:
> Hello list,
>
> When the dialog state for a call is < 4, is it possible to use
> dlg_bye() function to end the call?
>
it should be possible to use it for states 3 and 4.

Lower state than 3 means that the dialog was not answered yet (no 200ok
received). While SIP allows BYE at that stage to end a particular branch
of the call, dialog module needs the 200ok, as it operates at dialog
level, not at transaction/branch level.

Cheers,
Daniel

--
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference -- www.kamailioworld.com