<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi all<br>
<br>
Have Asterisk listening on 127.0.0.1 and aiming to route all inbound/outbound SIP via Kamailio listening on 127.0.0.1 and external interface.<br>
<br>
Inbound calls from the SIP PROVIDER work just fine. Have NAT, rtpproxy configured for successful registration and subsequent INVITEs etc.<br>
<br>
Experiencing some challenges with the outgoing INVITES, primarily authenticating the outbound INVITEs.<br>
<br>
The current situation is this:<br>
Asterisk > INVITE > Kamailio > INVITE > SIP PROVIDER<br>
SIP PROVIDER > 407 Proxy Authenticate > Kamailio > Transaction Cancelled.<br>
Asterisk then plays number unavailable message.<br>
<br>
<br>
The desired situation is more like this:<br>
Asterisk > INVITE > Kamailio > INVITE > SIP PROVIDER<br>
SIP PROVIDER > 407 Proxy Authenticate > Kamailio > Asterisk<br>
Asterisk > INVITE (with auth digest etc) > Kamailio > INVITE > SIP PROVIDER<br>
<br>
<br>
An attempted solution was made by having Kamailio authenticate using the uac module. However, ideally Kamailio should be mostly transparent and Asterisk should be handling and responding to the 407 Proxy Authentication.<br>
<br>
If there is someone in the Kamailio community that has addressed this situation before, guidance would be much appreciated.<br>
<br>
Regards,<br>
<br>
Darren<br>
<br>
<br>
<br>
</div>
</body>
</html>