<p>If it&#39;s anything like the Linksys phones, you might have to change the dialplan on the phone itself in order to dial certain digits and make sure all if it is sent to the switch instead of holding some of the dialed digits back. Double check this to make sure you aren&#39;t being sent on a wild goose chase.</p>

<p>-BDF</p>
<div class="gmail_quote">On Mar 27, 2012 6:11 AM, &quot;Trever L. Adams&quot; &lt;<a href="mailto:trever.adams@gmail.com">trever.adams@gmail.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
&gt; go ahead and get a debug log of a call coming in, being answered, and the<br>
&gt; recipient dialing *0#xxx# to send the call elsewhere. Drop it into<br>
&gt; <a href="http://pastebin.freeswitch.org" target="_blank">pastebin.freeswitch.org</a> and use &quot;FreeSWITCH Log&quot; as the syntax highlighting.<br>
&gt;<br>
&gt; -MC<br>
<a href="http://pastebin.freeswitch.org/18753" target="_blank">http://pastebin.freeswitch.org/18753</a><br>
<br>
I am not sure how much the log will help. It doesn&#39;t show me pushing<br>
anything after the transfer code (*01 as I was experimenting and forgot<br>
to change it back to *0# as I had it set before).<br>
<br>
If I dial any thing 1000, 1000#, 1001, 1001# it all fails and plays the<br>
invalid_extension.wav. I have changed the code a little bit. It now reads:<br>
<br>
                &lt;extension name=&quot;setup bind_digit_action_transfer&quot;&gt;<br>
                  &lt;condition field=&quot;destination_number&quot;<br>
expression=&quot;^SETUP_TRANSFER$&quot;&gt;<br>
                     &lt;action application=&quot;log&quot; data=&quot;INFO Configuring<br>
bind_digit_action to do recording on this session...&quot;/&gt;<br>
                     &lt;action application=&quot;bind_digit_action&quot;<br>
data=&quot;do_transfer,*01,exec:execute_extension,DO_TRANSFER XML Incoming-FXO&quot;/&gt;<br>
                     &lt;action application=&quot;digit_action_set_realm&quot;<br>
data=&quot;do_transfer&quot;/&gt;<br>
                  &lt;/condition&gt;<br>
                &lt;/extension&gt;<br>
<br>
              &lt;extension name=&quot;setup transfer&quot; continue=&quot;true&quot;&gt;<br>
                  &lt;condition field=&quot;chan_name&quot; expression=&quot;^FreeTDM/3:1/&quot;&gt;<br>
                     &lt;action application=&quot;set&quot;<br>
data=&quot;bridge_pre_execute_bleg_app=execute_extension&quot;/&gt;<br>
                     &lt;action application=&quot;set&quot;<br>
data=&quot;bridge_pre_execute_bleg_data=SETUP_TRANSFER XML Incoming-FXO&quot;/&gt;<br>
                  &lt;/condition&gt;<br>
                &lt;/extension&gt;<br>
<br>
                &lt;extension name=&quot;bind_digit_action Do Transfer&quot;&gt;<br>
                  &lt;condition field=&quot;destination_number&quot;<br>
expression=&quot;^DO_TRANSFER$&quot;&gt;<br>
                    &lt;action application=&quot;log&quot; data=&quot;INFO Transferring<br>
external call to another internal location...&quot;/&gt;<br>
                    &lt;action application=&quot;play_and_get_digits&quot; data=&quot;1 10<br>
1 1000 # misc/silence.wav misc/invalid_extension.wav target_extension<br>
^(\d+)$&quot;/&gt;<br>
                    &lt;action application=&quot;log&quot; data=&quot;INFO Transferring<br>
external call to internal ${target_extension} ${1}...&quot;/&gt;<br>
                    &lt;action application=&quot;transfer&quot; data=&quot;-bleg<br>
${target_extension} XML Internal-FXS&quot;/&gt;<br>
                  &lt;/condition&gt;<br>
                &lt;/extension&gt;<br>
<br>
It seems that I had a problem with play and get digits not working when<br>
I was working on my call screener (I stopped work do to bug<br>
openzap-137). I seemed to have gotten around it by rewriting the entire<br>
thing in lua. I may be remembering incorrectly as this was months ago.<br>
<br>
Thank you for any help,<br>
Trever<br>
--<br>
&quot;Selfishness is really self-destruction in slow motion.&quot; -— Elder Neal<br>
A. Maxwell - Ensign, May 1999, 23<br>
<br>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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>