<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Sep 20, 2008, at 2:14 AM, Jon Bruel wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><p class="MsoPlainText" style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 6pt; margin-left: 0cm; line-height: 110%; font-size: 10pt; font-family: 'Courier New'; "><font size="2" face="Courier New"><span lang="EN-GB" style="font-size: 10pt; line-height: 110%; ">Both suggestions work: If I include the effective_caller_id_number in the dialplan<span class="Apple-converted-space"> </span><u>before</u><span class="Apple-converted-space"> </span>bridging, or if I include {origination_caller_id_number=45161061} or [origination_caller_id_number=45161061] as a part of the first parameter after a originate command.<o:p></o:p></span></font></p><p class="MsoPlainText" style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 6pt; margin-left: 0cm; line-height: 110%; font-size: 10pt; font-family: 'Courier New'; "><font size="2" face="Courier New"><span lang="EN-GB" style="font-size: 10pt; line-height: 110%; ">But skipping the “set” command in the dialplan, and trying to use:<o:p></o:p></span></font></p><p class="MsoPlainText" style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 6pt; margin-left: 0cm; line-height: 110%; font-size: 10pt; font-family: 'Courier New'; "><font size="2" face="Courier New"><span lang="EN-GB" style="font-size: 10pt; line-height: 110%; "><o:p> </o:p></span></font></p><p class="MsoPlainText" style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 6pt; margin-left: 0cm; line-height: 110%; font-size: 10pt; font-family: 'Courier New'; "><font size="2" face="Courier New"><span lang="EN-GB" style="font-size: 10pt; line-height: 110%; "><action application="bridge" data="[effective_caller_id_number=45161061]sofia/gateway/45161061/$1"/></span></font></p></span></blockquote><div><br></div><div>This is because effective_caller_id_number has to be set on the A-Leg before you call bridge. This method won't work. You can only set origination caller id in that manner.</div><div><br></div><div>And this</div><div><br></div><div><action application="bridge" data="[origination_caller_id_number=666666666]sofia/x.x.x.x/1001"/></div><div><br></div><div>Works on the latest SVN trunk.</div><div><br></div><br><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><p class="MsoPlainText" style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 6pt; margin-left: 0cm; line-height: 110%; font-size: 10pt; font-family: 'Courier New'; "><font size="2" face="Courier New"><span lang="EN-GB" style="font-size: 10pt; line-height: 110%; "><o:p></o:p></span></font></p><p class="MsoPlainText" style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 6pt; margin-left: 0cm; line-height: 110%; font-size: 10pt; font-family: 'Courier New'; "><font size="2" face="Courier New"><span lang="EN-GB" style="font-size: 10pt; line-height: 110%; "><o:p> </o:p></span></font></p><p class="MsoPlainText" style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 6pt; margin-left: 0cm; line-height: 110%; font-size: 10pt; font-family: 'Courier New'; "><font size="2" face="Courier New"><span lang="EN-GB" style="font-size: 10pt; line-height: 110%; ">or:<o:p></o:p></span></font></p><p class="MsoPlainText" style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 6pt; margin-left: 0cm; line-height: 110%; font-size: 10pt; font-family: 'Courier New'; "><font size="2" face="Courier New"><span lang="EN-GB" style="font-size: 10pt; line-height: 110%; "><o:p> </o:p></span></font></p><p class="MsoPlainText" style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 6pt; margin-left: 0cm; line-height: 110%; font-size: 10pt; font-family: 'Courier New'; "><font size="2" face="Courier New"><span lang="EN-GB" style="font-size: 10pt; line-height: 110%; "><action application="bridge" data="[origination_caller_id_number=45161061]sofia/gateway/45161061/$1"/><o:p></o:p></span></font></p><p class="MsoPlainText" style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 6pt; margin-left: 0cm; line-height: 110%; font-size: 10pt; font-family: 'Courier New'; "><font size="2" face="Courier New"><span lang="EN-GB" style="font-size: 10pt; line-height: 110%; "><o:p> </o:p></span></font></p><p class="MsoPlainText" style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 6pt; margin-left: 0cm; line-height: 110%; font-size: 10pt; font-family: 'Courier New'; "><font size="2" face="Courier New"><span lang="EN-GB" style="font-size: 10pt; line-height: 110%; ">does not work. Same thing when using curled brackets.<o:p></o:p></span></font></p><p class="MsoPlainText" style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 6pt; margin-left: 0cm; line-height: 110%; font-size: 10pt; font-family: 'Courier New'; "><font size="2" face="Courier New"><span lang="EN-GB" style="font-size: 10pt; line-height: 110%; ">I need to be able to pass parameters individually to each of the bridge destinations, not just for the A-number, but also for other stuff to be used for post processing of the call. An alternative would be to emulate the Asterisk chan_local by making some kind of loopback to the dialplan, using IAX or SIP, but this is a inelegant way of solving it.</span></font></p></span></blockquote><div>chan_local is a hack and not needed. Once you learn how everything works you'll see why its not needed.</div><br><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><p class="MsoPlainText" style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 6pt; margin-left: 0cm; line-height: 110%; font-size: 10pt; font-family: 'Courier New'; "><font size="2" face="Courier New"><span lang="EN-GB" style="font-size: 10pt; line-height: 110%; "><o:p></o:p></span></font></p><p class="MsoPlainText" style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 6pt; margin-left: 0cm; line-height: 110%; font-size: 10pt; font-family: 'Courier New'; "><font size="2" face="Courier New"><span lang="EN-GB" style="font-size: 10pt; line-height: 110%; ">Jon</span></font></p></span></blockquote></div><br></body></html>