<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Added this information to:&nbsp; <a
 href="http://wiki.freeswitch.org/wiki/Channel_Variables">http://wiki.freeswitch.org/wiki/Channel_Variables</a><br>
<br>
Michael S Collins wrote:
<blockquote cite="mid:F87FBB72-DD2C-4787-9F09-A9467B831E6F@gmail.com"
 type="cite">
  <pre wrap="">Brian,
This scenario is right up my alley so I will be happy to update the  
wiki.

-MC

Sent from my iPhone

On Jun 6, 2008, at 7:55 AM, Brian West <a class="moz-txt-link-rfc2396E" href="mailto:brian@freeswitch.org">&lt;brian@freeswitch.org&gt;</a> wrote:

  </pre>
  <blockquote type="cite">
    <pre wrap="">Internal documentation?  Are you not updating the wiki?

/b

On Jun 6, 2008, at 9:49 AM, UV wrote:

    </pre>
    <blockquote type="cite">
      <pre wrap="">Thanks Brian,

That answers my question (not complaint) perfectly.

For our internal documentation purposes, I assume, therefore, this
format:
{foo=bar}sofia/blah1/blah,{foo=baz}sofia/blah2/blah
Is equivalent to that:
{foo=bar}sofia/blah1/blah,sofia/blah2/blah

And this format:
[foo=bar]sofia/blah1/blah,sofia/blah2/blah
Means blah1 channel will have foo=bar where blah2 channel won't have
the foo
variable at all.

-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a>
[<a class="moz-txt-link-freetext" href="mailto:freeswitch-users-bounces@lists.freeswitch.org">mailto:freeswitch-users-bounces@lists.freeswitch.org</a>] On Behalf Of
Brian
West
Sent: Friday, June 06, 2008 11:16 PM
To: <a class="moz-txt-link-abbreviated" href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>
Subject: Re: [Freeswitch-users] Forked dialing
withdifferentchannelvarsset...

Yes the square braces and curly braces mean two different things.

For example if you do:

{foo=bar}sofia/blah1/blah,sofia/blah2/blah

foo=bar will be set on both blah1 and blah2 channels.

In this example:

[foo=bar]sofia/blah1/blah,[foo=baz]sofia/blah2/blah

In this example foo will have different values for each leg depending
on which one is bridged to in the end.

If sofia/blah1 answers foo will be bar.. if sofia/blah2 answers foo
will be baz

/b



On Jun 6, 2008, at 3:08 AM, Michael Collins wrote:

      </pre>
      <blockquote type="cite">
        <pre wrap="">I think the square brackets and the curly brackets mean two  
different
things on the API originate command.  When bkw or anthm responds
(wink
wink) I'll update the bridge and/or originate wiki entries.

-MC

        </pre>
        <blockquote type="cite">
          <pre wrap="">-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a>
          </pre>
        </blockquote>
        <pre wrap="">[<a class="moz-txt-link-freetext" href="mailto:freeswitch">mailto:freeswitch</a>-
        </pre>
        <blockquote type="cite">
          <pre wrap=""><a class="moz-txt-link-abbreviated" href="mailto:users-bounces@lists.freeswitch.org">users-bounces@lists.freeswitch.org</a>] On Behalf Of UV
Sent: Friday, June 06, 2008 12:20 AM
To: <a class="moz-txt-link-abbreviated" href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>
Subject: Re: [Freeswitch-users] Forked dialing
withdifferentchannelvarsset...

It is quite confusing...

I would think the syntax would utilize the curly brackets and not
the
square
brackets:

&lt;action application="bridge"
data="{effecitive_caller_id_number=1234}sofia/blah/blah,
{effective_caller_id_number=55555}sofia/blah/blah"/&gt;

This is how we use it on the API ORIGINATE commands as described in
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org/wiki/Freeswitch_IVR_Originate">http://wiki.freeswitch.org/wiki/Freeswitch_IVR_Originate</a>

but it is described also with the square brackets on
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_bridgecall">http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_bridgecall</a>

Are both applicable?

-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a>
[<a class="moz-txt-link-freetext" href="mailto:freeswitch-users-bounces@lists.freeswitch.org">mailto:freeswitch-users-bounces@lists.freeswitch.org</a>] On Behalf Of
Michael
Collins
Sent: Friday, June 06, 2008 4:34 PM
To: <a class="moz-txt-link-abbreviated" href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>
Subject: Re: [Freeswitch-users] Forked dialing with
differentchannelvarsset...

Brian,

Is this syntax going to be tagged for 1.0.1?  I ask because the
documentation guys are trying to get a handle on the deltas between
1.0.0 and 1.0.1.

Thanks!

          </pre>
          <blockquote type="cite">
            <pre wrap="">-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a>
            </pre>
          </blockquote>
          <pre wrap="">[<a class="moz-txt-link-freetext" href="mailto:freeswitch">mailto:freeswitch</a>-
          </pre>
          <blockquote type="cite">
            <pre wrap=""><a class="moz-txt-link-abbreviated" href="mailto:users-bounces@lists.freeswitch.org">users-bounces@lists.freeswitch.org</a>] On Behalf Of Brian West
