<div dir="ltr"><div>Hi,</div><div><br></div><div>Managed to ge</div>I added the following to the dialplan:<div><div> &lt;extension name=&quot;OutgoingNumber&quot;&gt;</div><div>    &lt;condition field=&quot;destination_number&quot; expression=&quot;^(\d{8})$&quot;&gt;</div>

<div>      &lt;action application=&quot;bridge&quot; data=&quot;openzap/1/4/${dialed_ext}&quot;/&gt;  </div><div>     &lt;/condition&gt;</div><div>   &lt;/extension&gt;</div><div><br></div><div>No ring. </div><div><br></div>

<div>I get the following:</div><div><br></div><div><div>2010-07-01 11:07:04.627394 [DEBUG] mod_openzap.c:403 Set codec PCMA 20ms</div><div>2010-07-01 11:07:04.627394 [DEBUG] mod_openzap.c:1317 Connect outbound channel OpenZAP/1:4/</div>

<div>2010-07-01 11:07:04.627394 [NOTICE] switch_channel.c:776 New Channel OpenZAP/1:4/ [3ca74e5b-7e26-4a0a-b5f7-72d7a2f33fbf]</div><div>2010-07-01 11:07:04.627394 [DEBUG] mod_openzap.c:1331 (OpenZAP/1:4/) State Change CS_NEW -&gt; CS_INIT</div>

<div>2010-07-01 11:07:04.627394 [DEBUG] switch_core_session.c:1027 Send signal OpenZAP/1:4/ [BREAK]</div><div>2010-07-01 11:07:04.627394 [DEBUG] ozmod_analog.c:59 Changing state on 1:4 from DOWN to DIALING</div><div>2010-07-01 11:07:04.627394 [DEBUG] ozmod_analog.c:293 ANALOG CHANNEL thread starting.</div>

<div>2010-07-01 11:07:04.628392 [DEBUG] switch_core_state_machine.c:314 (OpenZAP/1:4/) Running State Change CS_INIT</div><div>2010-07-01 11:07:04.628392 [DEBUG] switch_core_state_machine.c:338 (OpenZAP/1:4/) State INIT</div>

<div>2010-07-01 11:07:04.628392 [DEBUG] mod_openzap.c:431 (OpenZAP/1:4/) State Change CS_INIT -&gt; CS_ROUTING</div><div>2010-07-01 11:07:04.628392 [DEBUG] switch_core_session.c:1027 Send signal OpenZAP/1:4/ [BREAK]</div>

<div>2010-07-01 11:07:04.628392 [DEBUG] switch_core_state_machine.c:338 (OpenZAP/1:4/) State INIT going to sleep</div><div>2010-07-01 11:07:04.628392 [DEBUG] switch_core_state_machine.c:314 (OpenZAP/1:4/) Running State Change CS_ROUTING</div>

<div>2010-07-01 11:07:04.628392 [DEBUG] switch_channel.c:1471 (OpenZAP/1:4/) Callstate Change DOWN -&gt; RINGING</div><div>2010-07-01 11:07:04.627394 [DEBUG] ozmod_wanpipe.c:608 Enabled DTMF events on chan 1:4</div><div>
2010-07-01 11:07:04.628392 [DEBUG] ozmod_analog.c:464 Executing state handler on 1:4 for DIALING</div>
<div>2010-07-01 11:07:04.628392 [DEBUG] switch_core_state_machine.c:341 (OpenZAP/1:4/) State ROUTING</div><div>2010-07-01 11:07:04.628392 [DEBUG] mod_openzap.c:454 OpenZAP/1:4/ CHANNEL ROUTING</div><div>2010-07-01 11:07:04.628392 [DEBUG] switch_ivr_originate.c:64 (OpenZAP/1:4/) State Change CS_ROUTING -&gt; CS_CONSUME_MEDIA</div>

<div>2010-07-01 11:07:04.628392 [DEBUG] switch_core_session.c:1027 Send signal OpenZAP/1:4/ [BREAK]</div><div>2010-07-01 11:07:04.628392 [DEBUG] switch_core_state_machine.c:341 (OpenZAP/1:4/) State ROUTING going to sleep</div>

<div>2010-07-01 11:07:04.628392 [DEBUG] switch_core_state_machine.c:314 (OpenZAP/1:4/) Running State Change CS_CONSUME_MEDIA</div><div>2010-07-01 11:07:04.628392 [DEBUG] switch_core_state_machine.c:360 (OpenZAP/1:4/) State CONSUME_MEDIA</div>

<div>2010-07-01 11:07:04.628392 [DEBUG] switch_core_state_machine.c:360 (OpenZAP/1:4/) State CONSUME_MEDIA going to sleep</div><div>2010-07-01 11:07:20.335200 [DEBUG] ozmod_wanpipe.c:1036 1:4 wanpipe returned event 5</div>

