<div>try bindport=5062 and bind the IP address too</div>
<div> </div>
<div><font color="#550055">bindaddr=IP_ADDRESS</font><br><br> </div>
<div><span class="gmail_quote">On 9/5/05, <b class="gmail_sendername">Aisling</b> <<a href="mailto:ashling.odriscoll@cit.ie">ashling.odriscoll@cit.ie</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<p><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hello,</span></font></p>
<p><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> </span></font></p>
<p><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hope somebody can help me – Asterisk is behaving very oddly and I'm totally stumped! I have SER and Asterisk running on the same box. I want SER to listen on port 5060 (it is) and Asterisk to listen on port 5062. I have configured my phones to register with
x.x.x.x:5060 (SER) and Asterisk will purely act as a voicemail server at the moment. However I cannot get Asterisk to listen on a different port. It is my understanding that I just need to set the port in sip.conf (port=5062) but that doesn't seem to be working. When I type "sip show settings" into the console, I see
</span></font><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">SIP</span></font><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> </span></font><font face="Arial" size="2">
<span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Port</span></font><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">: 5060 in Global Settings.<span> </span>When I run "<span>netstat</span> –
<span>tunap</span>" I see:</span></font></p>
<p><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> </span></font></p>
<p><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><span> </span>x.x.x.x:5060<span> </span>LISTEN</span></font></p>
<p><span><span><font face="Arial" size="2"><span lang="FR" style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">ser</span></font></span></span><font face="Arial" size="2"><span lang="FR" style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">
</span></font></p>
<p><font face="Arial" size="2"><span lang="FR" style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><span> </span><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://127.0.0.1/" target="_blank">127.0.0.1</a>
:5060<span> </span>LISTEN</span></font></p>
<p><span><span><font face="Arial" size="2"><span lang="FR" style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">ser</span></font></span></span><font face="Arial" size="2"><span lang="FR" style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">
</span></font></p>
<p><font face="Arial" size="2"><span lang="FR" style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><span> </span><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://0.0.0.0/" target="_blank">0.0.0.0</a> :2000
<span> </span>LISTEN</span></font></p>
<p><span><span><font face="Arial" size="2"><span lang="FR" style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">asterisk</span></font></span></span><font face="Arial" size="2"><span lang="FR" style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">
</span></font></p>
<p><font face="Arial" size="2"><span lang="FR" style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">.</span></font></p>
<p><font face="Arial" size="2"><span lang="FR" style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">.</span></font></p>
<p><font face="Arial" size="2"><span lang="FR" style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">.</span></font></p>
<p style="MARGIN-LEFT: 51pt; TEXT-INDENT: -36pt"><font face="Arial" size="2"><span lang="FR" style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><span><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://0.0.0.0/" target="_blank">
0.0.0.0</a><font face="Times New Roman" size="1"><span> </span></font></span></span></font><span><font face="Arial" size="2"><span lang="FR" style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">:2727</span></font></span><font face="Arial" size="2">
<span lang="FR" style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></span></font></p>
<p><span><span><font face="Arial" size="2"><span lang="FR" style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">asterisk</span></font></span></span><font face="Arial" size="2"><span lang="FR" style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">
</span></font></p>
<p><font face="Arial" size="2"><span lang="FR" style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><span> </span></span></font><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://0.0.0.0:4520/" target="_blank">
0.0.0.0:4520</a></span></font></p>
<p><span><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">asterisk</span></font></span><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></span></font></p>
<p><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><span> </span>0.0.00:5060</span></font></p>
<p><span><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">asterisk</span></font></span><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></span></font></p>
<p><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><span> </span>x.x.x.x:5060<span> </span></span></font></p>
<p><span><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">ser</span></font></span><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></span></font></p>
<p><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><span> </span><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://127.0.0.1:5060/" target="_blank">127.0.0.1:5060</a>
</span></font></p>
<p><span><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">ser</span></font></span><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></span></font></p>
<p><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> </span></font></p>
<p><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">My config is like follows</span></font></p>
<p><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> </span></font></p>
<p><span><font face="Arial" size="2"><span lang="FR" style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">;sip.conf</span></font></span><font face="Arial" size="2"><span lang="FR" style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></span>
</font></p>
<p><font face="Arial" size="2"><span lang="FR" style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> </span></font></p>
<p><font face="Arial" size="2"><span lang="FR" style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">[<span><span>general</span></span>]</span></font></p>
<p><span><span><font face="Arial" size="2"><span lang="FR" style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">context</span></font></span></span><span><font face="Arial" size="2"><span lang="FR" style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">
=</span></font></span><span><font face="Arial" size="2"><span lang="FR" style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">default</span></font></span><font face="Arial" size="2"><span lang="FR" style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">
</span></font></p>
<p><span><font face="Arial" size="2"><span lang="FR" style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">port=</span></font></span><font face="Arial" size="2"><span lang="FR" style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">5062</span>
</font></p>
<p><span><span><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">bindaddr</span></font></span></span><span><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">=</span>
</font></span><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://0.0.0.0/" target="_blank">0.0.0.0</a></span></font></p>
<p><span><span><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">srvlookup</span></font></span></span><span><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">=</span>
</font></span><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">yes</span></font></p>
<p><span><span><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">canreinvite</span></font></span></span><span><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">=</span>
</font></span><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">no</span></font></p>
<p><span><span><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">autocreatepeer</span></font></span></span><span><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">=
</span></font></span><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">yes</span></font></p>
<p><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> </span></font></p>
<p><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">[2092]</span></font></p>
<p><span><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">type=</span></font></span><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">friend</span></font></p>
<p><span><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">username=</span></font></span><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">2092</span></font></p>
<p><span><span><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">canreinvite</span></font></span></span><span><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">=</span>
</font></span><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">no</span></font></p>
<p><span><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">context=</span></font></span><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">default</span></font></p>
<p><span><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">mailbox=</span></font></span><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">2092</span></font></p>
<p><span><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">host=</span></font></span><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">dynamic</span></font></p>
<p><span><span><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">nat</span></font></span></span><span><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">=</span></font>
</span><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">no <span>dtmfmode</span>=info</span></font></p>
<p><span><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">disallow=</span></font></span><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">all</span></font></p>
<p><span><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">allow=</span></font></span><span><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">ulaw</span></font></span>
<font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></span></font></p>
<p><span><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">allow=</span></font></span><span><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">alaw</span></font></span>
<font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></span></font></p>
<p><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> </span></font></p>
<p><span><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">;extensions.conf</span></font></span><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></span></font></p>
<p><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> </span></font></p>
<p><span><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">;leave</span></font></span><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> voice messages</span></font>
</p>
<p><span><span><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">exten</span></font></span></span><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> => 2092, 1, Voicemail(u2092)
</span></font></p>
<p><span><span><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">exten</span></font></span></span><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> => 2092, 2,
<span>Hangup</span></span></font></p>
<p><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> </span></font></p>
<p><span><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">;play</span></font></span><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> voice messages</span></font>
</p>
<p><span><span><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">exten</span></font></span></span><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> => 9999, 1, VoiceMailMain, s2092
</span></font></p>
<p><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> </span></font></p>
<p><span><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">;voicemail.conf</span></font></span><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></span></font></p>
<p><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> </span></font></p>
<p><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">2092 => 2092, 2092, <span>emailaddress</span></span></font></p>
<p><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> </span></font></p>
<p><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">At the moment when a user dials 9999 to access voicemail, ser forwards to x.x.x.x:5062 and with my current config (port 5062, <span>bindaddr
</span>=<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://0.0.0.0/" target="_blank">0.0.0.0</a>) nothing reaches asterisk. However when I change this to (port=5062, <span>bindaddr</span>=<span>x.x.x.x
</span>)…the same address as ser, the phones start registering with asterisk even though they're configured to register with port 5060 only! Basically I think Asterisk is still listening on 5060 and I can't change it. I originally thought maybe I had multiple
<span><span>sip.conf's</span></span> on my machine but when I do "sip reload" in the asterisk console, it says parsing /etc/asterisk/sip.conf, so it's definitely the correct file.</span></font></p>
<p><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> </span></font></p>
<p><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Do I need to change the asterisk port somewhere other that sip.conf? Does anyone have other suggestions for what could be making Asterisk behave so oddly?
</span></font></p>
<p><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Many thanks,</span></font></p>
<p><span><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Aisling.</span></font></span><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></span></font></p>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> </span></font></p></div>-------------------Legal Disclaimer--------------------------------------- The above electronic mail transmission is confidential and intended only for the person to whom it is addressed. Its contents may be protected by legal and/or professional privilege. Should it be received by you in error please contact the sender at the above quoted email address. Any unauthorised form of reproduction of this message is strictly prohibited. The Institute does not guarantee the security of any information electronically transmitted and is not liable if the information contained in this communication is not a proper and complete record of the message as transmitted by the sender nor for any delay in its receipt.
<br>_______________________________________________<br>--Bandwidth and Colocation sponsored by <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://easynews.com/" target="_blank">Easynews.com</a> --<br><br>
Asterisk-Users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Asterisk-Users@lists.digium.com">Asterisk-Users@lists.digium.com</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>To UNSUBSCRIBE or update options visit:<br> <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br><br></blockquote></div><br>