i am testing asterisk on a raspberry pi (raspbx-11-11-2019) and found a weird behaviour.
after trying everything i found online, i need to ask for your help.
i have 3 extensions, 10, 21, 22
21 can call 10, and 22 can call 10, without any problems.
now i start the call with a call file in /var/spool/asterisk/outgoing/
asterisk call 21 and also call 10 and connect both extensions. also this works without any problems.
and with a second call file i can start calls to connect 22 to 10.
the weird behaviour is now, if i end the call with the extension 10, asterisk don’t send the BYE-Packet to the connected destination 22.
in the same situation with the extensions 21 and 10, astersiks send the BYE correct to the destination 21 if i end the call with the extension 10.
the extensions 21 and 22 are doorphones of the same manufacturer but different models.
only one model has this problem with the missing BYE-Packet from the asterisk at the end of the call.
so i think the difference must be in the sip-communication.
i checked the register of both extesions and they are identical.
so i think it’s the 200OK-Packet who caused the problem.
???i cant post sip-logs beacause i am a new user and too many links, and i can’t upload files, what can i do???
i have three guesses what could be causing the problem:
o=jack 0 0 IN IP4 192.168.0.72
is “0 0” ok?
i think that should be ok.
double entry of codec PCMA
m=audio 7080 RTP/AVP 8 0 8 101
(a=rtpmap:8 PCMA/8000)
can this cause a problem?
I offer only PCMA in the INVITE.
i miss the a=sendrecv in the 200OK.
a=sendrecv
is it possible that this brings the asterisk to not send the BYE?
and do you have an idea what i can do to fix this?
thank you for your feedback.
I have no idea which more information can help to find the cause of the problem.
I use a minimal configuration of freepbx, no settings changed, only DTMF RFC 2833.
I can change the doorphones to the other extensions, and the problem is always with the same doorphone, independent of the extension.
And because i start the call with a callfile, the doorphone sends only “100 Trying” “180 Ringing” and “200OK”.
Thats why i thinked it must be the 200OK.
Is there a way to manipulate incoming sip-packets on the asterisk, so that i can manipulate the packet for testing?
The only way I can think of the 200 OK preventing a BYE is if it didn’t actually match the INVITE, or contained an impossible Contact address. The former would definitely provide evidence on the logs. I suspect the latter would.