<div>2010-07-01 11:07:20.335200 [DEBUG] ozmod_wanpipe.c:1061 1:4 rxhook, state 2</div><div>2010-07-01 11:07:21.150195 [DEBUG] ozmod_wanpipe.c:1036 1:4 wanpipe returned event 5</div><div>2010-07-01 11:07:21.150195 [DEBUG] ozmod_wanpipe.c:1061 1:4 rxhook, state 1</div>

<div>2010-07-01 11:07:21.150195 [DEBUG] ozmod_analog.c:802 EVENT [ONHOOK][1:4] STATE [DIALING]</div><div>2010-07-01 11:07:21.150195 [DEBUG] ozmod_analog.c:838 Changing state on 1:4 from DIALING to DOWN</div><div>2010-07-01 11:07:21.166199 [DEBUG] ozmod_analog.c:464 Executing state handler on 1:4 for DOWN</div>

<div>2010-07-01 11:07:21.166199 [DEBUG] mod_openzap.c:1556 got FXO sig 1:4 [STOP]</div><div>2010-07-01 11:07:21.166199 [DEBUG] switch_channel.c:2261 (OpenZAP/1:4/) Callstate Change RINGING -&gt; HANGUP</div><div>2010-07-01 11:07:21.166199 [NOTICE] mod_openzap.c:1577 Hangup OpenZAP/1:4/ [CS_CONSUME_MEDIA] [NONE]</div>

<div>2010-07-01 11:07:21.166199 [DEBUG] switch_channel.c:2277 Send signal OpenZAP/1:4/ [KILL]</div><div>2010-07-01 11:07:21.166199 [DEBUG] switch_core_session.c:1027 Send signal OpenZAP/1:4/ [BREAK]</div><div>2010-07-01 11:07:21.166199 [DEBUG] switch_core_state_machine.c:314 (OpenZAP/1:4/) Running State Change CS_HANGUP</div>

<div>2010-07-01 11:07:21.166199 [DEBUG] zap_io.c:1388 channel done 1:4</div><div>2010-07-01 11:07:21.166199 [DEBUG] ozmod_analog.c:778 ANALOG CHANNEL 1:4 thread ended.</div><div>2010-07-01 11:07:21.168191 [DEBUG] switch_core_state_machine.c:500 (OpenZAP/1:4/) State HANGUP</div>

<div>2010-07-01 11:07:21.168191 [WARNING] mod_openzap.c:517 VETO Changing state on 1:4 from DOWN to HANGUP</div><div>2010-07-01 11:07:21.168191 [DEBUG] mod_openzap.c:556 OpenZAP/1:4/ CHANNEL HANGUP</div><div>2010-07-01 11:07:21.168191 [DEBUG] switch_core_state_machine.c:46 OpenZAP/1:4/ Standard HANGUP, cause: NONE</div>

<div>2010-07-01 11:07:21.168191 [DEBUG] switch_core_state_machine.c:500 (OpenZAP/1:4/) State HANGUP going to sleep</div><div>2010-07-01 11:07:21.168191 [DEBUG] switch_ivr_originate.c:3369 Originate Resulted in Error Cause: 19 [NO_ANSWER]</div>

<div>2010-07-01 11:07:21.168191 [INFO] mod_dptools.c:2382 Originate Failed.  Cause: NO_ANSWER</div><div>2010-07-01 11:07:21.168191 [DEBUG] switch_core_state_machine.c:333 (OpenZAP/1:4/) State Change CS_HANGUP -&gt; CS_REPORTING</div>

<div>2010-07-01 11:07:21.168191 [DEBUG] switch_core_session.c:1027 Send signal OpenZAP/1:4/ [BREAK]</div><div>2010-07-01 11:07:21.168191 [DEBUG] switch_core_state_machine.c:314 (OpenZAP/1:4/) Running State Change CS_REPORTING</div>

<div>2010-07-01 11:07:21.168191 [DEBUG] switch_core_state_machine.c:591 (OpenZAP/1:4/) State REPORTING</div><div>2010-07-01 11:07:21.168191 [DEBUG] switch_core_state_machine.c:53 OpenZAP/1:4/ Standard REPORTING, cause: NONE</div>

<div>2010-07-01 11:07:21.168191 [DEBUG] switch_core_state_machine.c:591 (OpenZAP/1:4/) State REPORTING going to sleep</div><div>2010-07-01 11:07:21.168191 [DEBUG] switch_core_state_machine.c:327 (OpenZAP/1:4/) State Change CS_REPORTING -&gt; CS_DESTROY</div>

