[sr-dev] [kamailio/kamailio] nathelper: test sdp c line and sip source ip address is matched. (#2045)

Yasin CANER notifications at github.com
Mon Aug 26 12:13:59 CEST 2019


@miconda 
I dont understand reason but it gives empty line.
loggin:
```
LM_ERR("SDP CLINE2 [%*.s][LEN: %d] \n",session->ip_addr.len,&session->ip_addr.s[0],session->ip_addr.len);
LM_ERR("SDP CLINE2 [%s] \n",&session->ip_addr.s[0]);
```

here is result

```
9(4455) ERROR: {1 1 INVITE 1-4478 at 192.168.1.39} nathelper [nathelper.c:1370]: test_sdp_cline(): SDP CLINE2 [            ][LEN: 12]
 9(4455) ERROR: {1 1 INVITE 1-4478 at 192.168.1.39} nathelper [nathelper.c:1371]: test_sdp_cline(): SDP CLINE2 [192.168.1.39
t=0 0
m=audio 6000 RTP/AVP 8
a=rtpmap:8 PCMA/8000
]

```

-- 
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/pull/2045#issuecomment-524804946
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20190826/03548397/attachment.html>


More information about the sr-dev mailing list