Sounds like a config issue in the <dialplan/> 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><br><div class="gmail_quote">On Mon, Jun 22, 2009 at 3:49 PM, Lars Zeb <span dir="ltr"><<a href="mailto:larclap@yahoo.com">larclap@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p><span style="font-family: "Times New Roman","serif";">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.</span></p>
<p><span style="font-family: "Times New Roman","serif";"> </span></p>
<p><span style="font-family: "Times New Roman","serif";">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.</span></p>
<p><span style="font-family: "Times New Roman","serif";"> </span></p>
<p><span style="font-family: "Times New Roman","serif";">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.</span></p>
<p><span style="font-family: "Times New Roman","serif";"> </span></p>
<p><span style="font-family: "Times New Roman","serif";">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.</span></p>
<p><span style="font-family: "Times New Roman","serif";"> </span></p>
<p><span style="font-family: "Times New Roman","serif";">Thanks
for any suggestions, Lars.</span></p>
<p><span style="font-family: "Times New Roman","serif";"> </span></p>
<p><span style="font-family: "Times New Roman","serif";">PolycomSoundPointIP-SPIP_501-UA/<a href="http://2.1.2.0078" target="_blank">2.1.2.0078</a></span></p>
<p><span style="font-family: "Times New Roman","serif";"> </span></p>
<p><span style="font-size: 9pt; 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></p>
<p><span style="font-size: 9pt; font-family: "Courier New";"> </span></p>
<p><span style="font-size: 9pt; font-family: "Courier New";">2009-06-22
12:32:18.588457 [DEBUG] sofia.c:4549 IP 192.168.10.101 Rejected by acl
"domains". Falling back to Digest auth.</span></p>
<p><span style="font-size: 9pt; font-family: "Courier New";">2009-06-22
12:32:18.706419 [DEBUG] sofia.c:4549 IP 192.168.10.101 Rejected by acl
"domains". Falling back to Digest auth.</span></p>
<p><span style="font-size: 9pt; 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></p>
<p><span style="font-size: 9pt; 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></p>
<p><span style="font-size: 9pt; 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></p>
<p><span style="font-size: 9pt; font-family: "Courier New";">2009-06-22
12:32:18.711463 [DEBUG] sofia.c:3217 Remote SDP:</span></p>
<p><span style="font-size: 9pt; font-family: "Courier New";">v=0</span></p>
<p><span style="font-size: 9pt; font-family: "Courier New";">o=-
1245682011 1245682011 IN IP4 192.168.10.101</span></p>
<p><span style="font-size: 9pt; font-family: "Courier New";">s=Polycom
IP Phone</span></p>
<p><span style="font-size: 9pt; font-family: "Courier New";">c=IN
IP4 192.168.10.101</span></p>
<p><span style="font-size: 9pt; font-family: "Courier New";">t=0
0</span></p>
<p><span style="font-size: 9pt; font-family: "Courier New";">m=audio
2254 RTP/AVP 0 8 18 101</span></p>
<p><span style="font-size: 9pt; font-family: "Courier New";">a=rtpmap:0
PCMU/8000</span></p>
<p><span style="font-size: 9pt; font-family: "Courier New";">a=rtpmap:8
PCMA/8000</span></p>
<p><span style="font-size: 9pt; font-family: "Courier New";">a=rtpmap:18
G729/8000</span></p>
<p><span style="font-size: 9pt; font-family: "Courier New";">a=rtpmap:101
telephone-event/8000</span></p>
<p><span style="font-size: 9pt; font-family: "Courier New";"> </span></p>
<p><span style="font-size: 9pt; 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></p>
<p><span style="font-size: 9pt; 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></p>
<p><span style="font-size: 9pt; 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></p>
<p><span style="font-size: 9pt; 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></p>
<p><span style="font-size: 9pt; 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></p>
<p><span style="font-size: 9pt; 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></p>
<p><span style="font-size: 9pt; font-family: "Courier New";">2009-06-22
12:32:18.711463 [DEBUG] sofia_glue.c:3028 Set 2833 dtmf payload to 101</span></p>
<p><span style="font-size: 9pt; 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 -> CS_INIT</span></p>
<p><span style="font-size: 9pt; 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></p>
<p><span style="font-size: 9pt; 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></p>
<p><span style="font-size: 9pt; 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></p>
<p><span style="font-size: 9pt; 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></p>
<p><span style="font-size: 9pt; 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 -> CS_ROUTING</span></p>
<p><span style="font-size: 9pt; 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></p>
<p><span style="font-size: 9pt; 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></p>
<p><span style="font-size: 9pt; 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></p>
<p><span style="font-size: 9pt; 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></p>
<p><span style="font-size: 9pt; 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></p>
<p><span style="font-size: 9pt; 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></p>
<p><span style="font-size: 9pt; font-family: "Courier New";">2009-06-22
12:32:18.721428 [INFO] mod_dialplan_xml.c:252 Processing 1001->323 in
context default</span></p>
<p><span style="font-size: 9pt; 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->unloop] continue=false</span></p>
<p><span style="font-size: 9pt; 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></p>
<p><span style="font-size: 9pt; 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></p>
</div>
</div>
<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><br>
<br></blockquote></div><br>