<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 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Times New Roman","serif";
        color:#1F497D;}
..MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</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=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;color:#1F497D'>I&#8217;m sorry
Chris, but I don&#8217;t know where the look for the &#8220;</span>global sip.cfg and
mac/phone specific cfg&#8221; settings. I also looked for digitmap but could find nothing.<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Can you be more specific?<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Thanks, Lars<span style='font-size:11.0pt;color:#1F497D'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> freeswitch-users-bounces@lists.freeswitch.org
[mailto:freeswitch-users-bounces@lists.freeswitch.org] <b>On Behalf Of </b>Chris
Burns<br>
<b>Sent:</b> Monday, June 22, 2009 2:57 PM<br>
<b>To:</b> freeswitch-users@lists.freeswitch.org<br>
<b>Subject:</b> Re: [Freeswitch-users] Polycom configuration problems?<o:p></o:p></span></p>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'>Sounds like a config issue in
the &lt;dialplan/&gt; tag. Check global sip.cfg and mac/phone specific cfg.
When you are dialing on-hook I don't think it will use your .digitmap or
..digitmap.timer settings. When you dial off-hook it sure will.<br>
<br>
<o:p></o:p></p>

<div>

<p class=MsoNormal>On Mon, Jun 22, 2009 at 3:49 PM, Lars Zeb &lt;<a
href="mailto:larclap@yahoo.com">larclap@yahoo.com</a>&gt; wrote:<o:p></o:p></p>

<div>

<div>

<p>I am having difficulty with a Polycom 501 and Freeswitch. There are 3 lines
on the phone. The first two are registered with a SwitchVox, the last with
Freeswitch.<o:p></o:p></p>

<p>&nbsp;<o:p></o:p></p>

<p>When I select the 3rd line and begin to press numbers, pressing the 3rd
digit automatically causes the phone to begin to dial. It does not matter which
three numbers I press, the 3rd one is magic.<o:p></o:p></p>

<p>&nbsp;<o:p></o:p></p>

<p>However, if I do not select a line before dialing and key a 10-digit number
into the phone, then select the 3rd line, it dials out fine.<o:p></o:p></p>

<p>&nbsp;<o:p></o:p></p>

<p>You can see from the debug console output that Processing begins before it
hits any dialplan, so that cannot be the problem. I must have the line defined incorrectly
for Freeswitch.<o:p></o:p></p>

<p>&nbsp;<o:p></o:p></p>

<p>Thanks for any suggestions, Lars.<o:p></o:p></p>

<p>&nbsp;<o:p></o:p></p>

<p>PolycomSoundPointIP-SPIP_501-UA/<a href="http://2.1.2.0078" target="_blank">2.1.2.0078</a><o:p></o:p></p>

<p>&nbsp;<o:p></o:p></p>

<p><span style='font-size:9.0pt;font-family:"Courier New"'>Linux fs
2.6.18-128.1.10.el5 #1 SMP Thu May 7 10:39:21 EDT 2009 i686 i686 i386 GNU/Linux</span><o:p></o:p></p>

<p><span style='font-size:9.0pt;font-family:"Courier New"'>&nbsp;</span><o:p></o:p></p>

<p><span style='font-size:9.0pt;font-family:"Courier New"'>2009-06-22
12:32:18.588457 [DEBUG] sofia.c:4549 IP 192.168.10.101 Rejected by acl
&quot;domains&quot;. Falling back to Digest auth.</span><o:p></o:p></p>

<p><span style='font-size:9.0pt;font-family:"Courier New"'>2009-06-22
12:32:18.706419 [DEBUG] sofia.c:4549 IP 192.168.10.101 Rejected by acl
&quot;domains&quot;. Falling back to Digest auth.</span><o:p></o:p></p>

<p><span style='font-size:9.0pt;font-family:"Courier New"'>2009-06-22 12:32:18.708461
[NOTICE] switch_channel.c:602 New Channel sofia/internal/<a
href="mailto:1001@192.168.10.29" target="_blank">1001@192.168.10.29</a>
[661a46fa-5f63-11de-85d0-1157463d23c2]</span><o:p></o:p></p>

<p><span style='font-size:9.0pt;font-family:"Courier New"'>2009-06-22
12:32:18.711463 [DEBUG] switch_core_state_machine.c:397 (sofia/internal/<a
href="mailto:1001@192.168.10.29" target="_blank">1001@192.168.10.29</a>)
Running State Change CS_NEW</span><o:p></o:p></p>

<p><span style='font-size:9.0pt;font-family:"Courier New"'>2009-06-22
12:32:18.711463 [DEBUG] sofia.c:3210 Channel sofia/internal/<a
href="mailto:1001@192.168.10.29" target="_blank">1001@192.168.10.29</a> entering
state [received][100]</span><o:p></o:p></p>

