<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt"><div><span>I found a part of the problem. </span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span>The kam cfg reg ex had a typo, which i've removed.  </span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span></span></div><ol
 class="yui_3_13_0_ym1_1_1396035512996_3683" style="margin-top: 0px; margin-bottom: 0px; padding-right: 0px; padding-left: 48px; line-height: 21px; background-color: rgb(248, 248, 248);"><li class="yiv9355980889li1" style="font-size: 12px; color: rgb(172, 172, 172);"><div class="yiv9355980889de1" style="padding: 0px 5px; vertical-align: top; color: rgb(0, 0, 0); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); margin: 0px; background-color: rgb(255, 255, 255);">route[FSVBOX] {</div></li><li class="yiv9355980889li2"><div class="yiv9355980889de2" style="padding: 0px 5px; vertical-align: top; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); margin: 0px; background-color: rgb(255, 255, 255);"><span style="font-size: 12px;">        if(!($rU=~"^</span><span style="font-weight: bold; color: rgb(157, 24, 17); font-size: 18px;">1</span><span style="font-size:
 12px;">[0-9][0-9]+$"))</span></div></li><li class="yiv9355980889li1" style="font-size: 12px; color: rgb(172, 172, 172);"><div class="yiv9355980889de1" style="padding: 0px 5px; vertical-align: top; color: rgb(0, 0, 0); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); margin: 0px; background-color: rgb(255, 255, 255);">                return;</div></li><li class="yiv9355980889li2" style="font-size: 12px; color: rgb(172, 172, 172);"><div class="yiv9355980889de2" style="padding: 0px 5px; vertical-align: top; color: rgb(0, 0, 0); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); margin: 0px; background-color: rgb(255, 255, 255);">        prefix("vb-");</div></li><li class="yiv9355980889li1" style="font-size: 12px; color: rgb(172, 172, 172);"><div class="yiv9355980889de1" style="padding: 0px 5px; vertical-align: top;
 color: rgb(0, 0, 0); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); margin: 0px; background-color: rgb(255, 255, 255);">        route(FSRELAY);</div></li><li class="yiv9355980889li2" style="font-size: 12px; color: rgb(172, 172, 172);"><div class="yiv9355980889de2" style="padding: 0px 5px; vertical-align: top; color: rgb(0, 0, 0); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); margin: 0px; background-color: rgb(255, 255, 255);">}</div></li></ol><div><br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;">So now when I dial 44888 the request makes it to the freeswitch server.  But it bounces it right back to kamailio... and kamailio tries to find an extension called 44888 which doesn't exist.  I
 think its because the number 44888 matches a regex i have in my main freeswitch dialplan... which is supposed to be for connecting calls between extensions. </div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;">I guess I will have to revisit it to make it more specific... perhaps to ignore calls that come in with a vb- prefix... or any prefix for that matter. </div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;">Thanks.  And sorry for the noise.
  </div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><br></div>  <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt;"> <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1">  <font size="2" face="Arial"> <b><span style="font-weight:bold;">From:</span></b> mark li <limark67@yahoo.com><br> <b><span style="font-weight: bold;">To:</span></b> "sr-users@lists.sip-router.org" <sr-users@lists.sip-router.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Friday, March 28, 2014 3:33:26 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> [SR-Users] Trying to dial 4000 into freeswitch's vmail system - Kam Proxy
 returning Status 403: Not allowed<br> </font> </div> <div class="y_msg_container"><br><div id="yiv9355980889"><div><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt;"><div>Hi there. </div><div>I'm still trying to integrate Kamailio and freeswitch... where kamailio acts as a proxy and registrar ... and freeswitch provides conference calls and voicemail. </div><div>I have calls between two polycoms working and conference calls work. </div><div>But when I try to leave a voice message for a user by dialing 44+ext, the sip proxy never replies to the polycom. </div><div>I did a tcpdump and i can see the INVITE from the polycom to the sip proxy multiple times... but no response back.  The phone eventually disconnects itself. </div><div><br></div><div style="color: rgb(0, 0, 0); font-size: 13px;
 font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;">Here's what my config looks like:  <a rel="nofollow" target="_blank" href="http://pastebin.com/wWgyVcxc" style="font-size:10pt;">http://pastebin.com/wWgyVcxc</a></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;">Just do a search for "<span style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace, serif; font-size: 12px; line-height: 21px;">route[FSDISPATCH]". </span></div><div style="color: rgb(0, 0, 0); font-size: 12px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace, serif;
 background-color: transparent; font-style: normal;"><span style="font-family:Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera
 Sans Mono', monospace, serif;font-size:12px;line-height:21px;">You will see how I check for the "44" prefix, and then send the call to a route called "</span><span style="line-height:21px;">FSVBOX".  </span></div><div style="color: rgb(0, 0, 0); font-size: 12px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace, serif; background-color: transparent; font-style: normal;"><span style="line-height:21px;">Any suggestions would be appreciated. </span></div><div style="color: rgb(0, 0, 0); font-size: 12px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace, serif; background-color: transparent; font-style: normal;"><span style="line-height:21px;"><br></span></div><div style="color:rgb(0, 0, 0);font-size:12px;font-family:Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation
 Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace, serif;background-color:transparent;font-style:normal;"><span style="line-height:21px;"><br></span></div><div style="color: rgb(0, 0, 0); font-size: 12px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace, serif; background-color: transparent; font-style: normal;"><span style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace, serif; font-size: 12px; line-height: 21px;"></span></div><ol style="margin-top: 0px; margin-bottom: 0px; padding-right: 0px; padding-left: 48px; color: rgb(172, 172, 172); font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace, serif; font-size: 12px; line-height: 21px; background-color: rgb(248, 248, 248);"><li
 class="yiv9355980889li1" style=""><div class="yiv9355980889de1" style="padding:0px 5px;vertical-align:top;color:rgb(0, 0, 0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204, 204, 204);margin:0px 0px 0px;background-color:rgb(255, 255, 255);">route[FSVBOX] {</div></li><li class="yiv9355980889li2" style=""><div class="yiv9355980889de2" style="padding:0px 5px;vertical-align:top;color:rgb(0, 0, 0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204, 204, 204);margin:0px 0px 0px;background-color:rgb(255, 255, 255);">        if(!($rU=~"^1[0-9][0-9]+$"))</div></li><li class="yiv9355980889li1" style=""><div class="yiv9355980889de1" style="padding:0px 5px;vertical-align:top;color:rgb(0, 0, 0);border-left-width:1px;
border-left-style:solid;border-left-color:rgb(204, 204, 204);margin:0px 0px 0px;background-color:rgb(255, 255, 255);">                return;</div></li><li class="yiv9355980889li2" style=""><div class="yiv9355980889de2" style="padding:0px 5px;vertical-align:top;color:rgb(0, 0, 0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204, 204, 204);margin:0px 0px 0px;background-color:rgb(255, 255, 255);">        prefix("vb-");</div></li><li class="yiv9355980889li1" style=""><div class="yiv9355980889de1" style="padding:0px 5px;vertical-align:top;color:rgb(0, 0, 0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204, 204, 204);margin:0px 0px 0px;background-color:rgb(255, 255, 255);">       
 route(FSRELAY);</div></li><li class="yiv9355980889li2" style=""><div class="yiv9355980889de2" style="padding:0px 5px;vertical-align:top;color:rgb(0, 0, 0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204, 204, 204);margin:0px 0px 0px;background-color:rgb(255, 255, 255);">}</div></li><li class="yiv9355980889li1" style=""><div class="yiv9355980889de1" style="padding:0px 5px;vertical-align:top;color:rgb(0, 0, 0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204, 204, 204);margin:0px 0px 0px;background-color:rgb(255, 255, 255);"> </div></li><li class="yiv9355980889li2" style=""><div class="yiv9355980889de2" style="padding:0px 5px;vertical-align:top;color:rgb(0, 0, 0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,
 204, 204);margin:0px 0px 0px;background-color:rgb(255, 255, 255);"># Send to FreeSWITCH</div></li><li class="yiv9355980889li1" style=""><div class="yiv9355980889de1" style="padding:0px 5px;vertical-align:top;color:rgb(0, 0, 0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204, 204, 204);margin:0px 0px 0px;background-color:rgb(255, 255, 255);">route[FSRELAY] {</div></li><li class="yiv9355980889li2" style=""><div class="yiv9355980889de2" style="padding:0px 5px;vertical-align:top;color:rgb(0, 0, 0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204, 204, 204);margin:0px 0px 0px;background-color:rgb(255, 255, 255);">        $du = "sip:" + $sel(cfg_get.freeswitch.bindip) + ":"</div></li><li class="yiv9355980889li1" style="
