Summary:ASTERISK-01109: show channels shows weird extension for Zaptel channels.
Reporter:zoa (zoa)Labels:
Date Opened:2004-02-26 11:55:31.000-0600Date Closed:2010-07-22 15:22:51
Versions:Frequency of
Description:Zaptel seems to use the 'DID' of the last incoming zap call on that line for all outgoing sip / iax calls (sip to ZAP or iax2 to zap) made on that line.

For most people with PRI's & DID's those extensions will change completely randomly.

This is not really a bug, but it could confuse people in some specific cases.


       Channel  (Context    Extension    Pri )   State Appl.         Data
       Zap/6-1  (zaptel-incoming 555          1   ) Dialing AppDial       (Outgoing Line)
SIP/agent140-f478  (bulgaria   070123442    5   )    Ring Dial          ZAP/g1/70123442
       Zap/2-1  (zaptel-incoming 61           1   ) Ringing AppDial       (Outgoing Line)

zap show channels:

Chan Extension  Context         Language   MusicOnHold
  1 666        zaptel-incoming
  2 61         zaptel-incoming
  3 666        zaptel-incoming
  4            zaptel-incoming
  5 5          zaptel-incoming
  6 555        zaptel-incoming
  7 7          zaptel-incoming
  8            zaptel-incoming
  9            zaptel-incoming
 10            zaptel-incoming
 11            zaptel-incoming
 12            zaptel-incoming
 13            zaptel-incoming
 14            zaptel-incoming
 15            zaptel-incoming
 17            zaptel-incoming
 18            zaptel-incoming
 19            zaptel-incoming
 20            zaptel-incoming
 21            zaptel-incoming
 22 7          zaptel-incoming
 23            zaptel-incoming
 24            zaptel-incoming
 25            zaptel-incoming
 26            zaptel-incoming
 27            zaptel-incoming
 28            zaptel-incoming
 29            zaptel-incoming
 30            zaptel-incoming
 31            zaptel-incoming

Comments:By: James Golovich (jamesgolovich) 2004-02-26 12:01:37.000-0600

I'm pretty sure I've seen notes in the past that said that whoever started implementing 'zap show channels' never finished it.  If you look at zap show channel <specificnum>  there are also some things that don't get cleared properly.

description should say 'zap show channels' and not 'show channels'

By: zoa (zoa) 2004-02-26 12:15:38.000-0600

nopez, the show channels also shows weird things, its using the same weird extension as the zap show channels. (as if they are still in use for that).

any volunteers to complete the zap show channels ?

By: James Golovich (jamesgolovich) 2004-03-10 04:18:38.000-0600

Fixed in CVS