<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
?????????????????????????????????????????????????????????????????????????????????????????????<br>
<br>
<br>
KOUCH RACHID a &eacute;crit&nbsp;:
<blockquote cite="mid20061220154153.578AD1C9AD@linmx3.iam.net.ma"
 type="cite">
  <blockquote type="cite">
    <pre wrap="">-----Original Message-----
From: Benny Amorsen [<a class="moz-txt-link-freetext" href="mailto:benny+usenet@amorsen.dk">mailto:benny+usenet@amorsen.dk</a>]
Sent: Wednesday, December 20, 2006 6:16 AM
To: <a class="moz-txt-link-abbreviated" href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</a>
Subject: [asterisk-users] Re: Match a Numer - then continue with
dialplan


    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <blockquote type="cite">
              <pre wrap="">"DG" == Douglas Garstang <a class="moz-txt-link-rfc2396E" href="mailto:dgarstang@oneeighty.com">&lt;dgarstang@oneeighty.com&gt;</a> writes:
              </pre>
            </blockquote>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>
    <pre wrap="">DG&gt; So, in the event that the logic flows beyond
DG&gt; coo1_OnNet, we want to reset the caller id of say, 3254001 &lt;Doug&gt;,
DG&gt; to 3254000 &lt;Widgets Inc&gt;.

DG&gt; exten =&gt; 3254101,1,Dial(SIP/3254101,20,tr)
DG&gt; exten =&gt; 3254102,1,Dial(SIP/3254102,20,tr)
DG&gt; exten =&gt; 3254103,1,Dial(SIP/3254103,20,tr)



[coo1_CallStart]
include =&gt; coo1_OnNet

You want something which executes here, if coo1_OnNet didn't match?

 exten =&gt; _.,1,Set(CALLERID(all)=Widgets Inc &lt;3254001&gt;)

will do that.


If you then want to continue in priority 1 instead of 2, you just do

 exten =&gt; _.,n,Goto(coo1_CallStart2,${EXTEN},1)

[coo1_CallStart2]
include =&gt; syst_OnNet
include =&gt; syst_OffNet
    </pre>
  </blockquote>
  <pre wrap=""><!---->
That won't do it. Processing will continue in the current extension priority. I need it to continue looking for an extension to match against. Once Asterisk has matched the dialled number against an extension in the dialplan, your stuck in an extension.... you can never get out and get Asterisk to go back to looking for extensions to match against.
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   <a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a>

>From - Wed Dec 20 17:00:10 2006
X-Account-Key: account4
X-UIDL: GmailId10fa07a0192c0ad2
X-Mozilla-Status: 0000
X-Mozilla-Status2: 00000000
Delivered-To: <a class="moz-txt-link-abbreviated" href="mailto:olivier.taylor@gmail.com">olivier.taylor@gmail.com</a>
Received: by 10.78.174.14 with SMTP id w14cs183647hue;
        Wed, 20 Dec 2006 07:28:07 -0800 (PST)
Received: by 10.67.103.7 with SMTP id f7mr9563156ugm.1166628487540;
        Wed, 20 Dec 2006 07:28:07 -0800 (PST)
Return-Path: <a class="moz-txt-link-rfc2396E" href="mailto:serusers-bounces@lists.iptel.org">&lt;serusers-bounces@lists.iptel.org&gt;</a>
Received: from lists.iptel.org (lists.iptel.org [213.192.59.72])
        by mx.google.com with ESMTP id 24si12849286ugf.2006.12.20.07.27.56;
        Wed, 20 Dec 2006 07:28:07 -0800 (PST)
Received-SPF: pass (google.com: best guess record for domain of <a class="moz-txt-link-abbreviated" href="mailto:serusers-bounces@lists.iptel.org">serusers-bounces@lists.iptel.org</a> designates 213.192.59.72 as permitted sender)
Received: from lists.iptel.org (localhost.localdomain [127.0.0.1])
        by lists.iptel.org (Postfix) with ESMTP id 9D537140541A;
        Wed, 20 Dec 2006 15:27:42 +0000 (UTC)
X-Original-To: <a class="moz-txt-link-abbreviated" href="mailto:serusers@lists.iptel.org">serusers@lists.iptel.org</a>
Delivered-To: <a class="moz-txt-link-abbreviated" href="mailto:serusers@lists.iptel.org">serusers@lists.iptel.org</a>
Received: from mail.iptel.org (smtp.iptel.org [213.192.59.67])
        by lists.iptel.org (Postfix) with ESMTP id 76DEF14013AD
        for <a class="moz-txt-link-rfc2396E" href="mailto:serusers@lists.iptel.org">&lt;serusers@lists.iptel.org&gt;</a>; Wed, 20 Dec 2006 15:27:41 +0000 (UTC)
Received: by mail.iptel.org (Postfix, from userid 103)
        id 72B2520A2F8; Wed, 20 Dec 2006 16:27:41 +0100 (CET)
  </pre>
</blockquote>
</body>
</html>