<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt"><div id="yiv1194959905"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt;"><div><span>Two updates: <br clear="none"></span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><br clear="none"><span></span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><span>1.  the link i had was incorrect.  this is the correct link to the "how to" that I'm following: <br clear="none"></span></div><div style="color:rgb(0, 0,
 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><span>http://kb.asipto.com/freeswitch:kamailio-3.3.x-freeswitch-1.2.x-sbc</span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><span>2.  I've narrowed down the issue a little bit.  Here's what I've found, along with some more background information: <br clear="none"></span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><br clear="none"><span></span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande,
 sans-serif;background-color:transparent;font-style:normal;"><span>a) i have two polycom phones on my network, ext 888 and 999.</span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><span>b) they both register fine to the sip proxy. (192.168.1.101)<br clear="none"></span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><span>c)  when i try to call ext 888 from ext 999, via a tcpdump, i can see that the call makes it to the freeswitch server (192.169.1.111) </span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><span>Since ext 888 is
 online, it should have just directed the call to the phone (vs. going to vmail) but instead, I get the following error message:<br clear="none"></span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><font size="2"><span style="background-color:rgb(255, 255, 255);"><span style="color:rgb(157, 24, 17);"><span><span><span>SIP/2.0 480 Temporarily Unavailable</span><br clear="none"><span>   Via: SIP/2.0/UDP 192.168.1.101;branch=z9hG4bK9db9.11128f7.0</span><br clear="none"><span>   Via: SIP/2.0/UDP 192.168.1.102;branch=z9hG4bKe920d3d0328D8D59</span><br clear="none"><span>   Max-Forwards: 14</span><br clear="none"><span>   From: "999" <sip:999@192.168.1.101>;tag=11B3C4E2-A9A9E183</span><br clear="none"><span>   To:
 <sip:888@192.168.1.101;user=phone>;tag=vmNpFtt7t5t1D</span><br clear="none"><span>   Call-ID: ff78246e-9eeda51f-a54bce3c@192.168.1.102</span><br clear="none"><span>   CSeq: 1 INVITE</span><br clear="none"><span>   User-Agent: FreeSWITCH-mod_sofia/1.5.12b+git~20140320T233219Z~dd242f3ba6~32bit</span><br clear="none"><span>  
 Accept: application/sdp</span><br clear="none"><span>   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY</span><br clear="none"><span>   Supported: timer, path, replaces</span><br clear="none"><span>   Allow-Events: talk, hold, conference, refer</span><br clear="none"><span>   Reason: Q.850;cause=16;text="NORMAL_CLEARING"</span><br clear="none"><span>   Content-Length: 0</span><br clear="none"><span>   Remote-Party-ID: "kb-888" <kb-888>;party=calling;privacy=off;screen=no</span></span></span></span></span></font></div><div style="color:rgb(157, 24, 17);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><br clear="none"><span style="background-color:rgb(255, 255, 255);"><span style="color:rgb(157, 24,
 17);"><span><span></span></span></span></span><span></span></div><div style="color:rgb(157, 24, 17);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><span><span style="color:rgb(0, 0, 0);">In debugging on freeswitch I can see that it tries to match a dialplan for kb-888 and then ends up attempting to do a enum look up on "kb-888".  Then it says that it has completed the dialplan. <br clear="none"></span></span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;">I don't have an extension kb-888 registered.  I can see where in the configs that I am prefixing "kb" to the calls on the kamailio side.  And on the freeswitch side of the house, I see where I a regular expression looking for this prefix.  But
 I don't know how i can get freeswitch to send the call to 888@192.168.1.101</div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><br clear="none"><span><span style="color:rgb(0, 0, 0);"></span></span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><span><span style="color:rgb(0, 0, 0);">Here's some of the debug data from freeswitch: </span></span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><span><span style="color:rgb(0, 0, 0);"><br clear="none"></span></span></div><div id="yiv1194959905yui_3_13_0_ym1_1_1395848635298_11035"
 style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><span id="yiv1194959905yui_3_13_0_ym1_1_1395848635298_11034"><span id="yiv1194959905yui_3_13_0_ym1_1_1395848635298_11036" style="color:rgb(0, 0, 0);"><font id="yiv1194959905yui_3_13_0_ym1_1_1395848635298_11038" size="2"><span id="yiv1194959905yui_3_13_0_ym1_1_1395848635298_11037" style="color:rgb(205, 35, 44);">2014-03-26 11:04:07.345480 [DEBUG] switch_ivr.c:1830 (sofia/external/999@192.168.1.101) State Change CS_EXECUTE -> CS_ROUTING<br clear="none">2014-03-26 11:04:07.345480 [DEBUG] switch_core_session.c:1385 Send signal sofia/external/999@192.168.1.101 [BREAK]<br clear="none">2014-03-26 11:04:07.345480 [DEBUG] switch_core_session.c:905 Send signal sofia/external/999@192.168.1.101 [BREAK]<br clear="none"><span><span style="font-weight:bold;">2014-03-26 11:04:07.345480
 [NOTICE] switch_ivr.c:1837 Transfer sofia/external/999@192.168.1.101 to enum[kb-888@default]</span></span><br clear="none">2014-03-26 11:04:07.345480 [DEBUG] switch_core_state_machine.c:530 (sofia/external/999@192.168.1.101) State EXECUTE going to
 sleep<br clear="none">2014-03-26 11:04:07.345480 [DEBUG] switch_core_state_machine.c:467 (sofia/external/999@192.168.1.101) Running State Change CS_ROUTING<br clear="none">2014-03-26 11:04:07.345480 [DEBUG] switch_core_state_machine.c:523 (sofia/external/999@192.168.1.101) State ROUTING<br clear="none">2014-03-26 11:04:07.345480 [DEBUG] mod_sofia.c:123 sofia/external/999@192.168.1.101 SOFIA ROUTING<br clear="none">2014-03-26 11:04:07.345480 [DEBUG] switch_core_state_machine.c:164 sofia/external/999@192.168.1.101 Standard ROUTING<br clear="none">2014-03-26 11:04:07.345480 [DEBUG] mod_enum.c:642 ENUM Lookup on kb-888<br clear="none">2014-03-26 11:04:07.345480 [DEBUG] mod_enum.c:494 No Nameservers specified, using host default<br clear="none">2014-03-26 11:04:07.405488 [DEBUG] switch_core_state_machine.c:214 (sofia/external/999@192.168.1.101) State Change CS_ROUTING -> CS_EXECUTE<br clear="none">2014-03-26 11:04:07.405488 [DEBUG]
 switch_core_session.c:1385 Send signal sofia/external/999@192.168.1.101 [BREAK]<br clear="none">2014-03-26 11:04:07.405488 [DEBUG]
 switch_core_state_machine.c:523 (sofia/external/999@192.168.1.101) State ROUTING going to sleep<br clear="none">2014-03-26 11:04:07.405488 [DEBUG] switch_core_state_machine.c:467 (sofia/external/999@192.168.1.101) Running State Change CS_EXECUTE<br clear="none">2014-03-26 11:04:07.405488 [DEBUG] switch_core_state_machine.c:530 (sofia/external/999@192.168.1.101) State EXECUTE<br clear="none">2014-03-26 11:04:07.405488 [DEBUG] mod_sofia.c:178 sofia/external/999@192.168.1.101 SOFIA EXECUTE<br clear="none">2014-03-26 11:04:07.405488 [DEBUG] switch_core_state_machine.c:256 sofia/external/999@192.168.1.101 Standard EXECUTE<br clear="none"><span><span style="font-weight:bold;">2014-03-26 11:04:07.405488 [NOTICE] switch_core_state_machine.c:313 sofia/external/999@192.168.1.101 has executed the last dialplan instruction, hanging up.</span></span><br clear="none">2014-03-26 11:04:07.405488 [NOTICE] switch_core_state_machine.c:315 Hangup
 sofia/external/999@192.168.1.101 [CS_EXECUTE] [NORMAL_CLEARING]<br clear="none">2014-03-26 11:04:07.405488 [DEBUG]
 switch_channel.c:3215 Send signal sofia/external/999@192.168.1.101 [KILL]<br clear="none">2014-03-26 11:04:07.405488 [DEBUG] switch_core_session.c:1385 Send signal sofia/external/999@192.168.1.101 [BREAK]<br clear="none">2014-03-26 11:04:07.405488 [DEBUG] switch_core_state_machine.c:530 (sofia/external/999@192.168.1.101) State EXECUTE going to sleep<br clear="none">2014-03-26 11:04:07.405488 [DEBUG] switch_core_state_machine.c:467 (sofia/external/999@192.168.1.101) Running State Change CS_HANGUP<br clear="none">2014-03-26 11:04:07.405488 [DEBUG] switch_core_state_machine.c:730 (sofia/external/999@192.168.1.101) Callstate Change RINGING -> HANGUP<br clear="none">2014-03-26 11:04:07.405488 [DEBUG] switch_core_state_machine.c:732 (sofia/external/999@192.168.1.101) State HANGUP<br clear="none">2014-03-26 11:04:07.405488 [DEBUG] mod_sofia.c:413 Channel sofia/external/999@192.168.1.101 hanging up, cause: NORMAL_CLEARING<br clear="none">2014-03-26
 11:04:07.405488 [DEBUG] mod_sofia.c:547 Responding to INVITE with: 480<br clear="none">send 777 bytes to
 udp/[192.168.1.101]:5060 at 11:04:07.412221:<br clear="none">   ------------------------------------------------------------------------<br clear="none">   SIP/2.0 480 Temporarily Unavailable<br clear="none">   Via: SIP/2.0/UDP 192.168.1.101;branch=z9hG4bK9db9.11128f7.0<br clear="none">   Via: SIP/2.0/UDP 192.168.1.102;branch=z9hG4bKe920d3d0328D8D59<br clear="none">   Max-Forwards: 14<br clear="none">   From: "999" <sip:999@192.168.1.101>;tag=11B3C4E2-A9A9E183<br clear="none">   To: <sip:888@192.168.1.101;user=phone>;tag=vmNpFtt7t5t1D<br clear="none">   Call-ID: ff78246e-9eeda51f-a54bce3c@192.168.1.102<br clear="none">   CSeq: 1 INVITE<br clear="none">   User-Agent: FreeSWITCH-mod_sofia/1.5.12b+git~20140320T233219Z~dd242f3ba6~32bit<br clear="none">   Accept: application/sdp<br clear="none">   Allow: INVITE, ACK, BYE,
 CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY<br clear="none">   Supported: timer, path, replaces<br clear="none">   Allow-Events: talk, hold,
 conference, refer<br clear="none">   Reason: Q.850;cause=16;text="NORMAL_CLEARING"<br clear="none">   Content-Length: 0<br clear="none">   Remote-Party-ID: "kb-888" <kb-888>;party=calling;privacy=off;screen=no</span></font><br clear="none">   <br clear="none"></span>Unfortunately, i'm new to sip, kamailio and freeswitch so I apologize in advanced if I've missed something basic.  but I've been over the article and have tried to ensure that I did every step.</span></div><div id="yiv1194959905yui_3_13_0_ym1_1_1395848635298_11033" style="color:rgb(205, 35, 44);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><span><span style="color:rgb(0, 0, 0);">The good news is that conference calls work!  But i can't call between extensions or get voicemail working.<br clear="none"></span></span></div><div
 style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><br clear="none"><span><span style="color:rgb(0, 0, 0);"></span></span></div><div id="yiv1194959905yui_3_13_0_ym1_1_1395848635298_11032" style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><span id="yiv1194959905yui_3_13_0_ym1_1_1395848635298_11031"><span id="yiv1194959905yui_3_13_0_ym1_1_1395848635298_11030" style="color:rgb(0, 0, 0);">I've attached a tcpdump on port 5060 from my kam server.</span></span></div><div id="yiv1194959905yui_3_13_0_ym1_1_1395848635298_11028" style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><br
 clear="none"><span><span style="color:rgb(0, 0, 0);"></span></span></div><div id="yiv1194959905yui_3_13_0_ym1_1_1395848635298_11015" style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><span id="yiv1194959905yui_3_13_0_ym1_1_1395848635298_11014"><span id="yiv1194959905yui_3_13_0_ym1_1_1395848635298_11013" style="color:rgb(0, 0, 0);">I'm not expecting hand holding but even if you could just tell me which module i should look into or additional steps on how to troubleshoot, that'd be great.</span></span></div><div id="yiv1194959905yui_3_13_0_ym1_1_1395848635298_11018" style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><span id="yiv1194959905yui_3_13_0_ym1_1_1395848635298_11017"><span
 id="yiv1194959905yui_3_13_0_ym1_1_1395848635298_11016" style="color:rgb(0, 0, 0);">So far, I've turned on debugging using the freeswitch cli, and I'm using tcpdump for the kam side of things. <br clear="none"></span></span></div><div id="yiv1194959905yui_3_13_0_ym1_1_1395848635298_11027" style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><br clear="none"><span><span style="color:rgb(0, 0, 0);"></span></span></div><div id="yiv1194959905yui_3_13_0_ym1_1_1395848635298_11019" style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><span><span style="color:rgb(0, 0, 0);">thanks. <br clear="none"></span></span></div><div class="yiv1194959905yahoo_quoted" id="yiv1194959905yui_3_13_0_ym1_1_1395848635298_11023"
 style="display: block;"> <br clear="none"> <br clear="none"> <div id="yiv1194959905yui_3_13_0_ym1_1_1395848635298_11022" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt;"> <div id="yiv1194959905yui_3_13_0_ym1_1_1395848635298_11021" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt;"> <div class="yiv1194959905yqt7378261844" id="yiv1194959905yqt34248"><div dir="ltr" id="yiv1194959905yui_3_13_0_ym1_1_1395848635298_11020"> <font face="Arial" size="2"> On Monday, March 24, 2014 11:43:05 AM, mark li <limark67@yahoo.com> wrote:<br clear="none"> </font> </div>  <div class="yiv1194959905y_msg_container"><div id="yiv1194959905"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt;"><div>Hi there.  I'm a noobie to Kamailio and
 Freeswitch... but I'm trying to follow the article located here: </div><div><br clear="none"></div><div style="background-color:transparent;"><a rel="nofollow" shape="rect" target="_blank" href="https://ca-mg6.mail.yahoo.com/neo/launch?.rand=7sh1fptfetnkh" style="color:rgb(25, 106, 212);">http://kb.asipto.com/freeswitch:kamailio-3.1.x-freeswitch-1.0.6d-sbc</a><br clear="none"></div><div style="background-color:transparent;"><br clear="none"></div><div style="background-color:transparent;">I've tried to add all
 the sections marked with WITH_FREESWITCH in the sample config in the article into my own kamailio-advanced.cfg file. </div><div style="background-color:transparent;">Here's what my cfg file looks like: </div><div style="background-color:transparent;"><a rel="nofollow" shape="rect" target="_blank" href="https://ca-mg6.mail.yahoo.com/neo/launch?.rand=7sh1fptfetnkh" style="color:rgb(25, 106, 212);">http://pastebin.com/KsvrYVN7</a><br clear="none"></div><div style="background-color:transparent;"><br clear="none"></div><div style="background-color:transparent;">I've restarted kamailio after making these changes. </div><div style="background-color:transparent;">Then I tried to dial 41 to listen to vmail or 44999 to leave a message for user 999 but both return a busy tone. </div><div style="background-color:transparent;"><br clear="none"></div><div style="background-color:transparent;">Any suggestions would be appreciated.</div><div
 style="background-color:transparent;">Thanks.</div></div></div></div><br clear="none">_______________________________________________<br clear="none">SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br clear="none"><a rel="nofollow" shape="rect" target="_blank" href="https://ca-mg6.mail.yahoo.com/neo/launch?.rand=7sh1fptfetnkh">sr-users@lists.sip-router.org</a><br clear="none"><a rel="nofollow" shape="rect" target="_blank" href="https://ca-mg6.mail.yahoo.com/neo/launch?.rand=7sh1fptfetnkh">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br clear="none"><br clear="none"><br clear="none"></div></div>  </div> </div>  </div> </div></div></div></div></body></html>