Page 1 of 2
Script to change callerid, auto-dial and the disconnect after passing callerid
Posted: 12 Jan 2010 07:01
by tomar
Dear All,
Is it possible to write a script to change callerid automatically, then auto dial a number and then disconnect after passing the caller id information to the called party. We have Omni PCX 4400 with software R7.1.
Thanks in advance
S.S.Tomar
Posted: 20 Jan 2010 22:44
by frank
Hey Tomar,
Can you explain better what you are trying to do here ?
Thanks
Posted: 27 Jan 2010 06:45
by tomar
> Dear Frank,
>
> Basically I would just like to know, that do we have a command / utility
> in Omni PCX 4400 by which I can make a call to some number and just pass
> caller ID information. I do not want the call to mature and make voice
> call from shell. Say for example if I have a unix command in OmniPCX by
> which I can change the caller ID information and then initiate a call by
> another unix command, for just passing the changed caller ID information.
> I hope I am making sense.
Tomar
Posted: 27 Jan 2010 09:34
by frank
Hi Tomar,
I'm sorry, but I still do not understand what you are trying to achieve..
Posted: 27 Jan 2010 22:56
by tomar
Hi Frank,
Actually, I would like to use the callerID as a password. Instead of using SMS channel as second factor in a two factor authentication setup, I would like to use the callerID information on mobiles for communicating one time passwords. In a two factor authentication usually the one time passwords are communicated using SMS, I would like to use the callerID feature for the same. So now my quection is can I make a CRON job in Omni PCX 4400 in which I can place simple shell script to initiate a call then pass on the callerID information and stop the call before it matures. Since the callerID information is sent between the 2nd and 3rd ring the call should be cut short after teh 3rd ring. I hope it is much clearer now.
Tomar
Posted: 28 Jan 2010 02:39
by murraya
Hi Tomar, I'm also not sure if this is what you want but have you looked at the tool "dialer" from unleashed?
It allows you to control digital phones.
Create a user that has the DDI you want and use "dialler" to make a call from it then hang up.
Change the Private calling number of the phone to another DDI and repeat.
Hope this is of some use.
Posted: 28 Jan 2010 05:08
by tomar
Hi Murray,
Thanks for the reply. I will give it a try!!
Tomar
Posted: 28 Jan 2010 05:49
by tomar
Hi murraya,
I have been successfully able to use the dialer tool for making a call and hanging up. Now my other question is, how can I create a user and change DDI using script?
Llot of thanks for your valuable tip.
Tomar
Posted: 29 Jan 2010 03:52
by murraya
Hi, good start I guess but I have not spent time with the scripts so maybe someone else could assist.
Posted: 29 Jan 2010 04:19
by tomar
Hi,
I have found some mechanism using the "expect" command in linux to solve my problem. Now I should be able to create users and change their DDI using a linux script. I suppose that now I have the complete toolset to develop what I wanted. Thanks to all for providing valuable inputs.
Tomar