<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 10">
<meta name=Originator content="Microsoft Word 10">
<link rel=File-List href="cid:filelist.xml@01C5B2CF.ABD5FF30">
<!--[if gte mso 9]><xml>
<o:OfficeDocumentSettings>
<o:DoNotRelyOnCSS/>
</o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:DocumentKind>DocumentEmail</w:DocumentKind>
<w:EnvelopeVis/>
</w:WordDocument>
</xml><![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;
        mso-font-charset:0;
        mso-generic-font-family:swiss;
        mso-font-pitch:variable;
        mso-font-signature:1627421319 -2147483648 8 0 66047 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-parent:"";
        margin:0cm;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;
        text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;
        text-underline:single;}
p
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
span.gmailquote
        {mso-style-name:gmail_quote;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        mso-style-noshow:yes;
        mso-ansi-font-size:10.0pt;
        mso-bidi-font-size:10.0pt;
        font-family:Arial;
        mso-ascii-font-family:Arial;
        mso-hansi-font-family:Arial;
        mso-bidi-font-family:Arial;
        color:navy;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;
        mso-header-margin:35.4pt;
        mso-footer-margin:35.4pt;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
        {mso-style-name:"Table Normal";
        mso-tstyle-rowband-size:0;
        mso-tstyle-colband-size:0;
        mso-style-noshow:yes;
        mso-style-parent:"";
        mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
        mso-para-margin:0cm;
        mso-para-margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:10.0pt;
        font-family:"Times New Roman";}
</style>
<![endif]--><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=blue style='tab-interval:36.0pt'>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>That seems to have worked… I had “port =
5062” as opposed to “bindport = 5062”.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Thanks Umair!<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b> Umair Bari
[mailto:umairbari@gmail.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> 06 September 2005 09:58<br>
<b><span style='font-weight:bold'>To:</span></b> Asterisk Users Mailing List -
Non-Commercial Discussion<br>
<b><span style='font-weight:bold'>Cc:</span></b> ashling.odriscoll@cit.ie<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [Asterisk-Users]
Asterisk won't listen on another port</span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'><o:p> </o:p></span></font></p>
<div>
<p class=MsoNormal style='margin-left:36.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>try bindport=5062 and
bind the IP address too<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:36.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:36.0pt'><font size=3 color="#550055"
face="Times New Roman"><span style='font-size:12.0pt;color:#550055'>bindaddr=IP_ADDRESS</span></font><br>
<br>
<o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:36.0pt'><span class=gmailquote><font
size=3 face="Times New Roman"><span style='font-size:12.0pt'>On 9/5/05, <b><span
style='font-weight:bold'>Aisling</span></b> <<a
href="mailto:ashling.odriscoll@cit.ie">ashling.odriscoll@cit.ie</a>> wrote:</span></font></span>
<o:p></o:p></p>
<div>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>Hello,</span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'> </span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:
10.0pt;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 SIP Port:
5060 in Global Settings. When I run "netstat – tunap" I see:</span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'> </span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>
x.x.x.x:5060 LISTEN</span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span lang=FR
style='font-size:10.0pt;font-family:Arial;mso-ansi-language:FR'>ser </span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span lang=FR
style='font-size:10.0pt;font-family:Arial;mso-ansi-language:FR'>
<a href="http://127.0.0.1/" target="_blank"
onclick="return top.js.OpenExtLink(window,event,this)">127.0.0.1</a>
:5060 LISTEN</span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span lang=FR
style='font-size:10.0pt;font-family:Arial;mso-ansi-language:FR'>ser </span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span lang=FR
style='font-size:10.0pt;font-family:Arial;mso-ansi-language:FR'>
<a href="http://0.0.0.0/" target="_blank"
onclick="return top.js.OpenExtLink(window,event,this)">0.0.0.0</a> :2000
LISTEN</span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span lang=FR
style='font-size:10.0pt;font-family:Arial;mso-ansi-language:FR'>asterisk </span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span lang=FR
style='font-size:10.0pt;font-family:Arial;mso-ansi-language:FR'>.</span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span lang=FR
style='font-size:10.0pt;font-family:Arial;mso-ansi-language:FR'>.</span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span lang=FR
style='font-size:10.0pt;font-family:Arial;mso-ansi-language:FR'>.</span></font><o:p></o:p></p>
<p style='margin-left:87.0pt;text-indent:-36.0pt'><font size=2 face=Arial><span
lang=FR style='font-size:10.0pt;font-family:Arial;mso-ansi-language:FR'><a
href="http://0.0.0.0/" target="_blank"
onclick="return top.js.OpenExtLink(window,event,this)">0.0.0.0</a></span></font><font
size=1><span lang=FR style='font-size:7.5pt;mso-ansi-language:FR'>
</span></font><font size=2 face=Arial><span lang=FR style='font-size:10.0pt;
font-family:Arial;mso-ansi-language:FR'>:2727</span></font><font size=2
face=Arial><span lang=FR style='font-size:10.0pt;font-family:Arial'> </span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span lang=FR
style='font-size:10.0pt;font-family:Arial;mso-ansi-language:FR'>asterisk </span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span lang=FR
style='font-size:10.0pt;font-family:Arial;mso-ansi-language:FR'>
</span></font><font size=2 face=Arial><span style='font-size:10.0pt;font-family:
Arial'><a href="http://0.0.0.0:4520/" target="_blank"
onclick="return top.js.OpenExtLink(window,event,this)">0.0.0.0:4520</a></span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>asterisk</span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'> 0.0.00:5060</span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>asterisk</span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>
x.x.x.x:5060 </span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>ser</span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'> <a
href="http://127.0.0.1:5060/" target="_blank"
onclick="return top.js.OpenExtLink(window,event,this)">127.0.0.1:5060</a> </span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>ser</span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'> </span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>My config is like follows</span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'> </span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span lang=FR
style='font-size:10.0pt;font-family:Arial;mso-ansi-language:FR'>;sip.conf</span></font><font
size=2 face=Arial><span lang=FR style='font-size:10.0pt;font-family:Arial'> </span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span lang=FR
style='font-size:10.0pt;font-family:Arial;mso-ansi-language:FR'> </span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span lang=FR
style='font-size:10.0pt;font-family:Arial;mso-ansi-language:FR'>[general]</span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span lang=FR
style='font-size:10.0pt;font-family:Arial;mso-ansi-language:FR'>context
=default </span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span lang=FR
style='font-size:10.0pt;font-family:Arial;mso-ansi-language:FR'>port=5062</span></font><font
size=2 face=Arial><span lang=FR style='font-size:10.0pt;font-family:Arial'> </span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>bindaddr= <a href="http://0.0.0.0/" target="_blank"
onclick="return top.js.OpenExtLink(window,event,this)">0.0.0.0</a></span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>srvlookup= yes</span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>canreinvite= no</span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>autocreatepeer= yes</span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'> </span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>[2092]</span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>type=friend</span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>username=2092</span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>canreinvite= no</span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>context=default</span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>mailbox=2092</span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>host=dynamic</span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>nat=</span></font> <font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>no dtmfmode=info</span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>disallow=all</span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>allow=ulaw</span></font> <o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>allow=alaw</span></font> <o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'> </span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>;extensions.conf</span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'> </span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>;leave voice messages</span></font> <o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>exten => 2092, 1, Voicemail(u2092) </span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>exten => 2092, 2, Hangup</span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'> </span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>;play voice messages</span></font> <o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>exten => 9999, 1, VoiceMailMain, s2092 </span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'> </span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>;voicemail.conf</span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'> </span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>2092 => 2092, 2092, emailaddress</span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'> </span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:
10.0pt;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,
bindaddr =<a href="http://0.0.0.0/" target="_blank"
onclick="return top.js.OpenExtLink(window,event,this)">0.0.0.0</a>) nothing
reaches asterisk. However when I change this to (port=5062, bindaddr=x.x.x.x
)…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 sip.conf's 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><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'> </span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:
10.0pt;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><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>Many thanks,</span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>Aisling.</span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> <o:p></o:p></span></font></p>
</div>
<p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:
12.0pt;margin-left:36.0pt'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>-------------------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 href="http://easynews.com/"
target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Easynews.com</a>
--<br>
<br>
Asterisk-Users mailing list<br>
<a href="mailto:Asterisk-Users@lists.digium.com"
onclick="return top.js.OpenExtLink(window,event,this)">Asterisk-Users@lists.digium.com</a><br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users"
target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users"
target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.digium.com/mailman/listinfo/asterisk-users</a><o:p></o:p></span></font></p>
</div>
<p class=MsoNormal style='margin-left:36.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'><o:p> </o:p></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.
</body>
</html>