Alternative work around to this could be:<div><br></div><div>1- Make two different dialplan extensions. One to dial DAHDI numbers with setting for DAHDI and other extension for SIP dialing. Both extensions setting different CallerID presentation</div>
<div>2- Create a queue with Local extensions as static members (strategy=ringall)</div><div><br></div><div>So whenever you want to dial to both B, and C location use the queue dial-out.</div><div><br></div><div>I think it should work.</div>
<div><br></div><div><br></div><div class="gmail_quote">On Mon, Aug 29, 2011 at 12:15 PM, Olivier <span dir="ltr"><<a href="mailto:oza_4h07@yahoo.fr">oza_4h07@yahoo.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<br><br>I've got the following use case where I want to simultaneously dial 2 endpoints that both need different CallerID presentation.<br>How can I do that, from the dialplan preferably ?<br><br>For instance, let say phone A needs to both dial B, an internal SIP phone and C, a cell phone reachable through a DAHDI span from a an Asterisk system where :<br>
1. users can use 4-digits short numbers to reach other internal phones.<br>2. calls going out through the DAHDI span, must have CallerIDs presented without any prefix.<br><br>Ideally, CallerID should be presented :<br>1- with 4-digits for internal phones<br>
2- with 10-digits for external phones<br>so that both phones can return the call without re-dialing.<br><br><br>Suggestions ?<br><br>A is 1234 alias DID 0555551234<br>B is 5678<br>C is 0123456789<br>I was thinking of using something like this:<br>
<br>Dial(SIP/5678<option_to_present_1234_to_callee>&DAHDI/g1<option_to_present_0555551234>/0123456789)<br><br>What could be <option_to_present_1234_to_callee> and <option_to_present_0555551234><br>
<br>Regards<br>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>