<div>2010-07-01 11:07:21.168191 [DEBUG] switch_core_session.c:1027 Send signal OpenZAP/1:4/ [BREAK]</div><div>2010-07-01 11:07:21.168191 [DEBUG] switch_core_session.c:1175 Session 71 (OpenZAP/1:4/) Locked, Waiting on external entities</div>

<div>2010-07-01 11:07:21.168191 [NOTICE] switch_core_session.c:1193 Session 71 (OpenZAP/1:4/) Ended</div><div>2010-07-01 11:07:21.168191 [NOTICE] switch_core_session.c:1195 Close Channel OpenZAP/1:4/ [CS_DESTROY]</div></div>

<div><br></div><div><br></div><div>But no ringing is heard.</div><div><br></div><div>thanks,</div><div><br></div><div>-:D</div><div><br></div><div><br></div><div><br></div><br><div class="gmail_quote">On Thu, Jul 1, 2010 at 2:49 PM,  <span dir="ltr">&lt;<a href="mailto:freeswitch-users-request@lists.freeswitch.org" target="_blank">freeswitch-users-request@lists.freeswitch.org</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send FreeSWITCH-users mailing list submissions to<br>
        <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
        <a href="mailto:freeswitch-users-request@lists.freeswitch.org" target="_blank">freeswitch-users-request@lists.freeswitch.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:freeswitch-users-owner@lists.freeswitch.org" target="_blank">freeswitch-users-owner@lists.freeswitch.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of FreeSWITCH-users digest...&quot;<br>
<br>Today&#39;s Topics:<br>
<br>
   1. Re: Default Dial Plan: action application bridge (Deya M)<br>
<br><br>---------- Forwarded message ----------<br>From: Deya M &lt;<a href="mailto:deya787@gmail.com" target="_blank">deya787@gmail.com</a>&gt;<br>To: <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>

Date: Thu, 1 Jul 2010 14:49:26 +1000<br>Subject: Re: [Freeswitch-users] Default Dial Plan: action application bridge<br><div dir="ltr">I generated samples, and started from scratch.<div><br></div><div>I also made a copy of the conf after installation, rm it, and copied the original conf before testing!</div>

<div><br></div><div>-:D</div><div>
<br><br><div class="gmail_quote">On Thu, Jul 1, 2010 at 1:37 PM,  <span dir="ltr">&lt;<a href="mailto:freeswitch-users-request@lists.freeswitch.org" target="_blank">freeswitch-users-request@lists.freeswitch.org</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Send FreeSWITCH-users mailing list submissions to<br>
        <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
        <a href="mailto:freeswitch-users-request@lists.freeswitch.org" target="_blank">freeswitch-users-request@lists.freeswitch.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:freeswitch-users-owner@lists.freeswitch.org" target="_blank">freeswitch-users-owner@lists.freeswitch.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of FreeSWITCH-users digest...&quot;<br>
<br>Today&#39;s Topics:<br>
<br>
   1. Re: Query !! freeswitch, dingaling, jingle,       skypopen<br>
      (Anthony Minessale)<br>
   2. continue_on_fail and hangup_after_bridge with     transfer<br>
      (Vladimir Elizarov)<br>
   3. Re: SIP header on only one fork of a bridge (Tim St. Pierre)<br>
   4. Default Dial Plan: action application bridge (Deya M)<br>
   5. Re: Default Dial Plan: action application bridge<br>
      (Anthony Minessale)<br>
<br><br>---------- Forwarded message ----------<br>From: Anthony Minessale &lt;<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>&gt;<br>To: <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>


Date: Wed, 30 Jun 2010 17:40:27 -0500<br>Subject: Re: [Freeswitch-users] Query !! freeswitch, dingaling, jingle, skypopen<br>If he didn&#39;t like to joke, he&#39;d never survive in telephony.<div><br><br><div class="gmail_quote">


On Wed, Jun 30, 2010 at 3:39 PM, Sameer Khan <span dir="ltr">&lt;<a href="mailto:sameer2k3t@gmail.com" target="_blank">sameer2k3t@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">no problem. but did&#39;t expect from the creator of mod_skypopen, the wonder i would say<div><div></div><div>
<br><br><div class="gmail_quote">On Wed, Jun 30, 2010 at 9:19 PM, Giovanni Maruzzelli <span dir="ltr">&lt;<a href="mailto:gmaruzz@celliax.org" target="_blank">gmaruzz@celliax.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On Wed, Jun 30, 2010 at 6:02 PM, Sameer Khan &lt;<a href="mailto:sameer2k3t@gmail.com" target="_blank">sameer2k3t@gmail.com</a>&gt; wrote:<br>





&gt; Mr Giovani what was that ?<br>
<br>
</div>just jokin, nevermind<br>
<div><br>
--<br>
Sincerely,<br>
<br>
Giovanni Maruzzelli<br>
Cell : +39-347-2665618<br>
<br>
_______________________________________________<br>
</div><div><div></div><div>FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>
</div></div></blockquote></div><br>
</div></div><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>



Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>


GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br>


<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900<br>
</div>
<br><br>---------- Forwarded message ----------<br>From: Vladimir Elizarov &lt;<a href="mailto:xengelpublicx@gmail.com" target="_blank">xengelpublicx@gmail.com</a>&gt;<br>To: <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>


Date: Thu, 1 Jul 2010 03:29:09 +0400<br>Subject: [Freeswitch-users] continue_on_fail and hangup_after_bridge with transfer<br>I&#39;m trying to make a dialplan:<br>
<br>
&lt;extension name=&quot;Long Dial&quot;&gt;<br>
      &lt;condition field=&quot;destination_number&quot;<br>
expression=&quot;^(^([0-9]{10})$|^([0-9]{11})$|^([0-9]{12})$|^\+([0-9]{11})$)$&quot;&gt;<br>
              &lt;action application=&quot;set&quot;<br>
data=&quot;hangup_after_bridge=true&quot;/&gt;<br>
              &lt;action<br>
application=&quot;set&quot;data=&quot;continue_on_fail=NO_ROUTE_DESTINATION&quot;/&gt;<br>
              &lt;action application=&quot;set&quot; data=&quot;real_dialed_number=7777777&quot;/&gt;<br>
      &lt;/condition&gt;<br>
<br>
      &lt;condition field=&quot;destination_number&quot; expression=&quot;^(79|89)(\d{9})$&quot;<br>
break=&quot;on-true&quot;&gt;<br>
              &lt;action application=&quot;set&quot;<br>
data=&quot;dtmf=WWWWWWWWWWWWWWWWWWWWW111222#WWWWWW89$2#@100&quot;/&gt;<br>
              &lt;action application=&quot;bridge&quot;<br>
data=&quot;sofia/gateway/gw1/89$2|sofia/gateway/gw2/89$2|sofia/gateway/gw3/89$2&quot;/&gt;<br>
              &lt;action application=&quot;transfer&quot; data=&quot;to_card&quot;/&gt;<br>
      &lt;/condition&gt;<br>
&lt;/extension&gt;<br>
<br>
 &lt;extension name=&quot;to_card&quot;&gt;<br>
      &lt;condition field=&quot;destination_number&quot; expression=&quot;^to_card$&quot;&gt;<br>
              &lt;action application=&quot;bridge&quot;<br>
data=&quot;{execute_on_answer=send_dtmf\s${dtmf}}sofia/internal/${<a href="http://real_dialed_number%7D%40192.168.50.53%3A5061" target="_blank">real_dialed_number}@192.168.50.53:5061</a>&quot;/&gt;<br>
      &lt;/condition&gt;<br>
 &lt;/extension&gt;<br>
<br>
The logic of his work: if unavailable gateway to the next. if not<br>
available all the gateway to go to the extension transfer.<br>
A problem in If we get a code busy here, it is not satisfied<br>
hangup_after_bridge. The call goes to the transfer. Why is this so?<br>
<br>
trace:<br>
<a href="http://pastebin.freeswitch.org/13244" target="_blank">http://pastebin.freeswitch.org/13244</a><br>
<br>
--<br>
Best regards, Vladimir Elizarov<br>
<br>
<br>
<br><br>---------- Forwarded message ----------<br>From: &quot;Tim St. Pierre&quot; &lt;<a href="mailto:fs-list@communicatefreely.net" target="_blank">fs-list@communicatefreely.net</a>&gt;<br>To: <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>


Date: Wed, 30 Jun 2010 22:45:19 -0400<br>Subject: Re: [Freeswitch-users] SIP header on only one fork of a bridge<br>Thanks all,<br>
<br>
I read that bit, but didn&#39;t fully understand it&#39;s implications.<br>
<br>
I&#39;ll give that a go.<br>
<br>
-Tim<br>
<br>
Steven Ayre wrote:<br>
&gt; &lt;action application=&quot;bridge&quot;<br>
&gt; data=&quot;{this_is_global=true}[this_is_gw1_only=true]sofia/gateway/gw1/$1|[this_is_gw2_only=true]sofia/gateway/gw2/$1&quot;/&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On 28 June 2010 19:45, Tim St. Pierre &lt;<a href="mailto:fs-list@communicatefreely.net" target="_blank">fs-list@communicatefreely.net</a><br>
&gt; &lt;mailto:<a href="mailto:fs-list@communicatefreely.net" target="_blank">fs-list@communicatefreely.net</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;     Hello list,<br>
&gt;<br>
&gt;     I would like to bridge a call to multiple SIP endpoints, but add<br>
&gt;     different headers to each.<br>
&gt;<br>
&gt;     I&#39;m not entirely sure how to do this.  I have no problem exporting a<br>
&gt;     SIP header that does what I<br>
&gt;     want for one destination, but I&#39;m not sure how to set it for two.<br>
&gt;<br>
&gt;     My application is that I want two IP phones to ring - one with the<br>
&gt;     internal ring-ring splash, the<br>
&gt;     others with a group-answer (single ring, then lamp flash only), for<br>
&gt;     administrative assistants, etc.<br>
&gt;<br>
&gt;     How do I export different variables to each branch?<br>
&gt;<br>
&gt;     Thanks!<br>
&gt;<br>
&gt;     -Tim<br>
&gt;<br>
&gt;     _______________________________________________<br>
&gt;     FreeSWITCH-users mailing list<br>
&gt;     <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt;     &lt;mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>&gt;<br>
&gt;     <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;     UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;     <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; ------------------------------------------------------------------------<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
<br>
<br>
<br><br>---------- Forwarded message ----------<br>From: Deya M &lt;<a href="mailto:deya787@gmail.com" target="_blank">deya787@gmail.com</a>&gt;<br>To: <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>


