Hi all,
I face a problem when trying to forward an UPDATE request to the IMS which
communicates with UDP transport protocol on one side UDP and SCTP on other
side. When I try to send UPDATE towards the UDP side of IMs I see following
error on kamailio side and request cannot be forwarded
Jun 25 16:19:18 prashant-0lk-sbc-1 /usr/sbin/kamailio[1223341]: ERROR:
<core> [core/udp_server.c:597]: udp_send(): sendto(sock, buf:
0x7fc180deb5f0, len: 1509, 0, dst: (172.18.0.20:5060), tolen: 16) - err:
Invalid argument (22)
Jun 25 16:19:18 prashant-0lk-sbc-1 /usr/sbin/kamailio[1223341]: CRITICAL:
<core> [core/udp_server.c:603]: udp_send(): invalid sendtoparameters#012one
possible reason is the server is bound to localhost and#012attempts to send
to the net
The UPDATE message which is tried to be forwarded is as follow:
Here there are double rr one is UDP and one is sctp (Route: <
sip:mt@172.18.0.20;lr;did=6aa.aaa;ftag=49IZjY2irfb;r2=on>, <
sip:mt@172.18.0.20;lr;transport=sctp;did=6aa.aaa;ftag=49IZjY2irfb;r2=on>)
)
That would be great if you can help why this UPDATE cannot be forwarded.
By the way double rr is on on kamailio config
Jun 25 16:19:18 prashant-0lk-sbc-1 /usr/sbin/kamailio[1223341]: DEBUG:
<core> [core/forward.c:577]: forward_request(): Sending:#012UPDATE
sip:alice@10.10.141.188;ob;sbc-id=xpllrk47odqh4pb2ofpib6vsym
SIP/2.0#015#012Via: SIP/2.0/UDP
127.0.0.1:50601;branch=z9hG4bKddab.3554948ce3cfe321729448a2b082c2f3.0#015#012Via:
SIP/2.0/UDP 127.0.0.1:7060;branch=z9hG4bKnHN8Q3ya#015#012To: <
sip:alice@ims.wingcon.com>;tag=49IZjY2irfb#015#012From: <
sip:bob@ims.wingcon.com>;tag=hfdqjj2pmui#015#012Call-Id:
3mzzecWt3Cbgvy#015#012CSeq: 1 UPDATE#015#012Max-Forwards:
70#015#012Contact:
<sip:bob@10.10.141.188;ob;sbc-id=o7dpxe7qu2r34zwzio5pis2vqi>#015#012Content-Type:
application/sdp#015#012Route:
<sip:mt@172.18.0.20;lr;did=6aa.aaa;ftag=49IZjY2irfb;r2=on>,
<sip:mt@172.18.0.20;lr;transport=sctp;did=6aa.aaa;ftag=49IZjY2irfb;r2=on>, <
sip:mo@172.18.0.20;lr;did=6aa.9aa;ftag=49IZjY2irfb;r2=on>, <
sip:mo@172.18.0.20;lr;transport=sctp;did=6aa.9aa;ftag=49IZjY2irfb;r2=on>, <
sip:mo@172.18.0.120;lr>#015#012Session-Expires:
180;refresher=uas#015#012Supported: replaces, 100rel, timer,
norefersub#015#012Min-SE: 90#015#012P-Charging-Vector:
icid-value=e277783432fd11efba03fa163eed425f;icid-generated-at=172.18.0.120;orig-ioi=172.18.0.120;term-ioi=172.18.0.120#015#012User-Agent:
PJSUA v2.14 Linux-5.4.0.172/x86_64/glibc-2.35#015#012Content-Length:
409#015#012#015#012v=0#015#012o=- 3928313948 3928313950 IN IP4
172.18.0.120#015#012s=pjmedia#015#012b=AS:84#015#012t=0
0#015#012a=X-nat:0#015#012m=audio 30106 RTP/AVP 8 96 97 121 120#015#012c=IN
IP4 172.18.0.120#015#012b=TIAS:64000#015#012a=ssrc:1986855169
cname:1fca52e812ced466#015#012a=rtpmap:8 PCMA/8000#015#012a=rtpmap:96
AMR/8000#015#012a=rtpmap:97 AMR-WB/16000#015#012a=rtpmap:121
telephone-event/16000#015#012a=fmtp:121 0-16#015#012a=rtpmap:120
telephone-event/8000#015#012a=fmtp:120
0-16#015#012a=sendrecv#015#012a=rtcp:30107#015#012.
Regards
Serkan
Show replies by date