Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Wich program for ECF (external follow me)?

Status
Not open for further replies.

ciberweb

Technical User
Jun 21, 2005
32
EU
Talking with a friend about how knowing the external number of an external follow me (with SUSIP only ECF appears), there must be a program with that data.

Just searching with SACOP in UNIT der and rmp, in all filno of the extension LIM with the PTR that SUSIP shows (LINE STATE/PTR), but nothing appears...

Does someone know where the data is recorded when an external follow me is activated (*22#)?

Thx!
 
Hi

BC12 SP9
CIL with flexible format including field E1

For each call with external follow me (either *22# or Profile) the field E1 which is connected number is indicating the external number.
This field is 10 digits long only and right justified
 
Thanks, but that's for CIL and it's not what I'm looking for... I'm talking about Unit Programs of the MD.
 
Guys, don't try to guess! The correct unit is AIPN. You can find the number stored in the record(s) with sacop:unit=aipn,lim=1,filno=2,point=x,dsoff=3&&10;
Here the pointer is NOT the DE pointer at all, AIPN selects the record (pointer) from next free list. But you can find it by printing all 1650 records (good luck!).
 
Well... The MD must know, when a call is received to a diverted extension where to go (it doesn't look on 1650 records), so there must be a place where a relationship between extension and ECF number is written.
That's why I started 'playing' with Signal Trace, doing an ECF to 0666777888 and I discoverded this:
Code:
15.45.49.120 00175 SWSW  SIGNAL                PRGECF            (H'0112)


               FROM   RMP     (H'0319) EXE A IN LIM 009
               TO     DER     [COLOR=blue](H'017D)[/color] EXE A IN LIM 009
               WITH     0    1    2    3    4    5    6    7    8    9
               000   H'03 H'AD H'00 H'00 H'03 H'19 H'00 H'47 H'C5 H'09
               010   H'01 H'0A [COLOR=green][b]H'60 H'66 H'77 H'87 H'88[/b][/color] H'FF H'FF H'FF
               020   H'FF H'FF H'03 H'AD H'09 H'10 H'02 H'08 H'99 H'F0
               030   H'02 H'06 H'CA H'C2
The problem is that I don't know what is the relationship between the Pointer of DER (H'017D) and the extension:
Code:
susip:dir=24704;
STATUS INFORMATION AT 16:22:17 28MAR06


DIR   TYPE TRAFFIC STATE/PTR    LINE STATE/PTR      DIV STATE  ADD INFO


24704 DTS  IDLE          #026A  FREE       #03AC           
           ODN1:IDLE                                       
           ODN2:IDLE                                       
           ODN3:IDLE                                       


END
 
Shoot ....

H'017D is the generic Unit Number for DER... :-(
 
If this is BC12 try:

SACOP:UNIT=DER,DSOFF=28&&31,FILNO=6,LIM=9,POINT=3AC;
or
SACOP:UNIT=DER,DSOFF=28&&31,FILNO=6,LIM=9,POINT=3AD;

BR///
 
Nothing there...
Code:
SACOP:UNIT=DER,DSOFF=28&&31,FILNO=6,LIM=9,POINT=3AC;
 MEMORY CONTENT ON INDIVIDUAL POSITION


 EXE A
 FILE NUMBER   RELOAD FILE START   DS FILE START
     6                             00035456


 POINT   RELOFF DSOFF  ADDRESS    DATA  ISO
 03AC           0028   00046436   AA    .
 03AC           0029   00046437   55    U
 03AC           002A   00046438   AA    .
 03AC           002B   00046439   55    U
 03AC           002C   0004643A   AA    .
 03AC           002D   0004643B   55    U
 03AC           002E   0004643C   AA    .
 03AC           002F   0004643D   55    U
 03AC           0030   0004643E   AA    .
 03AC           0031   0004643F   55    U
END
 

SACOP:UNIT=DER,DSOFF=28&&31,FILNO=6,LIM=9,POINT=3AD;
 MEMORY CONTENT ON INDIVIDUAL POSITION


 EXE A
 FILE NUMBER   RELOAD FILE START   DS FILE START
     6                             00035456


 POINT   RELOFF DSOFF  ADDRESS    DATA  ISO
 03AD           0028   00046480   AA    .
 03AD           0029   00046481   55    U
 03AD           002A   00046482   AA    .
 03AD           002B   00046483   55    U
 03AD           002C   00046484   AA    .
 03AD           002D   00046485   55    U
 03AD           002E   00046486   AA    .
 03AD           002F   00046487   55    U
 03AD           0030   00046488   AA    .
 03AD           0031   00046489   55    U
END
But I also advised that the data of the code of PRGECF is writting on 03AD (instead of 03AC). Seems just have to know where exactly (DSOFF and FILNO).
 
Ciberweb:
Just believe me, the data is saved as DS in AIPN, DER handles the matter only when programming the ECF (on/off), as you can see from the signal "PRG"ECF. The signal sequence is about as follows:
The pointer below is 3DA, which is from the correct ext.

SWSW SIGNAL PRGECF (H'0112)
FROM RMP (H'0319) EXE A IN LIM 001
TO DER (H'017D) EXE A IN LIM 001
WITH 0 1 2 3 4 5 6 7 8 9
000 H'03 H'DA H'00 H'00 H'03 H'19 H'00 H'6D H'EF H'01
010 H'01 H'06 H'10 H'32 H'54 H'FF H'FF H'FF H'FF H'FF
020 H'FF H'FF H'03 H'DA H'01 H'10 H'02 H'08 H'99 H'F0
030 H'02 H'06 H'CA H'C2

SWSW SIGNAL DIVSTACHA (H'0022)
FROM DER (H'017D) EXE A IN LIM 001
TO KLP1O (H'01CC) EXE A IN LIM 001
WITH 0 1 2 3 4 5 6 7 8 9
000 H'02 H'7D H'00 H'01 H'04 H'06 H'10 H'32 H'54 H'FF
010 H'FF H'FF H'FF H'FF H'FF H'FF H'FF H'FF H'FF H'02
020 H'02 H'6F H'00 H'02 H'02 H'57 H'F8

SWSW SIGNAL CADSTACHA (H'0055)
FROM DER (H'017D) EXE A IN LIM 001
TO KLP1O (H'01CC) EXE A IN LIM 001
WITH 0 1 2 3 4 5 6 7 8 9
000 H'02 H'7D H'01 H'02 H'02 H'70 H'54 H'02 H'01 H'02
010 H'CA

SWSW SIGNAL CADEXC (H'007C)
FROM KLP1O (H'01CC) EXE A IN LIM 001
TO KLP1D (H'01C4) EXE A IN LIM 001
WITH 0 1 2 3 4 5 6 7 8 9
000 H'02 H'7D H'01 H'FF H'02 H'00 H'68 H'5E H'00 H'00
010 H'00 H'00

SWSW SIGNAL PRGECFRES (H'0147)
FROM DER (H'017D) EXE A IN LIM 001
TO RMP (H'0319) EXE A IN LIM 001
WITH 0 1 2 3 4 5 6 7 8 9
000 H'00 H'6D H'EF H'00 H'02 H'03 H'6B H'12 H'02 H'01
010 H'02 H'DC

SWSW SIGNAL STOLASNUM (H'001B)
FROM RMP (H'0319) EXE A IN LIM 001
TO AIPN (H'0293) EXE A IN LIM 001
WITH 0 1 2 3 4 5 6 7 8 9
000 H'03 H'DA H'10 H'10 H'32 H'54 H'FF H'FF H'FF H'FF
010 H'FF H'FF H'FF H'FF H'FF H'FF H'FF H'FF H'FF H'00
020 H'00 H'00 H'FF H'FF H'00 H'FF H'01 H'02 H'08 H'E6
030 H'44 H'02 H'09 H'34 H'22

All DE/DO pointers are stored in temporary variables in AIPN, and then put in a record, which is chosen by the program unit itself. Of course it is possible to find out which extension (pointer) owns which record, but not easily, and definitely not with one sacop. DER data in this case is NOT used for storing the data, otherwise where do we need the AIPN for? Also note that this record is the same as ***, so using this function does not work as long as the ECF is active (as far as I know). If you REALLY want to know how the calculation is done, I'll show it to you, but not this month, and what's actually the need? Just trace the outgoing call, and you'll see the number.
PS. For normal extensions there are "only" 1000 records!
 
You can use "dirty" trick - ask AIPN directly by signal.

sgsai:sigar=1,stype=swsw,lim=x,level=a,unit=aipn,signo=45,
byte=0-yy&1-yy&2-00;
sgssi:sigar=1;

bytes 0&1 are DE pointer, in your case 0-03 1-AD
This signal has no sending unit or LIM and will appear in History log. Here you can read ECF number from byte 03-D2D1,04-D4D3...
Of course, HIREI before SGSSI is needed.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top