<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>Hi Daniel,</p>
<p><br>
</p>
<p>Thanks for the response.</p>
<p><br>
</p>
<p>My problem appears to be kamailio proxying the 407 response to the originating SIP trunk, which I appreciate it will do as its a proxy.</p>
<p><br>
</p>
<p>I presume if I want to absorb the 407 and handle only on the kamailio proxy which is the last point to the SIP carrier, this is more B2BUA, as I would normally have FreeSWITCH/ASterisk registering with the outbound sip provider and proxy the request via
 kamailio, where as in this case I am registering direct from kamailio so making it a little more complex in terms of handling the 407.</p>
<p><br>
</p>
<p>Jon </p>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> sr-users <sr-users-bounces@lists.kamailio.org> on behalf of Daniel Tryba <d.tryba@pocos.nl><br>
<b>Sent:</b> 13 September 2017 15:44<br>
<b>To:</b> Kamailio (SER) - Users Mailing List<br>
<b>Subject:</b> Re: [SR-Users] kamailio 4.4 registering to a SIP trunk provider using UAC then outbound routing to it.</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">On Wed, Sep 13, 2017 at 03:33:19PM +0000, Jonathan Hunter wrote:<br>
> I have a SIP provider who only accept registrations from users, so I<br>
> have registered my kamailio Server with them using the uac module.<br>
> <br>
> It is registered fine, and I can get inbound calls on the trunk.<br>
> <br>
> My query is the best way to send outbound calls out via the registered<br>
> sip gateway?<br>
<br>
Normally there is no correlation between REGISTERs (to tell an other<br>
server where to send incoming INVITEs) and outgoing INVITEs. So just do<br>
whatever you normally do and be prepared to respond to a challend (with<br>
auc_auth).<br>
<br>
<br>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
sr-users@lists.kamailio.org<br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" id="LPlnk214548" previewremoved="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
<div id="LPBorder_GT_15053195755690.641512895132671" style="margin-bottom: 20px; overflow: auto; width: 100%; text-indent: 0px;">
<table id="LPContainer_15053195755640.20026985355980775" role="presentation" cellspacing="0" style="width: 90%; background-color: rgb(255, 255, 255); position: relative; overflow: auto; padding-top: 20px; padding-bottom: 20px; margin-top: 20px; border-top: 1px dotted rgb(200, 200, 200); border-bottom: 1px dotted rgb(200, 200, 200);">
<tbody>
<tr valign="top" style="border-spacing: 0px;">
<td id="TextCell_15053195755650.7435947385253849" colspan="2" style="vertical-align: top; position: relative; padding: 0px; display: table-cell;">
<div id="LPRemovePreviewContainer_15053195755660.8939508986865596"></div>
<div id="LPTitle_15053195755660.39195987426887124" style="top: 0px; color: rgb(0, 120, 215); font-weight: normal; font-size: 21px; font-family: wf_segoe-ui_light, "Segoe UI Light", "Segoe WP Light", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; line-height: 21px;">
<a id="LPUrlAnchor_15053195755670.9530202539735375" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank" style="text-decoration: none;">sr-users -- Kamailio (SER) - Users Mailing List</a></div>
<div id="LPMetadata_15053195755680.9797641553721439" style="margin: 10px 0px 16px; color: rgb(102, 102, 102); font-weight: normal; font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 14px;">
lists.kamailio.org</div>
<div id="LPDescription_15053195755680.3484406062886958" style="display: block; color: rgb(102, 102, 102); font-weight: normal; font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 20px; max-height: 100px; overflow: hidden;">
SIP Router Users Mailing list - online email forum for communities of SIP Express Router (SER) and Kamailio (OpenSER) projects. Subscription is open to anyone that ...</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
<br>
</div>
</span></font></div>
</div>
</body>
</html>