Description

Using xmlrpc command to generate the bye using terminate_dlg request:

Troubleshooting

Reproduction

use xmlrpc request to terminate the dialog

curl --data @xmlrpc http://13.57.122.212:8080/RPC

xmlrpc file will have following things

<?xml version="1.0"?>
<methodCall>
<methodName>dlg.terminate_dlg</methodName>
<params>
<param><value><string>fe6361a2-52f0-1237-e5a2-06119108e458</string></value></param>
<param><value><string>07322vj6a8taa</string></value></param>
<param><value><string>gK09f669d8</string></value></param>
</params>
</methodCall>

Debugging Data

(paste your debugging data here)

Log Messages

(paste your log messages here)

SIP Traffic

**Bye message without xmlrpc**
BYE sip:gw+plivo.com@13.57.90.158:5080;transport=tcp;transport=tcp;gw=plivo.com;alias=13.57.90.158~49325~2 SIP/2.0.
Record-Route: <sip:13.57.122.212;lr;ftag=gK07d4ffc2>.
Record-Route: <sip:18.214.109.132:5060;lr;ftag=gK07d4ffc2>.
Via: SIP/2.0/UDP 13.57.122.212:5060;branch=z9hG4bK154c.8fa2a8729a68989c41230f0906bcd2bd.0.
Via: SIP/2.0/UDP 18.214.109.132:5060;rport=5060;branch=z9hG4bK154c.44759fe4.0.
Via: SIP/2.0/UDP 81.52.176.68:5060;branch=z9hG4bK07Badb05d2bebab0ac9.
From: <sip:+919967609476@81.52.176.68>;tag=gK07d4ffc2.
To: "919967609476" <sip:+919967609476@54.183.206.134>;tag=5SDBNUapcZv5m.
Call-ID: 237f21f0-52db-1237-e5a2-06119108e458.
CSeq: 29061 BYE.
Max-Forwards: 68.
Route: <sip:54.183.206.134:5060;r2=on;lr;ftag=5SDBNUapcZv5m;nat=yes>.
Route: <sip:54.183.206.134:5060;transport=tcp;r2=on;lr;ftag=5SDBNUapcZv5m;nat=yes>.
Reason: Q.850;cause=16.
Content-Length: 0.
..

**Bye message using xmlrpc request**
U 172.31.4.160:5060 -> 54.183.206.134:5060
BYE sip:gw+plivo.com@13.57.90.158:5080;transport=tcp;transport=tcp;gw=plivo.com SIP/2.0.
Via: SIP/2.0/UDP 13.57.122.212:5060;branch=z9hG4bK7841.79765615000000000000000000000000.0.
To: <sip:suren1002170622114516@54.183.206.134>;tag=Hv494Z9D8D9rH.
From: <sip:919967609476@54.183.206.134>;tag=gK0cf13bdd.
CSeq: 1 BYE.
Call-ID: 56783745-52ef-1237-e5a2-06119108e458.
Route: <sip:54.183.206.134:5060;r2=on;lr;ftag=Hv494Z9D8D9rH;nat=yes>, <sip:54.183.206.134;transport=tcp;r2=on;lr;ftag=Hv494Z9D8D9rH;nat=yes>.
Content-Length: 0.
User-Agent: kamailio (5.1.4 (x86_64/linux)).
Max-Forwards: 70.
..

Possible Solutions

Additional Information

root@ip-172-31-4-160:/etc/kamailio# kamailio -version
version: kamailio 5.1.4 (x86_64/linux) 6ebfda
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: 6ebfda 
compiled on 11:48:26 Sep  7 2018 with gcc 4.8.4
root@ip-172-31-4-160:/etc/kamailio# lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 14.04.5 LTS
Release:	14.04
Codename:	trusty

root@ip-172-31-4-160:/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, view it on GitHub, or mute the thread.