<p><span style='font-size:9.0pt;font-family:"Courier New"'>2009-06-22
12:32:18.711463 [DEBUG] sofia.c:3217 Remote SDP:</span><o:p></o:p></p>

<p><span style='font-size:9.0pt;font-family:"Courier New"'>v=0</span><o:p></o:p></p>

<p><span style='font-size:9.0pt;font-family:"Courier New"'>o=- 1245682011
1245682011 IN IP4 192.168.10.101</span><o:p></o:p></p>

<p><span style='font-size:9.0pt;font-family:"Courier New"'>s=Polycom IP Phone</span><o:p></o:p></p>

<p><span style='font-size:9.0pt;font-family:"Courier New"'>c=IN IP4
192.168.10.101</span><o:p></o:p></p>

<p><span style='font-size:9.0pt;font-family:"Courier New"'>t=0 0</span><o:p></o:p></p>

<p><span style='font-size:9.0pt;font-family:"Courier New"'>m=audio 2254 RTP/AVP
0 8 18 101</span><o:p></o:p></p>

<p><span style='font-size:9.0pt;font-family:"Courier New"'>a=rtpmap:0 PCMU/8000</span><o:p></o:p></p>

<p><span style='font-size:9.0pt;font-family:"Courier New"'>a=rtpmap:8 PCMA/8000</span><o:p></o:p></p>

<p><span style='font-size:9.0pt;font-family:"Courier New"'>a=rtpmap:18
G729/8000</span><o:p></o:p></p>

<p><span style='font-size:9.0pt;font-family:"Courier New"'>a=rtpmap:101
telephone-event/8000</span><o:p></o:p></p>

<p><span style='font-size:9.0pt;font-family:"Courier New"'>&nbsp;</span><o:p></o:p></p>

<p><span style='font-size:9.0pt;font-family:"Courier New"'>2009-06-22
12:32:18.711463 [DEBUG] switch_core_state_machine.c:403 (sofia/internal/<a
href="mailto:1001@192.168.10.29" target="_blank">1001@192.168.10.29</a>) State
NEW</span><o:p></o:p></p>

<p><span style='font-size:9.0pt;font-family:"Courier New"'>2009-06-22
12:32:18.711463 [DEBUG] sofia_glue.c:3068 Audio Codec Compare
[PCMU:0:8000:0]/[G7221:115:32000:20]</span><o:p></o:p></p>

<p><span style='font-size:9.0pt;font-family:"Courier New"'>2009-06-22
12:32:18.711463 [DEBUG] sofia_glue.c:3068 Audio Codec Compare
[PCMU:0:8000:0]/[G7221:107:16000:20]</span><o:p></o:p></p>

<p><span style='font-size:9.0pt;font-family:"Courier New"'>2009-06-22
12:32:18.711463 [DEBUG] sofia_glue.c:3068 Audio Codec Compare
[PCMU:0:8000:0]/[G722:9:8000:20]</span><o:p></o:p></p>

<p><span style='font-size:9.0pt;font-family:"Courier New"'>2009-06-22
12:32:18.711463 [DEBUG] sofia_glue.c:3068 Audio Codec Compare
[PCMU:0:8000:0]/[PCMU:0:8000:20]</span><o:p></o:p></p>

<p><span style='font-size:9.0pt;font-family:"Courier New"'>2009-06-22
12:32:18.711463 [DEBUG] sofia_glue.c:2026 Set Codec sofia/internal/<a
href="mailto:1001@192.168.10.29" target="_blank">1001@192.168.10.29</a>
PCMU/8000 20 ms 160 samples</span><o:p></o:p></p>

<p><span style='font-size:9.0pt;font-family:"Courier New"'>2009-06-22
12:32:18.711463 [DEBUG] sofia_glue.c:3028 Set 2833 dtmf payload to 101</span><o:p></o:p></p>

<p><span style='font-size:9.0pt;font-family:"Courier New"'>2009-06-22
12:32:18.711463 [DEBUG] sofia.c:3376 (sofia/internal/<a
href="mailto:1001@192.168.10.29" target="_blank">1001@192.168.10.29</a>) State
Change CS_NEW -&gt; CS_INIT</span><o:p></o:p></p>

<p><span style='font-size:9.0pt;font-family:"Courier New"'>2009-06-22
12:32:18.711463 [DEBUG] switch_core_session.c:933 Send signal sofia/internal/<a
href="mailto:1001@192.168.10.29" target="_blank">1001@192.168.10.29</a> [BREAK]</span><o:p></o:p></p>

