[sr-dev] [kamailio/kamailio] Possible bug with track_cseq_updates set in dialog (#789)

yasir ay yasiray at gmail.com
Thu Sep 29 12:26:21 CEST 2016


Hai team,

version: kamailio 4.4.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 02:42:17 Sep 20 2016 with gcc 4.8.5


​1.remove_hf is not working​
2.if use remove_hf i am not getting BYE
here i am trying to migrate opensips to kamailio 4.4.3
3.I am not able to set maxptime

PFA


http://about.me/mhdyas

On Thu, Sep 29, 2016 at 2:48 PM, scfcplummy <notifications at github.com>
wrote:

> I've cloned and compiled the latest:
>
> kamailio -v
> version: kamailio 5.0.0-dev6 (x86_64/linux) 276ccc-dirty
> 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: 276ccc -dirty
> compiled on 10:07:00 Sep 29 2016 with gcc 5.4.0
>
> But I still get the same issue:
>
> Sep 29 10:14:43 sbc /usr/local/sbin/kamailio[47154]: ERROR:
> [msg_translator.c:418]: clen_builder(): no message body found (missing
> crlf?) [[INVITE sip:+447580842258 at sbc1.o365.voice.redcentric;user=phone
> SIP/2.0#015#012FROM: "Peter Pulham"sip:+441132214578 at o365.
> redcentric.training;user=phone;epid=4BE95AECD5;tag=7d6f29c5a0#015#012TO:
> sip:+447580842258 at sbc1.o365.voice.redcentric;user=phone#15
> <https://github.com/kamailio/kamailio/issues/15>#012CSEQ: 17068
> INVITE#015#012CALL-ID: f7b8ef80-c45d-45dc-ac79-9cc38d054238#015#012MAX-FORWARDS:
> 69#015#012VIA: SIP/2.0/TCP 192.168.4.153:57850;branch=z9hG4bKfe6465#015#012CONTACT:
> sip:MediationServer.o365.voice.redcentric:5068;
> transport=Tcp;maddr=192.168.4.153;ms-opaque=7d1538e1e699b871#15
> <https://github.com/kamailio/kamailio/issues/15>#012CONTENT-LENGTH:
> 342#015#012SUPPORTED: 100rel#015#012USER-AGENT: RTCC/6.0.0.0
> MediationServer#015#012CONTENT-TYPE: application/sdp#015#012ALLOW:
> ACK#015#012P-ASSERTED-IDENTITY: "Peter Pulham"sip:peter.pulham at o365.
> redcentric.training,tel:+441132214578#15
> <https://github.com/kamailio/kamailio/issues/15>#012Privacy:
> id#015#012Allow: CANCEL,BYE,INVITE,PRACK,UPDATE#015#012#015#012v=0#015#012o=-
> 61 1 IN IP4 192.168.4.153#015#012s=session#015#012c=IN IP4
> 192.168.4.153#015#012b=CT:1000#015#012t=0 0#015#012m=audio 51284 RTP/AVP
> 97 101 13 0 8#015#012c=IN IP4 192.168.4.153#015#012a=rtcp:
> 51285#015#012a=label:Audio#015#012a=sendrecv#015#012a=rtpmap:97
> RED/8000#015#012a=rtpmap:101 telephone-event/8000#015#012a=fmtp:101
> 0-16#015#012a=rtpmap:13 CN/8000#015#012a=rtpmap:0
> PCMU/8000#015#012a=rtpmap:8 PCMA/8000#015#012a=ptime:20#015#012]]
> Sep 29 10:14:43 sbc /usr/local/sbin/kamailio[47154]: ERROR:
> [msg_translator.c:1965]: build_req_buf_from_sip_req(): Error while
> adjusting Content-Length
> Sep 29 10:14:43 sbc /usr/local/sbin/kamailio[47154]: ERROR: tm
> [t_fwd.c:476]: prepare_new_uac(): could not build request
> Sep 29 10:14:43 sbc /usr/local/sbin/kamailio[47154]: ERROR: tm
> [t_fwd.c:1741]: t_forward_nonack(): ERROR: t_forward_nonack: failure to add
> branches
> Sep 29 10:14:43 sbc /usr/local/sbin/kamailio[47154]: ERROR: tm
> [tm.c:1426]: _w_t_relay_to(): t_forward_noack failed
>
> Many thanks
>
>> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/kamailio/kamailio/issues/789#issuecomment-250414108>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AF36ZRHz14NjwJIyUzMrZXr11_7PLbX4ks5qu4J1gaJpZM4KBSky>
> .
>
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20160929/e03541b7/attachment-0001.html>
-------------- next part --------------


OPENSIPS
=========================
U 2016/09/20 07:17:07.186526 zzz.zzz.zz.zz:5060 -> xxx.xxx.xxx.xx:5060
SIP/2.0 200 OK.
Call-ID: EmlhmZ7Rgo.
CSeq: 21 INVITE.
Record-Route: <sip:zzz.zzz.zz.zz:5060;lr>,<sip:xxx.xx.xxx.xxx;lr;r2=on;ftag=-KAjCGKCS>,<sip:yyy.yy.yyy.yyy:443;transport=tls;lr;r2=on;ftag=-KAjCGKCS>.
Accept: application/sdp,application/isup,application/dtmf,application/dtmf-relay,multipart/mixed.
Allow: INVITE,ACK,CANCEL,BYE,REGISTER,REFER,INFO,SUBSCRIBE,NOTIFY,PRACK,UPDATE,OPTIONS,MESSAGE,PUBLISH.
Content-Disposition: session;handling=required.
Contact: <sip:zzz.zzz.zz.zz:5060>.
Via: SIP/2.0/UDP xxx.xx.xxx.xxx:5060;branch=z9hG4bK3e02.1aa513b.0,SIP/2.0/UDP 192.168.1.125:44717;rport=44717;branch=z9hG4bK.kLqhouqqc;received=aa.aa.aa.aaa.
To: <sip:91480xxxxx at zzz.zzz.zz.zz>;tag=GB-1474369455881.
Content-Type: application/sdp.
From: <sip:249636600 at zzz.zzz.zz.zz>;tag=-KAjCGKCS.
Content-Length: 198.
.
v=0.
o=Sonus_UAC 1133751253 1334703812 IN IP4 bbb.bbb.bb.bb.
s=Nexge.
c=IN IP4 bbb.bbb.bb.bb.
t=0 0.
m=audio 17974 RTP/AVP 18.
a=rtpmap:18 G729/8000.
a=fmtp:18 annexb=no.
a=sendrecv.
a=maxptime:20.



KAMAILIO
===========================================================

U 2016/09/21 06:05:48.800528 115.112.144.18:5060 -> 192.69.136.4:5060
INVITE sip:919544678732 at 192.69.136.4 SIP/2.0.
Record-Route: <sip:yyy.yy.yyy.yyy:5060;r2=on;lr;ftag=SRvSyPNQO>.
Record-Route: <sip:115.112.144.18;line=sr-N6IAzBFsMJZ6zmZfMl37MBMwzBP4Ml14NEt7Nw05NhPQpSflzwVLHRQ7z6fLz6g43RNQjue6jwIP.ItH>.
Via: SIP/2.0/UDP yyy.yy.yyy.yyy:5060;branch=z9hG4bKc58b.6f7e9f1ed2bafa5c0f37f17d2a00d3b4.0;i=1.
Via: SIP/2.0/UDP 115.112.144.18;branch=z9hG4bKsr-j4IPOlV7MGQj.tMcM.qLOBF6zGZlOBFfW.vuWxPZW.1LgRWIC9gIgx4fz.V7M.3ZOBM7M.FuzuaVHRaYpB1JNEt736cQkBIvalaJmLZsK.rPPEIrWINXNh05NhPQW.P4zxj*.
From: <sip:376777 at 192.69.136.4>;tag=SRvSyPNQO.
To: "919544678732" <sip:919544678732 at 192.69.136.4>.
CSeq: 21 INVITE.
Call-ID: r9TSan9PpI.
Max-Forwards: 69.
Supported: outbound.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO, UPDATE.
Content-Type: application/sdp.
Content-Length: 186.
sip:376777 at 192.168.3.115:54485;transport=tlsProxy-Authorization:  Digest realm="192.69.136.4", nonce="6be6c6f3181f616a4130987e78f551c2", algorithm=MD5, username="376777",  uri="sip:919544678732 at 192.69.136.4", response="71f678e0f614156c11ea0d5f31810819".
Contact: <sip:115.112.144.18;line=sr-N6IAzBMwWBNwW404g9W4ORW536rYoJsl39Iho6u53EIdgmsBo64-W.y6My**>.
User-Agent: HD Dialer 1.5.1.
.
v=0.
o=376777 1327 2864 IN IP4 192.168.3.115.
s=HD Dialer.
c=IN IP4 192.168.3.115.
b=AS:380.
t=0 0.
m=audio 49288 RTP/AVP 18 101.
a=fmtp:18 annexb=no.
a=rtpmap:101 telephone-event/8000.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kamailio_chk.cfg
Type: application/octet-stream
Size: 23226 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20160929/e03541b7/attachment-0001.obj>


More information about the sr-dev mailing list