fix for mi command t_uac_cancel: without calling prepare_to_cancel, the following call to cancel_uacs gives this error:
BUG: tm [t_cancel.c:327]: cancel_branch(): tm: cancel_branch: local_cancel buffer=(nil) != BUSY_BUFFER (trying to continue)
and it does not cancel the transaction.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/825
-- Commit Summary --
* modules/tmx: fix mi command t_uac_cancel
-- File Changes --
M modules/tmx/t_mi.c (1)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/825.patchhttps://github.com/kamailio/kamailio/pull/825.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/825
@korayvt - it would be better and easier to review if you make a pull request with the updates you think they must be done.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/commit/feb195b2d9c801bc3591b1e95de6b70…
We do have a strange behavior while using UACreg module and rtpengine.
So far we used uacreg to register to an external pbx and we are using rtpenginde since we do not know if there is NAT on the far side. With an kamailio 4.4.2 there are no problems doing this. Now we tried to update to 4.4.3 and 5 (latest) we do see an issue with this two modules.
Problem we have is on an basic call while DA chellange. By using DA catching from uac module and an updated SDP from rptengine the uac module seems to crash and the DA chellange (unauth) gets forwarded to the calling side instead of answered by the uac Module.
it seems the DA chellange is causeing the problem but only if the original invite was modified by RTP engine.
in the logs i can see this happening:
```
f94ea564de0806c4a811bce674@xx.xx.120.5:5060 Status: <null> <null> F:user T:123 R:123] Remote asked for authentication
Oct 11 16:02:11 gaudino /usr/sbin/kamailio[8342]: ERROR: <core> [msg_translator.c:417]: clen_builder(): no message body found (missing crlf?)
Oct 11 16:02:11 gaudino /usr/sbin/kamailio[8342]: ERROR: <core> [msg_translator.c:1963]: build_req_buf_from_sip_req(): Error while adjusting Content-Length
Oct 11 16:02:11 gaudino /usr/sbin/kamailio[8342]: ERROR: tm [t_fwd.c:462]: prepare_new_uac(): could not build request
Oct 11 16:02:11 gaudino /usr/sbin/kamailio[8342]: ERROR: tm [t_fwd.c:1723]: t_forward_nonack(): ERROR: t_forward_nonack: failure to add branches
Oct 11 16:02:11 gaudino /usr/sbin/kamailio[8342]: ERROR: tm [tm.c:1415]: _w_t_relay_to(): ERROR: w_t_relay_to: t_relay_to failed
```
When i disable the rtpengine the problem does not occur as well as the kamailio 4.4.2 did not have this issue.
I can provide config, traces and debug logs (via mail) please tell me where to send.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/819
I've backported some features from opensips.
- reverse alias lookup function flag
- use_domain moved from global parameter to a function flag (defaults to yes)
- New function alias_db_find uses source and destination PV instead of ruri
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/823
-- Commit Summary --
* alias_db: Add reverse lookup flag to alias_db_lookup
* alias_db: Remove module parameter use_domain, and add function flag to alias_db_lookup
* alias_db: Cleanup and prepare alias_db_lookup for new function
* alias_db: New function alias_db_find
-- File Changes --
M modules/alias_db/README (130)
M modules/alias_db/alias_db.c (117)
M modules/alias_db/alias_db.h (1)
M modules/alias_db/alookup.c (170)
M modules/alias_db/alookup.h (7)
M modules/alias_db/api.h (4)
M modules/alias_db/doc/alias_db_admin.xml (116)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/823.patchhttps://github.com/kamailio/kamailio/pull/823.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/823