<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:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:341902667;
mso-list-type:hybrid;
mso-list-template-ids:651042672 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Symbol;}
@list l0:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Courier New";}
@list l0:level3
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Wingdings;}
@list l0:level4
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Symbol;}
@list l0:level5
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Courier New";}
@list l0:level6
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Wingdings;}
@list l0:level7
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Symbol;}
@list l0:level8
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Courier New";}
@list l0:level9
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Wingdings;}
@list l1
{mso-list-id:1580361714;
mso-list-type:hybrid;
mso-list-template-ids:496388100 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l1:level1
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Symbol;}
@list l1:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Courier New";}
@list l1:level3
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Wingdings;}
@list l1:level4
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Symbol;}
@list l1:level5
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Courier New";}
@list l1:level6
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Wingdings;}
@list l1:level7
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Symbol;}
@list l1:level8
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Courier New";}
@list l1:level9
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Wingdings;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
--></style><!--[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="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hello all, I hope someone can help me with this old Asterisk version. I have to run this version because of a custom IVR written on it. Porting it would take much too long and we’d have to hire a consultant because of all the hooks it has
into Oracle databases and real-time information. <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">We have a brand-new Avaya phone system in place and we will be cutting over to it in late March 2019.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Presently: <o:p></o:p></p>
<ul style="margin-top:0in" type="disc">
<li class="MsoListParagraph" style="margin-left:0in;mso-list:l1 level1 lfo1">We have an Asterisk 13.3.2 server with no phones registered to it, acting as a PSTN gateway. Calls come into it and get distributed to other Asterisk boxes with phones.
<o:p></o:p></li><li class="MsoListParagraph" style="margin-left:0in;mso-list:l1 level1 lfo1">If a call comes in from the provider marked as having been dialed as xxx-xxx-6711 (those are digits, not a pattern) it gets routed to the IVR box<o:p></o:p></li><li class="MsoListParagraph" style="margin-left:0in;mso-list:l1 level1 lfo1">The IVR box runs Asterisk 1.8.7.0 and a custom IVR.<o:p></o:p></li></ul>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Where we have to get to: <o:p></o:p></p>
<ul style="margin-top:0in" type="disc">
<li class="MsoListParagraph" style="margin-left:0in;mso-list:l0 level1 lfo2">The new Avaya Session Manager has to have a working SIP trunk to the IVR so it can pass calls that come into xxx-xxx-6711 to it.
<o:p></o:p></li></ul>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">What the problem is: <o:p></o:p></p>
<ul style="margin-top:0in" type="disc">
<li class="MsoListParagraph" style="margin-left:0in;mso-list:l0 level1 lfo2">I don’t fully understand what’s going on here, neither how it works now, nor what I need to do to make Avaya’s SM happy.<o:p></o:p></li><li class="MsoListParagraph" style="margin-left:0in;mso-list:l0 level1 lfo2">When I do
<b>sip show peers</b> on my IVR box, I see the Avaya session manager: <o:p></o:p></li></ul>
<p class="MsoListParagraph">jerec*CLI> sip show peers<o:p></o:p></p>
<p class="MsoListParagraph">Name/username Host Dyn Forcerport ACL Port Status<o:p></o:p></p>
<p class="MsoListParagraph">sessionmgr1 10.10.0.17 5060 OK (1 ms)<o:p></o:p></p>
<ul style="margin-top:0in" type="disc">
<li class="MsoListParagraph" style="margin-left:0in;mso-list:l0 level1 lfo2">The Avaya engineer says he is seeing “SIP/2.0 400 Bad FROM header” in his trace screen, and his SM status screen shows “500 NOT REACHABLE” as the status for our IVR.<o:p></o:p></li><ul style="margin-top:0in" type="circle">
<li class="MsoListParagraph" style="margin-left:0in;mso-list:l0 level2 lfo2">He says we are sending
<o:p></o:p></li></ul>
</ul>
<p class="MsoListParagraph" style="margin-left:1.0in"><b>“asterisk” <a href="sip:asterisk@(null):0;tag=as682f2c53">
<span style="color:windowtext;text-decoration:none">sip:asterisk@(null):0;tag=as682f2c53</span></a></b>
<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:1.0in">as the “From” in the SIP header.<o:p></o:p></p>
<ul style="margin-top:0in" type="disc">
<li class="MsoListParagraph" style="margin-left:0in;mso-list:l0 level1 lfo2">He wants us to send
<o:p></o:p></li></ul>
<p class="MsoNormal" style="margin-left:.5in"><b><a href="mailto:10.10.0.103@mcts.org"><span style="color:windowtext;text-decoration:none">10.10.0.103@mcts.org</span></a>
<o:p></o:p></b></p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:.5in">or more likely <o:p>
</o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><b><sip:<a href="mailto:10.10.0.103@mcts.org"><span style="color:windowtext;text-decoration:none">10.10.0.103@mcts.org</span></a>><o:p></o:p></b></p>
<p class="MsoListParagraph">instead.<o:p></o:p></p>
<ul style="margin-top:0in" type="disc">
<li class="MsoListParagraph" style="margin-left:0in;mso-list:l0 level1 lfo2">Pings from either end to the other work just fine.
<o:p></o:p></li><li class="MsoListParagraph" style="margin-left:0in;mso-list:l0 level1 lfo2">nmap doesn’t show port 5060 open. It shows only port 22/tcp open. But then again, my main asterisk PBX doesn’t show that port open either. So I don’t think that means anything.
<o:p></o:p></li></ul>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The IVR machine (Asterisk 1.8.7.0) sip.conf file has an old section for the old PSTN gateway, and a new section I just added for the session manager.
<o:p></o:p></p>
<p class="MsoNormal">Old section for existing connections to the IVR: <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">[general]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">;context=transit-ivr<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">context=incoming<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">disallow=all<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">allow=ulaw<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">canreinvite=no<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">[sipivr]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">host=dynamic<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">secret=1NA6oZjTg1rjhZN8lArDgzLI7z8V2fxV<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">type=peer<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">;context=transit-ivr<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">context=incoming<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">dtmfmode=inband</span><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The new section, with many failed experiments commented out, is after the [sipivr] section:
<o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">[sessionmgr1]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">type=peer<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">;type=friend<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">port=5060<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">host=10.90.0.17<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">dtmfmode=inband<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">allowguest=yes<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">qualify=yes<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">realm=mcts.org<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">promiscredir=yes<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">;Some have suggested using canreinvite=no with Avaya- didn't try that yet<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">;canreinvite=no<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">canreinvite=yes<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">transport=tcp<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">;context=incoming<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">context=from-internal<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">;username=10.90.0.103<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">fromdomain=mcts.org<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">disallow=all<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">allow=ulaw<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">allow=alaw<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">tcpenable=yes<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">tcpbindaddr=0.0.0.0:5060<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Nothing I tried seems to make it stop sending asterisk@(null) in the header. This is supposed to be a sip trunk, not an extension, so I think I should NOT be user a username or secret. I’m not even sure what
<span style="font-family:"Courier New"">promiscredir </span>does, or if it’s helping or harming me.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">There’s virtually nothing in the logs about this connection, other than this:
<o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">[Feb 26 16:05:42] NOTICE[32142] chan_sip.c: Peer 'sessionmgr1' is now Reachable. (1ms / 2000ms)<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Can anyone help? <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="background:white"><span style="font-size:9.0pt;color:#006FC9">Thomas M. Peters | Sr. Systems Administrator |
<a href="mailto:tpeters@mcts.org"><span style="color:blue">tpeters@mcts.org</span></a>
<br>
Desk: 414.343.1720 | Helpdesk: x3400 or <a href="mailto:helpdesk@mcts.org"><span style="color:blue">helpdesk@mcts.org</span></a></span><span style="font-size:9.0pt;color:black"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><u><span style="font-size:9.0pt;color:#006FC9"><a href="http://www.ridemcts.com/"><span style="color:#006FC9">Milwaukee County Transit System
</span></a></span></u><u><span style="font-size:9.0pt;color:blue"><o:p></o:p></span></u></p>
<p class="MsoNormal" style="background:white"><span style="font-size:9.0pt;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:9.0pt;color:#006FC9">1942 N 17th Street | Milwaukee, WI 53205</span><span style="font-size:9.0pt;color:black"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:9.0pt;color:#006FC9">Check us out on
<a href="https://www.facebook.com/mcts"><span style="color:blue">Facebook</span></a> &
<a href="https://twitter.com/RideMCTS"><span style="color:blue">Twitter </span></a></span><span style="font-size:9.0pt;color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>