<p><span style='font-size:9.0pt;font-family:"Courier New"'>2009-06-22
12:32:18.721428 [DEBUG] switch_core_state_machine.c:397 (sofia/internal/<a
href="mailto:1001@192.168.10.29" target="_blank">1001@192.168.10.29</a>)
Running State Change CS_INIT</span><o:p></o:p></p>

<p><span style='font-size:9.0pt;font-family:"Courier New"'>2009-06-22
12:32:18.721428 [DEBUG] switch_core_state_machine.c:480 (sofia/internal/<a
href="mailto:1001@192.168.10.29" target="_blank">1001@192.168.10.29</a>) State
INIT</span><o:p></o:p></p>

<p><span style='font-size:9.0pt;font-family:"Courier New"'>2009-06-22
12:32:18.721428 [DEBUG] mod_sofia.c:83 sofia/internal/<a
href="mailto:1001@192.168.10.29" target="_blank">1001@192.168.10.29</a> SOFIA
INIT</span><o:p></o:p></p>

<p><span style='font-size:9.0pt;font-family:"Courier New"'>2009-06-22
12:32:18.721428 [DEBUG] mod_sofia.c:111 (sofia/internal/<a
href="mailto:1001@192.168.10.29" target="_blank">1001@192.168.10.29</a>) State
Change CS_INIT -&gt; CS_ROUTING</span><o:p></o:p></p>

<p><span style='font-size:9.0pt;font-family:"Courier New"'>2009-06-22
12:32:18.721428 [DEBUG] switch_core_session.c:933 Send signal sofia/internal/<a
href="mailto:1001@192.168.10.29" target="_blank">1001@192.168.10.29</a> [BREAK]</span><o:p></o:p></p>

<p><span style='font-size:9.0pt;font-family:"Courier New"'>2009-06-22
12:32:18.721428 [DEBUG] switch_core_state_machine.c:480 (sofia/internal/<a
href="mailto:1001@192.168.10.29" target="_blank">1001@192.168.10.29</a>) State
INIT going to sleep</span><o:p></o:p></p>

<p><span style='font-size:9.0pt;font-family:"Courier New"'>2009-06-22
12:32:18.721428 [DEBUG] switch_core_state_machine.c:397 (sofia/internal/<a
href="mailto:1001@192.168.10.29" target="_blank">1001@192.168.10.29</a>)
Running State Change CS_ROUTING</span><o:p></o:p></p>

<p><span style='font-size:9.0pt;font-family:"Courier New"'>2009-06-22
12:32:18.721428 [DEBUG] switch_core_state_machine.c:483 (sofia/internal/<a
href="mailto:1001@192.168.10.29" target="_blank">1001@192.168.10.29</a>) State
ROUTING</span><o:p></o:p></p>

<p><span style='font-size:9.0pt;font-family:"Courier New"'>2009-06-22
12:32:18.721428 [DEBUG] mod_sofia.c:130 sofia/internal/<a
href="mailto:1001@192.168.10.29" target="_blank">1001@192.168.10.29</a> SOFIA
ROUTING</span><o:p></o:p></p>

<p><span style='font-size:9.0pt;font-family:"Courier New"'>2009-06-22
12:32:18.721428 [DEBUG] switch_core_state_machine.c:78 sofia/internal/<a
href="mailto:1001@192.168.10.29" target="_blank">1001@192.168.10.29</a>
Standard ROUTING</span><o:p></o:p></p>

<p><span style='font-size:9.0pt;font-family:"Courier New"'>2009-06-22 12:32:18.721428
[INFO] mod_dialplan_xml.c:252 Processing 1001-&gt;323 in context default</span><o:p></o:p></p>

<p><span style='font-size:9.0pt;font-family:"Courier New"'>Dialplan:
sofia/internal/<a href="mailto:1001@192.168.10.29" target="_blank">1001@192.168.10.29</a>
parsing [default-&gt;unloop] continue=false</span><o:p></o:p></p>

<p><span style='font-size:9.0pt;font-family:"Courier New"'>Dialplan:
sofia/internal/<a href="mailto:1001@192.168.10.29" target="_blank">1001@192.168.10.29</a>
Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false</span><o:p></o:p></p>

<p><span style='font-size:9.0pt;font-family:"Courier New"'>Dialplan:
sofia/internal/<a href="mailto:1001@192.168.10.29" target="_blank">1001@192.168.10.29</a>
Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false</span><o:p></o:p></p>

</div>

</div>

<p class=MsoNormal style='margin-bottom:12.0pt'><br>
_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><o:p></o:p></p>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

</body>

</html>