Page 1 of 2
SCRIPT CHANGE RENVOI EXT
Posted: 03 Jan 2014 03:44
by REMI01
Dear All,
Is it possible to write a script to change numeenr automatically ?. We have Omni PCX 4400 with software R9.1.
i have test with cd /usr3/mao
cuser
the table poste
update poste set numeenr='22918' where numan='1686';
commit;
this modification is ok in sql when list (select * from poste where numan='1686';)
but is not ok with commande listfwd
Thanks in advance
Re: SCRIPT CHANGE RENVOI EXT
Posted: 15 Jan 2014 10:44
by Tha Tawa'S
yes it exits.
-step 1 : create a file named Renvoi in /DHS3bin/mtcl
-step 2 : edit this file with :
SET Dynamic_State_Subscriber "1001": "MCDU": "1"
{
Forward = "RV_IMD",
Number_Forward = "MCDU" <== destination of forward
}
-step 3 : to execute the script :
mgr -nodico -X Renvoi
see you
Re: SCRIPT CHANGE RENVOI EXT
Posted: 24 Jan 2014 10:30
by REMI01
Dear All,
Thanks ,but it's same with script when mgr -nodico -x 29918 (22918 is my file)
respond job completed at <time>
my file
SET Dynamic_State_Subscriber "0": "1686": "1"
{
Forward = "RV_IMD",
Number_Forward = "22918"
}
when i go to listwd is not the same Number_Forward
Thanks
Re: SCRIPT CHANGE RENVOI EXT
Posted: 24 Jan 2014 16:30
by Tha Tawa'S
I am not really sure to understand.
First, I think you have to respect case sensitive. nodico option needs "-X" (Uppercase)
Second, what do you mean when you write "respond job completed at <time>"
For my understanding, your script should forward line 1686 to 22918.
TO troubleshoot your problem, I think you should go step by step :
-Can you manually forward 1686 to 22918 ?
-Does "mgr -nodico -X 29918" works when you execute it manually ?
Re: SCRIPT CHANGE RENVOI EXT
Posted: 27 Jan 2014 04:43
by REMI01
Hello
It's ok ,i just needs "-X" (Uppercase), now i can make a script (vbs)for all my users of this forward.
And automatise this forward .
Thanks
Re: SCRIPT CHANGE RENVOI EXT
Posted: 27 Jan 2014 05:11
by Tha Tawa'S
You are welcome to share your VBS script with us !

Re: SCRIPT CHANGE RENVOI EXT
Posted: 28 Jan 2014 03:06
by sb0526
Dear Sir
follow your script file
SET Dynamic_State_Subscriber "0": "1686": "1"
{
Forward = "RV_IMD",
Number_Forward = "22918"
}
This means that extension 1686 forward to 22918
what is the "0" and "1"
Re: SCRIPT CHANGE RENVOI EXT
Posted: 28 Jan 2014 03:16
by Tha Tawa'S
"0" is network-node
"1" is information that you "go down in hierarchie" about your mgr action.
Regards.
Re: SCRIPT CHANGE RENVOI EXT
Posted: 23 Feb 2016 03:13
by tomekandos
Dear All,
Could anyone tell me how to forward a call in case of no reply?
Re: SCRIPT CHANGE RENVOI EXT
Posted: 23 Feb 2016 12:03
by tgn
search in forum with "mgr -log"
regards...
--- back to basics... focus your eyes on the essential things... ---