I put ${CHANNEL(dahdi_span)} to know the span and ${CHANNEL(dahdi_channel)}
for actual channel number in incoming context of PRI.
For outbound I normally use M flag in Dial() to call a macro and check the
above variables in that macro.
--Satish Barot
On Tue, Nov 6, 2012 at 7:02 PM, Amit Patkar | ATPL <amit at avhan.com>
wrote:
> Hi
>
> I want to know actual DAHDI channel number (pseudo), which received the
> call or dialed the call. Where as when Asterisk receives a call on DAHDI
> channel, it shows channel as "DAHDI/i5/112-15"
> Is there any way / configuration to change this behavior and get actual
> channel number? Earlier we used to get this.
>
> I am using Asterisk 1.8.11 and Dahdi 2.4
>
> Thanks & Regards,
> Amit Patkar
>
> --
> ______________________________**______________________________**_________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
> http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>
http://lists.digium.com/**mailman/listinfo/asterisk-**users<http://lists.digium.com/mailman/listinfo/asterisk-users>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.digium.com/pipermail/asterisk-users/attachments/20121107/cf909b8b/attachment.htm>