Hi,I am rolling my own SIP server and I got the following setup on a local network: UAC: Android 4.3 (192.168.1.88) sip:[email protected] <mailto:sip%[email protected]> UAS: LinPhone 3.7.0 (192.168.1.52) sip:[email protected] <mailto:sip%[email protected]>
SIP serv: 192.168.1.51
The calling UAC calls the UAS and it accepts the call. The call is created and I am able to speak.I hang up on the UAC or UAS and there's a chance that Linphone as the UAS might crash.
Now when I watch the "Recent Calls" in Linphone, then there's a random character(s?) as the caller name.
Right now its the character "<".There is even a chance that the character is "<SOH>" which will make Linphone crash. And if "<SOH> is also written into linphonerc as a call_log_x entry, then Linphone won't start at all.
Attached are: * Two calls (call1.txt and call2.txt) * linphone memoryleak.png - shows linphone program * linphonerc * linphonerc.png - notepad++ view of special characters. I can attach a stacktrace, but I have no symbol file for windbg to go on.
Received (713 bytes): 192.168.1.51:5060 <- 192.168.1.88:42335 INVITE sip:[email protected] SIP/2.0 Call-ID: [email protected] CSeq: 3839 INVITE From: "test2" <sip:[email protected]>;tag=3187154200 To: <sip:[email protected]> Via: SIP/2.0/UDP 192.168.1.88:42335;branch=z9hG4bKa2035c8d7681603d941337250e7f0bac323936;rport Max-Forwards: 70 Contact: "test2" <sip:[email protected]:42335;transport=udp> Content-Type: application/sdp Content-Length: 297 v=0 o=- 1408699377965 1408699377966 IN IP4 192.168.1.88 s=- c=IN IP4 192.168.1.88 t=0 0 m=audio 60964 RTP/AVP 96 97 3 0 8 127 a=rtpmap:96 GSM-EFR/8000 a=rtpmap:97 AMR/8000 a=rtpmap:3 GSM/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:127 telephone-event/8000 a=fmtp:127 0-15 ----------------------------------------------------------- Sending (294 bytes): 192.168.1.51:5060 -> 192.168.1.88:42335 <begin> SIP/2.0 100 Trying Via: SIP/2.0/UDP 192.168.1.88:42335;branch=z9hG4bKa2035c8d7681603d941337250e7f0bac323936;rport=42335 To: <sip:[email protected]> From: "test2" <sip:[email protected]>;tag=3187154200 Call-ID: [email protected] CSeq: 3839 INVITE Content-Length: 0 <end> ----------------------------------------------------------- Sending (809 bytes): 192.168.1.51:5060 -> 192.168.1.52:5060 <begin> INVITE sip:[email protected] SIP/2.0 Via: SIP/2.0/UDP 192.168.1.51:5060;branch=z9hG4bK-bd885d965ce3486bb63e3a458139469f;rport Call-ID: [email protected] CSeq: 3839 INVITE From: "test2" <sip:[email protected]>;tag=3187154200 To: <sip:[email protected]> Via: SIP/2.0/UDP 192.168.1.88:42335;branch=z9hG4bKa2035c8d7681603d941337250e7f0bac323936;rport=42335 Max-Forwards: 69 Contact: "test2" <sip:[email protected]:42335;transport=udp> Content-Type: application/sdp Content-Length: 297 v=0 o=- 1408699377965 1408699377966 IN IP4 192.168.1.88 s=- c=IN IP4 192.168.1.88 t=0 0 m=audio 60964 RTP/AVP 96 97 3 0 8 127 a=rtpmap:96 GSM-EFR/8000 a=rtpmap:97 AMR/8000 a=rtpmap:3 GSM/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:127 telephone-event/8000 a=fmtp:127 0-15 <end> ----------------------------------------------------------- Received (363 bytes): 192.168.1.51:5060 <- 192.168.1.52:5060 SIP/2.0 100 Trying Via: SIP/2.0/UDP 192.168.1.51:5060;branch=z9hG4bK-bd885d965ce3486bb63e3a458139469f;rport Via: SIP/2.0/UDP 192.168.1.88:42335;branch=z9hG4bKa2035c8d7681603d941337250e7f0bac323936;rport=42335 From: "test2" <sip:[email protected]>;tag=3187154200 To: sip:[email protected] Call-ID: [email protected] CSeq: 3839 INVITE ----------------------------------------------------------- Received (455 bytes): 192.168.1.51:5060 <- 192.168.1.52:5060 SIP/2.0 180 Ringing Via: SIP/2.0/UDP 192.168.1.51:5060;branch=z9hG4bK-bd885d965ce3486bb63e3a458139469f;rport Via: SIP/2.0/UDP 192.168.1.88:42335;branch=z9hG4bKa2035c8d7681603d941337250e7f0bac323936;rport=42335 From: "test2" <sip:[email protected]>;tag=3187154200 To: <sip:[email protected]>;tag=Hb5hvHx Call-ID: [email protected] CSeq: 3839 INVITE User-Agent: Linphone/3.7.0 (belle-sip/1.3.0) Supported: replaces, outbound ----------------------------------------------------------- Sending (383 bytes): 192.168.1.51:5060 -> 192.168.1.88:42335 <begin> SIP/2.0 180 Ringing Via: SIP/2.0/UDP 192.168.1.88:42335;branch=z9hG4bKa2035c8d7681603d941337250e7f0bac323936;rport=42335 From: "test2" <sip:[email protected]>;tag=3187154200 To: <sip:[email protected]>;tag=Hb5hvHx Call-ID: [email protected] CSeq: 3839 INVITE User-Agent: Linphone/3.7.0 (belle-sip/1.3.0) Supported: replaces,outbound Content-Length: 0 <end> ----------------------------------------------------------- Received (844 bytes): 192.168.1.51:5060 <- 192.168.1.52:5060 SIP/2.0 200 Ok Via: SIP/2.0/UDP 192.168.1.51:5060;branch=z9hG4bK-bd885d965ce3486bb63e3a458139469f;rport Via: SIP/2.0/UDP 192.168.1.88:42335;branch=z9hG4bKa2035c8d7681603d941337250e7f0bac323936;rport=42335 From: "test2" <sip:[email protected]>;tag=3187154200 To: <sip:[email protected]>;tag=Hb5hvHx Call-ID: [email protected] CSeq: 3839 INVITE User-Agent: Linphone/3.7.0 (belle-sip/1.3.0) Supported: replaces, outbound Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO Contact: <sip:[email protected]>;+sip.instance="<urn:uuid:4cc6ca29-f558-47d2-a79e-8ed94984fdd1>" Content-Type: application/sdp Content-Length: 161 v=0 o=test 59 3958 IN IP4 192.168.1.52 s=Talk c=IN IP4 192.168.1.52 t=0 0 m=audio 7078 RTP/AVP 0 8 127 a=rtpmap:127 telephone-event/8000 a=fmtp:127 0-15 ----------------------------------------------------------- Sending (744 bytes): 192.168.1.51:5060 -> 192.168.1.88:42335 <begin> SIP/2.0 200 Ok Via: SIP/2.0/UDP 192.168.1.88:42335;branch=z9hG4bKa2035c8d7681603d941337250e7f0bac323936;rport=42335 From: "test2" <sip:[email protected]>;tag=3187154200 To: <sip:[email protected]>;tag=Hb5hvHx Call-ID: [email protected] CSeq: 3839 INVITE User-Agent: Linphone/3.7.0 (belle-sip/1.3.0) Supported: replaces,outbound Allow: INVITE,ACK,CANCEL,OPTIONS,BYE,REFER,NOTIFY,MESSAGE,SUBSCRIBE,INFO Contact: <sip:[email protected]>;+sip.instance="<urn:uuid:4cc6ca29-f558-47d2-a79e-8ed94984fdd1>" Content-Type: application/sdp Content-Length: 161 v=0 o=test 59 3958 IN IP4 192.168.1.52 s=Talk c=IN IP4 192.168.1.52 t=0 0 m=audio 7078 RTP/AVP 0 8 127 a=rtpmap:127 telephone-event/8000 a=fmtp:127 0-15 <end> ----------------------------------------------------------- Received (324 bytes): 192.168.1.51:5060 <- 192.168.1.88:42335 ACK sip:[email protected] SIP/2.0 Call-ID: [email protected] CSeq: 3839 ACK Via: SIP/2.0/UDP 192.168.1.88:42335;branch=z9hG4bKce0aea9df8bbad8376bc84faddc062fb323936 From: "test2" <sip:[email protected]>;tag=3187154200 To: <sip:[email protected]>;tag=Hb5hvHx Max-Forwards: 70 Content-Length: 0 ----------------------------------------------------------- Sending (408 bytes): 192.168.1.51:5060 -> 192.168.1.52:5060 <begin> ACK sip:[email protected] SIP/2.0 Via: SIP/2.0/UDP 192.168.1.51:5060;branch=z9hG4bK-8a1416d814b0be7a47658677976d518b Call-ID: [email protected] CSeq: 3839 ACK Via: SIP/2.0/UDP 192.168.1.88:42335;branch=z9hG4bKce0aea9df8bbad8376bc84faddc062fb323936 From: "test2" <sip:[email protected]>;tag=3187154200 To: <sip:[email protected]>;tag=Hb5hvHx Max-Forwards: 69 Content-Length: 0 <end>
Received (713 bytes): 192.168.1.51:5060 <- 192.168.1.88:42335 INVITE sip:[email protected] SIP/2.0 Call-ID: [email protected] CSeq: 6757 INVITE From: "test2" <sip:[email protected]>;tag=3377864635 To: <sip:[email protected]> Via: SIP/2.0/UDP 192.168.1.88:42335;branch=z9hG4bK679c2e2a88be30886d14ee1f905d613d323936;rport Max-Forwards: 70 Contact: "test2" <sip:[email protected]:42335;transport=udp> Content-Type: application/sdp Content-Length: 297 v=0 o=- 1408699933479 1408699933480 IN IP4 192.168.1.88 s=- c=IN IP4 192.168.1.88 t=0 0 m=audio 52656 RTP/AVP 96 97 3 0 8 127 a=rtpmap:96 GSM-EFR/8000 a=rtpmap:97 AMR/8000 a=rtpmap:3 GSM/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:127 telephone-event/8000 a=fmtp:127 0-15 ----------------------------------------------------------- Sending (294 bytes): 192.168.1.51:5060 -> 192.168.1.88:42335 <begin> SIP/2.0 100 Trying Via: SIP/2.0/UDP 192.168.1.88:42335;branch=z9hG4bK679c2e2a88be30886d14ee1f905d613d323936;rport=42335 To: <sip:[email protected]> From: "test2" <sip:[email protected]>;tag=3377864635 Call-ID: [email protected] CSeq: 6757 INVITE Content-Length: 0 <end> ----------------------------------------------------------- Sending (809 bytes): 192.168.1.51:5060 -> 192.168.1.52:5060 <begin> INVITE sip:[email protected] SIP/2.0 Via: SIP/2.0/UDP 192.168.1.51:5060;branch=z9hG4bK-f0f7aff538be4fee9fc123994b1088ac;rport Call-ID: [email protected] CSeq: 6757 INVITE From: "test2" <sip:[email protected]>;tag=3377864635 To: <sip:[email protected]> Via: SIP/2.0/UDP 192.168.1.88:42335;branch=z9hG4bK679c2e2a88be30886d14ee1f905d613d323936;rport=42335 Max-Forwards: 69 Contact: "test2" <sip:[email protected]:42335;transport=udp> Content-Type: application/sdp Content-Length: 297 v=0 o=- 1408699933479 1408699933480 IN IP4 192.168.1.88 s=- c=IN IP4 192.168.1.88 t=0 0 m=audio 52656 RTP/AVP 96 97 3 0 8 127 a=rtpmap:96 GSM-EFR/8000 a=rtpmap:97 AMR/8000 a=rtpmap:3 GSM/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:127 telephone-event/8000 a=fmtp:127 0-15 <end> Received (363 bytes): 192.168.1.51:5060 <- 192.168.1.52:5060 SIP/2.0 100 Trying Via: SIP/2.0/UDP 192.168.1.51:5060;branch=z9hG4bK-f0f7aff538be4fee9fc123994b1088ac;rport Via: SIP/2.0/UDP 192.168.1.88:42335;branch=z9hG4bK679c2e2a88be30886d14ee1f905d613d323936;rport=42335 From: "test2" <sip:[email protected]>;tag=3377864635 To: sip:[email protected] Call-ID: [email protected] CSeq: 6757 INVITE ----------------------------------------------------------- Received (455 bytes): 192.168.1.51:5060 <- 192.168.1.52:5060 SIP/2.0 180 Ringing Via: SIP/2.0/UDP 192.168.1.51:5060;branch=z9hG4bK-f0f7aff538be4fee9fc123994b1088ac;rport Via: SIP/2.0/UDP 192.168.1.88:42335;branch=z9hG4bK679c2e2a88be30886d14ee1f905d613d323936;rport=42335 From: "test2" <sip:[email protected]>;tag=3377864635 To: <sip:[email protected]>;tag=S8VWRXF Call-ID: [email protected] CSeq: 6757 INVITE User-Agent: Linphone/3.7.0 (belle-sip/1.3.0) Supported: replaces, outbound ----------------------------------------------------------- Sending (383 bytes): 192.168.1.51:5060 -> 192.168.1.88:42335 <begin> SIP/2.0 180 Ringing Via: SIP/2.0/UDP 192.168.1.88:42335;branch=z9hG4bK679c2e2a88be30886d14ee1f905d613d323936;rport=42335 From: "test2" <sip:[email protected]>;tag=3377864635 To: <sip:[email protected]>;tag=S8VWRXF Call-ID: [email protected] CSeq: 6757 INVITE User-Agent: Linphone/3.7.0 (belle-sip/1.3.0) Supported: replaces,outbound Content-Length: 0 <end> ----------------------------------------------------------- Received (846 bytes): 192.168.1.51:5060 <- 192.168.1.52:5060 SIP/2.0 200 Ok Via: SIP/2.0/UDP 192.168.1.51:5060;branch=z9hG4bK-f0f7aff538be4fee9fc123994b1088ac;rport Via: SIP/2.0/UDP 192.168.1.88:42335;branch=z9hG4bK679c2e2a88be30886d14ee1f905d613d323936;rport=42335 From: "test2" <sip:[email protected]>;tag=3377864635 To: <sip:[email protected]>;tag=S8VWRXF Call-ID: [email protected] CSeq: 6757 INVITE User-Agent: Linphone/3.7.0 (belle-sip/1.3.0) Supported: replaces, outbound Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO Contact: <sip:[email protected]>;+sip.instance="<urn:uuid:4cc6ca29-f558-47d2-a79e-8ed94984fdd1>" Content-Type: application/sdp Content-Length: 163 v=0 o=test 1834 2607 IN IP4 192.168.1.52 s=Talk c=IN IP4 192.168.1.52 t=0 0 m=audio 7078 RTP/AVP 0 8 127 a=rtpmap:127 telephone-event/8000 a=fmtp:127 0-15 ----------------------------------------------------------- Sending (746 bytes): 192.168.1.51:5060 -> 192.168.1.88:42335 <begin> SIP/2.0 200 Ok Via: SIP/2.0/UDP 192.168.1.88:42335;branch=z9hG4bK679c2e2a88be30886d14ee1f905d613d323936;rport=42335 From: "test2" <sip:[email protected]>;tag=3377864635 To: <sip:[email protected]>;tag=S8VWRXF Call-ID: [email protected] CSeq: 6757 INVITE User-Agent: Linphone/3.7.0 (belle-sip/1.3.0) Supported: replaces,outbound Allow: INVITE,ACK,CANCEL,OPTIONS,BYE,REFER,NOTIFY,MESSAGE,SUBSCRIBE,INFO Contact: <sip:[email protected]>;+sip.instance="<urn:uuid:4cc6ca29-f558-47d2-a79e-8ed94984fdd1>" Content-Type: application/sdp Content-Length: 163 v=0 o=test 1834 2607 IN IP4 192.168.1.52 s=Talk c=IN IP4 192.168.1.52 t=0 0 m=audio 7078 RTP/AVP 0 8 127 a=rtpmap:127 telephone-event/8000 a=fmtp:127 0-15 <end> ----------------------------------------------------------- Transaction(id='z9hG4bK-f0f7aff538be4fee9fc123994b1088ac' method=INVITE server=false) disposed. Received (324 bytes): 192.168.1.51:5060 <- 192.168.1.88:42335 ACK sip:[email protected] SIP/2.0 Call-ID: [email protected] CSeq: 6757 ACK Via: SIP/2.0/UDP 192.168.1.88:42335;branch=z9hG4bKa18ff2fc833ca7ecaf939bdd7365a353323936 From: "test2" <sip:[email protected]>;tag=3377864635 To: <sip:[email protected]>;tag=S8VWRXF Max-Forwards: 70 Content-Length: 0 ----------------------------------------------------------- Sending (408 bytes): 192.168.1.51:5060 -> 192.168.1.52:5060 <begin> ACK sip:[email protected] SIP/2.0 Via: SIP/2.0/UDP 192.168.1.51:5060;branch=z9hG4bK-069300f9099469681d1b2b80f64cb03a Call-ID: [email protected] CSeq: 6757 ACK Via: SIP/2.0/UDP 192.168.1.88:42335;branch=z9hG4bKa18ff2fc833ca7ecaf939bdd7365a353323936 From: "test2" <sip:[email protected]>;tag=3377864635 To: <sip:[email protected]>;tag=S8VWRXF Max-Forwards: 69 Content-Length: 0 <end> ----------------------------------------------------------- Received (385 bytes): 192.168.1.51:5060 <- 192.168.1.88:42335 OPTIONS sip:[email protected] SIP/2.0 Call-ID: [email protected] CSeq: 2109 OPTIONS From: "test2" <sip:[email protected]>;tag=3673013733 To: <sip:[email protected]> Via: SIP/2.0/UDP 192.168.1.88:42335;branch=z9hG4bK47123f88a0d2c5a4eb9a8f427100315b323936;rport Max-Forwards: 70 Contact: "test2" <sip:[email protected]:42335;transport=udp> Content-Length: 0 ----------------------------------------------------------- Sending (481 bytes): 192.168.1.51:5060 -> 192.168.1.52:5060 <begin> OPTIONS sip:[email protected] SIP/2.0 Via: SIP/2.0/UDP 192.168.1.51:5060;branch=z9hG4bK-7d616255e8fe4899a562435d23300bce;rport Call-ID: [email protected] CSeq: 2109 OPTIONS From: "test2" <sip:[email protected]>;tag=3673013733 To: <sip:[email protected]> Via: SIP/2.0/UDP 192.168.1.88:42335;branch=z9hG4bK47123f88a0d2c5a4eb9a8f427100315b323936;rport=42335 Max-Forwards: 69 Contact: "test2" <sip:[email protected]:42335;transport=udp> Content-Length: 0 <end> ----------------------------------------------------------- Received (372 bytes): 192.168.1.51:5060 <- 192.168.1.52:5060 SIP/2.0 200 Ok Via: SIP/2.0/UDP 192.168.1.51:5060;branch=z9hG4bK-7d616255e8fe4899a562435d23300bce;rport Via: SIP/2.0/UDP 192.168.1.88:42335;branch=z9hG4bK47123f88a0d2c5a4eb9a8f427100315b323936;rport=42335 From: "test2" <sip:[email protected]>;tag=3673013733 To: <sip:[email protected]>;tag=CddET Call-ID: [email protected] CSeq: 2109 OPTIONS ----------------------------------------------------------- Sending (301 bytes): 192.168.1.51:5060 -> 192.168.1.88:42335 <begin> SIP/2.0 200 Ok Via: SIP/2.0/UDP 192.168.1.88:42335;branch=z9hG4bK47123f88a0d2c5a4eb9a8f427100315b323936;rport=42335 From: "test2" <sip:[email protected]>;tag=3673013733 To: <sip:[email protected]>;tag=CddET Call-ID: [email protected] CSeq: 2109 OPTIONS Content-Length: 0 <end>
linphonerc
Description: Binary data
_______________________________________________ Linphone-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/linphone-users
