Failed user authentication

Hi Dear All Please Help Me
this is sir IP to IP Calls
Failed User Authentication

[Jun 23 04:10:50] WARNING[2117]: chan_sip.c:27530 set_insecure_flags: Unknown insecure mode ‘very’ on line 0
== Using SIP RTP CoS mark 5
– Executing [916009481239@wholesale:1] AGI(“SIP/217.182.218.188-00000004”, “billing.php”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/billing.php
– <SIP/217.182.218.188-00000004>AGI Script billing.php completed, returning 4

[Jun 23 05:42:46] NOTICE[3300]: chan_sip.c:28354 build_peer: The ‘username’ field for sip peers has been deprecated in favor of the term ‘defaultuser’
== Using SIP RTP CoS mark 5

You have provided no evidence of an authentication, although the use of the obsolete “very” parameter on insecure will leave the system secure, so you would expect incoming authentication errors from peers that are not prepared to authenticate themselves, such as most or all ITSPs.

Note that, for chan_sip, remotesecret is a cleaner solution to the problem that insecure=invite normally addresses, but that chan_sip, itself, is only community supported, and will eventually be removed, so you should use chan_pjsip for new systems unless there are specific reasons not to.

You also cannot expect us to help with third party applications for which you haven’t provided the full source code. That is the only application shown running, so the log really tells us nothing about your call.

I note that the channel name contains a full IP address. That normally means the call is being treated as from an unknown source and was accepted because of allowguest. Most people would consider allowguest to be unsafe on a production system.

You should also address the username warning, although chan_sip is likely to be removed before username is removed.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.