Hello
I have a call with not passed ACK by Kamailio. http://prntscr.com/jhtobo
Same behaviour i looked before when SIP endpoint contact string is wrong
In this call look as contact string correct is correct (packets 7 and 8)
and i not understand why ACK (packet 9) not passed to callee.
Could you help me understand this.
PCAP file is create using homer tracer and TCP transport packets is stored
as UDP.
Sergey
### Description
Yealink phones is subscribes using `application/dialog-info+xml`. In this case for many phones false reported `early` state.
### Troubleshooting
#### Reproduction
Not knows. Some phones is displayes properly, some is not.
#### Debugging Data
none
#### Log Messages
not yet done
#### SIP Traffic
In provided pcap. is subscribed two clients `yealink` phone and `x-lite` softphone.
Created call to extension 201 (sip login). For `x-lite` status is changed properly for `yealink` is not.
Filters
`udp.port==13322` caller leg
`udp.port==1025` callee legs
`udp.srcport==5060&&udp.dstport==5060` yealink phone
`udp.port==15502` xlite
[blf-test.pcap.gz](https://github.com/kamailio/kamailio/files/1849284/blf-te…
packet 14 - kamailio reports 201 extension is Available to xlite
packet 25 - kamailio reports 201 is early to yealink (unexpected)
packet 108 - created call to 201 extension
packer 109 - ringing to caller
packet 118 - kamailio send ringing to caller
packet 119 - INVITE send to callee
packet 124 - callee send Trying
packet 127 - kamailio reports 201 is ringing to yalink
packet 129 - kamailio reports 201 is busy to xlite
packet 145 - kamailio send session progress to caller
packet 146 - callee send ringing
packet 154 - caller send cancel
packet 156 - kamailio send early to yealink (unexpected)
packet 156 - kamailio send Available to x-lite
### Possible Solutions
not known
### Additional Information
Kamailio installed from kazoo team repo
```
[root@kamailio01 ~]# kamailio -V
version: kamailio 5.0.3 (x86_64/linux)
flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: unknown
compiled on 11:07:05 Sep 23 2017 with gcc 4.8.5
[root@kamailio01 ~]#
```
* **Operating System**:
<!--
Details about the operating system, the type: Linux (e.g.,: Debian 8.4, Ubuntu 16.04, CentOS 7.1, ...), MacOS, xBSD, Solaris, ...;
Kernel details (output of `uname -a`)
-->
```
[root@kamailio01 ~]# uname -a
Linux kamailio01.cloudpbx.ai.co.uk 3.10.0-514.6.1.el7.x86_64 #1 SMP Wed Jan 18 13:06:36 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
[root@kamailio01 ~]# cat /etc/redhat-release
CentOS Linux release 7.3.1611 (Core)
[root@kamailio01 ~]#
```
--
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/1489
<!--
Kamailio Project uses GitHub Issues only for bugs in the code or feature requests.
If you have questions about using Kamailio or related to its configuration file,
ask on sr-users mailing list:
* http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
If you have questions about developing extensions to Kamailio or its existing
C code, ask on sr-dev mailing list
* http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
Please try to fill this template as much as possible for any issue. It helps the
developers to troubleshoot the issue.
If you submit a feature request (or enhancement), you can delete the text of
the template and only add the description of what you would like to be added.
If there is no content to be filled in a section, the entire section can be removed.
You can delete the comments from the template sections when filling.
You can delete next line and everything above before submitting (it is a comment).
-->
### Description
event_callback for app_lua is not working
### Troubleshooting
#### Reproduction
# ----- app_lua params ----
1. load the htable and app_lua with following parameters
modparam("app_lua", "reload", 1)
modparam("app_lua", "load", "/usr/local/etc/kamailio/route.lua")
modparam("htable", "event_callback", "ksr_htable_event")
-- event callback function implemented in Lua
function ksr_htable_event(evname)
KSR.info("===== htable module triggered event: " .. evname .. "\n");
return 1;
end
#### Debugging Data
May 3 12:15:19 ip-172-31-4-160 kamailio[9797]: ERROR: app_lua [app_lua_api.c:652]: app_lua_run_ex(): lua loading state not initialized (call: ksr_htable_event)
```
(paste your debugging data here)
```
#### Log Messages
```
May 3 12:15:19 ip-172-31-4-160 kamailio[9797]: ERROR: app_lua [app_lua_api.c:652]: app_lua_run_ex(): lua loading state not initialized (call: ksr_htable_event)
```
#### SIP Traffic
<!--
If the issue is exposed by processing specific SIP messages, grab them with ngrep or save in a pcap file, then add them next, or attach to issue, or provide a link to download them (e.g., to a pastebin site).
-->
```
(paste your sip traffic here)
```
### Possible Solutions
<!--
If you found a solution or workaround for the issue, describe it. Ideally, provide a pull request with a fix.
-->
### Additional Information
* **Kamailio Version** - output of `kamailio -v`
```
root@ip-172-31-4-160:/usr/local/etc/kamailio# kamailio -v
version: kamailio 5.1.3 (x86_64/linux)
flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: unknown
compiled on 15:16:50 Apr 24 2018 with gcc 4.8.4
```
* **Operating System**:
<!--
Details about the operating system, the type: Linux (e.g.,: Debian 8.4, Ubuntu 16.04, CentOS 7.1, ...), MacOS, xBSD, Solaris, ...;
Kernel details (output of `uname -a`)
-->
```
root@ip-172-31-4-160:/usr/local/etc/kamailio# uname -a
Linux ip-172-31-4-160 3.13.0-143-generic #192-Ubuntu SMP Tue Feb 27 10:45:36 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
```
--
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/1519
- URL: https://github.com/kamailio/kamailio/commit/cefd474c13756b2a37b5969620ab8c0…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-05-09T11:59:31+02:00
cfgutils: update route_if_exists() to have same behaviour as route()
- do not run the route block as a top route
- related to GH #1503
(cherry picked from commit 9670bd80550b9e0c2af1d5d61df618292346ba28)
- URL: https://github.com/kamailio/kamailio/commit/c5df8556f2c4189c01e4ddf3f9a1309…
Author: Konstantin Poliakov <k.polyakov(a)mightycall.com>
Date: 2018-05-09T12:00:46+02:00
nathelper: it doesn't ping contacts if ping_nated_only=0
- nathelper sends ping only if nat flag is specified, but if ping_nated_only=0 it should ping all contact in any case.
(cherry picked from commit b34cf58a3a88e5ed2b2aa6aa9e5df0e5bb1808f9)
- URL: https://github.com/kamailio/kamailio/commit/d75068d2ecd12189c0cc238ed073785…
Author: Konstantin Poliakov <k.polyakov(a)mightycall.com>
Date: 2018-05-09T12:00:55+02:00
nathelper: moved var declaration into the begining of function.
(cherry picked from commit 2fb84e5e101b61bbaedc18d8b37188cbc6b1cee8)
- URL: https://github.com/kamailio/kamailio/commit/e0c84fcd3159ed81d66461c9b14f385…
Author: Konstantin Poliakov <k.polyakov(a)mightycall.com>
Date: 2018-05-09T12:01:13+02:00
usrloc: use UL_DB_EXPIRES_SET() inside get_all_db_ucontacts()
- fix matching date field for some backends, such as mongodb, as well as
obey ul_expires_type value
(cherry picked from commit 944dc1dc1e6261a3c179ff11bf3531e379eb9f35)
- URL: https://github.com/kamailio/kamailio/commit/b30e500576ba1e4e31b530c5bee6369…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-05-09T12:01:24+02:00
usrloc: removed useless set of db type for expire column
(cherry picked from commit 943724e62c2b3bb98a37d9f496cc6c76ecb976cb)
- URL: https://github.com/kamailio/kamailio/commit/4b174a25e895545e4e101b23ad4d6cd…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-05-09T12:01:52+02:00
core: print rr type for rpc dns.view
(cherry picked from commit b72e0b6984e87b42f0a578a6b220a28a80e67737)
- URL: https://github.com/kamailio/kamailio/commit/981fd4dc2ca4ef49544385b1b82b0dc…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-05-09T12:02:05+02:00
core: dns - print index and remove per record type printing added previously
- type is already printed at the top of the structure
(cherry picked from commit 6285b5ebe02d39bf77baa8f29d16de246dc1ad77)
- URL: https://github.com/kamailio/kamailio/commit/89a91f11f5bdb87d91f5b2003ef7bfe…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-05-09T12:02:18+02:00
htable: added parameter event_callback_mode
- control when event_route[htable:init] is executed: 0 - after all
modules were initialized; 1 - in first worker process; (default 0)
- fixes use with kemi framework by using value 1, because after module
initialization the kemi framework is not ready, being set up per child
process
- reported by GH #1519
(cherry picked from commit 1b8ab8458806106a51de26afd06be5e3a15188b0)
- URL: https://github.com/kamailio/kamailio/commit/1295aadf9055be1542b4436d84fd759…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-05-09T12:02:26+02:00
htable: docs for event_callback_mode parameter
(cherry picked from commit e72a41906da417cedb81ef8216c3c084fbb4902d)
- URL: https://github.com/kamailio/kamailio/commit/75e29b91ebb54fc5ad3ce5ccbdc9230…
Author: surendratiwari3 <surendratiwari3(a)gmail.com>
Date: 2018-05-09T12:02:41+02:00
Module: htable:: event_callback_mode to int
(cherry picked from commit 896c5e1c76e6836bedaf66f9b832020a0d70c04b)
- URL: https://github.com/kamailio/kamailio/commit/e4cca93ff255b391ae5c4cfedf3ccc5…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-05-09T12:02:52+02:00
core: rpc dns.view returns an array of records
(cherry picked from commit 648dd937831654d40a9d615319693b87db31ef94)
- URL: https://github.com/kamailio/kamailio/commit/04bd1288ba84223695c5e01e8f587fd…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-05-09T12:03:04+02:00
dispatcher: declare vars at beginning of the block in rpc command
(cherry picked from commit c73a22abb1691e3c25b5f599e5f387540f152913)
- URL: https://github.com/kamailio/kamailio/commit/ed235c5a5671fa9011e489e2ab1ff03…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-05-09T12:03:40+02:00
core: rpc dns.view outputs proper formatted structure
- previously it was doing sort of printf to emulate structures
(cherry picked from commit ab9e9eba2bdd70a6bac296b88331a137c6a3cbd0)
- URL: https://github.com/kamailio/kamailio/commit/e86116142f4c30ba5f9afbeebf55850…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-05-09T12:03:54+02:00
db_perlvdb: proper lookup for app_perl module
- reported by shaheryarkh(a)gmail.com
(cherry picked from commit 1226ae471627547ef00c651b78b37e1c397adc23)
- URL: https://github.com/kamailio/kamailio/commit/7998b253bd6ed2e589f94d18a85aec9…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-05-09T12:04:02+02:00
db_perlvdb: updated the db api exported fields
(cherry picked from commit c7aa0a9e3796b1fcd70305a2878d62bf251a9b5e)
- URL: https://github.com/kamailio/kamailio/commit/1cac068d1acdd44081a1c4e65a317a4…
Author: surendratiwari3 <surendratiwari3(a)gmail.com>
Date: 2018-05-09T12:04:17+02:00
misc:kemi_lua append_hf to append
(cherry picked from commit 5ceb3b857d448fed1e819812dcb4a9724243cdb8)
- URL: https://github.com/kamailio/kamailio/commit/052cfbd844b662cac17910f55111ad8…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-05-09T12:04:32+02:00
core: dns cache - print status as field in rpc structure
(cherry picked from commit 1822d974ff1704cca3a1db5fce0507be47af3928)
- URL: https://github.com/kamailio/kamailio/commit/fcd3974e85b549c85cb7fb3a11e9d01…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-05-09T12:04:42+02:00
db_perlvdb: added const specifiers to get rid of warnings
(cherry picked from commit 6a152024a40abdb89842aaee418088fe3fb23ae2)
- URL: https://github.com/kamailio/kamailio/commit/256d06bc1902f59354fb0bee37a1e34…
Author: uts09 <uttamhoode(a)gmail.com>
Date: 2018-05-09T12:04:59+02:00
misc/examples/ims: replaced deprecated mi_fifo with jsonrpcs
- submitted via PR #1524
(cherry picked from commit e17853d8804fa7f10688676d313014ac6e313215)
- URL: https://github.com/kamailio/kamailio/commit/e5745ca3d058f82e957a761b4b800f8…
Author: Muhammad Shahzad <shaheryarkh(a)gmail.com>
Date: 2018-05-09T12:05:13+02:00
db_perlvdb: updated code and documentation for latest db api
- GH #1525
(cherry picked from commit 1a15e985de8cc4a5c836dacd0df4afdb6b6efb1b)