Jump to content

accept calls only from some numbers


Ghostman

Recommended Posts

Sorry my bad english. I am Italian. I am trying the trial version of ivm.

I would want to know like is made in order to make so that ivm assets a determined one ogm if the number of calling is present in a list of telephone numbers only qualifies to you.

Link to comment
Share on other sites

  • 2 weeks later...
Sorry my bad english. I am Italian. I am trying the trial version of ivm.

I would want to know like is made in order to make so that ivm assets a determined one ogm if the number of calling is present in a list of telephone numbers only qualifies to you.

 

I think you'll have to write a plugin, which you pass the telephone-number (%cid%) and which will then return the next OGM to play as a variable. You then have to set "Next OGM" as a variable instead of a text. For example you can then have a PhoneNumberOK OGM, and a PhonenumberInvalid OGM, and let the plugin return either of these names in a %NextOGM% variable.

 

In the SDK description, on IVM's main page, the PHP example actually does this trick, though as a pin-code validator in stead of phone.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...