Please login or register to access secure site features.

Note: By continuing to use DevConnect Program Services you agree to our latest Registered Member Terms.

Sign in using DevConnect ID

Forgot password?

Trouble logging in?

Submit a ticket for Registration Support.

I have an SSO ID

?
sign in

Don't have a DevConnect or SSO ID ?

Create a DevConnect account or join the program.

register now
^
Forum Index » Web Services » Button Features auto-A/D and ring values   XML
 
Author Message
Torrance



Joined: 07/02/2020 13:36:17
Messages: 20
Offline

I am using AES and SMS to create users and assign extensions in SMGR. All seems to work fine except that button features don't match the template used.

What else could assign the value if they don't seem to come from the XML file sent with the API request.

Button 1:
(not a favorite)
Label: xxx-xxx-xxxx
Feature: call-appr
(Argument-1) auto-A/D: y
(Argument-2) ring: r

I have no button tags in my xml and I need auto-A/D to be 'n' as per the j179 template assigned. What would the xml tag look like to assign 'n' to auto-A/D?

  • This doesn't seem to do it.



  • <ns9:buttons>
                            <ns9:number>1</ns9:number>
                            <ns9:type>call-appr</ns9:type>
                            <ns9:data1></ns9:data1>
                            <ns9:data2></ns9:data2>
                            <ns9:data3>r</ns9:data3>
                            <ns9:data4>n</ns9:data4>
                            <ns9:data5></ns9:data5>
                            <ns9:data6></ns9:data6>
                            <ns9:buttonLabel>auto-19-tmpl</ns9:buttonLabel>
                        </ns9:buttons>[/list]


    Thanks

    This message was edited 1 time. Last update was at 27/05/2021 12:16:59

    MichaelHerman2



    Joined: 09/01/2014 12:11:50
    Messages: 96
    Offline

    I would suggest you start by using the CM SAT to manually add the desired values (e.g. ""change station x", where x is an existing station extension).

    Then use built-in AES SMS test page to display that station. You can look at the response returned to see the format expected, and then use that format to add/change a station with SMS.
    Torrance



    Joined: 07/02/2020 13:36:17
    Messages: 20
    Offline

    Thank you for your response. I am attempting to make all assignments upon creation. Seems like each item should be set by the cm endpoint template.

    But if not, I can try it with the xml file submitted with the api call to create.
    From SMS test, I am thinking the value is "Button_Data_5[1]=y". I just can't see how to translate this into an xml entry with tags.

    Here is a snippet:
  • Button_Data_1[1]=call-appr|Button_Data_1[2]=call-appr|Button_Data_1[3]=call-appr|Button_Data_1[4]=ec500|Button_Data_1[6]=extnd-call|Button_Data_1[8]=autodial|Button_Data_1[9]=send-calls|Button_Data_4[1]=r|Button_Data_4[2]=r|Button_Data_4[3]=r|Button_Data_5[1]=y|Button_Data_5[2]=y|Button_Data_5[3]=y|Button_Data_6[8]=1|Button_Data_7[4]=n
  •  
     
    Go to: