Thank you for your help.
We use TLS protocol from mobile networks.
In most cases we have no problems during the three way handshake (invite ->
200Ok -> ACK).
But sometimes, we didn't received the ACK of 200OK (the TCP connection
appears broken during the three way handshake per example). In this case,
we need to cancel the calls to avoid charging customers.
our goal is to use tpcops (tcp:closed, tcp:reset event routes), htable,
dialog and tmx modules to cancel (t_reply_callid) or terminate(dlg_bye)
these calls.
May be , is there a better solution?
Abdoul OSSENI
Ingénieur DevOps chez Néo-Soft
Co-Fondateur de ON SERVICES
Tél : +33 601 135 167
2018-07-19 21:21 GMT+02:00 Daniel-Constantin Mierla <miconda(a)gmail.com>om>:
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>om>:
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>om>:
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
--
Daniel-Constantin Mierla --
www.asipto.comwww.twitter.com/miconda --
www.linkedin.com/in/miconda
Kamailio World Conference --
www.kamailioworld.com