I have the following config: softphone <-> Proxy Kamailio <-> Asterisk 11.21
Softphone registers onto Kamailio, and registration is not forwarded to asterisk.
A trunk is defined in asterisk for Kamailio, host=kamailio.ip, insecure=invite, port, type=peer
I have a user (say 100), defined in Kamailio config. Softphone registers fine. When it sends an invite, kamailio requires authentication, fine.
But when the invite is sent to asterisk, asterisk will or wont require authentication if a local account (100) is defined in sip.conf or not.
Why is that ? the account defined on my proxy may have nothing to do with what’s defined on asterisk !