"><div class="yiv9355980889de1" style="padding:0px 5px;vertical-align:top;color:rgb(0, 0, 0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204, 204, 204);margin:0px 0px 0px;background-color:rgb(255, 255, 255);">                        + $sel(cfg_get.freeswitch.bindport);</div></li><li class="yiv9355980889li2" style=""><div class="yiv9355980889de2" style="padding:0px 5px;vertical-align:top;color:rgb(0, 0, 0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204, 204, 204);margin:0px 0px 0px;background-color:rgb(255, 255, 255);">        route(RELAY);</div></li><li class="yiv9355980889li1" style=""><div class="yiv9355980889de1" style="padding:0px 5px;vertical-align:top;color:rgb(0,
 0, 0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204, 204, 204);margin:0px 0px 0px;background-color:rgb(255, 255, 255);">        exit;</div></li><li class="yiv9355980889li2" style=""><div class="yiv9355980889de2" style="padding:0px 5px;vertical-align:top;color:rgb(0, 0, 0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204, 204, 204);margin:0px 0px 0px;background-color:rgb(255, 255, 255);">}</div></li><li class="yiv9355980889li2" style=""><div class="yiv9355980889de2" style="padding:0px 5px;vertical-align:top;color:rgb(0, 0, 0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204, 204, 204);margin:0px 0px 0px;background-color:rgb(255, 255, 255);"><br></div></li></ol></div></div></div><br>_______________________________________________<br>SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br><a ymailto="mailto:sr-users@lists.sip-router.org"
 href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br><a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br><br><br></div> </div> </div>  </div></body></html>