hi community
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/
Channel: local/21@from-internal
Callerid: “Test” <21>
Context: from-internal
Extension: 10
Archive: yes
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 time and kind regards
hoi