try do add<br><br>fromdomain=<a href="http://acme.com/sip.acme.com">acme.com/sip.acme.com</a><br>fromhost=<a href="http://acme.com/sip.acme.com">acme.com/sip.acme.com</a><br><br><div class="gmail_quote">2009/1/6 Frank Bulk <span dir="ltr">&lt;<a href="mailto:frnkblk@iname.com">frnkblk@iname.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">








<div link="blue" vlink="purple" lang="EN-US">

<div>

<p><span style="font-size: 10pt;">I
tried that before, but I just tried it again.&nbsp; Unfortunately, the same
thing:</span></p><div class="Ih2E3d">

<p style="margin-left: 0.5in;"><span style="font-size: 10pt;">No user &#39;5551236049&#39; in SIP users list</span></p>

<p style="margin-left: 0.5in;"><span style="font-size: 10pt;">Found peer &#39;ACME&#39; for &#39;5551236049&#39; from <a href="http://172.16.10.40:5060" target="_blank">172.16.10.40:5060</a></span></p>

<p><span style="font-size: 10pt;">&nbsp;</span></p>

</div><p><span style="font-size: 10pt;">[ACME]<br>
host=172.16.10.40<div class="Ih2E3d"><br>
username=username<br>
secret=password<br>
type=friend</div></span></p>

<p><span style="font-size: 10pt;">&nbsp;</span></p>

<p><span style="font-size: 10pt;">Frank</span></p>

<p><span style="font-size: 10pt; color: rgb(31, 73, 125);">&nbsp;</span></p>

<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">

<p><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;"> <a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>
[mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>] <b>On Behalf Of </b>Allan Dib<br>
<b>Sent:</b> Monday, January 05, 2009 9:41 PM<br>
<b>To:</b> Asterisk Users Mailing List - Non-Commercial Discussion<div><div></div><div class="Wj3C7c"><br>
<b>Subject:</b> Re: [asterisk-users] Incoming side of SIP trunk does not work
unless I add &quot;insecure=very&quot;</div></div></span></p>

</div><div><div></div><div class="Wj3C7c">

<p>&nbsp;</p>

<p style="margin-bottom: 12pt;">Try it by IP address instead of
hostname as reverse DNS may not be resolving. e.g. host=123.123.123.123</p>

<div>

<p>On Tue, Jan 6, 2009 at 2:25 PM, Frank Bulk &lt;<a href="mailto:frnkblk@iname.com" target="_blank">frnkblk@iname.com</a>&gt; wrote:</p>