Date: Thu, 1 Jul 2010 06:19:51 +0300<br>Subject: [Freeswitch-users] Default Dial Plan: action application bridge<br><div dir="ltr"><div>Hi,</div><div><br></div><div>In the default dial plan, with two extensions defined, 1000 and 1001, when I call from 1000 to 1001, I always get Voicemail, using the default config files: conf/dialplan/default.xml</div>



<div><br></div><div>I changed the following from :</div><div><br></div><div><b> &lt;action application=&quot;bridge&quot; data=&quot;user/${dialed_extension}@${domain_name}&quot;/&gt;</b></div><div>TO</div><div> <b>&lt;action application=&quot;bridge&quot; data=&quot;sofia/internal/${dialed_extension}%${domain_name}&quot;/&gt;</b></div>



<div> </div><div>and it did work! Not sure if the first / default one, <b> &lt;action application=&quot;bridge&quot; data=&quot;user/${dialed_extension}@${domain_name}&quot;/&gt; </b>should work, but something is missing ?</div>



<div><br></div><div><br></div><div>New: </div><div> &lt;extension name=&quot;Local_Extension&quot;&gt;</div><div>      &lt;condition field=&quot;destination_number&quot; expression=&quot;^(10[01][0-9])$&quot;&gt;</div><div>



        &lt;action application=&quot;set&quot; data=&quot;dialed_extension=$1&quot;/&gt;</div><div>        &lt;action application=&quot;export&quot; data=&quot;dialed_extension=$1&quot;/&gt;</div><div>        &lt;!-- bind_meta_app can have these args &lt;key&gt; [a|b|ab] [a|b|o|s] &lt;app&gt; --&gt;</div>



<div>        &lt;action application=&quot;bind_meta_app&quot; data=&quot;1 b s execute_extension::dx XML features&quot;/&gt;</div><div>        &lt;action application=&quot;bind_meta_app&quot; data=&quot;2 b s record_session::$${recordings_dir}/${caller_id_number}.${strftime(%Y-%m-%d-%H-%M-%S)}.wav&quot;/&gt;</div>



<div>        &lt;action application=&quot;bind_meta_app&quot; data=&quot;3 b s execute_extension::cf XML features&quot;/&gt;</div><div>        &lt;action application=&quot;set&quot; data=&quot;ringback=${us-ring}&quot;/&gt;</div>



<div>        &lt;action application=&quot;set&quot; data=&quot;transfer_ringback=$${hold_music}&quot;/&gt;</div><div>        &lt;action application=&quot;set&quot; data=&quot;call_timeout=30&quot;/&gt;</div><div>        &lt;!-- &lt;action application=&quot;set&quot; data=&quot;sip_exclude_contact=${network_addr}&quot;/&gt; --&gt;</div>



<div>        &lt;action application=&quot;set&quot; data=&quot;hangup_after_bridge=true&quot;/&gt;</div><div>        &lt;!--&lt;action application=&quot;set&quot; data=&quot;continue_on_fail=NORMAL_TEMPORARY_FAILURE,USER_BUSY,NO_ANSWER,TIMEOUT,NO_ROUTE_DESTINATION&quot;/&gt; --&gt;</div>



<div>        &lt;action application=&quot;set&quot; data=&quot;continue_on_fail=true&quot;/&gt;</div><div>        &lt;action application=&quot;hash&quot; data=&quot;insert/${domain_name}-call_return/${dialed_extension}/${caller_id_number}&quot;/&gt;</div>



<div>        &lt;action application=&quot;hash&quot; data=&quot;insert/${domain_name}-last_dial_ext/${dialed_extension}/${uuid}&quot;/&gt;</div><div>        &lt;action application=&quot;set&quot; data=&quot;called_party_callgroup=${user_data(${dialed_extension}@${domain_name} var callgroup)}&quot;/&gt;</div>



