<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hey,<br>
    <br>
    to question 1:<br>
    I think in your two "sentence" example you just have closing brace
    too much after effective_caller_id_name.<br>
    <br>
    <div>&lt;action application="set" data="origination_callee_id_name=$<font
        color="#ffcc00">{</font>user_data<font color="#33ff33">(</font><a
        moz-do-not-send="true"
        href="mailto:$%7Bdialed_extension%7D@$%7Bdomain_name">${dialed_extension}@${domain_name</a>}
      var effective_caller_id_name<font color="#33ff33">)</font><font
        color="#ffcc00">}</font><font color="#ff0000">}</font>"/&gt;</div>
    <div>&lt;action application="bridge" data="<a moz-do-not-send="true"
href="mailto:$user/$%7Bdialed_extension%7D@$%7Bdomain_name%7D%22/">user/${dialed_extension}@${domain_name}"/</a>&gt;</div>
    <br>
    I marked the braces in colors to show you which pair belongs
    together. Youll see the red one has no matching opening brace.<br>
    <br>
    to question 2:<br>
    I'm not sure but I think this is a phone depended issue and not
    freeswitch related.<br>
    <br>
    Regards,<br>
    Mitja<br>
    <br>
    <div class="moz-cite-prefix">Am 27.01.2014 10:37, schrieb
      sparklezou:<br>
    </div>
    <blockquote
      cite="mid:%3C22dd2f17.2f90.143d30cba5b.Coremail.sparklezou@163.com%3E"
      type="cite">
      <style type="text/css"> <!--@import url(scrollbar.css); --></style>
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <style>                        BLOCKQUOTE{margin-Top: 0px; margin-Bottom: 0px; margin-Left: 2em}                        body{FONT-SIZE:12.1pt; COLOR:#001; FONT-FAMILY:&#23435;&#20307;,serif;}                </style>
      <meta name="GENERATOR" content="MSHTML 8.00.7601.18305">
      <base target="_blank">
      <stationery>
        <div><font color="#000000" face="&#23435;&#20307;" size="3">Hi All buddies,</font></div>
        <div>&nbsp;</div>
        <div><font color="#000000" size="3">I have read the wiki, <a
              moz-do-not-send="true"
href="https://wiki.freeswitch.org/wiki/Variable_origination_callee_id_name">https://wiki.freeswitch.org/wiki/Variable_origination_callee_id_name</a></font></div>
        <div>&nbsp;</div>
        <div><font color="#000000" size="3">And seems work now. Here
            still are several questions.</font></div>
        <div>&nbsp;</div>
        <div><font color="#000000" size="3">Please help me. Thanks in
            advance!</font></div>
        <div>&nbsp;</div>
        <div><font color="#000000" size="3">1. </font></div>
        <div>two sentence as following is NOT work.&nbsp;why?&nbsp;</div>
        <div>&lt;action application="set"
          data="origination_callee_id_name=${user_data(<a
            moz-do-not-send="true"
            href="mailto:$%7Bdialed_extension%7D@$%7Bdomain_name">${dialed_extension}@${domain_name</a>}
          var effective_caller_id_name)}}"/&gt;</div>
        <div>&lt;action application="bridge" data="<a
            moz-do-not-send="true"
            href="mailto:$user/$%7Bdialed_extension%7D@$%7Bdomain_name%7D%22/">user/${dialed_extension}@${domain_name}"/</a>&gt;</div>
        <div>&nbsp;</div>
        <div>one sentence as following is work.</div>
        <div>&lt;action application="bridge"
          data="{origination_callee_id_name=${user_data(<a
            moz-do-not-send="true"
            href="mailto:$%7Bdialed_extension%7D@$%7Bdomain_name">${dialed_extension}@${domain_name</a>}
          var
          effective_caller_id_name)}}user/${dialed_extension}@${domain_name}"/&gt;</div>
        <div>&nbsp;</div>
        <div>2. During the ring, it's still showing the number, NOT
          name. During answering, it's showing the name. I hope the name
          is showed during ring. How to do?</div>
        <div>&nbsp;</div>
        <div>Thanks!</div>
        <div>&nbsp;</div>
        <div>&nbsp;</div>
        <div align="left"><font color="#c0c0c0" face="Verdana" size="2">2014-01-27</font></div>
        <font face="Verdana" size="2">
          <hr style="WIDTH: 122px; HEIGHT: 2px" id="SignNameHR" size="2"
            align="left">
        </font>
        <div><font color="#c0c0c0" face="Verdana" size="2"><span
              id="_FlashSignName">sparklezou</span></font></div>
      </stationery>
    </blockquote>
    <br>
  </body>
</html>