Configuring Alt Contact MenuEntry via API

Answered Question
Jan 15th, 2008

In the Unity web administration app you can go add an Alternate Contact Number to a key by going to the Caller Input page for a subscriber, choose a key to bind to, choose "Send caller to", set :Alternate Contact Number" and fill in the "Number to Dial" field.


I am writing an application to do this same administrative task. All is fine except I cannot find any API call to set "Number To Dial". I can't even find a table in the UnityDb that stores it.


Anybody know where this is stored?

Correct Answer by lindborg about 9 years 1 month ago

This is the “referralExtension” value on the subscriber - you get at it via the sp_ModifySubscriber stored proc. Remember, each subscriber has only one referral extension (alternate extension) - you can't have a separate one for each one key rule. You set the referral extension on the subscriber and then modify the one key rule to take the goto action (2) and use the “TransferAltContactNumber” conversation. This can be done via the sp_ModifyMenuEntry stored proc to do that.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
Correct Answer
lindborg Tue, 01/15/2008 - 12:42

This is the “referralExtension” value on the subscriber - you get at it via the sp_ModifySubscriber stored proc. Remember, each subscriber has only one referral extension (alternate extension) - you can't have a separate one for each one key rule. You set the referral extension on the subscriber and then modify the one key rule to take the goto action (2) and use the “TransferAltContactNumber” conversation. This can be done via the sp_ModifyMenuEntry stored proc to do that.

Actions

This Discussion