Question please: If A calls B via Asterisk, and B is listed in the dialplan, but the call ends immediately on A’s side, A receives 404 Not Found, and B doesn’t receive anything,
What could be the possible reasons for this 404?
Remark: A is able to call B again after a minute approx.
It is not reproducible and happens randomly. I will post the log when it occurs.
Meanwhile, from your experience, could it be anything else but a connection problem, that is when the server tries to send the INVITE to the callee using their saved IP and port but the operation fails? All my clients being behind NAT, I am suspecting an IP expiry issue. Wouldn’t it produce a 404 error in this case?
I am also wondering if a keep alive setting could help maintain the session alive…
The dialled extension exists in the same context. I am using realtime database for sip peers. However, I do have type=friend on chan_sip for all peers in the database.
I am not sure how I could be spoofing an internal caller ID to end in the wrong context. Could you please explain it to me? Should I change the type for all peers??