<div>        &lt;!--&lt;action application=&quot;export&quot; data=&quot;nolocal:sip_secure_media=${user_data(${dialed_extension}@${domain_name} var sip_secure_media)}&quot;/&gt;--&gt;</div><div>        &lt;action application=&quot;hash&quot; data=&quot;insert/${domain_name}-last_dial/${called_party_callgroup}/${uuid}&quot;/&gt;</div>



<div>        &lt;action application=&quot;bridge&quot; data=&quot;sofia/internal/${dialed_extension}%${domain_name}&quot;/&gt;</div><div>        &lt;action application=&quot;answer&quot;/&gt;</div><div>        &lt;action application=&quot;sleep&quot; data=&quot;1000&quot;/&gt;</div>



<div>        &lt;action application=&quot;bridge&quot; data=&quot;loopback/app=voicemail:default ${domain_name} ${dialed_extension}&quot;/&gt;</div><div>      &lt;/condition&gt;</div><div>    &lt;/extension&gt;</div><div>



<br></div><div><br></div><div>Old: </div><div><br></div><div><div> &lt;extension name=&quot;Local_Extension&quot;&gt;</div><div>      &lt;condition field=&quot;destination_number&quot; expression=&quot;^(10[01][0-9])$&quot;&gt;</div>



<div>        &lt;action application=&quot;set&quot; data=&quot;dialed_extension=$1&quot;/&gt;</div><div>        &lt;action application=&quot;export&quot; data=&quot;dialed_extension=$1&quot;/&gt;</div><div>        &lt;!-- bind_meta_app can have these args &lt;key&gt; [a|b|ab] [a|b|o|s] &lt;app&gt; --&gt;</div>



<div>        &lt;action application=&quot;bind_meta_app&quot; data=&quot;1 b s execute_extension::dx XML features&quot;/&gt;</div><div>        &lt;action application=&quot;bind_meta_app&quot; data=&quot;2 b s record_session::$${recordings_dir}/${caller_id_number}.${strftime(%Y-%m-%d-%H-%M-%S)}.wav&quot;/&gt;</div>



<div>        &lt;action application=&quot;bind_meta_app&quot; data=&quot;3 b s execute_extension::cf XML features&quot;/&gt;</div><div>        &lt;action application=&quot;set&quot; data=&quot;ringback=${us-ring}&quot;/&gt;</div>



<div>        &lt;action application=&quot;set&quot; data=&quot;transfer_ringback=$${hold_music}&quot;/&gt;</div><div>        &lt;action application=&quot;set&quot; data=&quot;call_timeout=30&quot;/&gt;</div><div>        &lt;!-- &lt;action application=&quot;set&quot; data=&quot;sip_exclude_contact=${network_addr}&quot;/&gt; --&gt;</div>



<div>        &lt;action application=&quot;set&quot; data=&quot;hangup_after_bridge=true&quot;/&gt;</div><div>        &lt;!--&lt;action application=&quot;set&quot; data=&quot;continue_on_fail=NORMAL_TEMPORARY_FAILURE,USER_BUSY,NO_ANSWER,TIMEOUT,NO_ROUTE_DESTINATION&quot;/&gt; --&gt;</div>



<div>        &lt;action application=&quot;set&quot; data=&quot;continue_on_fail=true&quot;/&gt;</div><div>        &lt;action application=&quot;hash&quot; data=&quot;insert/${domain_name}-call_return/${dialed_extension}/${caller_id_number}&quot;/&gt;</div>



<div>        &lt;action application=&quot;hash&quot; data=&quot;insert/${domain_name}-last_dial_ext/${dialed_extension}/${uuid}&quot;/&gt;</div><div>        &lt;action application=&quot;set&quot; data=&quot;called_party_callgroup=${user_data(${dialed_extension}@${domain_name} var callgroup)}&quot;/&gt;</div>



<div>        &lt;!--&lt;action application=&quot;export&quot; data=&quot;nolocal:sip_secure_media=${user_data(${dialed_extension}@${domain_name} var sip_secure_media)}&quot;/&gt;--&gt;</div><div>        &lt;action application=&quot;hash&quot; data=&quot;insert/${domain_name}-last_dial/${called_party_callgroup}/${uuid}&quot;/&gt;</div>



<div>        &lt;action application=&quot;bridge&quot; data=&quot;user/${dialed_extension}@${domain_name}&quot;/&gt;</div><div>        &lt;action application=&quot;answer&quot;/&gt;</div><div>        &lt;action application=&quot;sleep&quot; data=&quot;1000&quot;/&gt;</div>



