Author Message
leonroy
Joined: May 22, 2014
Messages: 52
Offline
Not really getting exactly what I need from the Station model, wondering if I'm missing a model somewhere which I need to use.

Which models and fields would I need to use to build a picture of all Stations and ALL their registered extensions?

ie. which extensions are shared/bridged appearance etc.

thanks,
-Leon
CraigJohnson5
Joined: Oct 24, 2013
Messages: 413
Offline
You would use the station model to find what stations have bridged appearances and then use the RegisteredIPStations model to see who is actually registered.
leonroy
Joined: May 22, 2014
Messages: 52
Offline
Ok, so I've queried Station 50201 which has a bridged line appearance with Extension 50205:

Station:

<Station>
<Extension>50201</Extension>
<Type>4610</Type>
<Port>S00098</Port>
<Name>Station 50201</Name>
<Coverage_Path_1></Coverage_Path_1>
<Coverage_Path_2></Coverage_Path_2>
<Hunt_to_Station></Hunt_to_Station>
<COR>1</COR>
<COS>1</COS>
<Room></Room>
<Jack></Jack>
<Cable></Cable>
<Data_Extension></Data_Extension>
<Survivable_GK_Node_Name></Survivable_GK_Node_Name>
</Station>


Then I query RegisteredIPStations:


<RegisteredIPStations>
<Station_Extension>50201</Station_Extension>
<Set_Type>4610</Set_Type>
<Product_ID>IP_Phone</Product_ID>
<Product_Rel>2.880</Product_Rel>
<Station_IP_Address>192.168.15.47</Station_IP_Address>
<Network_Region>1</Network_Region>
<Gatekeeper_IP_Address>192.168.15.129</Gatekeeper_IP_Address>
<TCP_Skt>y</TCP_Skt>
<Orig_Port></Orig_Port>
<Shared_1_Station_Extension>50201</Shared_1_Station_Extension>
<Shared_1_Set_Type>4610</Shared_1_Set_Type>
<Shared_1_Product_ID></Shared_1_Product_ID>
<Shared_1_Product_Rel></Shared_1_Product_Rel>
<Shared_1_Station_IP_Address>0.0.0.0</Shared_1_Station_IP_Address>
<Shared_1_Network_Region>0</Shared_1_Network_Region>
<Shared_1_Gatekeeper_IP_Address>0.0.0.0
</Shared_1_Gatekeeper_IP_Address>
<Shared_1_TCP_Skt>n</Shared_1_TCP_Skt>
<Shared_2_Station_Extension>50201</Shared_2_Station_Extension>
<Shared_2_Set_Type>4610</Shared_2_Set_Type>
<Shared_2_Product_ID></Shared_2_Product_ID>
<Shared_2_Product_Rel></Shared_2_Product_Rel>
<Shared_2_Station_IP_Address>0.0.0.0</Shared_2_Station_IP_Address>
<Shared_2_Network_Region>0</Shared_2_Network_Region>
<Shared_2_Gatekeeper_IP_Address>0.0.0.0
</Shared_2_Gatekeeper_IP_Address>
<Shared_2_TCP_Skt>n</Shared_2_TCP_Skt>
</RegisteredIPStations>


What am I missing?
CraigJohnson5
Joined: Oct 24, 2013
Messages: 413
Offline
It looks like you are doing a list station 50201 instead of display station 50201.
leonroy
Joined: May 22, 2014
Messages: 52
Offline
Thanks, that's sorted it.
leonroy
Joined: May 22, 2014
Messages: 52
Offline
Hello,

So if I follow (can't seem to find much documentation on all the display Station parameters). To obtain all the extensions on a phone I need to use the following values <Extension> (the user's primary extension and station ID), <button_Data_1> (and check for brdg-appr) and then in turn check the corresponding value for Button_Data_3 at the brdg-appr position?

Seems a little convoluted, so hoping there's something a touch more direct.

Are there any other cases I'm missing?


