[asterisk-users] asterisk 11 and DAHDI/i4

Richard Mudgett rmudgett at digium.com
Wed Dec 19 19:03:42 CST 2012


> In 1.4.43 I would see things from "core show channels" like
> DAHDI/18/xxxxx
> for line 18
> 
> in Asterisk 11 its
> DAHDI/i4/xxxx
> 
> How do I get the line number back?

This was a change in v1.8 and is documented in the v1.8 UPGRADE.txt file:

* The PRI channels in chan_dahdi can no longer change the channel name if a
  different B channel is selected during call negotiation.  To prevent using
  the channel name to infer what B channel a call is using and to avoid name
  collisions, the channel name format is changed.
  The new channel naming for PRI channels is:
  DAHDI/i<span>/<number>[:<subaddress>]-<sequence-number>

* Added CHANNEL(dahdi_span), CHANNEL(dahdi_channel), and CHANNEL(dahdi_type)
  so the dialplan can determine the B channel currently in use by the channel.
  Use CHANNEL(no_media_path) to determine if the channel even has a B channel.

* Added AMI event DAHDIChannel to associate a DAHDI channel with an Asterisk
  channel so AMI applications can passively determine the B channel currently
  in use.  Calls with "no-media" as the DAHDIChannel do not have an associated
  B channel.  No-media calls are either on hold or call-waiting.

Richard



More information about the asterisk-users mailing list