<html><body bgcolor="#FFFFFF"><div>Yes, you can do that with call file. You need to specify channel variable<br><br><div>--</div>Sent from my iPhone</div><div><br>On Apr 14, 2011, at 8:54 AM, Israel Gottlieb &lt;<a href="mailto:isrlgb@gmail.com">isrlgb@gmail.com</a>&gt; wrote:<br><br></div><div></div><blockquote type="cite"><div><div dir="ltr"><br><div class="gmail_quote">On Thu, Apr 14, 2011 at 3:51 PM, Israel Gottlieb <span dir="ltr">&lt;<a href="mailto:isrlgb@gmail.com"><a href="mailto:isrlgb@gmail.com">isrlgb@gmail.com</a></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">Hi<br><br>Does anybody have a idea how I could set sip headers when using call files?<br><br>I have to call out a specific trunk so I cant use local as the trunk<br><br>what i'm trying todo is send out calls as "anonymous" but at the itsp it should be filed as being called out thru a specific DID and not the main DID the provider has on file <br>

for that I have to send the p-asserted but cant figure out how i would do that with a call file <br><br>Thanks,<br>Israel<br></div>
</blockquote></div><br><br>well responding to my own post i was just thinking that i could probably create a separate context with the set and then dial using Local/#####@sip-add-headers (e.g,)<br><br>any other ideas?<br>
</div>
</div></blockquote><blockquote type="cite"><div><span>--</span><br><span>_____________________________________________________________________</span><br><span>-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com">http://www.api-digital.com</a> --</span><br><span>New to Asterisk? Join us for a live introductory webinar every Thurs:</span><br><span> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.asterisk.org/hello"><a href="http://www.asterisk.org/hello">http://www.asterisk.org/hello</a></a></span><br><span></span><br><span>asterisk-users mailing list</span><br><span>To UNSUBSCRIBE or update options visit:</span><br><span> &nbsp;&nbsp;<a href="http://lists.digium.com/mailman/listinfo/asterisk-users"><a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a></a></span></div></blockquote></body></html>