Sent: Thursday, June 05, 2008 10:24 PM
To: <a class="moz-txt-link-abbreviated" href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>
Subject: Re: [Freeswitch-users] Forked dialing with different
channelvarsset...

Try this.. i'm kinda shocked you didn't see us talking about this
            </pre>
          </blockquote>
        </blockquote>
        <pre wrap="">over
        </pre>
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">and over in the pasty 24 hours.  You'll need to make sure you're  
on
the latest code for this:

&lt;action application="bridge"
data="[effecitive_caller_id_number=1234]sofia/blah/blah,
[effective_caller_id_number=55555]sofia/blah/blah"/&gt;

/b



            </pre>
            <blockquote type="cite">
              <pre wrap="">On Jun 5, 2008, at 10:53 PM, Rupa Schomaker (lists) wrote:
              </pre>
            </blockquote>
            <blockquote type="cite">
              <pre wrap="">I have a seemingly simple problem that I can't figure out how to
implement.

Simplified Problem:

I'd like to have my cell phone and my deskphone ring at the same
              </pre>
            </blockquote>
          </blockquote>
          <pre wrap="">time.
          </pre>
          <blockquote type="cite">
            <blockquote type="cite">
              <pre wrap="">This seems simple, but there is a small caveat.  I need to have a
channel variable set differently for my cellphone.

Specifically: voicepulse requires you to have the caller id  
number
              </pre>
            </blockquote>
          </blockquote>
          <pre wrap="">and
          </pre>
          <blockquote type="cite">
            <blockquote type="cite">
              <pre wrap="">caller id name set to the number in order to pass it on to the
PSTN.  I
want to see the callerid name on my deskphone however.

===

Ok, normally, I'd just do a:

&lt;action application="bridge"
data="sofia/internal/101%$${domain},sofia/gateway/voicepulse/$$
{cellnumber}"/&gt;

but then my cell phone shows Unknown or Blocked when receiving  
the
call.

If prior to that I do:

&lt;action application="set"
data="effective_caller_id_name=${caller_id_number}"/&gt;

Then I get the correct callerid on my cell, but only the callerid
number
on my deskphone.

I asked on #freeswitch and had some hints, but they either went
              </pre>
            </blockquote>
          </blockquote>
        </blockquote>
        <pre wrap="">over
        </pre>
        <blockquote type="cite">
          <blockquote type="cite">
            <blockquote type="cite">
              <pre wrap="">my
head or I didn't communicate my problem right.

Using multiple extension entries with continue="yes" doesn't seem
              </pre>
            </blockquote>
          </blockquote>
        </blockquote>
        <pre wrap="">to
        </pre>
        <blockquote type="cite">
          <blockquote type="cite">
            <blockquote type="cite">
              <pre wrap="">execute them in parallel (so the deskphone and the cell don't  
ring
              </pre>
            </blockquote>
          </blockquote>
          <pre wrap="">at
          </pre>
          <blockquote type="cite">
            <blockquote type="cite">
              <pre wrap="">the same time).

The "obvious" answer is how I implemented this in asterisk -- and
maybe
that is my problem, thinking in terms of asterisk.

The bridge equivalent would be the dial() app.  This allows me to
              </pre>
            </blockquote>
          </blockquote>
          <pre wrap="">dial
          </pre>
          <blockquote type="cite">
            <blockquote type="cite">
              <pre wrap="">back into the dialplan if I use the "local" channel.  This  
gives a
level
of indirection that would then let me modify the channelvars as
necessary.

The only way I can see to "call" back into the dialplan is to use
              </pre>
            </blockquote>
          </blockquote>
          <pre wrap="">the
          </pre>
          <blockquote type="cite">
            <blockquote type="cite">
              <pre wrap="">transfer application.  But that can't do multiple extensions in
parallel
so doesn't solve my problem.

What am I missing?

-Rupa

_______________________________________________
Freeswitch-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>

              </pre>
            </blockquote>
          </blockquote>
        </blockquote>
        <pre wrap="">UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
        </pre>
        <blockquote type="cite">
          <blockquote type="cite">
            <blockquote type="cite">
              <pre wrap=""><a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
              </pre>
            </blockquote>
            <pre wrap="">
_______________________________________________
Freeswitch-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>

            </pre>
          </blockquote>
        </blockquote>
        <pre wrap="">UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
        </pre>
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap=""><a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
            </pre>
          </blockquote>
          <pre wrap="">_______________________________________________
Freeswitch-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>

          </pre>
        </blockquote>
        <pre wrap="">UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
        </pre>
        <blockquote type="cite">
          <pre wrap=""><a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>


_______________________________________________
Freeswitch-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>

          </pre>
        </blockquote>
        <pre wrap="">UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
        </pre>
        <blockquote type="cite">
          <pre wrap=""><a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
          </pre>
        </blockquote>
        <pre wrap="">_______________________________________________
Freeswitch-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
        </pre>
      </blockquote>
      <pre wrap="">
_______________________________________________
Freeswitch-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>


_______________________________________________
Freeswitch-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
      </pre>
    </blockquote>
    <pre wrap="">
_______________________________________________
Freeswitch-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
    </pre>
  </blockquote>
  <pre wrap=""><!---->
_______________________________________________
Freeswitch-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>

  </pre>
</blockquote>
</body>
</html>