If state < 0, then practically the INVITE transaction is active, it
needs to be cancelled or replied with t_reply(...) and a code >=400.
From where you need to terminate this ongoing INVITE,
from kamailio.cfg
or from external app?
Cheers,
Daniel
On 19.07.18 19:20, Abdoul Osséni wrote:
ERRATUM.
What is the best way to end calls for states < 3 ?
Abdoul OSSENI
Ingénieur DevOps chez Néo-Soft
Co-Fondateur de ON SERVICES
Tél : +33 601 135 167
2018-07-19 19:19 GMT+02:00 Abdoul Osséni <abdoul.osseni(a)gmail.com
<mailto:abdoul.osseni@gmail.com>>:
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(a)gmail.com <mailto: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 <http://www.asipto.com>
www.twitter.com/miconda <http://www.twitter.com/miconda> --
www.linkedin.com/in/miconda <http://www.linkedin.com/in/miconda>
Kamailio World Conference --
www.kamailioworld.com
<http://www.kamailioworld.com>
--
Daniel-Constantin Mierla --
www.asipto.com
www.twitter.com/miconda --
www.linkedin.com/in/miconda
Kamailio World Conference --
www.kamailioworld.com