tried doing a post on a https URL and kamailio crashes as soon as it receives a 200 response. Kamailio continues processing the response is error but on a successful response it crashes. Here's the backtrace from the core:
0x00007f62f2bf8e38 in ?? ()
#1 0x00007f62ea22251b in http_query (_m=0x7f62f2c3a038,
_url=0x7f62f2bf3548 "\330\064\277\362b\177", _dst=0x7f62f2bf9250
"\030\215\277\362b\177", _post=0x7f62f2bf35c8 "\200r\277\362b\177",
_hdr=0x7f62f2bf91d0 "h\221\277\362b\177") at functions.c:226
#2 0x00007f62ea229e0b in w_http_query_post_hdr (_m=0x7f62f2c3a038,
_url=0x7f62f2bf3548 "\330\064\277\362b\177", _post=0x7f62f2bf35c8
"\200r\277\362b\177", _hdr=0x7f62f2bf91d0 "h\221\277\362b\177",
_result=0x7f62f2bf9250 "\030\215\277\362b\177") at utils.c:483
#3 0x000000000041f6b5 in do_action (h=0x7ffeb128c8c0, a=0x7f62f2bf8a58,
msg=0x7f62f2c3a038) at action.c:1079
#4 0x000000000042c2ea in run_actions (h=0x7ffeb128c8c0, a=0x7f62f2bf6fc0,
msg=0x7f62f2c3a038) at action.c:1549
#5 0x000000000041f3ce in do_action (h=0x7ffeb128c8c0, a=0x7f62f2bfb9b0,
msg=0x7f62f2c3a038) at action.c:1045
#6 0x000000000042c2ea in run_actions (h=0x7ffeb128c8c0, a=0x7f62f2bb9388,
msg=0x7f62f2c3a038) at action.c:1549
#7 0x000000000041bc28 in do_action (h=0x7ffeb128c8c0, a=0x7f62f2b8f248,
msg=0x7f62f2c3a038) at action.c:678
#8 0x000000000042c2ea in run_actions (h=0x7ffeb128c8c0, a=0x7f62f2b8e268,
msg=0x7f62f2c3a038) at action.c:1549
#9 0x000000000041f3ce in do_action (h=0x7ffeb128c8c0, a=0x7f62f2b91040,
msg=0x7f62f2c3a038) at action.c:1045
#10 0x000000000042c2ea in run_actions (h=0x7ffeb128c8c0, a=0x7f62f2b8b7a8,
msg=0x7f62f2c3a038) at action.c:1549
#11 0x000000000041bc28 in do_action (h=0x7ffeb128c8c0, a=0x7f62f2b3a2c0,
msg=0x7f62f2c3a038) at action.c:678
#12 0x000000000042c2ea in run_actions (h=0x7ffeb128c8c0, a=0x7f62f2b3a2c0,
msg=0x7f62f2c3a038) at action.c:1549
#13 0x000000000041f3ce in do_action (h=0x7ffeb128c8c0, a=0x7f62f2b47f00,
msg=0x7f62f2c3a038) at action.c:1045
#14 0x000000000042c2ea in run_actions (h=0x7ffeb128c8c0, a=0x7f62f2b37e80,
msg=0x7f62f2c3a038) at action.c:1549
#15 0x000000000041bc28 in do_action (h=0x7ffeb128c8c0, a=0x7f62f2b1c9c8,
msg=0x7f62f2c3a038) at action.c:678
#16 0x000000000042c2ea in run_actions (h=0x7ffeb128c8c0, a=0x7f62f2b1c9c8,
msg=0x7f62f2c3a038) at action.c:1549
#17 0x000000000041f3ce in do_action (h=0x7ffeb128c8c0, a=0x7f62f2b1cc28,
msg=0x7f62f2c3a038) at action.c:1045
#18 0x000000000042c2ea in run_actions (h=0x7ffeb128c8c0, a=0x7f62f2b170a0,
msg=0x7f62f2c3a038) at action.c:1549
#19 0x000000000042ca93 in run_top_route (a=0x7f62f2b170a0,
msg=0x7f62f2c3a038, c=0x0) at action.c:1635
#20 0x000000000051c115 in receive_msg (
buf=0xab7520 <buf> "INVITE
sip:bdbbf600000001b5b919d0 at devsip.abcd.com:8321 SIP/2.0\r\nRecord-Route:
<sip:203.153.53.145:8300;r2=on;lr=on>\r\nRecord-Route:
<sip:203.153.53.145:8321;transport=tcp;r2=on;lr=on>\r\nVia:
SIP/2.0/UDP"..., len=1901, rcv_info=0x7ffeb128cc10) at receive.c:196
#21 0x000000000062d427 in udp_rcv_loop () at udp_server.c:495
#22 0x00000000004b28c1 in main_loop () at main.c:1593
#23 0x00000000004b9aa5 in main (argc=5, argv=0x7ffeb128d118) at main.c:2597
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/432
Module: kamailio
Branch: master
Commit: 572fa1b4497571ec68453c97b3080740364d3335
URL: https://github.com/kamailio/kamailio/commit/572fa1b4497571ec68453c97b308074…
Author: Stefan Mititelu <stefan.mititelu(a)1and1.ro>
Committer: Stefan Mititelu <stefan.mititelu(a)1and1.ro>
Date: 2015-12-14T15:02:53+02:00
tmx: Update doku
Update doku related to the counters changes.
---
Modified: modules/tmx/doc/tmx_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/572fa1b4497571ec68453c97b308074…
Patch: https://github.com/kamailio/kamailio/commit/572fa1b4497571ec68453c97b308074…
---
diff --git a/modules/tmx/doc/tmx_admin.xml b/modules/tmx/doc/tmx_admin.xml
index 65de597..705113f 100644
--- a/modules/tmx/doc/tmx_admin.xml
+++ b/modules/tmx/doc/tmx_admin.xml
@@ -626,72 +626,105 @@ event_route [tm:branch-failure:contact] {
Exported statistics are listed in the next sections. All statistics
except <quote>inuse_transactions</quote> can be reset.
</para>
- <section>
- <title>received_replies</title>
- <para>
- Total number of total replies received by TM module.
- </para>
- </section>
- <section>
- <title>relayed_replies</title>
- <para>
- Total number of replies received and relayed by TM module.
- </para>
- </section>
- <section>
- <title>local_replies</title>
- <para>
- Total number of replies local generated by TM module.
- </para>
- </section>
+
<section>
<title>UAS_transactions</title>
<para>
Total number of transactions created by received requests.
</para>
</section>
+
<section>
<title>UAC_transactions</title>
<para>
Total number of transactions created by local generated requests.
</para>
</section>
+
<section>
<title>2xx_transactions</title>
<para>
Total number of transactions completed with 2xx replies.
</para>
</section>
+
<section>
<title>3xx_transactions</title>
<para>
Total number of transactions completed with 3xx replies.
</para>
</section>
+
<section>
<title>4xx_transactions</title>
<para>
Total number of transactions completed with 4xx replies.
</para>
</section>
+
<section>
<title>5xx_transactions</title>
<para>
Total number of transactions completed with 5xx replies.
</para>
</section>
+
<section>
<title>6xx_transactions</title>
<para>
Total number of transactions completed with 6xx replies.
</para>
</section>
+
<section>
<title>inuse_transactions</title>
<para>
Number of transactions existing in memory at current time.
</para>
</section>
+
+ <section>
+ <title>active_transactions</title>
+ <para>
+ Number of ongoing transactions at current time.
+ </para>
+ </section>
+
+ <section>
+ <title>received_replies</title>
+ <para>
+ Total number of replies received by TM module.
+ </para>
+ </section>
+
+ <section>
+ <title>received_replies_absorbed</title>
+ <para>
+ Total number of replies received and not relayed by TM module.
+ </para>
+ </section>
+
+ <section>
+ <title>tmx:relayed_locally</title>
+ <para>
+ Total number of replies locally generated and relayed by TM module.
+ </para>
+ </section>
+
+ <section>
+ <title>relayed_received </title>
+ <para>
+ Total number of replies received and relayed by TM module.
+ </para>
+ </section>
+
+ <section>
+ <title>relayed_total</title>
+ <para>
+ Total number of replies relayed by TM module.
+ </para>
+ </section>
+
</section>
</chapter>