<div>        &lt;action application=&quot;bridge&quot; data=&quot;loopback/app=voicemail:default ${domain_name} ${dialed_extension}&quot;/&gt;</div><div>      &lt;/condition&gt;</div><div>    &lt;/extension&gt;</div></div>



<div><br></div><div>:-D</div><div><br></div></div>
<br><br>---------- Forwarded message ----------<br>From: Anthony Minessale &lt;<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>&gt;<br>To: <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>


Date: Wed, 30 Jun 2010 22:37:15 -0500<br>Subject: Re: [Freeswitch-users] Default Dial Plan: action application bridge<br>you must have changed more than you think.<div><br></div><div>you might want to diff you configs against the in-tree ones.</div>


<div><br><div><br><div class="gmail_quote">On Wed, Jun 30, 2010 at 10:19 PM, Deya M <span dir="ltr">&lt;<a href="mailto:deya787@gmail.com" target="_blank">deya787@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi,</div><div><br></div><div>In the default dial plan, with two extensions defined, 1000 and 1001, when I call from 1000 to 1001, I always get Voicemail, using the default config files: conf/dialplan/default.xml</div>




<div><br></div><div>I changed the following from :</div><div><br></div><div><b> &lt;action application=&quot;bridge&quot; data=&quot;user/${dialed_extension}@${domain_name}&quot;/&gt;</b></div><div>TO</div><div> <b>&lt;action application=&quot;bridge&quot; data=&quot;sofia/internal/${dialed_extension}%${domain_name}&quot;/&gt;</b></div>




<div> </div><div>and it did work! Not sure if the first / default one, <b> &lt;action application=&quot;bridge&quot; data=&quot;user/${dialed_extension}@${domain_name}&quot;/&gt; </b>should work, but something is missing ?</div>




<div><br></div><div><br></div><div>New: </div><div> &lt;extension name=&quot;Local_Extension&quot;&gt;</div><div>      &lt;condition field=&quot;destination_number&quot; expression=&quot;^(10[01][0-9])$&quot;&gt;</div><div>




        &lt;action application=&quot;set&quot; data=&quot;dialed_extension=$1&quot;/&gt;</div><div>        &lt;action application=&quot;export&quot; data=&quot;dialed_extension=$1&quot;/&gt;</div><div>        &lt;!-- bind_meta_app can have these args &lt;key&gt; [a|b|ab] [a|b|o|s] &lt;app&gt; --&gt;</div>




<div>        &lt;action application=&quot;bind_meta_app&quot; data=&quot;1 b s execute_extension::dx XML features&quot;/&gt;</div><div>        &lt;action application=&quot;bind_meta_app&quot; data=&quot;2 b s record_session::$${recordings_dir}/${caller_id_number}.${strftime(%Y-%m-%d-%H-%M-%S)}.wav&quot;/&gt;</div>




<div>        &lt;action application=&quot;bind_meta_app&quot; data=&quot;3 b s execute_extension::cf XML features&quot;/&gt;</div><div>        &lt;action application=&quot;set&quot; data=&quot;ringback=${us-ring}&quot;/&gt;</div>




<div>        &lt;action application=&quot;set&quot; data=&quot;transfer_ringback=$${hold_music}&quot;/&gt;</div><div>        &lt;action application=&quot;set&quot; data=&quot;call_timeout=30&quot;/&gt;</div><div>        &lt;!-- &lt;action application=&quot;set&quot; data=&quot;sip_exclude_contact=${network_addr}&quot;/&gt; --&gt;</div>




<div>        &lt;action application=&quot;set&quot; data=&quot;hangup_after_bridge=true&quot;/&gt;</div><div>        &lt;!--&lt;action application=&quot;set&quot; data=&quot;continue_on_fail=NORMAL_TEMPORARY_FAILURE,USER_BUSY,NO_ANSWER,TIMEOUT,NO_ROUTE_DESTINATION&quot;/&gt; --&gt;</div>




<div>        &lt;action application=&quot;set&quot; data=&quot;continue_on_fail=true&quot;/&gt;</div><div>        &lt;action application=&quot;hash&quot; data=&quot;insert/${domain_name}-call_return/${dialed_extension}/${caller_id_number}&quot;/&gt;</div>




<div>        &lt;action application=&quot;hash&quot; data=&quot;insert/${domain_name}-last_dial_ext/${dialed_extension}/${uuid}&quot;/&gt;</div><div>        &lt;action application=&quot;set&quot; data=&quot;called_party_callgroup=${user_data(${dialed_extension}@${domain_name} var callgroup)}&quot;/&gt;</div>




<div>        &lt;!--&lt;action application=&quot;export&quot; data=&quot;nolocal:sip_secure_media=${user_data(${dialed_extension}@${domain_name} var sip_secure_media)}&quot;/&gt;--&gt;</div><div>        &lt;action application=&quot;hash&quot; data=&quot;insert/${domain_name}-last_dial/${called_party_callgroup}/${uuid}&quot;/&gt;</div>