<p>This is what I have in my configuration now:<br>
<br>
[ACME]<br>
host=<a href="http://sip.acme.com" target="_blank">sip.acme.com</a><br>
username=username<br>
secret=password<br>
type=friend<br>
<br>
I&#39;ve done a SIP debug before, but I&#39;ve done it again with the above<br>
configuration:<br>
&nbsp; &nbsp; &nbsp; &nbsp;No user &#39;5551236049&#39; in SIP users list<br>
&nbsp; &nbsp; &nbsp; &nbsp;Found peer &#39;ACME&#39; for &#39;5551236049&#39; from <a href="http://172.16.10.40:5060" target="_blank">172.16.10.40:5060</a><br>
after which &quot;SIP/2.0 401 Unauthorized&quot; is issued after the
un-authenticated<br>
INVITE and &quot;SIP/2.0 403 Forbidden&quot; after the authenticated INVITE.<br>
<br>
When I add &quot;insecure=very&quot;, this is what the SIP debug shows:<br>
&nbsp; &nbsp; &nbsp; &nbsp;No user &#39;5551236049&#39; in SIP users list<br>
&nbsp; &nbsp; &nbsp; &nbsp;Found peer &#39;ACME&#39; for &#39;5551236049&#39; from <a href="http://172.16.10.40:5060" target="_blank">172.16.10.40:5060</a><br>
&nbsp; &nbsp; &nbsp; &nbsp;Found RTP audio format 0<br>
&nbsp; &nbsp; &nbsp; &nbsp;Peer audio RTP is at port <a href="http://172.16.10.65:36272" target="_blank">172.16.10.65:36272</a><br>
&nbsp; &nbsp; &nbsp; &nbsp;Found audio description format PCMU for ID 0<br>
&nbsp; &nbsp; &nbsp; &nbsp;Capabilities: us - 0xc (ulaw|alaw), peer - audio=0x4<br>
(ulaw)/video=0x0 (nothing)/text=0x0 (nothing), combined - 0x4 (ulaw)<br>
&nbsp; &nbsp; &nbsp; &nbsp;Non-codec capabilities (dtmf): us - 0x1
(telephone-event), peer -<br>
0x0 (nothing), combined - 0x0 (nothing)<br>
&nbsp; &nbsp; &nbsp; &nbsp;Peer audio RTP is at port <a href="http://172.16.10.65:36272" target="_blank">172.16.10.65:36272</a><br>
&nbsp; &nbsp; &nbsp; &nbsp;Looking for +15552127020 in from-sip-external
(domain <a href="http://sip.acme.com" target="_blank">sip.acme.com</a>)<br>
&nbsp; &nbsp; &nbsp; &nbsp;list_route: hop: &lt;<a href="mailto:sip%3A5551236049@172.16.10.40" target="_blank">sip:5551236049@172.16.10.40</a>&gt;<br>
<br>
It isn&#39;t very clear (to me) from the success how the &quot;insecure=very&quot;
helps.<br>
<span style="color: rgb(136, 136, 136);"><br>
Frank</span></p>

<div>

<p><br>
-----Original Message-----<br>
From: Andres [mailto:<a href="mailto:andres@telesip.net" target="_blank">andres@telesip.net</a>]<br>
Sent: Monday, January 05, 2009 7:43 PM<br>
To: <a href="mailto:frnkblk@iname.com" target="_blank">frnkblk@iname.com</a>; Asterisk Users
Mailing List - Non-Commercial<br>
Discussion</p>

</div>

<div>

<div>

