<div dir="ltr">Thanks you for the response, and the reason i ask here is because I need an developer answer. Say this is the an way to set the caller id information on an originate with out patching chan_dahdi to accept an environment variable to switch to an UDI call.<div>
<br></div><div>Thanks,</div><div>Pawel</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 8, 2014 at 7:17 PM, Richard Mudgett <span dir="ltr"><<a href="mailto:rmudgett@digium.com" target="_blank">rmudgett@digium.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Thu, May 8, 2014 at 5:29 PM, Pawel Pastuszak <span dir="ltr"><<a href="mailto:pawelpastuszak@gmail.com" target="_blank">pawelpastuszak@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><pre style="margin-bottom:0px;padding:0px 0.2em;border-width:1px 0px;border-style:solid;border-color:transparent;outline:0px none;vertical-align:baseline;background-color:transparent;min-height:18px;color:rgb(51,51,51);font-size:12px;line-height:16px;margin-top:0px!important">
<span style="margin:0px;padding:0px;border:0px none;outline:0px none;vertical-align:baseline;background-color:transparent;color:rgb(0,128,0);font-weight:bold">Hello,</span></pre><pre style="margin-bottom:0px;padding:0px 0.2em;border-width:1px 0px;border-style:solid;border-color:transparent;outline:0px none;vertical-align:baseline;background-color:transparent;min-height:18px;color:rgb(51,51,51);font-size:12px;line-height:16px;margin-top:0px!important">
<span style="margin:0px;padding:0px;border:0px none;outline:0px none;vertical-align:baseline;background-color:transparent;color:rgb(0,128,0);font-weight:bold"><br></span></pre><pre style="margin-bottom:0px;padding:0px 0.2em;border-width:1px 0px;border-style:solid;border-color:transparent;outline:0px none;vertical-align:baseline;background-color:transparent;min-height:18px;color:rgb(51,51,51);font-size:12px;line-height:16px;margin-top:0px!important">
<span style="margin:0px;padding:0px;border:0px none;outline:0px none;vertical-align:baseline;background-color:transparent;color:rgb(0,128,0);font-weight:bold">I have notice that if i uses Dial(DAHDI/g1</span><span style="margin:0px;padding:0px;border:0px none;outline:0px none;vertical-align:baseline;background-color:transparent;color:rgb(0,128,0)">d/1234) the d option doesn't get to chan_dahi but if i uses originate with d option i see the UDI call but not with dial can some help why is this?</span></pre>


<pre style="margin-bottom:0px;padding:0px 0.2em;border-width:1px 0px;border-style:solid;border-color:transparent;outline:0px none;vertical-align:baseline;background-color:transparent;min-height:18px;color:rgb(51,51,51);font-size:12px;line-height:16px;margin-top:0px!important">
<span style="margin:0px;padding:0px;border:0px none;outline:0px none;vertical-align:baseline;background-color:transparent;color:rgb(0,128,0);font-weight:bold"><br></span></pre><pre style="margin-bottom:0px;padding:0px 0.2em;border-width:1px 0px;border-style:solid;border-color:transparent;outline:0px none;vertical-align:baseline;background-color:transparent;min-height:18px;color:rgb(51,51,51);font-size:12px;line-height:16px;margin-top:0px!important">
<span style="margin:0px;padding:0px;border:0px none;outline:0px none;vertical-align:baseline;background-color:transparent;color:rgb(0,128,0);font-weight:bold">Example of the originate </span></pre><pre style="margin-bottom:0px;padding:0px 0.2em;border-width:1px 0px;border-style:solid;border-color:transparent;outline:0px none;vertical-align:baseline;background-color:transparent;min-height:18px;color:rgb(51,51,51);font-size:12px;line-height:16px;margin-top:0px!important">
<span style="margin:0px;padding:0px;border:0px none;outline:0px none;vertical-align:baseline;background-color:transparent;color:rgb(0,128,0);font-weight:bold">channel originate dahdi/g1d/$number3 extension s@udi</span></pre>


