# Dialed Channel ID

**URL:** <https://community.asterisk.org/t/dialed-channel-id/39980>\
**Category:** Asterisk Support\
**Created:** [July 30, 2012, 12:35am UTC](https://community.asterisk.org/t/dialed-channel-id/39980 "2012-07-30T00:35:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/asterisk/original/2X/4/475d0c889911cfb84ac4881ad6df8b523e3f9105.png) [@system](https://community.asterisk.org/u/system)\
**Post date:** [July 30, 2012, 12:35am UTC](https://community.asterisk.org/t/dialed-channel-id/39980/1 "2012-07-30T00:35:44Z")

</div>

Good afternoon! How do I get the channel ID of a dialed call? Current Channel is /SIP/myserver-00000aa8, and the dialed channel ID is /SIP/mytalk-00000aa9. ${Channel} returns /SIP/myserver-00000aa8. I need to programmatically get the aa9 id. Any suggestions? Thank you in advance.

I need it so I can use the Bridge command.

---

<div class="post-metadata">

**Author:** ![david55](https://avatars.discourse-cdn.com/v4/letter/d/e19adc/32.png) [@david55](https://community.asterisk.org/u/david55)\
**Post date:** [July 30, 2012, 6:47am UTC](https://community.asterisk.org/t/dialed-channel-id/39980/2 "2012-07-30T06:47:32Z")

</div>

${BRIDGEPEER}

---

<div class="post-metadata">

**Author:** ![redwolf890](https://avatars.discourse-cdn.com/v4/letter/r/c0e974/32.png) [@redwolf890](https://community.asterisk.org/u/redwolf890)\
**Post date:** [July 30, 2012, 2:02pm UTC](https://community.asterisk.org/t/dialed-channel-id/39980/3 "2012-07-30T14:02:50Z")

</div>

David, thanks for this tidbit. I wasn’t aware of this until now, but it’s very useful.