<div>        &lt;action application=&quot;bridge&quot; data=&quot;sofia/internal/${dialed_extension}%${domain_name}&quot;/&gt;</div><div>        &lt;action application=&quot;answer&quot;/&gt;</div><div>        &lt;action application=&quot;sleep&quot; data=&quot;1000&quot;/&gt;</div>




<div>        &lt;action application=&quot;bridge&quot; data=&quot;loopback/app=voicemail:default ${domain_name} ${dialed_extension}&quot;/&gt;</div><div>      &lt;/condition&gt;</div><div>    &lt;/extension&gt;</div><div>




<br></div><div><br></div><div>Old: </div><div><br></div><div><div> &lt;extension name=&quot;Local_Extension&quot;&gt;</div><div>      &lt;condition field=&quot;destination_number&quot; expression=&quot;^(10[01][0-9])$&quot;&gt;</div>




<div>        &lt;action application=&quot;set&quot; data=&quot;dialed_extension=$1&quot;/&gt;</div><div>        &lt;action application=&quot;export&quot; data=&quot;dialed_extension=$1&quot;/&gt;</div><div>        &lt;!-- bind_meta_app can have these args &lt;key&gt; [a|b|ab] [a|b|o|s] &lt;app&gt; --&gt;</div>




<div>        &lt;action application=&quot;bind_meta_app&quot; data=&quot;1 b s execute_extension::dx XML features&quot;/&gt;</div><div>        &lt;action application=&quot;bind_meta_app&quot; data=&quot;2 b s record_session::$${recordings_dir}/${caller_id_number}.${strftime(%Y-%m-%d-%H-%M-%S)}.wav&quot;/&gt;</div>




<div>        &lt;action application=&quot;bind_meta_app&quot; data=&quot;3 b s execute_extension::cf XML features&quot;/&gt;</div><div>        &lt;action application=&quot;set&quot; data=&quot;ringback=${us-ring}&quot;/&gt;</div>




<div>        &lt;action application=&quot;set&quot; data=&quot;transfer_ringback=$${hold_music}&quot;/&gt;</div><div>        &lt;action application=&quot;set&quot; data=&quot;call_timeout=30&quot;/&gt;</div><div>        &lt;!-- &lt;action application=&quot;set&quot; data=&quot;sip_exclude_contact=${network_addr}&quot;/&gt; --&gt;</div>




<div>        &lt;action application=&quot;set&quot; data=&quot;hangup_after_bridge=true&quot;/&gt;</div><div>        &lt;!--&lt;action application=&quot;set&quot; data=&quot;continue_on_fail=NORMAL_TEMPORARY_FAILURE,USER_BUSY,NO_ANSWER,TIMEOUT,NO_ROUTE_DESTINATION&quot;/&gt; --&gt;</div>




<div>        &lt;action application=&quot;set&quot; data=&quot;continue_on_fail=true&quot;/&gt;</div><div>        &lt;action application=&quot;hash&quot; data=&quot;insert/${domain_name}-call_return/${dialed_extension}/${caller_id_number}&quot;/&gt;</div>




<div>        &lt;action application=&quot;hash&quot; data=&quot;insert/${domain_name}-last_dial_ext/${dialed_extension}/${uuid}&quot;/&gt;</div><div>        &lt;action application=&quot;set&quot; data=&quot;called_party_callgroup=${user_data(${dialed_extension}@${domain_name} var callgroup)}&quot;/&gt;</div>




<div>        &lt;!--&lt;action application=&quot;export&quot; data=&quot;nolocal:sip_secure_media=${user_data(${dialed_extension}@${domain_name} var sip_secure_media)}&quot;/&gt;--&gt;</div><div>        &lt;action application=&quot;hash&quot; data=&quot;insert/${domain_name}-last_dial/${called_party_callgroup}/${uuid}&quot;/&gt;</div>




<div>        &lt;action application=&quot;bridge&quot; data=&quot;user/${dialed_extension}@${domain_name}&quot;/&gt;</div><div>        &lt;action application=&quot;answer&quot;/&gt;</div><div>        &lt;action application=&quot;sleep&quot; data=&quot;1000&quot;/&gt;</div>




<div>        &lt;action application=&quot;bridge&quot; data=&quot;loopback/app=voicemail:default ${domain_name} ${dialed_extension}&quot;/&gt;</div><div>      &lt;/condition&gt;</div><div>    &lt;/extension&gt;</div></div>




<div><br></div><div>:-D</div><div><br></div></div>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>



Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>


GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br>


<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900<br>
</div></div>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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></div></div>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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></div></div>