<pre style="margin-bottom:0px;padding:0px 0.2em;border-width:1px 0px;border-style:solid;border-color:transparent;outline:0px none;vertical-align:baseline;background-color:transparent;min-height:18px;color:rgb(51,51,51);font-size:12px;line-height:16px;margin-top:0px!important">
<span style="margin:0px;padding:0px;border:0px none;outline:0px none;vertical-align:baseline;background-color:transparent;color:rgb(0,128,0);font-weight:bold"><br></span></pre><pre style="margin-bottom:0px;padding:0px 0.2em;border-width:1px 0px;border-style:solid;border-color:transparent;outline:0px none;vertical-align:baseline;background-color:transparent;min-height:18px;color:rgb(51,51,51);font-size:12px;line-height:16px;margin-top:0px!important">
<span style="margin:0px;padding:0px;border:0px none;outline:0px none;vertical-align:baseline;background-color:transparent;color:rgb(0,128,0);font-weight:bold"><br></span></pre><pre style="margin-bottom:0px;padding:0px 0.2em;border-width:1px 0px;border-style:solid;border-color:transparent;outline:0px none;vertical-align:baseline;background-color:transparent;min-height:18px;color:rgb(51,51,51);font-size:12px;line-height:16px;margin-top:0px!important">
<span style="margin:0px;padding:0px;border:0px none;outline:0px none;vertical-align:baseline;background-color:transparent;color:rgb(0,128,0);font-weight:bold">Example of my dialplan</span></pre><pre style="margin-bottom:0px;padding:0px 0.2em;border-width:1px 0px;border-style:solid;border-color:transparent;outline:0px none;vertical-align:baseline;background-color:transparent;min-height:18px;color:rgb(51,51,51);font-size:12px;line-height:16px;margin-top:0px!important">
<span style="margin:0px;padding:0px;border:0px none;outline:0px none;vertical-align:baseline;background-color:transparent;color:rgb(0,128,0);font-weight:bold">[udicall]</span></pre><pre style="margin-bottom:0px;padding:0px 0.2em;border-width:1px 0px;border-style:solid;border-color:transparent;outline:0px none;vertical-align:baseline;background-color:transparent;min-height:18px;color:rgb(51,51,51);font-size:12px;line-height:16px;margin-top:0px!important">
<span style="margin:0px;padding:0px;border:0px none;outline:0px none;vertical-align:baseline;background-color:transparent;color:rgb(0,128,0);font-weight:bold">exten => _XX.,1,Set(CALLERID(num)=1244)</span></pre><pre style="margin-bottom:0px;padding:0px 0.2em;border-width:1px 0px;border-style:solid;border-color:transparent;outline:0px none;vertical-align:baseline;background-color:transparent;min-height:18px;color:rgb(51,51,51);font-size:12px;line-height:16px;margin-top:0px!important">
<span style="margin:0px;padding:0px;border:0px none;outline:0px none;vertical-align:baseline;background-color:transparent;color:rgb(0,128,0);font-weight:bold">exten => _XX.,n,Dial(Dahdi/g1d/1234)</span></pre><pre style="margin-bottom:0px;padding:0px 0.2em;border-width:1px 0px;border-style:solid;border-color:transparent;outline:0px none;vertical-align:baseline;background-color:transparent;min-height:18px;color:rgb(51,51,51);font-size:12px;line-height:16px;margin-top:0px!important">
<span style="margin:0px;padding:0px;border:0px none;outline:0px none;vertical-align:baseline;background-color:transparent;color:rgb(0,128,0);font-weight:bold"><br></span></pre><pre style="margin-bottom:0px;padding:0px 0.2em;border-width:1px 0px;border-style:solid;border-color:transparent;outline:0px none;vertical-align:baseline;background-color:transparent;min-height:18px;color:rgb(51,51,51);font-size:12px;line-height:16px;margin-top:0px!important">
<span style="margin:0px;padding:0px;border:0px none;outline:0px none;vertical-align:baseline;background-color:transparent;color:rgb(0,128,0);font-weight:bold">My call is to set the callerid on an Data Call (UDI).</span></pre>

</div></blockquote><div><br></div></div></div>The 'd' option is very esoteric.  Its purpose is for use with originated calls<br></div>because that is the only place where an originated call can specify that<br>the outgoing call legs need digital transfer capability.<br>

<br></div><div class="gmail_extra">Using the Dial application is going to get the 'd' option overridden by the<br>calling channel executing the application because the transfer capability<br>of the outgoing channel must match the incoming channel executing the<br>

</div><div class="gmail_extra">Dial application.<br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><div>This question should have been asked on the asterisk-users list as it<br>has nothing to do with the development of Asterisk itself.<span class="HOEnZb"><font color="#888888"><br>

</font></span></div><span class="HOEnZb"><font color="#888888"><div><br></div>Richard<br></font></span></div></div>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-dev mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br></blockquote></div><br></div>