# I can not understand

**URL:** <https://community.asterisk.org/t/i-can-not-understand/41720>\
**Category:** Asterisk Support\
**Created:** [January 29, 2013, 9:10pm UTC](https://community.asterisk.org/t/i-can-not-understand/41720 "2013-01-29T21:10:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dginu](https://avatars.discourse-cdn.com/v4/letter/d/258eb7/32.png) [@dginu](https://community.asterisk.org/u/dginu)\
**Post date:** [January 29, 2013, 9:10pm UTC](https://community.asterisk.org/t/i-can-not-understand/41720/1 "2013-01-29T21:10:06Z")

</div>

2013-01-25 16:11:07] DEBUG[9908] chan\_sip.c: Invalid SIP message - rejected , no callid, len 307

what is the error?

---

<div class="post-metadata">

**Author:** ![david55](https://avatars.discourse-cdn.com/v4/letter/d/e19adc/32.png) [@david55](https://community.asterisk.org/u/david55)\
**Post date:** [January 30, 2013, 12:19am UTC](https://community.asterisk.org/t/i-can-not-understand/41720/2 "2013-01-30T00:19:49Z")

</div>

/\* Find the active SIP dialog or create a new one _/  
p = find\_call(req, addr, req-\>method); /_ returns p with a reference only. _NOT_ locked\*/  
if (p == NULL) {  
ast\_debug(1, “Invalid SIP message - rejected , no callid, len %zu\n”, ast\_str\_strlen(req-\>data));  
ast\_mutex\_unlock(&netlock);  
return 1;  
}

---

<div class="post-metadata">

**Author:** ![ambiorixg12](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/ambiorixg12/32/1887_2.png) [@ambiorixg12](https://community.asterisk.org/u/ambiorixg12)\
**Post date:** [January 30, 2013, 1:15am UTC](https://community.asterisk.org/t/i-can-not-understand/41720/3 "2013-01-30T01:15:39Z")

</div>

If you Post a full SIP trace that could help, and when exactly is that you get this error?

---

<div class="post-metadata">

**Author:** ![david55](https://avatars.discourse-cdn.com/v4/letter/d/e19adc/32.png) [@david55](https://community.asterisk.org/u/david55)\
**Post date:** [January 30, 2013, 8:24am UTC](https://community.asterisk.org/t/i-can-not-understand/41720/4 "2013-01-30T08:24:37Z")

</div>

It’s a debug message, not an error. Debug messages do not imply errors, and unless they start getting reported commonly, in association with a real problem, tell you nothing more than that a particular part of the code got exercised with particular values.

The OP has posted three versions of this, all with incomplete information, and with the information getting less and less each time. Based on the first version, he should be looking for non-printing characters. Also using a protocol analyzer, like wireshark, may help pinpoint that sort of problem.

If he want to use the debug message, he needs to read the code to find out why the routine would return a NULL. He might also want to add more debug lines and recompile, or set break points.

---

<div class="post-metadata">

**Author:** ![dginu](https://avatars.discourse-cdn.com/v4/letter/d/258eb7/32.png) [@dginu](https://community.asterisk.org/u/dginu)\
**Post date:** [January 31, 2013, 10:41pm UTC](https://community.asterisk.org/t/i-can-not-understand/41720/5 "2013-01-31T22:41:16Z")

</div>

by google translator:  
Hello gentlemen, Thank you for your help …  
The problem is that since my client ricece OK receiving the call from the client sends an 'ACK when asterisk receives the ACK print that message …  
rejected … bla bla …

NOTE:IP 10.0.2.15:5060 is EMULATOR

SIP/2.0 200 OK \<— Client B OK CALL  
Via: SIP/2.0/UDP 10.0.2.15:5060;branch=z9hG4bK-2034-84154;received=77.190.124.50;rport=54505  
From: sip:103@droidsip.net;tag=2034  
To: "110@droidsip.net"sip:110@droidsip.net;tag=as63d145cf  
Call-ID: [77461dc4d20660f74d14b082c9db5652@droidsip.net](mailto:77461dc4d20660f74d14b082c9db5652@droidsip.net)  
CSeq: 6 INVITE  
Server: FPBX-2.10.1(1.8.19.1)  
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH  
Supported: replaces, timer  
Contact: sip:110@87.117.235.69:5060  
Content-Type: application/sdp  
Content-Length: 180

v=0  
o=root 689055816 689055816 IN IP4 87.117.235.69  
s=Asterisk PBX 1.8.19.1  
c=IN IP4 87.117.235.69  
t=0 0  
m=audio 10576 RTP/AVP 3  
a=rtpmap:3 GSM/8000  
a=ptime:20  
a=sendrecv

* * *

[2013-01-25 16:11:07] DEBUG[9908] chan\_sip.c: Trying to put ‘SIP/2.0 200’ onto UDP socket destined for 77.190.124.50:54505  
[2013-01-25 16:11:07] VERBOSE[9908] chan\_sip.c:  
\<— SIP read from UDP:77.190.124.50:54505 —\>  
ACK [sip:110@droidsip.net](mailto:sip:110@droidsip.net) SIP/2.0 --\> CLIENT A ACK TO OK  
Via: SIP/2.0/UDP 10.0.2.15:5060;branch=z9hG4bK-2034-84154  
Max-Forwards: 70  
Contact: \<103@droidsip.net:54505\>  
From: sip:103@droidsip.net;tag=2034  
To: sip:110@droidsip.net;tag=as63d145cf  
Call-ID: [77461dc4d20660f74d14b082c9db5652@droidsip.net](mailto:77461dc4d20660f74d14b082c9db5652@droidsip.net)  
CSeq: 6 ACK  
Content-Length: 0

\<-------------\>  
[2013-01-25 16:11:07] DEBUG[9908] chan\_sip.c: Header 0 [32]: ACK [sip:110@droidsip.net](mailto:sip:110@droidsip.net) SIP/2.0  
[2013-01-25 16:11:07] DEBUG[9908] chan\_sip.c: Header 1 [57]: Via: SIP/2.0/UDP 10.0.2.15:5060;branch=z9hG4bK-2034-84154  
[2013-01-25 16:11:07] DEBUG[9908] chan\_sip.c: Header 2 [16]: Max-Forwards: 70  
[2013-01-25 16:11:07] DEBUG[9908] chan\_sip.c: Header 3 [33]: Contact: \<103@droidsip.net:54505\>  
[2013-01-25 16:11:07] DEBUG[9908] chan\_sip.c: Header 4 [37]: From: sip:103@droidsip.net;tag=2034  
[2013-01-25 16:11:07] DEBUG[9908] chan\_sip.c: Header 5 [41]: To: sip:110@droidsip.net;tag=as63d145cf  
[2013-01-25 16:11:07] DEBUG[9908] chan\_sip.c: Header 6 [54]: Call-ID: [77461dc4d20660f74d14b082c9db5652@droidsip.net](mailto:77461dc4d20660f74d14b082c9db5652@droidsip.net)  
[2013-01-25 16:11:07] DEBUG[9908] chan\_sip.c: Header 7 [11]: CSeq: 6 ACK  
[2013-01-25 16:11:07] DEBUG[9908] chan\_sip.c: Header 8 [17]: Content-Length: 0  
[2013-01-25 16:11:07] VERBOSE[9908] chan\_sip.c: — (9 headers 0 lines) —  
[2013-01-25 16:11:07] DEBUG[9908] chan\_sip.c: = Looking for Call ID: [77461dc4d20660f74d14b082c9db5652@droidsip.net](mailto:77461dc4d20660f74d14b082c9db5652@droidsip.net) (Checking From) --From tag 2034 --To-tag as63d145cf  
[2013-01-25 16:11:07] DEBUG[9908] chan\_sip.c: Invalid SIP message - rejected , no callid, len 307  
[2013-01-25 16:11:08] DEBUG[22062] manager.c: Running action ‘Login’