<p>Subject: Re: [asterisk-users] Incoming side of SIP trunk
does not work<br>
unless I add &quot;insecure=very&quot;<br>
<br>
Frank Bulk - iName.com wrote:<br>
<br>
&gt;The incoming (Class 5 switch to Asterisk PBX) side of a SIP trunk does not<br>
&gt;work unless I add &quot;insecure=very&quot; to my &quot;Outgoing
settings&quot;, but I don&#39;t<br>
&gt;want to do that. &nbsp;I do want to authenticate. &nbsp;Outgoing (Asterisk
PBX to<br>
&gt;Class 5 switch) calls do authenticate and work.<br>
&gt;<br>
&gt;The Nortel CS 1500 I&#39;m using as the PSTN-side of my SIP trunk has a<br>
username<br>
&gt;and password that it&#39;s sending out. &nbsp;But the INVITE is responded by
the<br>
&gt;Asterisk with &quot;SIP/2.0 403 Forbidden&quot;<br>
&gt;<br>
&gt;I&#39;ve changed the INVITE message to mask the real telephone numbers, SIP<br>
&gt;server, passwords, and IP addresses, but I did that using search and<br>
replace<br>
&gt;so the structure is intact.<br>
&gt;<br>
&gt;What do I need to configure in the &quot;Incoming Settings&quot; panel for
the CS<br>
&gt;1500&#39;s INVITE to my Asterisk server to work? &nbsp;I&#39;ve tried all kinds of<br>
&gt;combinations of user,username,authname using +15552027020,host with IP<br>
&gt;and/or DNS name, but nothing appears to work.<br>
&gt;<br>
&gt;<br>
&gt;<br>
Do a sip debug on the asterisk console and see if it is actually is<br>
matching one of your sip.conf entries during an invite from the CS1500.<br>
Look for a line that says something like &#39;Found Peer....bla bla bla&#39;.<br>
If you dont see that line, then you are not even adding the correct<br>
sip.conf entry to match the invite from the CS1500.<br>
<br>
Andres<br>
<a href="http://www.telesip.net" target="_blank">http://www.telesip.net</a><br>
<br>
&gt;Frank<br>
&gt;<br>
&gt;INVITE message from Wireshark packet capture:<br>
&gt;<br>
&gt;INVITE <a href="mailto:sip%3A%2B15552027020@sip.acme.com" target="_blank">sip:+15552027020@sip.acme.com</a>
SIP/2.0<br>
&gt;From:<br>
&gt;&lt;<a href="mailto:sip%3A5552022441@172.16.10.40" target="_blank">sip:5552022441@172.16.10.40</a>&gt;;tag=f76c66d0-c7784528-13c4-2dbba4-767e6552-2d<br>
b<br>
&gt;ba4<br>
&gt;To: &lt;<a href="mailto:sip%3A%2B15552027020@sip.acme.com" target="_blank">sip:+15552027020@sip.acme.com</a>&gt;<br>
&gt;Call-ID: <a href="mailto:f379f62-29173-3895-b14271f5-40802-45378@172.16.10.40" target="_blank">f379f62-29173-3895-b14271f5-40802-45378@172.16.10.40</a><br>
&gt;CSeq: 5102 INVITE<br>
&gt;Via: SIP/2.0/UDP 172.16.10.40:5060;branch=z9hG4bK-2dbba4-b2a4fa3a-7cd7598<br>
&gt;User-Agent: Nortel CS1500UA/v02.00.REL01<br>
&gt;Accept: application/sdp<br>
&gt;P-Asserted-Identity: &lt;<a href="mailto:sip%3A5552022441@172.16.10.40" target="_blank">sip:5552022441@172.16.10.40</a>;user=phone&gt;<br>
&gt;Privacy: none<br>
&gt;Remote-Party-ID: &lt;<a href="mailto:sip%3A5552022441@172.16.10.40" target="_blank">sip:5552022441@172.16.10.40</a>;user=phone&gt;;
party=calling;<br>
&gt;privacy=off<br>
&gt;Max-Forwards: 70<br>
&gt;Supported: 100rel,replaces<br>
&gt;Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, REFER, PRACK<br>
&gt;Contact: &lt;<a href="mailto:sip%3A5552022441@172.16.10.40" target="_blank">sip:5552022441@172.16.10.40</a>&gt;<br>
&gt;Authorization: Digest<br>
&gt;username=&quot;username&quot;,realm=&quot;asterisk&quot;,nonce=&quot;118af2b0&quot;,uri=&quot;sip:+15552027020<br>
@<br>
&gt;<a href="http://sip.acme.com" target="_blank">sip.acme.com</a>&quot;,response=&quot;111e63ec2a1f3ebabefe4f7dae4087a1&quot;,algorithm=MD5<br>
&gt;Content-Type: application/SDP<br>
&gt;Content-Length: 167<br>
&gt;<br>
&gt;v=0<br>
&gt;o=- 2973921782 2973921782 IN IP4 172.16.10.65<br>
&gt;s=SIP Call<br>
&gt;c=IN IP4 172.16.10.65<br>
&gt;t=0 0<br>
&gt;m=audio 36224 RTP/AVP 0<br>
&gt;a=rtpmap:0 PCMU/8000<br>
&gt;a=ptime:20<br>
&gt;a=sendrecv<br>
&gt;<br>
&gt;<br>
&gt;_______________________________________________<br>
&gt;-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
&gt;<br>
&gt;asterisk-users mailing list<br>
&gt;To UNSUBSCRIBE or update options visit:<br>
&gt; &nbsp; <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
&nbsp; <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a></p>

</div>

</div>

</div>

<p style="margin-bottom: 12pt;"><br>
<br clear="all">
<br>
-- <br>
Personal Development Without The Silly Stuff: <a href="http://AllanDib.com" target="_blank">http://AllanDib.com</a></p>

</div></div></div>

</div>


<br>_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
 &nbsp; <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>