[ display Station ]
via https://192.168.15.128

The request was successful (result_code == 0)
-----------------XML-----------------

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:ModelChoices
xmlns:ns2="http://xml.avaya.com/ws/SystemManagementService/2008/07/01"
xmlns:ns3="http://xml.avaya.com/ws/session" xmlns:ns4="http://xml.avaya.com/sms">
<Station>
<Extension>50201</Extension>
<Type>4610</Type>
<Port>S00098</Port>
<Name>Station 50201</Name>
<Coverage_Path_1></Coverage_Path_1>
<Coverage_Path_2></Coverage_Path_2>
<Hunt_to_Station></Hunt_to_Station>
<COR>1</COR>
<COS>1</COS>
<Room></Room>
<Jack></Jack>
<Cable></Cable>
<Survivable_GK_Node_Name></Survivable_GK_Node_Name>
<Lock_Messages>n</Lock_Messages>
<Security_Code>1234</Security_Code>
<TN>1</TN>
<Display_Language>english</Display_Language>
<Ringing_Pattern>1</Ringing_Pattern>
<Message_Lamp_Ext>50201</Message_Lamp_Ext>
<MM_Complex_Data_Ext></MM_Complex_Data_Ext>
<LWC_Reception>spe</LWC_Reception>
<LWC_Activation>y</LWC_Activation>
<CDR_Privacy>n</CDR_Privacy>
<Redirect_Notification>y</Redirect_Notification>
<Per_Button_Ring_Control>y</Per_Button_Ring_Control>
<Bridged_Call_Alerting>y</Bridged_Call_Alerting>
<Active_Station_Ringing>single</Active_Station_Ringing>
<H320_Conversion>n</H320_Conversion>
<IP_Audio_Hairpinning>n</IP_Audio_Hairpinning>
<Direct_IP_IP_Audio_Connections>y</Direct_IP_IP_Audio_Connections>
<Loss_Group>19</Loss_Group>
<Coverage_After_Forwarding>s</Coverage_After_Forwarding>
<IP_Emergency_Calls>as-on-local</IP_Emergency_Calls>
<Emergency_Location_Ext>50201</Emergency_Location_Ext>
<LWC_Log_External_Calls>n</LWC_Log_External_Calls>
<Speakerphone>2-way</Speakerphone>
<Service_Link_Mode>as-needed</Service_Link_Mode>
<Multimedia_Mode>enhanced</Multimedia_Mode>
<AUDIX_Name></AUDIX_Name>
<Auto_Select_Idle_Appear>n</Auto_Select_Idle_Appear>
<Conf_Trans_On_Primary_Appearance>n</Conf_Trans_On_Primary_Appearance>
<Coverage_Msg_Retrieval>y</Coverage_Msg_Retrieval>
<Auto_Answer>none</Auto_Answer>
<Data_Restriction>n</Data_Restriction>
<Idle_Appearance>n</Idle_Appearance>
<Bridged_Idle_Line>n</Bridged_Idle_Line>
<Restrict_Last_Appearance>n</Restrict_Last_Appearance>
<CPN___Send_Calling_No></CPN___Send_Calling_No>
<Multimedia_Early_Answer>n</Multimedia_Early_Answer>
<Display_Client_Redirection>n</Display_Client_Redirection>
<Select_Last_Used_Appear>n</Select_Last_Used_Appear>
<Floor></Floor>
<Building></Building>
<Headset>n</Headset>
<Speaker>n</Speaker>
<Mounting>d</Mounting>
<Cord_Length>0</Cord_Length>
<Set_Color></Set_Color>
<MWI_Served_User_Type></MWI_Served_User_Type>
<IP_Hoteling>n</IP_Hoteling>
<IP_Softphone>y</IP_Softphone>
<IP_Video>n</IP_Video>
<EC500_State>disabled</EC500_State>
<Native_Name_1></Native_Name_1>
<Native_Name_2></Native_Name_2>
<Native_Name_3></Native_Name_3>
<Native_Name_4></Native_Name_4>
<Native_Name_5></Native_Name_5>
<Native_Name_Scripts>00000000</Native_Name_Scripts>
<Unconditional_For_Internal_Calls_To>50203
</Unconditional_For_Internal_Calls_To>
<Unconditional_For_Internal_Calls_To_Active>n
</Unconditional_For_Internal_Calls_To_Active>
<Unconditional_For_External_Calls_To></Unconditional_For_External_Calls_To>
<Unconditional_For_External_Calls_To_Active>n
</Unconditional_For_External_Calls_To_Active>
<Busy_For_Internal_Calls_To></Busy_For_Internal_Calls_To>
<Busy_For_Internal_Calls_To_Active>n
</Busy_For_Internal_Calls_To_Active>
<Busy_For_External_Calls_To></Busy_For_External_Calls_To>
<Busy_For_External_Calls_To_Active>n
</Busy_For_External_Calls_To_Active>
<No_Reply_For_Internal_Calls_To></No_Reply_For_Internal_Calls_To>
<No_Reply_For_Internal_Calls_To_Active>n
</No_Reply_For_Internal_Calls_To_Active>
<No_Reply_For_External_Calls_To></No_Reply_For_External_Calls_To>
<No_Reply_For_External_Calls_To_Active>n
</No_Reply_For_External_Calls_To_Active>
<Mute_Button_Enabled>y</Mute_Button_Enabled>
<Customizable_Labels>y</Customizable_Labels>
<Survivable_COR>internal</Survivable_COR>
<Survivable_Trunk_Destination>y</Survivable_Trunk_Destination>
<Always_Use>n</Always_Use>
<EMU_Login_Allowed>n</EMU_Login_Allowed>
<Bridged_Appearance_Origination_Restriction>n
</Bridged_Appearance_Origination_Restriction>
<Call_Appearance_Display_Format>disp-param-default
</Call_Appearance_Display_Format>
<IP_Phone_Group_ID></IP_Phone_Group_ID>
<Precedence_Call_Waiting>n</Precedence_Call_Waiting>
<SAC_CF_Override>n</SAC_CF_Override>
<Time_of_Day_Lock_Table></Time_of_Day_Lock_Table>
<Button_Data_1 position="1">call-appr</Button_Data_1>
<Button_Data_1 position="2">call-appr</Button_Data_1>
<Button_Data_1 position="3">call-appr</Button_Data_1>
<Button_Data_1 position="4">brdg-appr</Button_Data_1>
<Button_Data_1 position="5">exclusion</Button_Data_1>
<Button_Data_1 position="6">ec500</Button_Data_1>
<Button_Data_2 position="4">1</Button_Data_2>
<Button_Data_3 position="4">50205</Button_Data_3>
<Button_Data_4 position="1">r</Button_Data_4>
<Button_Data_4 position="2">r</Button_Data_4>
<Button_Data_4 position="3">r</Button_Data_4>
<Button_Data_4 position="4">r</Button_Data_4>
<Button_Data_5 position="1">n</Button_Data_5>
<Button_Data_5 position="2">n</Button_Data_5>
<Button_Data_5 position="3">n</Button_Data_5>
<Button_Data_7 position="6">n</Button_Data_7>
</Station>
</ns4:ModelChoices>
CraigJohnson5
Joined: Oct 24, 2013
Messages: 413
Offline
That would be the way to get the information you are seeking. It looks like there is a form on CM called "button_labels" that might be a bit more direct. There is no model for it in SMS however. But you can take a look in a CM SAT or ASA session and see if that would work better.

For future enhancements it is best to open a GRIP with Avaya. They can tell you whether something will ever be added to a product, or if it's in the works. A GRIP can be opened at https://portal.avaya.com/apps/grip/partner.asp and you must have an Avaya login to proceed.
Go to:   
Mobile view