<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://ss7api.null.ro/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://ss7api.null.ro/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Andrei</id>
		<title>ss7api.null.ro - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://ss7api.null.ro/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Andrei"/>
		<link rel="alternate" type="text/html" href="https://ss7api.null.ro/index.php/Special:Contributions/Andrei"/>
		<updated>2026-04-27T17:48:08Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.20.2</generator>

	<entry>
		<id>https://ss7api.null.ro/index.php/SIM_Cards</id>
		<title>SIM Cards</title>
		<link rel="alternate" type="text/html" href="https://ss7api.null.ro/index.php/SIM_Cards"/>
				<updated>2014-03-06T11:14:31Z</updated>
		
		<summary type="html">&lt;p&gt;Andrei: /* Terminal */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
===SIM Events===&lt;br /&gt;
&lt;br /&gt;
====Call Related Events and Requests====&lt;br /&gt;
The following events are received by the SIM card when a call is made.&lt;br /&gt;
*Standard: Details can be found in standard TS 31.111&lt;br /&gt;
*Terminal Class: This events should work in all terminals.&lt;br /&gt;
*Status: Tests were made successfully for Mobile Originating Calls&lt;br /&gt;
*Events:&amp;lt;br&amp;gt;The SIM is notified on the following events:&lt;br /&gt;
**Mobile Originating Call Initiated&lt;br /&gt;
**Mobile Originating SMS Initiated&lt;br /&gt;
**Mobile Originating USSD Initiated&lt;br /&gt;
**Mobile Originating SS Initiated&amp;lt;br&amp;gt;On the events above, the 'address' and 'subaddress' parameters can be altered.&lt;br /&gt;
*Notifications:&amp;lt;br&amp;gt;We can receive notifications for the following events.&amp;lt;br&amp;gt;NOTE: We can not alter the event flow. Eg. We can not keep the call alive if we received call terminated event.&lt;br /&gt;
**Call Connected&lt;br /&gt;
**Call Terminated&lt;br /&gt;
*Requests - We can make the following requests:&lt;br /&gt;
**Set Up Call&lt;br /&gt;
**Send DTMF&lt;br /&gt;
*Parameters:&amp;lt;br&amp;gt;The following parameters can be provided, can be altered or are provided by the terminal.&lt;br /&gt;
**Address&amp;lt;br&amp;gt;The called party address. Details on TS 31.111 chapter 8.1&lt;br /&gt;
**Subaddress&amp;lt;br&amp;gt;The called party subaddress. Details on TS 31.111 chapter  8.3&lt;br /&gt;
&lt;br /&gt;
====Browsing====&lt;br /&gt;
Open a SIM provided URL in phone's default browser.&lt;br /&gt;
*Standard: Details can be fond in TS 102 223.&lt;br /&gt;
*Terminal: This should work in a class C terminal.&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&amp;lt;br&amp;gt;We are notified when one of the following events occures:&lt;br /&gt;
**Status&amp;lt;br&amp;gt;Received when the browser receives a distant error from the network.&lt;br /&gt;
**Terminated&amp;lt;br&amp;gt;Received when the browser is terminated.&lt;br /&gt;
*Requests:&lt;br /&gt;
**Lunch Browser&amp;lt;br&amp;gt;Ask a terminal to open a browser with the provided URL.&lt;br /&gt;
&lt;br /&gt;
====Access Technology====&lt;br /&gt;
Notification sent from the phone to inform about the access technology 2g/3g&lt;br /&gt;
*Standard Details can be found in TS 102 223&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Changed&amp;lt;br&amp;gt;The access technology has changed from 2g/3g.&lt;br /&gt;
&lt;br /&gt;
====Card Reader====&lt;br /&gt;
Get events and perform actions on an additional card reader, &lt;br /&gt;
*Standard: Details can be found in TS 102 223&lt;br /&gt;
*Terminal Class A is required&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Status&amp;lt;br&amp;gt;Notification that a card was inserted or removed; or a card reader is available or unavailable.&lt;br /&gt;
*Requests:&lt;br /&gt;
**Power ON Card&amp;lt;br&amp;gt;Start a session with an additional card.&lt;br /&gt;
**Power OFF Card&amp;lt;br&amp;gt;Stop a session with an additional card.&lt;br /&gt;
**Perform Card APDU&amp;lt;br&amp;gt;Send an APDU command to an additional card.&lt;br /&gt;
**Get Reader Status&amp;lt;br&amp;gt;Request to the terminal to provide additional information about additional card readers.&lt;br /&gt;
&lt;br /&gt;
====Data====&lt;br /&gt;
The following events and requests are available for data exchange.&lt;br /&gt;
*Standard: more documentation can be found in TS 102 223&lt;br /&gt;
*Status: In testing but no compatible device found!&lt;br /&gt;
*Terminal class E is required&lt;br /&gt;
*Events:&lt;br /&gt;
**Data available&amp;lt;br&amp;gt;Notification from the terminal that data has arrived from the network.&lt;br /&gt;
**Channel Status&amp;lt;br&amp;gt;Notification from the terminal that the channel status is changed.&lt;br /&gt;
*Requests&lt;br /&gt;
**Open Channel&amp;lt;br&amp;gt;Request to open a channel.&lt;br /&gt;
**Send Data&amp;lt;br&amp;gt;Request to send data on a open channel.&lt;br /&gt;
**Receive Data&amp;lt;br&amp;gt;Request to receive data on a open channel.&lt;br /&gt;
**Close Channel&amp;lt;br&amp;gt;Request to close a open channel.&lt;br /&gt;
&lt;br /&gt;
====User Interface====&lt;br /&gt;
The following events and request are related to user interface.&lt;br /&gt;
*Standard details can be found in standard TS 102 223&lt;br /&gt;
*Status: Most of them were tested.&lt;br /&gt;
*Events:&lt;br /&gt;
**Display Parameter Change&amp;lt;br&amp;gt;Notification from the terminal when the screen is resized.&lt;br /&gt;
**Frames Information Changed&amp;lt;br&amp;gt;Notification from the terminal when the frames are resized.&amp;lt;br&amp;gt;Requires terminal class I.&lt;br /&gt;
**Idle screen available&amp;lt;br&amp;gt;Notification from the terminal that the screen is idle.&lt;br /&gt;
**User activity&amp;lt;br&amp;gt;Notification from the terminal when the the user is interacting with the terminal.&amp;lt;br&amp;gt;This event is received only once after it was requested.&lt;br /&gt;
**Menu Selection&amp;lt;br&amp;gt;Notification from the terminal when the user has selected a menu item.&lt;br /&gt;
**Menu Selection Help Request&amp;lt;br&amp;gt;Notification from the terminal when the user requested help information on a menu.&lt;br /&gt;
*Requests:&lt;br /&gt;
**Get Input&amp;lt;br&amp;gt;Prompt the user to insert a text.&lt;br /&gt;
**Get InKey&amp;lt;br&amp;gt;Prompt the user to insert a key.&lt;br /&gt;
**Display Text&amp;lt;br&amp;gt;Prompt a text to the user.&lt;br /&gt;
**Set Up Menu&amp;lt;br&amp;gt;Prompt a menu to the user.&lt;br /&gt;
**Select Item&amp;lt;br&amp;gt;Provide a list of options to the user and instruct him to select one.&lt;br /&gt;
**Set Up Idle Mode Text&amp;lt;br&amp;gt;Instruct the terminal to show the provided text when it is in idle mode.&lt;br /&gt;
**Set Frames&amp;lt;br&amp;gt;Set the number of frames in which the terminal should devide its screen.&amp;lt;br&amp;gt;Requires terminal class I&lt;br /&gt;
**Get Frame Status&amp;lt;br&amp;gt;Get the parameters of a frame.&amp;lt;br&amp;gt;Requires terminal class I&lt;br /&gt;
&lt;br /&gt;
====SMS====&lt;br /&gt;
SMS related procedures.&lt;br /&gt;
*Standard details can be found in standard TS 131 111&lt;br /&gt;
*Status: Not tested yet&lt;br /&gt;
*Events:&amp;lt;br&amp;gt; Only OTA SMS are sent by the terminal to the SIM. Mobile Terminated SMS can not be intercepted by the SIM card.&lt;br /&gt;
**SMS-Point to Point Data Download unformatted&lt;br /&gt;
**SMS-Point to Point Data Download formatted&lt;br /&gt;
**SMS-Cell Broadcast Data Download formatted&lt;br /&gt;
**SMS-Cell Broadcast Data Download unformatted&lt;br /&gt;
*Requests:&lt;br /&gt;
**Send Short Message&amp;lt;br&amp;gt;Send a short message to the network.&lt;br /&gt;
*Parameters&lt;br /&gt;
**Address&amp;lt;br&amp;gt;The destination address.&lt;br /&gt;
**SMS TPDU&lt;br /&gt;
&lt;br /&gt;
====SS====&lt;br /&gt;
Supplementary Services events and requests. &lt;br /&gt;
*Standard Details can be found in TS 131 111&lt;br /&gt;
*Terminal class P is required for USSD Data Download. All other operations should work on any device.&lt;br /&gt;
*Status: Send USSD tested.&lt;br /&gt;
*Events:&lt;br /&gt;
**USSD Data Download formatted&amp;lt;br&amp;gt;Requires class P&lt;br /&gt;
**USSD Data Download unformatted&amp;lt;br&amp;gt;Requires class P&lt;br /&gt;
*Requests:&lt;br /&gt;
**Send SS&amp;lt;br&amp;gt;Send a Supplementary Service request to the network.&lt;br /&gt;
**Send USSD&amp;lt;br&amp;gt;Send a USSD Request to the network. Only the last response arrives in the SIM card. If the USSD request requires a menu USSD session, the user interaction will me required.&lt;br /&gt;
*Parameters&lt;br /&gt;
**SS String&lt;br /&gt;
**USSD String&lt;br /&gt;
&lt;br /&gt;
====IMS====&lt;br /&gt;
The following events are dedicated for IMS.&lt;br /&gt;
*Standard: Details can be found in TS 131 111&lt;br /&gt;
*Terminal class E + T&lt;br /&gt;
*Events&lt;br /&gt;
**Download IMS Registration.&amp;lt;br&amp;gt;Notification from the terminal to download the IMS registration message.&lt;br /&gt;
**Download Incoming IMS Data.&amp;lt;br&amp;gt;Notification from the terminal to download the incomming IMS message.&lt;br /&gt;
*Parameters&lt;br /&gt;
**IARI&lt;br /&gt;
**IMPU List&lt;br /&gt;
**IMS status code&lt;br /&gt;
&lt;br /&gt;
====Terminal====&lt;br /&gt;
Terminal related events and requests.&lt;br /&gt;
*Standard: details can be found in TS 102 223 and TS 131 111&lt;br /&gt;
*Events&lt;br /&gt;
**Location Status&amp;lt;br&amp;gt;Notification from the terminal that it has changed its location.&amp;lt;br&amp;gt;Status: tested&amp;lt;br&amp;gt;Parameters:&lt;br /&gt;
***Location Status: details can be found in TS 102.223 8.27&lt;br /&gt;
***Location Information: details can be found in TS 102.223 8.19&lt;br /&gt;
**Language Selection&amp;lt;br&amp;gt;Notification from the terminal that the current used language has changed.&lt;br /&gt;
**Network Reject&amp;lt;br&amp;gt;Notification from the terminal that the network has rejected a request.&lt;br /&gt;
**Timer expiration&amp;lt;br&amp;gt;Notification from the terminal that a requested timer has expired.&lt;br /&gt;
*Requests&lt;br /&gt;
**Provide Local Information&amp;lt;br&amp;gt;Request to the terminal to provide location information.&lt;br /&gt;
***the mobile country code (MCC), mobile network code (MNC), location area code/tracking area code (LAC/TAC) and cell ID of the current serving cell;&amp;lt;br&amp;gt;NOTE: For UTRAN the cell ID returned in terminal response is the last known cell ID which may not be the current serving cell, when the ME is on a dedicated channel.&lt;br /&gt;
***the IMEI or IMEISV of the ME;&lt;br /&gt;
***the Network Measurement Results (and the BCCH channel list if connected to GERAN);&lt;br /&gt;
***the current date, time and time zone;&lt;br /&gt;
***the current ME language setting;&lt;br /&gt;
***the Timing Advance, suitable only for GERAN;&lt;br /&gt;
***the current access technology;&lt;br /&gt;
***the current network search mode;&lt;br /&gt;
***the charge state of the battery (if class &amp;quot;g&amp;quot; is supported);&lt;br /&gt;
***the WSID of the current I-WLAN connection;&lt;br /&gt;
***The CSG ID list and corresponding HNB names (if available in the broadcasted information to the ME) of detected CSG or Hybrid cells in the Allowed CSG list or the Operator CSG list (if class &amp;quot;q&amp;quot; is supported);&lt;br /&gt;
***The H(e)NB IP address. (if class &amp;quot;v&amp;quot; is supported);&lt;br /&gt;
***The list of location information for surrounding macrocells (if class &amp;quot;w&amp;quot; is supported).&lt;br /&gt;
&lt;br /&gt;
**Language Notification&amp;lt;br&amp;gt;Inform the terminal what language will be used in this session.&lt;br /&gt;
**Geographical Location Request&amp;lt;br&amp;gt;Ask the terminal to provide advanced geographical location.&amp;lt;br&amp;gt;Terminal type N is required.&lt;br /&gt;
**More Time&amp;lt;br&amp;gt;Request to terminal for more processing time. &lt;br /&gt;
**Refresh&amp;lt;br&amp;gt;Request to terminal to reinitialize SIM card.&lt;br /&gt;
**Timer Management&amp;lt;br&amp;gt;Request to the terminal to emit a timer event after the specified time interval.&lt;br /&gt;
&lt;br /&gt;
====Service====&lt;br /&gt;
Commands dedicated for terminal services.&lt;br /&gt;
*Standard: details can be found in TS 102 223&lt;br /&gt;
*Status: not tested&lt;br /&gt;
*Terminal class F is required.&lt;br /&gt;
*Requests:&amp;lt;br&amp;gt;The following requests are available:&lt;br /&gt;
**Declare Service&amp;lt;br&amp;gt;Inform the terminal about a service supported by the SIM.&lt;br /&gt;
**Search Service&amp;lt;br&amp;gt;Search for a specific service in terminal's database.&lt;br /&gt;
**Get Service Information&amp;lt;br&amp;gt;Request to the terminal to provide information about a specific service.&lt;br /&gt;
&lt;br /&gt;
====MMS====&lt;br /&gt;
MMS Related requests.&lt;br /&gt;
*Standard details can be found in TS 102 223&lt;br /&gt;
*Status: not tested&lt;br /&gt;
*Terminal class J required&lt;br /&gt;
*Requests:&lt;br /&gt;
**Retreive MMS&amp;lt;br&amp;gt;Request the terminal to retreive the MMS from the network with the given MMS message reference.&lt;br /&gt;
**Submit MMS&amp;lt;br&amp;gt;Request to terminal to submit the specified MM to the network.&lt;br /&gt;
**Display MMS&amp;lt;br&amp;gt;Request to terminal to display a MMS.&lt;br /&gt;
&lt;br /&gt;
===Card File System===&lt;br /&gt;
&lt;br /&gt;
====USIM File System====&lt;br /&gt;
Extracted from standard TS 131.102.&lt;br /&gt;
*Language Indication&lt;br /&gt;
*IMSI&lt;br /&gt;
*Ciphering and Integrity Keys&lt;br /&gt;
*Ciphering and Integrity Keys for Packet Switched domain&lt;br /&gt;
*User controlled PLMN selector with Access Technology&lt;br /&gt;
*Higher Priority PLMN search period&lt;br /&gt;
*ACM maximum value&lt;br /&gt;
*USIM Service Table&lt;br /&gt;
*Accumulated Call Meter&lt;br /&gt;
*Group Identifier Level 1&lt;br /&gt;
*Group Identifier Level 2&lt;br /&gt;
*Service Provider Name&lt;br /&gt;
*Price per Unit and Currency Table&lt;br /&gt;
*Cell Broadcast Message identifier selection&lt;br /&gt;
*Access Control Class&lt;br /&gt;
*Forbidden PLMNs&lt;br /&gt;
*Location Information&lt;br /&gt;
*Administrative Data&lt;br /&gt;
*Cell Broadcast Message Identifier for Data Download&lt;br /&gt;
*Emergency Call Codes&lt;br /&gt;
*Cell Broadcast Message Identifier Range selection&lt;br /&gt;
*Packet Switched location information&lt;br /&gt;
*Fixed Dialling Numbers&lt;br /&gt;
*Short messages&lt;br /&gt;
*MSISDN&lt;br /&gt;
*Short message service parameters&lt;br /&gt;
*SMS status&lt;br /&gt;
*Service Dialling Numbers&lt;br /&gt;
*Extension2&lt;br /&gt;
*Extension3&lt;br /&gt;
*Short message status reports&lt;br /&gt;
*Incoming Call Information&lt;br /&gt;
*Outgoing Call Information&lt;br /&gt;
*Incoming Call Timer&lt;br /&gt;
*Outgoing Call Timer&lt;br /&gt;
*Extension5&lt;br /&gt;
*Capability Configuration Parameters 2&lt;br /&gt;
*enhanced Multi Level Precedence and Pre-emption&lt;br /&gt;
*Automatic Answer for eMLPP Service&lt;br /&gt;
*Key for hidden phone book entries&lt;br /&gt;
*Barred Dialling Numbers&lt;br /&gt;
*Extension4&lt;br /&gt;
*Comparison Method Information&lt;br /&gt;
*Enabled Services Table&lt;br /&gt;
*Access Point Name Control List&lt;br /&gt;
*Depersonalisation Control Keys&lt;br /&gt;
*Co-operative Network List&lt;br /&gt;
*Initialisation values for Hyperframe number&lt;br /&gt;
*Maximum value of START&lt;br /&gt;
*Operator controlled PLMN selector with Access Technology&lt;br /&gt;
*HPLMN selector with Access Technology&lt;br /&gt;
*Access Rule Reference&lt;br /&gt;
*Network Parameters&lt;br /&gt;
*PLMN Network Name&lt;br /&gt;
*Operator PLMN List&lt;br /&gt;
*Mailbox Dialling Numbers&lt;br /&gt;
*Extension6&lt;br /&gt;
*Mailbox Identifier&lt;br /&gt;
*Message Waiting Indication Status&lt;br /&gt;
*Call Forwarding Indication Status&lt;br /&gt;
*Extension7&lt;br /&gt;
*Service Provider Display Information&lt;br /&gt;
*MMS Notification&lt;br /&gt;
*Extension 8&lt;br /&gt;
*MMS Issuer Connectivity Parameters&lt;br /&gt;
*MMS User Preferences&lt;br /&gt;
*MMS User Connectivity Parameters&lt;br /&gt;
*Network's Indication of Alerting&lt;br /&gt;
*Voice Group Call Service&lt;br /&gt;
*Voice Group Call Service Status&lt;br /&gt;
*Voice Broadcast Service&lt;br /&gt;
*Voice Broadcast Service Status&lt;br /&gt;
&lt;br /&gt;
===Terminal profile===&lt;br /&gt;
====Description====&lt;br /&gt;
The terminal can be interrogated about which functions it supports.&lt;br /&gt;
#First byte (Download):&lt;br /&gt;
##Profile download&lt;br /&gt;
##SMS-PP data download&lt;br /&gt;
##Cell Broadcast data download)&lt;br /&gt;
##Menu selection&lt;br /&gt;
##SMS-PP data download&lt;br /&gt;
##Timer expiration&lt;br /&gt;
##USSD string data object support in Call Control by USIM&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
#Second byte (Other):&lt;br /&gt;
##Command result&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
##Call Control by NAA &lt;br /&gt;
##MO short message control support&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
##UCS2 Entry supported&lt;br /&gt;
##UCS2 Display supported&lt;br /&gt;
##Display Text&lt;br /&gt;
#Third byte (Proactive UICC):&lt;br /&gt;
##DISPLAY TEXT&lt;br /&gt;
##GET INKEY&lt;br /&gt;
##GET INPUT&lt;br /&gt;
##MORE TIME&lt;br /&gt;
##PLAY TONE&lt;br /&gt;
##POLL INTERVAL&lt;br /&gt;
##POLLING OFF&lt;br /&gt;
##REFRESH&lt;br /&gt;
#Fourth byte (Proactive UICC):&lt;br /&gt;
##Proactive UICC: SELECT ITEM&lt;br /&gt;
##Proactive UICC: SEND SHORT MESSAGE with 3GPP-SMS-TPDU&lt;br /&gt;
##Proactive UICC: SEND SS&lt;br /&gt;
##Proactive UICC:SEND USSD&lt;br /&gt;
##Proactive UICC: SET UP CALL&lt;br /&gt;
##Proactive UICC: SET UP MENU&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (MCC, MNC,LAC, Cell ID &amp;amp; IMEI)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (NMR)&lt;br /&gt;
#Fifth byte (Event driven information):&lt;br /&gt;
##Proactive UICC: SET UP EVENT LIST&lt;br /&gt;
##Event: MT call&lt;br /&gt;
##Event: Call connected&lt;br /&gt;
##Event: Call disconnected&lt;br /&gt;
##Event: Location status&lt;br /&gt;
##Event: User activity&lt;br /&gt;
##Event: Idle screen available&lt;br /&gt;
##Event: Card reader status&lt;br /&gt;
#Sixth byte (Event driven information extensions):&lt;br /&gt;
##Language selection&lt;br /&gt;
##Browser Termination&lt;br /&gt;
##Data available&lt;br /&gt;
##Channel status&lt;br /&gt;
##Access Technology Change&lt;br /&gt;
##Display parameters changed&lt;br /&gt;
##Local Connection&lt;br /&gt;
##Network Search Mode Change&lt;br /&gt;
#Seventh byte (Multiple card proactive commands) for class &amp;quot;a&amp;quot;:&lt;br /&gt;
##POWER ON CARD&lt;br /&gt;
##POWER OFF CARD&lt;br /&gt;
##PERFORM CARD APDU&lt;br /&gt;
##GET READER STATUS (Card reader status)&lt;br /&gt;
##GET READER STATUS (Card reader Identifier)&lt;br /&gt;
##RFU&lt;br /&gt;
#Eighth byte (Proactive UICC):&lt;br /&gt;
##Proactive UICC: TIMER MANAGEMENT (start, stop)&lt;br /&gt;
##Proactive UICC: TIMER MANAGEMENT (get current value)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (date, time and time zone)&lt;br /&gt;
##GET INKEY&lt;br /&gt;
##SET UP IDLE MODE TEXT&lt;br /&gt;
##RUN AT COMMAND (i.e. class &amp;quot;b&amp;quot; is supported)&lt;br /&gt;
##SETUP CALL&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
#Ninth byte:&lt;br /&gt;
##DISPLAY TEXT&lt;br /&gt;
##SEND DTMF command&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (language)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION, Timing Advance&lt;br /&gt;
##Proactive UICC: LANGUAGE NOTIFICATION&lt;br /&gt;
##Proactive UICC: LAUNCH BROWSER&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Access Technology)&lt;br /&gt;
#Tenth byte (Soft keys support) for class &amp;quot;d&amp;quot;:&lt;br /&gt;
##Soft keys support for SELECT ITEM&lt;br /&gt;
##Soft Keys support for SET UP MENU&lt;br /&gt;
##RFU&lt;br /&gt;
#Eleventh byte (Soft keys information):&lt;br /&gt;
##Maximum number of soft keys available 'FF' value is reserved for future use&lt;br /&gt;
#Twelfth byte:&lt;br /&gt;
##OPEN CHANNEL&lt;br /&gt;
##CLOSE CHANNEL&lt;br /&gt;
##RECEIVE DATA&lt;br /&gt;
##SEND DATA&lt;br /&gt;
##GET CHANNEL STATUS&lt;br /&gt;
##SERVICE SEARCH&lt;br /&gt;
##GET SERVICE INFORMATION&lt;br /&gt;
##DECLARE SERVICE&lt;br /&gt;
#Thirteenth byte:&lt;br /&gt;
##CSD&lt;br /&gt;
##GPRS&lt;br /&gt;
##Bluetooth&lt;br /&gt;
##IrDA&lt;br /&gt;
##RS232&lt;br /&gt;
##b6,b7,b8 - Number of channels supported by terminal&lt;br /&gt;
#Fourteenth byte (Screen height):&lt;br /&gt;
##b1 - b4 - Number of characters supported down the terminal display as defined in clause 5.3.1&lt;br /&gt;
##No display capability (i.e class &amp;quot;ND&amp;quot; is indicated)&lt;br /&gt;
##No keypad available (i.e. class &amp;quot;NK&amp;quot; is indicated)&lt;br /&gt;
##Screen Sizing Parameters supported as defined inclause 5.3&lt;br /&gt;
#Fifteenth byte (Screen width):&lt;br /&gt;
##b1-b7 - Number of characters supported across the terminal display as defined in clause 5.3.2&lt;br /&gt;
##Variable size fonts&lt;br /&gt;
#Sixteenth byte (Screen effects):&lt;br /&gt;
##Display can be resized as defined in clause 5.3.3&lt;br /&gt;
##Text Wrapping supported as defined in clause 5.3.4&lt;br /&gt;
##Text Scrolling supported as defined in clause 5.3.5&lt;br /&gt;
##Text Attributes supported as defined in clause 5.3.7&lt;br /&gt;
##b5 - RFU&lt;br /&gt;
##b6 - b8 - Width reduction when in a menu as defined in clause 5.3.6&lt;br /&gt;
#Seventeenth byte:&lt;br /&gt;
##TCP, UICC in client mode, remote connection&lt;br /&gt;
##UDP, UICC in client mode, remote connection&lt;br /&gt;
##TCP, UICC in server mode&lt;br /&gt;
##TCP, UICC in client mode, local connection (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##UDP, UICC in client mode, local connection (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
##E-UTRAN (if class &amp;quot;e&amp;quot; issupported))&lt;br /&gt;
##HSDPA (if class &amp;quot;e&amp;quot; is supported))&lt;br /&gt;
#Eighteenth byte:&lt;br /&gt;
##Proactive UICC: DISPLAY TEXT (Variable Time out)&lt;br /&gt;
##Proactive UICC: GET INKEY (help is supported while waiting for immediate response or variable timeout)&lt;br /&gt;
##USB&lt;br /&gt;
##Proactive UICC: GET INKEY (Variable Timeout)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (ESN)&lt;br /&gt;
##Call control on GPRS&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (IMEISV)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Search Mode change)&lt;br /&gt;
#Nineteenth byte (reserved for TIA/EIA-136-C facilities [25]):&lt;br /&gt;
##Reserved by TIA/EIA-136 [25] (Protocol Version support)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twentieth byte (reserved for TIA/EIA/IS-820-A facilities [17]):&lt;br /&gt;
##Reserved by TIA/EIA/IS-820 [17]&lt;br /&gt;
#Twenty-first byte (Extended Launch Browser Capability) for class &amp;quot;c&amp;quot;:&lt;br /&gt;
##WML&lt;br /&gt;
##XHTML&lt;br /&gt;
##HTML&lt;br /&gt;
##CHTML&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-second byte:&lt;br /&gt;
##Support of UTRAN PS with extended parameters&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION(battery state), (i.e. class &amp;quot;g&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PLAY TONE (Melody tones and Themed tones supported)&lt;br /&gt;
##Multi-media Calls in SET UP CALL (if class h supported)&lt;br /&gt;
##Reserved by 3GPP (Toolkit-initiated GBA)&lt;br /&gt;
##Proactive UICC: RETRIEVE MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: SUBMIT MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: DISPLAY MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
#Twenty third byte:&lt;br /&gt;
##Proactive UICC: SET FRAMES (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: GET FRAMES STATUS (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##MMS notification download (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Alpha Identifier in REFRESH command supported by terminal&lt;br /&gt;
##Geographical Location Reporting (if class &amp;quot;n&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (MEID)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (NMR(UTRAN))&lt;br /&gt;
##USSD Data download and application mode&lt;br /&gt;
#Twenty fourth byte for class &amp;quot;i&amp;quot;:&lt;br /&gt;
##b1-b4 - Maximum number of frames supported (including frames created in existing frames)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-fifth byte (Event driven information extensions):&lt;br /&gt;
##Event: Browsing status&lt;br /&gt;
##Event: MMS Transfer status (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Event: Frame Parameters changed (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##Event: I-WLAN Access status (if class &amp;quot;e&amp;quot; is supported)&lt;br /&gt;
##Event Network Rejection&lt;br /&gt;
##Event: HCI connectivity event (i.e. class &amp;quot;m&amp;quot; is supported)&lt;br /&gt;
##Reserved by 3GPP (E-UTRAN support in Event Network Rejection)&lt;br /&gt;
##Multiple access technologies supported in Event&lt;br /&gt;
##Access Technology Change and PROVIDE LOCAL INFORMATION &amp;lt;br&amp;gt;If bit &amp;quot;Multiple access technologies supported&amp;quot; is set to 1, it applies to the Event Access Technology Change if supported and all relevant modes of proactive command PROVIDE  LOCAL INFORMATION that are supported.&lt;br /&gt;
#Twenty-sixth byte (Event driven information extensions):&lt;br /&gt;
##RFU, bit = 0 (for future event indication)&lt;br /&gt;
#Twenty-seventh byte (Event driven information extensions):&lt;br /&gt;
##RFU, bit = 0 (for future event indication)&lt;br /&gt;
#Twenty-eighth byte (Text attributes):&lt;br /&gt;
##Alignment left supported by Terminal&lt;br /&gt;
##Alignment centre supported by Terminal&lt;br /&gt;
##Alignment right supported by Terminal&lt;br /&gt;
##Font size normal supported by Terminal&lt;br /&gt;
##Font size large supported by Terminal&lt;br /&gt;
##Font size small supported by Terminal&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-ninth byte (Text attributes):&lt;br /&gt;
##Style normal supported by Terminal&lt;br /&gt;
##Style bold supported by Terminal&lt;br /&gt;
##Style italic supported by Terminal&lt;br /&gt;
##Style underlined supported by Terminal&lt;br /&gt;
##Style strikethrough supported by Terminal&lt;br /&gt;
##Style text foreground colour supported by Terminal&lt;br /&gt;
##Style text background colour supported by Terminal&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Thirtieth byte:&lt;br /&gt;
##I-WLAN bearer support (if class &amp;quot;e&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (WSID of the current I-WLAN connection)&lt;br /&gt;
##TERMINAL APPLICATIONS (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##Steering of Roaming REFRESH support&lt;br /&gt;
##Proactive UICC: ACTIVATE (i.e class &amp;quot;l&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: GEOGRAPHICAL LOCATION REQUEST (if class &amp;quot;n&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Broadcast Network Information) (i.e. class &amp;quot;o&amp;quot; is supported)&lt;br /&gt;
##Steering of Roaming for I-WLAN REFRESH support&lt;br /&gt;
&lt;br /&gt;
====Values====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center;&amp;quot;&lt;br /&gt;
|Phone Type||B1||B2||B3||B4||B5||B6||B7||B8||B9||B10||B11||B12||B13||B14||B15||B16||B17||B18||B19||B20||B21||B22||B23||B24||B25||B26||B27||B28||B29||B30&lt;br /&gt;
|-&lt;br /&gt;
|Samsung Galaxy Express||ff||ff||ff||ff||7f||9d||00||df||bf||00||00||1f||e2||00||00||00||c3||6b||00||07||00||00||40||00||50||00||00||00||00||08&lt;br /&gt;
|-&lt;br /&gt;
|Samsung Galaxy Note 3||ff||ff||ff||ff||7f||9d||00||df||bf||00||00||1f||e2||00||00||00||c3||6b||00||07||00||00||40||00||50||00||00||00||00||08&lt;br /&gt;
|-&lt;br /&gt;
|HTC One X+||ff||ff||ff||ff||7f||1d||00||df||b7||03||02||1f||22||00||00||00||83||00||00||00||00||00||40||10||00||00||00||00||00||00&lt;br /&gt;
|-&lt;br /&gt;
|IPhone 4||ff||ff||ff||ff||7f||91||00||df||bf||00||00||00||00||00||00||00||00||f0||00||03||00||00||60||00||50||00||00||00||00||00&lt;br /&gt;
|-&lt;br /&gt;
|Nokia E72||ff||ff||ff||ff||7f||1d||00||df||bf||00||00||17||e2||05||0f||00||03||09||00||00||00||00||00||00||00||00||00||00||00||00&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Andrei</name></author>	</entry>

	<entry>
		<id>https://ss7api.null.ro/index.php/SIM_Cards</id>
		<title>SIM Cards</title>
		<link rel="alternate" type="text/html" href="https://ss7api.null.ro/index.php/SIM_Cards"/>
				<updated>2014-03-06T11:05:27Z</updated>
		
		<summary type="html">&lt;p&gt;Andrei: /* Data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
===SIM Events===&lt;br /&gt;
&lt;br /&gt;
====Call Related Events and Requests====&lt;br /&gt;
The following events are received by the SIM card when a call is made.&lt;br /&gt;
*Standard: Details can be found in standard TS 31.111&lt;br /&gt;
*Terminal Class: This events should work in all terminals.&lt;br /&gt;
*Status: Tests were made successfully for Mobile Originating Calls&lt;br /&gt;
*Events:&amp;lt;br&amp;gt;The SIM is notified on the following events:&lt;br /&gt;
**Mobile Originating Call Initiated&lt;br /&gt;
**Mobile Originating SMS Initiated&lt;br /&gt;
**Mobile Originating USSD Initiated&lt;br /&gt;
**Mobile Originating SS Initiated&amp;lt;br&amp;gt;On the events above, the 'address' and 'subaddress' parameters can be altered.&lt;br /&gt;
*Notifications:&amp;lt;br&amp;gt;We can receive notifications for the following events.&amp;lt;br&amp;gt;NOTE: We can not alter the event flow. Eg. We can not keep the call alive if we received call terminated event.&lt;br /&gt;
**Call Connected&lt;br /&gt;
**Call Terminated&lt;br /&gt;
*Requests - We can make the following requests:&lt;br /&gt;
**Set Up Call&lt;br /&gt;
**Send DTMF&lt;br /&gt;
*Parameters:&amp;lt;br&amp;gt;The following parameters can be provided, can be altered or are provided by the terminal.&lt;br /&gt;
**Address&amp;lt;br&amp;gt;The called party address. Details on TS 31.111 chapter 8.1&lt;br /&gt;
**Subaddress&amp;lt;br&amp;gt;The called party subaddress. Details on TS 31.111 chapter  8.3&lt;br /&gt;
&lt;br /&gt;
====Browsing====&lt;br /&gt;
Open a SIM provided URL in phone's default browser.&lt;br /&gt;
*Standard: Details can be fond in TS 102 223.&lt;br /&gt;
*Terminal: This should work in a class C terminal.&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&amp;lt;br&amp;gt;We are notified when one of the following events occures:&lt;br /&gt;
**Status&amp;lt;br&amp;gt;Received when the browser receives a distant error from the network.&lt;br /&gt;
**Terminated&amp;lt;br&amp;gt;Received when the browser is terminated.&lt;br /&gt;
*Requests:&lt;br /&gt;
**Lunch Browser&amp;lt;br&amp;gt;Ask a terminal to open a browser with the provided URL.&lt;br /&gt;
&lt;br /&gt;
====Access Technology====&lt;br /&gt;
Notification sent from the phone to inform about the access technology 2g/3g&lt;br /&gt;
*Standard Details can be found in TS 102 223&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Changed&amp;lt;br&amp;gt;The access technology has changed from 2g/3g.&lt;br /&gt;
&lt;br /&gt;
====Card Reader====&lt;br /&gt;
Get events and perform actions on an additional card reader, &lt;br /&gt;
*Standard: Details can be found in TS 102 223&lt;br /&gt;
*Terminal Class A is required&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Status&amp;lt;br&amp;gt;Notification that a card was inserted or removed; or a card reader is available or unavailable.&lt;br /&gt;
*Requests:&lt;br /&gt;
**Power ON Card&amp;lt;br&amp;gt;Start a session with an additional card.&lt;br /&gt;
**Power OFF Card&amp;lt;br&amp;gt;Stop a session with an additional card.&lt;br /&gt;
**Perform Card APDU&amp;lt;br&amp;gt;Send an APDU command to an additional card.&lt;br /&gt;
**Get Reader Status&amp;lt;br&amp;gt;Request to the terminal to provide additional information about additional card readers.&lt;br /&gt;
&lt;br /&gt;
====Data====&lt;br /&gt;
The following events and requests are available for data exchange.&lt;br /&gt;
*Standard: more documentation can be found in TS 102 223&lt;br /&gt;
*Status: In testing but no compatible device found!&lt;br /&gt;
*Terminal class E is required&lt;br /&gt;
*Events:&lt;br /&gt;
**Data available&amp;lt;br&amp;gt;Notification from the terminal that data has arrived from the network.&lt;br /&gt;
**Channel Status&amp;lt;br&amp;gt;Notification from the terminal that the channel status is changed.&lt;br /&gt;
*Requests&lt;br /&gt;
**Open Channel&amp;lt;br&amp;gt;Request to open a channel.&lt;br /&gt;
**Send Data&amp;lt;br&amp;gt;Request to send data on a open channel.&lt;br /&gt;
**Receive Data&amp;lt;br&amp;gt;Request to receive data on a open channel.&lt;br /&gt;
**Close Channel&amp;lt;br&amp;gt;Request to close a open channel.&lt;br /&gt;
&lt;br /&gt;
====User Interface====&lt;br /&gt;
The following events and request are related to user interface.&lt;br /&gt;
*Standard details can be found in standard TS 102 223&lt;br /&gt;
*Status: Most of them were tested.&lt;br /&gt;
*Events:&lt;br /&gt;
**Display Parameter Change&amp;lt;br&amp;gt;Notification from the terminal when the screen is resized.&lt;br /&gt;
**Frames Information Changed&amp;lt;br&amp;gt;Notification from the terminal when the frames are resized.&amp;lt;br&amp;gt;Requires terminal class I.&lt;br /&gt;
**Idle screen available&amp;lt;br&amp;gt;Notification from the terminal that the screen is idle.&lt;br /&gt;
**User activity&amp;lt;br&amp;gt;Notification from the terminal when the the user is interacting with the terminal.&amp;lt;br&amp;gt;This event is received only once after it was requested.&lt;br /&gt;
**Menu Selection&amp;lt;br&amp;gt;Notification from the terminal when the user has selected a menu item.&lt;br /&gt;
**Menu Selection Help Request&amp;lt;br&amp;gt;Notification from the terminal when the user requested help information on a menu.&lt;br /&gt;
*Requests:&lt;br /&gt;
**Get Input&amp;lt;br&amp;gt;Prompt the user to insert a text.&lt;br /&gt;
**Get InKey&amp;lt;br&amp;gt;Prompt the user to insert a key.&lt;br /&gt;
**Display Text&amp;lt;br&amp;gt;Prompt a text to the user.&lt;br /&gt;
**Set Up Menu&amp;lt;br&amp;gt;Prompt a menu to the user.&lt;br /&gt;
**Select Item&amp;lt;br&amp;gt;Provide a list of options to the user and instruct him to select one.&lt;br /&gt;
**Set Up Idle Mode Text&amp;lt;br&amp;gt;Instruct the terminal to show the provided text when it is in idle mode.&lt;br /&gt;
**Set Frames&amp;lt;br&amp;gt;Set the number of frames in which the terminal should devide its screen.&amp;lt;br&amp;gt;Requires terminal class I&lt;br /&gt;
**Get Frame Status&amp;lt;br&amp;gt;Get the parameters of a frame.&amp;lt;br&amp;gt;Requires terminal class I&lt;br /&gt;
&lt;br /&gt;
====SMS====&lt;br /&gt;
SMS related procedures.&lt;br /&gt;
*Standard details can be found in standard TS 131 111&lt;br /&gt;
*Status: Not tested yet&lt;br /&gt;
*Events:&amp;lt;br&amp;gt; Only OTA SMS are sent by the terminal to the SIM. Mobile Terminated SMS can not be intercepted by the SIM card.&lt;br /&gt;
**SMS-Point to Point Data Download unformatted&lt;br /&gt;
**SMS-Point to Point Data Download formatted&lt;br /&gt;
**SMS-Cell Broadcast Data Download formatted&lt;br /&gt;
**SMS-Cell Broadcast Data Download unformatted&lt;br /&gt;
*Requests:&lt;br /&gt;
**Send Short Message&amp;lt;br&amp;gt;Send a short message to the network.&lt;br /&gt;
*Parameters&lt;br /&gt;
**Address&amp;lt;br&amp;gt;The destination address.&lt;br /&gt;
**SMS TPDU&lt;br /&gt;
&lt;br /&gt;
====SS====&lt;br /&gt;
Supplementary Services events and requests. &lt;br /&gt;
*Standard Details can be found in TS 131 111&lt;br /&gt;
*Terminal class P is required for USSD Data Download. All other operations should work on any device.&lt;br /&gt;
*Status: Send USSD tested.&lt;br /&gt;
*Events:&lt;br /&gt;
**USSD Data Download formatted&amp;lt;br&amp;gt;Requires class P&lt;br /&gt;
**USSD Data Download unformatted&amp;lt;br&amp;gt;Requires class P&lt;br /&gt;
*Requests:&lt;br /&gt;
**Send SS&amp;lt;br&amp;gt;Send a Supplementary Service request to the network.&lt;br /&gt;
**Send USSD&amp;lt;br&amp;gt;Send a USSD Request to the network. Only the last response arrives in the SIM card. If the USSD request requires a menu USSD session, the user interaction will me required.&lt;br /&gt;
*Parameters&lt;br /&gt;
**SS String&lt;br /&gt;
**USSD String&lt;br /&gt;
&lt;br /&gt;
====IMS====&lt;br /&gt;
The following events are dedicated for IMS.&lt;br /&gt;
*Standard: Details can be found in TS 131 111&lt;br /&gt;
*Terminal class E + T&lt;br /&gt;
*Events&lt;br /&gt;
**Download IMS Registration.&amp;lt;br&amp;gt;Notification from the terminal to download the IMS registration message.&lt;br /&gt;
**Download Incoming IMS Data.&amp;lt;br&amp;gt;Notification from the terminal to download the incomming IMS message.&lt;br /&gt;
*Parameters&lt;br /&gt;
**IARI&lt;br /&gt;
**IMPU List&lt;br /&gt;
**IMS status code&lt;br /&gt;
&lt;br /&gt;
====Terminal====&lt;br /&gt;
Terminal related events and requests.&lt;br /&gt;
*Standard: details can be found in TS 102 223 and TS 131 111&lt;br /&gt;
*Events&lt;br /&gt;
**Location Status&amp;lt;br&amp;gt;Notification from the terminal that it has changed its location.&amp;lt;br&amp;gt;Status: tested&amp;lt;br&amp;gt;Parameters:&lt;br /&gt;
***Location Status: details can be found in TS 102.223 8.27&lt;br /&gt;
***Location Information: details can be found in TS 102.223 8.19&lt;br /&gt;
**Language Selection&amp;lt;br&amp;gt;Notification from the terminal that the current used language has changed.&lt;br /&gt;
**Network Reject&amp;lt;br&amp;gt;Notification from the terminal that the network has rejected a request.&lt;br /&gt;
**Timer expiration&amp;lt;br&amp;gt;Notification from the terminal that a requested timer has expired.&lt;br /&gt;
*Requests&lt;br /&gt;
**Provide Local Information&amp;lt;br&amp;gt;Request to the terminal to provide location information.&lt;br /&gt;
**Language Notification&amp;lt;br&amp;gt;Inform the terminal what language will be used in this session.&lt;br /&gt;
**Geographical Location Request&amp;lt;br&amp;gt;Ask the terminal to provide advanced geographical location.&amp;lt;br&amp;gt;Terminal type N is required.&lt;br /&gt;
**More Time&amp;lt;br&amp;gt;Request to terminal for more processing time. &lt;br /&gt;
**Refresh&amp;lt;br&amp;gt;Request to terminal to reinitialize SIM card.&lt;br /&gt;
**Timer Management&amp;lt;br&amp;gt;Request to the terminal to emit a timer event after the specified time interval.&lt;br /&gt;
&lt;br /&gt;
====Service====&lt;br /&gt;
Commands dedicated for terminal services.&lt;br /&gt;
*Standard: details can be found in TS 102 223&lt;br /&gt;
*Status: not tested&lt;br /&gt;
*Terminal class F is required.&lt;br /&gt;
*Requests:&amp;lt;br&amp;gt;The following requests are available:&lt;br /&gt;
**Declare Service&amp;lt;br&amp;gt;Inform the terminal about a service supported by the SIM.&lt;br /&gt;
**Search Service&amp;lt;br&amp;gt;Search for a specific service in terminal's database.&lt;br /&gt;
**Get Service Information&amp;lt;br&amp;gt;Request to the terminal to provide information about a specific service.&lt;br /&gt;
&lt;br /&gt;
====MMS====&lt;br /&gt;
MMS Related requests.&lt;br /&gt;
*Standard details can be found in TS 102 223&lt;br /&gt;
*Status: not tested&lt;br /&gt;
*Terminal class J required&lt;br /&gt;
*Requests:&lt;br /&gt;
**Retreive MMS&amp;lt;br&amp;gt;Request the terminal to retreive the MMS from the network with the given MMS message reference.&lt;br /&gt;
**Submit MMS&amp;lt;br&amp;gt;Request to terminal to submit the specified MM to the network.&lt;br /&gt;
**Display MMS&amp;lt;br&amp;gt;Request to terminal to display a MMS.&lt;br /&gt;
&lt;br /&gt;
===Card File System===&lt;br /&gt;
&lt;br /&gt;
====USIM File System====&lt;br /&gt;
Extracted from standard TS 131.102.&lt;br /&gt;
*Language Indication&lt;br /&gt;
*IMSI&lt;br /&gt;
*Ciphering and Integrity Keys&lt;br /&gt;
*Ciphering and Integrity Keys for Packet Switched domain&lt;br /&gt;
*User controlled PLMN selector with Access Technology&lt;br /&gt;
*Higher Priority PLMN search period&lt;br /&gt;
*ACM maximum value&lt;br /&gt;
*USIM Service Table&lt;br /&gt;
*Accumulated Call Meter&lt;br /&gt;
*Group Identifier Level 1&lt;br /&gt;
*Group Identifier Level 2&lt;br /&gt;
*Service Provider Name&lt;br /&gt;
*Price per Unit and Currency Table&lt;br /&gt;
*Cell Broadcast Message identifier selection&lt;br /&gt;
*Access Control Class&lt;br /&gt;
*Forbidden PLMNs&lt;br /&gt;
*Location Information&lt;br /&gt;
*Administrative Data&lt;br /&gt;
*Cell Broadcast Message Identifier for Data Download&lt;br /&gt;
*Emergency Call Codes&lt;br /&gt;
*Cell Broadcast Message Identifier Range selection&lt;br /&gt;
*Packet Switched location information&lt;br /&gt;
*Fixed Dialling Numbers&lt;br /&gt;
*Short messages&lt;br /&gt;
*MSISDN&lt;br /&gt;
*Short message service parameters&lt;br /&gt;
*SMS status&lt;br /&gt;
*Service Dialling Numbers&lt;br /&gt;
*Extension2&lt;br /&gt;
*Extension3&lt;br /&gt;
*Short message status reports&lt;br /&gt;
*Incoming Call Information&lt;br /&gt;
*Outgoing Call Information&lt;br /&gt;
*Incoming Call Timer&lt;br /&gt;
*Outgoing Call Timer&lt;br /&gt;
*Extension5&lt;br /&gt;
*Capability Configuration Parameters 2&lt;br /&gt;
*enhanced Multi Level Precedence and Pre-emption&lt;br /&gt;
*Automatic Answer for eMLPP Service&lt;br /&gt;
*Key for hidden phone book entries&lt;br /&gt;
*Barred Dialling Numbers&lt;br /&gt;
*Extension4&lt;br /&gt;
*Comparison Method Information&lt;br /&gt;
*Enabled Services Table&lt;br /&gt;
*Access Point Name Control List&lt;br /&gt;
*Depersonalisation Control Keys&lt;br /&gt;
*Co-operative Network List&lt;br /&gt;
*Initialisation values for Hyperframe number&lt;br /&gt;
*Maximum value of START&lt;br /&gt;
*Operator controlled PLMN selector with Access Technology&lt;br /&gt;
*HPLMN selector with Access Technology&lt;br /&gt;
*Access Rule Reference&lt;br /&gt;
*Network Parameters&lt;br /&gt;
*PLMN Network Name&lt;br /&gt;
*Operator PLMN List&lt;br /&gt;
*Mailbox Dialling Numbers&lt;br /&gt;
*Extension6&lt;br /&gt;
*Mailbox Identifier&lt;br /&gt;
*Message Waiting Indication Status&lt;br /&gt;
*Call Forwarding Indication Status&lt;br /&gt;
*Extension7&lt;br /&gt;
*Service Provider Display Information&lt;br /&gt;
*MMS Notification&lt;br /&gt;
*Extension 8&lt;br /&gt;
*MMS Issuer Connectivity Parameters&lt;br /&gt;
*MMS User Preferences&lt;br /&gt;
*MMS User Connectivity Parameters&lt;br /&gt;
*Network's Indication of Alerting&lt;br /&gt;
*Voice Group Call Service&lt;br /&gt;
*Voice Group Call Service Status&lt;br /&gt;
*Voice Broadcast Service&lt;br /&gt;
*Voice Broadcast Service Status&lt;br /&gt;
&lt;br /&gt;
===Terminal profile===&lt;br /&gt;
====Description====&lt;br /&gt;
The terminal can be interrogated about which functions it supports.&lt;br /&gt;
#First byte (Download):&lt;br /&gt;
##Profile download&lt;br /&gt;
##SMS-PP data download&lt;br /&gt;
##Cell Broadcast data download)&lt;br /&gt;
##Menu selection&lt;br /&gt;
##SMS-PP data download&lt;br /&gt;
##Timer expiration&lt;br /&gt;
##USSD string data object support in Call Control by USIM&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
#Second byte (Other):&lt;br /&gt;
##Command result&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
##Call Control by NAA &lt;br /&gt;
##MO short message control support&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
##UCS2 Entry supported&lt;br /&gt;
##UCS2 Display supported&lt;br /&gt;
##Display Text&lt;br /&gt;
#Third byte (Proactive UICC):&lt;br /&gt;
##DISPLAY TEXT&lt;br /&gt;
##GET INKEY&lt;br /&gt;
##GET INPUT&lt;br /&gt;
##MORE TIME&lt;br /&gt;
##PLAY TONE&lt;br /&gt;
##POLL INTERVAL&lt;br /&gt;
##POLLING OFF&lt;br /&gt;
##REFRESH&lt;br /&gt;
#Fourth byte (Proactive UICC):&lt;br /&gt;
##Proactive UICC: SELECT ITEM&lt;br /&gt;
##Proactive UICC: SEND SHORT MESSAGE with 3GPP-SMS-TPDU&lt;br /&gt;
##Proactive UICC: SEND SS&lt;br /&gt;
##Proactive UICC:SEND USSD&lt;br /&gt;
##Proactive UICC: SET UP CALL&lt;br /&gt;
##Proactive UICC: SET UP MENU&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (MCC, MNC,LAC, Cell ID &amp;amp; IMEI)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (NMR)&lt;br /&gt;
#Fifth byte (Event driven information):&lt;br /&gt;
##Proactive UICC: SET UP EVENT LIST&lt;br /&gt;
##Event: MT call&lt;br /&gt;
##Event: Call connected&lt;br /&gt;
##Event: Call disconnected&lt;br /&gt;
##Event: Location status&lt;br /&gt;
##Event: User activity&lt;br /&gt;
##Event: Idle screen available&lt;br /&gt;
##Event: Card reader status&lt;br /&gt;
#Sixth byte (Event driven information extensions):&lt;br /&gt;
##Language selection&lt;br /&gt;
##Browser Termination&lt;br /&gt;
##Data available&lt;br /&gt;
##Channel status&lt;br /&gt;
##Access Technology Change&lt;br /&gt;
##Display parameters changed&lt;br /&gt;
##Local Connection&lt;br /&gt;
##Network Search Mode Change&lt;br /&gt;
#Seventh byte (Multiple card proactive commands) for class &amp;quot;a&amp;quot;:&lt;br /&gt;
##POWER ON CARD&lt;br /&gt;
##POWER OFF CARD&lt;br /&gt;
##PERFORM CARD APDU&lt;br /&gt;
##GET READER STATUS (Card reader status)&lt;br /&gt;
##GET READER STATUS (Card reader Identifier)&lt;br /&gt;
##RFU&lt;br /&gt;
#Eighth byte (Proactive UICC):&lt;br /&gt;
##Proactive UICC: TIMER MANAGEMENT (start, stop)&lt;br /&gt;
##Proactive UICC: TIMER MANAGEMENT (get current value)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (date, time and time zone)&lt;br /&gt;
##GET INKEY&lt;br /&gt;
##SET UP IDLE MODE TEXT&lt;br /&gt;
##RUN AT COMMAND (i.e. class &amp;quot;b&amp;quot; is supported)&lt;br /&gt;
##SETUP CALL&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
#Ninth byte:&lt;br /&gt;
##DISPLAY TEXT&lt;br /&gt;
##SEND DTMF command&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (language)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION, Timing Advance&lt;br /&gt;
##Proactive UICC: LANGUAGE NOTIFICATION&lt;br /&gt;
##Proactive UICC: LAUNCH BROWSER&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Access Technology)&lt;br /&gt;
#Tenth byte (Soft keys support) for class &amp;quot;d&amp;quot;:&lt;br /&gt;
##Soft keys support for SELECT ITEM&lt;br /&gt;
##Soft Keys support for SET UP MENU&lt;br /&gt;
##RFU&lt;br /&gt;
#Eleventh byte (Soft keys information):&lt;br /&gt;
##Maximum number of soft keys available 'FF' value is reserved for future use&lt;br /&gt;
#Twelfth byte:&lt;br /&gt;
##OPEN CHANNEL&lt;br /&gt;
##CLOSE CHANNEL&lt;br /&gt;
##RECEIVE DATA&lt;br /&gt;
##SEND DATA&lt;br /&gt;
##GET CHANNEL STATUS&lt;br /&gt;
##SERVICE SEARCH&lt;br /&gt;
##GET SERVICE INFORMATION&lt;br /&gt;
##DECLARE SERVICE&lt;br /&gt;
#Thirteenth byte:&lt;br /&gt;
##CSD&lt;br /&gt;
##GPRS&lt;br /&gt;
##Bluetooth&lt;br /&gt;
##IrDA&lt;br /&gt;
##RS232&lt;br /&gt;
##b6,b7,b8 - Number of channels supported by terminal&lt;br /&gt;
#Fourteenth byte (Screen height):&lt;br /&gt;
##b1 - b4 - Number of characters supported down the terminal display as defined in clause 5.3.1&lt;br /&gt;
##No display capability (i.e class &amp;quot;ND&amp;quot; is indicated)&lt;br /&gt;
##No keypad available (i.e. class &amp;quot;NK&amp;quot; is indicated)&lt;br /&gt;
##Screen Sizing Parameters supported as defined inclause 5.3&lt;br /&gt;
#Fifteenth byte (Screen width):&lt;br /&gt;
##b1-b7 - Number of characters supported across the terminal display as defined in clause 5.3.2&lt;br /&gt;
##Variable size fonts&lt;br /&gt;
#Sixteenth byte (Screen effects):&lt;br /&gt;
##Display can be resized as defined in clause 5.3.3&lt;br /&gt;
##Text Wrapping supported as defined in clause 5.3.4&lt;br /&gt;
##Text Scrolling supported as defined in clause 5.3.5&lt;br /&gt;
##Text Attributes supported as defined in clause 5.3.7&lt;br /&gt;
##b5 - RFU&lt;br /&gt;
##b6 - b8 - Width reduction when in a menu as defined in clause 5.3.6&lt;br /&gt;
#Seventeenth byte:&lt;br /&gt;
##TCP, UICC in client mode, remote connection&lt;br /&gt;
##UDP, UICC in client mode, remote connection&lt;br /&gt;
##TCP, UICC in server mode&lt;br /&gt;
##TCP, UICC in client mode, local connection (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##UDP, UICC in client mode, local connection (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
##E-UTRAN (if class &amp;quot;e&amp;quot; issupported))&lt;br /&gt;
##HSDPA (if class &amp;quot;e&amp;quot; is supported))&lt;br /&gt;
#Eighteenth byte:&lt;br /&gt;
##Proactive UICC: DISPLAY TEXT (Variable Time out)&lt;br /&gt;
##Proactive UICC: GET INKEY (help is supported while waiting for immediate response or variable timeout)&lt;br /&gt;
##USB&lt;br /&gt;
##Proactive UICC: GET INKEY (Variable Timeout)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (ESN)&lt;br /&gt;
##Call control on GPRS&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (IMEISV)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Search Mode change)&lt;br /&gt;
#Nineteenth byte (reserved for TIA/EIA-136-C facilities [25]):&lt;br /&gt;
##Reserved by TIA/EIA-136 [25] (Protocol Version support)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twentieth byte (reserved for TIA/EIA/IS-820-A facilities [17]):&lt;br /&gt;
##Reserved by TIA/EIA/IS-820 [17]&lt;br /&gt;
#Twenty-first byte (Extended Launch Browser Capability) for class &amp;quot;c&amp;quot;:&lt;br /&gt;
##WML&lt;br /&gt;
##XHTML&lt;br /&gt;
##HTML&lt;br /&gt;
##CHTML&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-second byte:&lt;br /&gt;
##Support of UTRAN PS with extended parameters&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION(battery state), (i.e. class &amp;quot;g&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PLAY TONE (Melody tones and Themed tones supported)&lt;br /&gt;
##Multi-media Calls in SET UP CALL (if class h supported)&lt;br /&gt;
##Reserved by 3GPP (Toolkit-initiated GBA)&lt;br /&gt;
##Proactive UICC: RETRIEVE MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: SUBMIT MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: DISPLAY MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
#Twenty third byte:&lt;br /&gt;
##Proactive UICC: SET FRAMES (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: GET FRAMES STATUS (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##MMS notification download (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Alpha Identifier in REFRESH command supported by terminal&lt;br /&gt;
##Geographical Location Reporting (if class &amp;quot;n&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (MEID)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (NMR(UTRAN))&lt;br /&gt;
##USSD Data download and application mode&lt;br /&gt;
#Twenty fourth byte for class &amp;quot;i&amp;quot;:&lt;br /&gt;
##b1-b4 - Maximum number of frames supported (including frames created in existing frames)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-fifth byte (Event driven information extensions):&lt;br /&gt;
##Event: Browsing status&lt;br /&gt;
##Event: MMS Transfer status (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Event: Frame Parameters changed (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##Event: I-WLAN Access status (if class &amp;quot;e&amp;quot; is supported)&lt;br /&gt;
##Event Network Rejection&lt;br /&gt;
##Event: HCI connectivity event (i.e. class &amp;quot;m&amp;quot; is supported)&lt;br /&gt;
##Reserved by 3GPP (E-UTRAN support in Event Network Rejection)&lt;br /&gt;
##Multiple access technologies supported in Event&lt;br /&gt;
##Access Technology Change and PROVIDE LOCAL INFORMATION &amp;lt;br&amp;gt;If bit &amp;quot;Multiple access technologies supported&amp;quot; is set to 1, it applies to the Event Access Technology Change if supported and all relevant modes of proactive command PROVIDE  LOCAL INFORMATION that are supported.&lt;br /&gt;
#Twenty-sixth byte (Event driven information extensions):&lt;br /&gt;
##RFU, bit = 0 (for future event indication)&lt;br /&gt;
#Twenty-seventh byte (Event driven information extensions):&lt;br /&gt;
##RFU, bit = 0 (for future event indication)&lt;br /&gt;
#Twenty-eighth byte (Text attributes):&lt;br /&gt;
##Alignment left supported by Terminal&lt;br /&gt;
##Alignment centre supported by Terminal&lt;br /&gt;
##Alignment right supported by Terminal&lt;br /&gt;
##Font size normal supported by Terminal&lt;br /&gt;
##Font size large supported by Terminal&lt;br /&gt;
##Font size small supported by Terminal&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-ninth byte (Text attributes):&lt;br /&gt;
##Style normal supported by Terminal&lt;br /&gt;
##Style bold supported by Terminal&lt;br /&gt;
##Style italic supported by Terminal&lt;br /&gt;
##Style underlined supported by Terminal&lt;br /&gt;
##Style strikethrough supported by Terminal&lt;br /&gt;
##Style text foreground colour supported by Terminal&lt;br /&gt;
##Style text background colour supported by Terminal&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Thirtieth byte:&lt;br /&gt;
##I-WLAN bearer support (if class &amp;quot;e&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (WSID of the current I-WLAN connection)&lt;br /&gt;
##TERMINAL APPLICATIONS (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##Steering of Roaming REFRESH support&lt;br /&gt;
##Proactive UICC: ACTIVATE (i.e class &amp;quot;l&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: GEOGRAPHICAL LOCATION REQUEST (if class &amp;quot;n&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Broadcast Network Information) (i.e. class &amp;quot;o&amp;quot; is supported)&lt;br /&gt;
##Steering of Roaming for I-WLAN REFRESH support&lt;br /&gt;
&lt;br /&gt;
====Values====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center;&amp;quot;&lt;br /&gt;
|Phone Type||B1||B2||B3||B4||B5||B6||B7||B8||B9||B10||B11||B12||B13||B14||B15||B16||B17||B18||B19||B20||B21||B22||B23||B24||B25||B26||B27||B28||B29||B30&lt;br /&gt;
|-&lt;br /&gt;
|Samsung Galaxy Express||ff||ff||ff||ff||7f||9d||00||df||bf||00||00||1f||e2||00||00||00||c3||6b||00||07||00||00||40||00||50||00||00||00||00||08&lt;br /&gt;
|-&lt;br /&gt;
|Samsung Galaxy Note 3||ff||ff||ff||ff||7f||9d||00||df||bf||00||00||1f||e2||00||00||00||c3||6b||00||07||00||00||40||00||50||00||00||00||00||08&lt;br /&gt;
|-&lt;br /&gt;
|HTC One X+||ff||ff||ff||ff||7f||1d||00||df||b7||03||02||1f||22||00||00||00||83||00||00||00||00||00||40||10||00||00||00||00||00||00&lt;br /&gt;
|-&lt;br /&gt;
|IPhone 4||ff||ff||ff||ff||7f||91||00||df||bf||00||00||00||00||00||00||00||00||f0||00||03||00||00||60||00||50||00||00||00||00||00&lt;br /&gt;
|-&lt;br /&gt;
|Nokia E72||ff||ff||ff||ff||7f||1d||00||df||bf||00||00||17||e2||05||0f||00||03||09||00||00||00||00||00||00||00||00||00||00||00||00&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Andrei</name></author>	</entry>

	<entry>
		<id>https://ss7api.null.ro/index.php/SIM_Cards</id>
		<title>SIM Cards</title>
		<link rel="alternate" type="text/html" href="https://ss7api.null.ro/index.php/SIM_Cards"/>
				<updated>2014-03-06T11:04:44Z</updated>
		
		<summary type="html">&lt;p&gt;Andrei: /* Card Reader */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
===SIM Events===&lt;br /&gt;
&lt;br /&gt;
====Call Related Events and Requests====&lt;br /&gt;
The following events are received by the SIM card when a call is made.&lt;br /&gt;
*Standard: Details can be found in standard TS 31.111&lt;br /&gt;
*Terminal Class: This events should work in all terminals.&lt;br /&gt;
*Status: Tests were made successfully for Mobile Originating Calls&lt;br /&gt;
*Events:&amp;lt;br&amp;gt;The SIM is notified on the following events:&lt;br /&gt;
**Mobile Originating Call Initiated&lt;br /&gt;
**Mobile Originating SMS Initiated&lt;br /&gt;
**Mobile Originating USSD Initiated&lt;br /&gt;
**Mobile Originating SS Initiated&amp;lt;br&amp;gt;On the events above, the 'address' and 'subaddress' parameters can be altered.&lt;br /&gt;
*Notifications:&amp;lt;br&amp;gt;We can receive notifications for the following events.&amp;lt;br&amp;gt;NOTE: We can not alter the event flow. Eg. We can not keep the call alive if we received call terminated event.&lt;br /&gt;
**Call Connected&lt;br /&gt;
**Call Terminated&lt;br /&gt;
*Requests - We can make the following requests:&lt;br /&gt;
**Set Up Call&lt;br /&gt;
**Send DTMF&lt;br /&gt;
*Parameters:&amp;lt;br&amp;gt;The following parameters can be provided, can be altered or are provided by the terminal.&lt;br /&gt;
**Address&amp;lt;br&amp;gt;The called party address. Details on TS 31.111 chapter 8.1&lt;br /&gt;
**Subaddress&amp;lt;br&amp;gt;The called party subaddress. Details on TS 31.111 chapter  8.3&lt;br /&gt;
&lt;br /&gt;
====Browsing====&lt;br /&gt;
Open a SIM provided URL in phone's default browser.&lt;br /&gt;
*Standard: Details can be fond in TS 102 223.&lt;br /&gt;
*Terminal: This should work in a class C terminal.&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&amp;lt;br&amp;gt;We are notified when one of the following events occures:&lt;br /&gt;
**Status&amp;lt;br&amp;gt;Received when the browser receives a distant error from the network.&lt;br /&gt;
**Terminated&amp;lt;br&amp;gt;Received when the browser is terminated.&lt;br /&gt;
*Requests:&lt;br /&gt;
**Lunch Browser&amp;lt;br&amp;gt;Ask a terminal to open a browser with the provided URL.&lt;br /&gt;
&lt;br /&gt;
====Access Technology====&lt;br /&gt;
Notification sent from the phone to inform about the access technology 2g/3g&lt;br /&gt;
*Standard Details can be found in TS 102 223&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Changed&amp;lt;br&amp;gt;The access technology has changed from 2g/3g.&lt;br /&gt;
&lt;br /&gt;
====Card Reader====&lt;br /&gt;
Get events and perform actions on an additional card reader, &lt;br /&gt;
*Standard: Details can be found in TS 102 223&lt;br /&gt;
*Terminal Class A is required&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Status&amp;lt;br&amp;gt;Notification that a card was inserted or removed; or a card reader is available or unavailable.&lt;br /&gt;
*Requests:&lt;br /&gt;
**Power ON Card&amp;lt;br&amp;gt;Start a session with an additional card.&lt;br /&gt;
**Power OFF Card&amp;lt;br&amp;gt;Stop a session with an additional card.&lt;br /&gt;
**Perform Card APDU&amp;lt;br&amp;gt;Send an APDU command to an additional card.&lt;br /&gt;
**Get Reader Status&amp;lt;br&amp;gt;Request to the terminal to provide additional information about additional card readers.&lt;br /&gt;
&lt;br /&gt;
====Data====&lt;br /&gt;
The following events and requests are available for data exchange.&lt;br /&gt;
*Standard: more documentation can be found in TS 102 223&lt;br /&gt;
*Status: In testing but no compatible device found!&lt;br /&gt;
*Terminal class E&lt;br /&gt;
*Events:&lt;br /&gt;
**Data available&amp;lt;br&amp;gt;Notification from the terminal that data has arrived from the network.&lt;br /&gt;
**Channel Status&amp;lt;br&amp;gt;Notification from the terminal that the channel status is changed.&lt;br /&gt;
*Requests&lt;br /&gt;
**Open Channel&amp;lt;br&amp;gt;Request to open a channel.&lt;br /&gt;
**Send Data&amp;lt;br&amp;gt;Request to send data on a open channel.&lt;br /&gt;
**Receive Data&amp;lt;br&amp;gt;Request to receive data on a open channel.&lt;br /&gt;
**Close Channel&amp;lt;br&amp;gt;Request to close a open channel.&lt;br /&gt;
&lt;br /&gt;
====User Interface====&lt;br /&gt;
The following events and request are related to user interface.&lt;br /&gt;
*Standard details can be found in standard TS 102 223&lt;br /&gt;
*Status: Most of them were tested.&lt;br /&gt;
*Events:&lt;br /&gt;
**Display Parameter Change&amp;lt;br&amp;gt;Notification from the terminal when the screen is resized.&lt;br /&gt;
**Frames Information Changed&amp;lt;br&amp;gt;Notification from the terminal when the frames are resized.&amp;lt;br&amp;gt;Requires terminal class I.&lt;br /&gt;
**Idle screen available&amp;lt;br&amp;gt;Notification from the terminal that the screen is idle.&lt;br /&gt;
**User activity&amp;lt;br&amp;gt;Notification from the terminal when the the user is interacting with the terminal.&amp;lt;br&amp;gt;This event is received only once after it was requested.&lt;br /&gt;
**Menu Selection&amp;lt;br&amp;gt;Notification from the terminal when the user has selected a menu item.&lt;br /&gt;
**Menu Selection Help Request&amp;lt;br&amp;gt;Notification from the terminal when the user requested help information on a menu.&lt;br /&gt;
*Requests:&lt;br /&gt;
**Get Input&amp;lt;br&amp;gt;Prompt the user to insert a text.&lt;br /&gt;
**Get InKey&amp;lt;br&amp;gt;Prompt the user to insert a key.&lt;br /&gt;
**Display Text&amp;lt;br&amp;gt;Prompt a text to the user.&lt;br /&gt;
**Set Up Menu&amp;lt;br&amp;gt;Prompt a menu to the user.&lt;br /&gt;
**Select Item&amp;lt;br&amp;gt;Provide a list of options to the user and instruct him to select one.&lt;br /&gt;
**Set Up Idle Mode Text&amp;lt;br&amp;gt;Instruct the terminal to show the provided text when it is in idle mode.&lt;br /&gt;
**Set Frames&amp;lt;br&amp;gt;Set the number of frames in which the terminal should devide its screen.&amp;lt;br&amp;gt;Requires terminal class I&lt;br /&gt;
**Get Frame Status&amp;lt;br&amp;gt;Get the parameters of a frame.&amp;lt;br&amp;gt;Requires terminal class I&lt;br /&gt;
&lt;br /&gt;
====SMS====&lt;br /&gt;
SMS related procedures.&lt;br /&gt;
*Standard details can be found in standard TS 131 111&lt;br /&gt;
*Status: Not tested yet&lt;br /&gt;
*Events:&amp;lt;br&amp;gt; Only OTA SMS are sent by the terminal to the SIM. Mobile Terminated SMS can not be intercepted by the SIM card.&lt;br /&gt;
**SMS-Point to Point Data Download unformatted&lt;br /&gt;
**SMS-Point to Point Data Download formatted&lt;br /&gt;
**SMS-Cell Broadcast Data Download formatted&lt;br /&gt;
**SMS-Cell Broadcast Data Download unformatted&lt;br /&gt;
*Requests:&lt;br /&gt;
**Send Short Message&amp;lt;br&amp;gt;Send a short message to the network.&lt;br /&gt;
*Parameters&lt;br /&gt;
**Address&amp;lt;br&amp;gt;The destination address.&lt;br /&gt;
**SMS TPDU&lt;br /&gt;
&lt;br /&gt;
====SS====&lt;br /&gt;
Supplementary Services events and requests. &lt;br /&gt;
*Standard Details can be found in TS 131 111&lt;br /&gt;
*Terminal class P is required for USSD Data Download. All other operations should work on any device.&lt;br /&gt;
*Status: Send USSD tested.&lt;br /&gt;
*Events:&lt;br /&gt;
**USSD Data Download formatted&amp;lt;br&amp;gt;Requires class P&lt;br /&gt;
**USSD Data Download unformatted&amp;lt;br&amp;gt;Requires class P&lt;br /&gt;
*Requests:&lt;br /&gt;
**Send SS&amp;lt;br&amp;gt;Send a Supplementary Service request to the network.&lt;br /&gt;
**Send USSD&amp;lt;br&amp;gt;Send a USSD Request to the network. Only the last response arrives in the SIM card. If the USSD request requires a menu USSD session, the user interaction will me required.&lt;br /&gt;
*Parameters&lt;br /&gt;
**SS String&lt;br /&gt;
**USSD String&lt;br /&gt;
&lt;br /&gt;
====IMS====&lt;br /&gt;
The following events are dedicated for IMS.&lt;br /&gt;
*Standard: Details can be found in TS 131 111&lt;br /&gt;
*Terminal class E + T&lt;br /&gt;
*Events&lt;br /&gt;
**Download IMS Registration.&amp;lt;br&amp;gt;Notification from the terminal to download the IMS registration message.&lt;br /&gt;
**Download Incoming IMS Data.&amp;lt;br&amp;gt;Notification from the terminal to download the incomming IMS message.&lt;br /&gt;
*Parameters&lt;br /&gt;
**IARI&lt;br /&gt;
**IMPU List&lt;br /&gt;
**IMS status code&lt;br /&gt;
&lt;br /&gt;
====Terminal====&lt;br /&gt;
Terminal related events and requests.&lt;br /&gt;
*Standard: details can be found in TS 102 223 and TS 131 111&lt;br /&gt;
*Events&lt;br /&gt;
**Location Status&amp;lt;br&amp;gt;Notification from the terminal that it has changed its location.&amp;lt;br&amp;gt;Status: tested&amp;lt;br&amp;gt;Parameters:&lt;br /&gt;
***Location Status: details can be found in TS 102.223 8.27&lt;br /&gt;
***Location Information: details can be found in TS 102.223 8.19&lt;br /&gt;
**Language Selection&amp;lt;br&amp;gt;Notification from the terminal that the current used language has changed.&lt;br /&gt;
**Network Reject&amp;lt;br&amp;gt;Notification from the terminal that the network has rejected a request.&lt;br /&gt;
**Timer expiration&amp;lt;br&amp;gt;Notification from the terminal that a requested timer has expired.&lt;br /&gt;
*Requests&lt;br /&gt;
**Provide Local Information&amp;lt;br&amp;gt;Request to the terminal to provide location information.&lt;br /&gt;
**Language Notification&amp;lt;br&amp;gt;Inform the terminal what language will be used in this session.&lt;br /&gt;
**Geographical Location Request&amp;lt;br&amp;gt;Ask the terminal to provide advanced geographical location.&amp;lt;br&amp;gt;Terminal type N is required.&lt;br /&gt;
**More Time&amp;lt;br&amp;gt;Request to terminal for more processing time. &lt;br /&gt;
**Refresh&amp;lt;br&amp;gt;Request to terminal to reinitialize SIM card.&lt;br /&gt;
**Timer Management&amp;lt;br&amp;gt;Request to the terminal to emit a timer event after the specified time interval.&lt;br /&gt;
&lt;br /&gt;
====Service====&lt;br /&gt;
Commands dedicated for terminal services.&lt;br /&gt;
*Standard: details can be found in TS 102 223&lt;br /&gt;
*Status: not tested&lt;br /&gt;
*Terminal class F is required.&lt;br /&gt;
*Requests:&amp;lt;br&amp;gt;The following requests are available:&lt;br /&gt;
**Declare Service&amp;lt;br&amp;gt;Inform the terminal about a service supported by the SIM.&lt;br /&gt;
**Search Service&amp;lt;br&amp;gt;Search for a specific service in terminal's database.&lt;br /&gt;
**Get Service Information&amp;lt;br&amp;gt;Request to the terminal to provide information about a specific service.&lt;br /&gt;
&lt;br /&gt;
====MMS====&lt;br /&gt;
MMS Related requests.&lt;br /&gt;
*Standard details can be found in TS 102 223&lt;br /&gt;
*Status: not tested&lt;br /&gt;
*Terminal class J required&lt;br /&gt;
*Requests:&lt;br /&gt;
**Retreive MMS&amp;lt;br&amp;gt;Request the terminal to retreive the MMS from the network with the given MMS message reference.&lt;br /&gt;
**Submit MMS&amp;lt;br&amp;gt;Request to terminal to submit the specified MM to the network.&lt;br /&gt;
**Display MMS&amp;lt;br&amp;gt;Request to terminal to display a MMS.&lt;br /&gt;
&lt;br /&gt;
===Card File System===&lt;br /&gt;
&lt;br /&gt;
====USIM File System====&lt;br /&gt;
Extracted from standard TS 131.102.&lt;br /&gt;
*Language Indication&lt;br /&gt;
*IMSI&lt;br /&gt;
*Ciphering and Integrity Keys&lt;br /&gt;
*Ciphering and Integrity Keys for Packet Switched domain&lt;br /&gt;
*User controlled PLMN selector with Access Technology&lt;br /&gt;
*Higher Priority PLMN search period&lt;br /&gt;
*ACM maximum value&lt;br /&gt;
*USIM Service Table&lt;br /&gt;
*Accumulated Call Meter&lt;br /&gt;
*Group Identifier Level 1&lt;br /&gt;
*Group Identifier Level 2&lt;br /&gt;
*Service Provider Name&lt;br /&gt;
*Price per Unit and Currency Table&lt;br /&gt;
*Cell Broadcast Message identifier selection&lt;br /&gt;
*Access Control Class&lt;br /&gt;
*Forbidden PLMNs&lt;br /&gt;
*Location Information&lt;br /&gt;
*Administrative Data&lt;br /&gt;
*Cell Broadcast Message Identifier for Data Download&lt;br /&gt;
*Emergency Call Codes&lt;br /&gt;
*Cell Broadcast Message Identifier Range selection&lt;br /&gt;
*Packet Switched location information&lt;br /&gt;
*Fixed Dialling Numbers&lt;br /&gt;
*Short messages&lt;br /&gt;
*MSISDN&lt;br /&gt;
*Short message service parameters&lt;br /&gt;
*SMS status&lt;br /&gt;
*Service Dialling Numbers&lt;br /&gt;
*Extension2&lt;br /&gt;
*Extension3&lt;br /&gt;
*Short message status reports&lt;br /&gt;
*Incoming Call Information&lt;br /&gt;
*Outgoing Call Information&lt;br /&gt;
*Incoming Call Timer&lt;br /&gt;
*Outgoing Call Timer&lt;br /&gt;
*Extension5&lt;br /&gt;
*Capability Configuration Parameters 2&lt;br /&gt;
*enhanced Multi Level Precedence and Pre-emption&lt;br /&gt;
*Automatic Answer for eMLPP Service&lt;br /&gt;
*Key for hidden phone book entries&lt;br /&gt;
*Barred Dialling Numbers&lt;br /&gt;
*Extension4&lt;br /&gt;
*Comparison Method Information&lt;br /&gt;
*Enabled Services Table&lt;br /&gt;
*Access Point Name Control List&lt;br /&gt;
*Depersonalisation Control Keys&lt;br /&gt;
*Co-operative Network List&lt;br /&gt;
*Initialisation values for Hyperframe number&lt;br /&gt;
*Maximum value of START&lt;br /&gt;
*Operator controlled PLMN selector with Access Technology&lt;br /&gt;
*HPLMN selector with Access Technology&lt;br /&gt;
*Access Rule Reference&lt;br /&gt;
*Network Parameters&lt;br /&gt;
*PLMN Network Name&lt;br /&gt;
*Operator PLMN List&lt;br /&gt;
*Mailbox Dialling Numbers&lt;br /&gt;
*Extension6&lt;br /&gt;
*Mailbox Identifier&lt;br /&gt;
*Message Waiting Indication Status&lt;br /&gt;
*Call Forwarding Indication Status&lt;br /&gt;
*Extension7&lt;br /&gt;
*Service Provider Display Information&lt;br /&gt;
*MMS Notification&lt;br /&gt;
*Extension 8&lt;br /&gt;
*MMS Issuer Connectivity Parameters&lt;br /&gt;
*MMS User Preferences&lt;br /&gt;
*MMS User Connectivity Parameters&lt;br /&gt;
*Network's Indication of Alerting&lt;br /&gt;
*Voice Group Call Service&lt;br /&gt;
*Voice Group Call Service Status&lt;br /&gt;
*Voice Broadcast Service&lt;br /&gt;
*Voice Broadcast Service Status&lt;br /&gt;
&lt;br /&gt;
===Terminal profile===&lt;br /&gt;
====Description====&lt;br /&gt;
The terminal can be interrogated about which functions it supports.&lt;br /&gt;
#First byte (Download):&lt;br /&gt;
##Profile download&lt;br /&gt;
##SMS-PP data download&lt;br /&gt;
##Cell Broadcast data download)&lt;br /&gt;
##Menu selection&lt;br /&gt;
##SMS-PP data download&lt;br /&gt;
##Timer expiration&lt;br /&gt;
##USSD string data object support in Call Control by USIM&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
#Second byte (Other):&lt;br /&gt;
##Command result&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
##Call Control by NAA &lt;br /&gt;
##MO short message control support&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
##UCS2 Entry supported&lt;br /&gt;
##UCS2 Display supported&lt;br /&gt;
##Display Text&lt;br /&gt;
#Third byte (Proactive UICC):&lt;br /&gt;
##DISPLAY TEXT&lt;br /&gt;
##GET INKEY&lt;br /&gt;
##GET INPUT&lt;br /&gt;
##MORE TIME&lt;br /&gt;
##PLAY TONE&lt;br /&gt;
##POLL INTERVAL&lt;br /&gt;
##POLLING OFF&lt;br /&gt;
##REFRESH&lt;br /&gt;
#Fourth byte (Proactive UICC):&lt;br /&gt;
##Proactive UICC: SELECT ITEM&lt;br /&gt;
##Proactive UICC: SEND SHORT MESSAGE with 3GPP-SMS-TPDU&lt;br /&gt;
##Proactive UICC: SEND SS&lt;br /&gt;
##Proactive UICC:SEND USSD&lt;br /&gt;
##Proactive UICC: SET UP CALL&lt;br /&gt;
##Proactive UICC: SET UP MENU&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (MCC, MNC,LAC, Cell ID &amp;amp; IMEI)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (NMR)&lt;br /&gt;
#Fifth byte (Event driven information):&lt;br /&gt;
##Proactive UICC: SET UP EVENT LIST&lt;br /&gt;
##Event: MT call&lt;br /&gt;
##Event: Call connected&lt;br /&gt;
##Event: Call disconnected&lt;br /&gt;
##Event: Location status&lt;br /&gt;
##Event: User activity&lt;br /&gt;
##Event: Idle screen available&lt;br /&gt;
##Event: Card reader status&lt;br /&gt;
#Sixth byte (Event driven information extensions):&lt;br /&gt;
##Language selection&lt;br /&gt;
##Browser Termination&lt;br /&gt;
##Data available&lt;br /&gt;
##Channel status&lt;br /&gt;
##Access Technology Change&lt;br /&gt;
##Display parameters changed&lt;br /&gt;
##Local Connection&lt;br /&gt;
##Network Search Mode Change&lt;br /&gt;
#Seventh byte (Multiple card proactive commands) for class &amp;quot;a&amp;quot;:&lt;br /&gt;
##POWER ON CARD&lt;br /&gt;
##POWER OFF CARD&lt;br /&gt;
##PERFORM CARD APDU&lt;br /&gt;
##GET READER STATUS (Card reader status)&lt;br /&gt;
##GET READER STATUS (Card reader Identifier)&lt;br /&gt;
##RFU&lt;br /&gt;
#Eighth byte (Proactive UICC):&lt;br /&gt;
##Proactive UICC: TIMER MANAGEMENT (start, stop)&lt;br /&gt;
##Proactive UICC: TIMER MANAGEMENT (get current value)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (date, time and time zone)&lt;br /&gt;
##GET INKEY&lt;br /&gt;
##SET UP IDLE MODE TEXT&lt;br /&gt;
##RUN AT COMMAND (i.e. class &amp;quot;b&amp;quot; is supported)&lt;br /&gt;
##SETUP CALL&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
#Ninth byte:&lt;br /&gt;
##DISPLAY TEXT&lt;br /&gt;
##SEND DTMF command&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (language)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION, Timing Advance&lt;br /&gt;
##Proactive UICC: LANGUAGE NOTIFICATION&lt;br /&gt;
##Proactive UICC: LAUNCH BROWSER&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Access Technology)&lt;br /&gt;
#Tenth byte (Soft keys support) for class &amp;quot;d&amp;quot;:&lt;br /&gt;
##Soft keys support for SELECT ITEM&lt;br /&gt;
##Soft Keys support for SET UP MENU&lt;br /&gt;
##RFU&lt;br /&gt;
#Eleventh byte (Soft keys information):&lt;br /&gt;
##Maximum number of soft keys available 'FF' value is reserved for future use&lt;br /&gt;
#Twelfth byte:&lt;br /&gt;
##OPEN CHANNEL&lt;br /&gt;
##CLOSE CHANNEL&lt;br /&gt;
##RECEIVE DATA&lt;br /&gt;
##SEND DATA&lt;br /&gt;
##GET CHANNEL STATUS&lt;br /&gt;
##SERVICE SEARCH&lt;br /&gt;
##GET SERVICE INFORMATION&lt;br /&gt;
##DECLARE SERVICE&lt;br /&gt;
#Thirteenth byte:&lt;br /&gt;
##CSD&lt;br /&gt;
##GPRS&lt;br /&gt;
##Bluetooth&lt;br /&gt;
##IrDA&lt;br /&gt;
##RS232&lt;br /&gt;
##b6,b7,b8 - Number of channels supported by terminal&lt;br /&gt;
#Fourteenth byte (Screen height):&lt;br /&gt;
##b1 - b4 - Number of characters supported down the terminal display as defined in clause 5.3.1&lt;br /&gt;
##No display capability (i.e class &amp;quot;ND&amp;quot; is indicated)&lt;br /&gt;
##No keypad available (i.e. class &amp;quot;NK&amp;quot; is indicated)&lt;br /&gt;
##Screen Sizing Parameters supported as defined inclause 5.3&lt;br /&gt;
#Fifteenth byte (Screen width):&lt;br /&gt;
##b1-b7 - Number of characters supported across the terminal display as defined in clause 5.3.2&lt;br /&gt;
##Variable size fonts&lt;br /&gt;
#Sixteenth byte (Screen effects):&lt;br /&gt;
##Display can be resized as defined in clause 5.3.3&lt;br /&gt;
##Text Wrapping supported as defined in clause 5.3.4&lt;br /&gt;
##Text Scrolling supported as defined in clause 5.3.5&lt;br /&gt;
##Text Attributes supported as defined in clause 5.3.7&lt;br /&gt;
##b5 - RFU&lt;br /&gt;
##b6 - b8 - Width reduction when in a menu as defined in clause 5.3.6&lt;br /&gt;
#Seventeenth byte:&lt;br /&gt;
##TCP, UICC in client mode, remote connection&lt;br /&gt;
##UDP, UICC in client mode, remote connection&lt;br /&gt;
##TCP, UICC in server mode&lt;br /&gt;
##TCP, UICC in client mode, local connection (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##UDP, UICC in client mode, local connection (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
##E-UTRAN (if class &amp;quot;e&amp;quot; issupported))&lt;br /&gt;
##HSDPA (if class &amp;quot;e&amp;quot; is supported))&lt;br /&gt;
#Eighteenth byte:&lt;br /&gt;
##Proactive UICC: DISPLAY TEXT (Variable Time out)&lt;br /&gt;
##Proactive UICC: GET INKEY (help is supported while waiting for immediate response or variable timeout)&lt;br /&gt;
##USB&lt;br /&gt;
##Proactive UICC: GET INKEY (Variable Timeout)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (ESN)&lt;br /&gt;
##Call control on GPRS&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (IMEISV)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Search Mode change)&lt;br /&gt;
#Nineteenth byte (reserved for TIA/EIA-136-C facilities [25]):&lt;br /&gt;
##Reserved by TIA/EIA-136 [25] (Protocol Version support)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twentieth byte (reserved for TIA/EIA/IS-820-A facilities [17]):&lt;br /&gt;
##Reserved by TIA/EIA/IS-820 [17]&lt;br /&gt;
#Twenty-first byte (Extended Launch Browser Capability) for class &amp;quot;c&amp;quot;:&lt;br /&gt;
##WML&lt;br /&gt;
##XHTML&lt;br /&gt;
##HTML&lt;br /&gt;
##CHTML&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-second byte:&lt;br /&gt;
##Support of UTRAN PS with extended parameters&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION(battery state), (i.e. class &amp;quot;g&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PLAY TONE (Melody tones and Themed tones supported)&lt;br /&gt;
##Multi-media Calls in SET UP CALL (if class h supported)&lt;br /&gt;
##Reserved by 3GPP (Toolkit-initiated GBA)&lt;br /&gt;
##Proactive UICC: RETRIEVE MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: SUBMIT MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: DISPLAY MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
#Twenty third byte:&lt;br /&gt;
##Proactive UICC: SET FRAMES (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: GET FRAMES STATUS (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##MMS notification download (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Alpha Identifier in REFRESH command supported by terminal&lt;br /&gt;
##Geographical Location Reporting (if class &amp;quot;n&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (MEID)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (NMR(UTRAN))&lt;br /&gt;
##USSD Data download and application mode&lt;br /&gt;
#Twenty fourth byte for class &amp;quot;i&amp;quot;:&lt;br /&gt;
##b1-b4 - Maximum number of frames supported (including frames created in existing frames)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-fifth byte (Event driven information extensions):&lt;br /&gt;
##Event: Browsing status&lt;br /&gt;
##Event: MMS Transfer status (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Event: Frame Parameters changed (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##Event: I-WLAN Access status (if class &amp;quot;e&amp;quot; is supported)&lt;br /&gt;
##Event Network Rejection&lt;br /&gt;
##Event: HCI connectivity event (i.e. class &amp;quot;m&amp;quot; is supported)&lt;br /&gt;
##Reserved by 3GPP (E-UTRAN support in Event Network Rejection)&lt;br /&gt;
##Multiple access technologies supported in Event&lt;br /&gt;
##Access Technology Change and PROVIDE LOCAL INFORMATION &amp;lt;br&amp;gt;If bit &amp;quot;Multiple access technologies supported&amp;quot; is set to 1, it applies to the Event Access Technology Change if supported and all relevant modes of proactive command PROVIDE  LOCAL INFORMATION that are supported.&lt;br /&gt;
#Twenty-sixth byte (Event driven information extensions):&lt;br /&gt;
##RFU, bit = 0 (for future event indication)&lt;br /&gt;
#Twenty-seventh byte (Event driven information extensions):&lt;br /&gt;
##RFU, bit = 0 (for future event indication)&lt;br /&gt;
#Twenty-eighth byte (Text attributes):&lt;br /&gt;
##Alignment left supported by Terminal&lt;br /&gt;
##Alignment centre supported by Terminal&lt;br /&gt;
##Alignment right supported by Terminal&lt;br /&gt;
##Font size normal supported by Terminal&lt;br /&gt;
##Font size large supported by Terminal&lt;br /&gt;
##Font size small supported by Terminal&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-ninth byte (Text attributes):&lt;br /&gt;
##Style normal supported by Terminal&lt;br /&gt;
##Style bold supported by Terminal&lt;br /&gt;
##Style italic supported by Terminal&lt;br /&gt;
##Style underlined supported by Terminal&lt;br /&gt;
##Style strikethrough supported by Terminal&lt;br /&gt;
##Style text foreground colour supported by Terminal&lt;br /&gt;
##Style text background colour supported by Terminal&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Thirtieth byte:&lt;br /&gt;
##I-WLAN bearer support (if class &amp;quot;e&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (WSID of the current I-WLAN connection)&lt;br /&gt;
##TERMINAL APPLICATIONS (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##Steering of Roaming REFRESH support&lt;br /&gt;
##Proactive UICC: ACTIVATE (i.e class &amp;quot;l&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: GEOGRAPHICAL LOCATION REQUEST (if class &amp;quot;n&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Broadcast Network Information) (i.e. class &amp;quot;o&amp;quot; is supported)&lt;br /&gt;
##Steering of Roaming for I-WLAN REFRESH support&lt;br /&gt;
&lt;br /&gt;
====Values====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center;&amp;quot;&lt;br /&gt;
|Phone Type||B1||B2||B3||B4||B5||B6||B7||B8||B9||B10||B11||B12||B13||B14||B15||B16||B17||B18||B19||B20||B21||B22||B23||B24||B25||B26||B27||B28||B29||B30&lt;br /&gt;
|-&lt;br /&gt;
|Samsung Galaxy Express||ff||ff||ff||ff||7f||9d||00||df||bf||00||00||1f||e2||00||00||00||c3||6b||00||07||00||00||40||00||50||00||00||00||00||08&lt;br /&gt;
|-&lt;br /&gt;
|Samsung Galaxy Note 3||ff||ff||ff||ff||7f||9d||00||df||bf||00||00||1f||e2||00||00||00||c3||6b||00||07||00||00||40||00||50||00||00||00||00||08&lt;br /&gt;
|-&lt;br /&gt;
|HTC One X+||ff||ff||ff||ff||7f||1d||00||df||b7||03||02||1f||22||00||00||00||83||00||00||00||00||00||40||10||00||00||00||00||00||00&lt;br /&gt;
|-&lt;br /&gt;
|IPhone 4||ff||ff||ff||ff||7f||91||00||df||bf||00||00||00||00||00||00||00||00||f0||00||03||00||00||60||00||50||00||00||00||00||00&lt;br /&gt;
|-&lt;br /&gt;
|Nokia E72||ff||ff||ff||ff||7f||1d||00||df||bf||00||00||17||e2||05||0f||00||03||09||00||00||00||00||00||00||00||00||00||00||00||00&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Andrei</name></author>	</entry>

	<entry>
		<id>https://ss7api.null.ro/index.php/SIM_Cards</id>
		<title>SIM Cards</title>
		<link rel="alternate" type="text/html" href="https://ss7api.null.ro/index.php/SIM_Cards"/>
				<updated>2014-03-06T11:03:44Z</updated>
		
		<summary type="html">&lt;p&gt;Andrei: /* Browsing */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
===SIM Events===&lt;br /&gt;
&lt;br /&gt;
====Call Related Events and Requests====&lt;br /&gt;
The following events are received by the SIM card when a call is made.&lt;br /&gt;
*Standard: Details can be found in standard TS 31.111&lt;br /&gt;
*Terminal Class: This events should work in all terminals.&lt;br /&gt;
*Status: Tests were made successfully for Mobile Originating Calls&lt;br /&gt;
*Events:&amp;lt;br&amp;gt;The SIM is notified on the following events:&lt;br /&gt;
**Mobile Originating Call Initiated&lt;br /&gt;
**Mobile Originating SMS Initiated&lt;br /&gt;
**Mobile Originating USSD Initiated&lt;br /&gt;
**Mobile Originating SS Initiated&amp;lt;br&amp;gt;On the events above, the 'address' and 'subaddress' parameters can be altered.&lt;br /&gt;
*Notifications:&amp;lt;br&amp;gt;We can receive notifications for the following events.&amp;lt;br&amp;gt;NOTE: We can not alter the event flow. Eg. We can not keep the call alive if we received call terminated event.&lt;br /&gt;
**Call Connected&lt;br /&gt;
**Call Terminated&lt;br /&gt;
*Requests - We can make the following requests:&lt;br /&gt;
**Set Up Call&lt;br /&gt;
**Send DTMF&lt;br /&gt;
*Parameters:&amp;lt;br&amp;gt;The following parameters can be provided, can be altered or are provided by the terminal.&lt;br /&gt;
**Address&amp;lt;br&amp;gt;The called party address. Details on TS 31.111 chapter 8.1&lt;br /&gt;
**Subaddress&amp;lt;br&amp;gt;The called party subaddress. Details on TS 31.111 chapter  8.3&lt;br /&gt;
&lt;br /&gt;
====Browsing====&lt;br /&gt;
Open a SIM provided URL in phone's default browser.&lt;br /&gt;
*Standard: Details can be fond in TS 102 223.&lt;br /&gt;
*Terminal: This should work in a class C terminal.&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&amp;lt;br&amp;gt;We are notified when one of the following events occures:&lt;br /&gt;
**Status&amp;lt;br&amp;gt;Received when the browser receives a distant error from the network.&lt;br /&gt;
**Terminated&amp;lt;br&amp;gt;Received when the browser is terminated.&lt;br /&gt;
*Requests:&lt;br /&gt;
**Lunch Browser&amp;lt;br&amp;gt;Ask a terminal to open a browser with the provided URL.&lt;br /&gt;
&lt;br /&gt;
====Access Technology====&lt;br /&gt;
Notification sent from the phone to inform about the access technology 2g/3g&lt;br /&gt;
*Standard Details can be found in TS 102 223&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Changed&amp;lt;br&amp;gt;The access technology has changed from 2g/3g.&lt;br /&gt;
&lt;br /&gt;
====Card Reader====&lt;br /&gt;
Get events and perform actions on an additional card reader, &lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Terminal Class: A&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Status&amp;lt;br&amp;gt;Notification that a card was inserted or removed; or a card reader is available or unavailable.&lt;br /&gt;
*Requests:&lt;br /&gt;
**Power ON Card&amp;lt;br&amp;gt;Start a session with an additional card.&lt;br /&gt;
**Power OFF Card&amp;lt;br&amp;gt;Stop a session with an additional card.&lt;br /&gt;
**Perform Card APDU&amp;lt;br&amp;gt;Send an APDU command to an additional card.&lt;br /&gt;
**Get Reader Status&amp;lt;br&amp;gt;Request to the terminal to provide additional information about additional card readers.&lt;br /&gt;
&lt;br /&gt;
====Data====&lt;br /&gt;
The following events and requests are available for data exchange.&lt;br /&gt;
*Standard: more documentation can be found in TS 102 223&lt;br /&gt;
*Status: In testing but no compatible device found!&lt;br /&gt;
*Terminal class E&lt;br /&gt;
*Events:&lt;br /&gt;
**Data available&amp;lt;br&amp;gt;Notification from the terminal that data has arrived from the network.&lt;br /&gt;
**Channel Status&amp;lt;br&amp;gt;Notification from the terminal that the channel status is changed.&lt;br /&gt;
*Requests&lt;br /&gt;
**Open Channel&amp;lt;br&amp;gt;Request to open a channel.&lt;br /&gt;
**Send Data&amp;lt;br&amp;gt;Request to send data on a open channel.&lt;br /&gt;
**Receive Data&amp;lt;br&amp;gt;Request to receive data on a open channel.&lt;br /&gt;
**Close Channel&amp;lt;br&amp;gt;Request to close a open channel.&lt;br /&gt;
&lt;br /&gt;
====User Interface====&lt;br /&gt;
The following events and request are related to user interface.&lt;br /&gt;
*Standard details can be found in standard TS 102 223&lt;br /&gt;
*Status: Most of them were tested.&lt;br /&gt;
*Events:&lt;br /&gt;
**Display Parameter Change&amp;lt;br&amp;gt;Notification from the terminal when the screen is resized.&lt;br /&gt;
**Frames Information Changed&amp;lt;br&amp;gt;Notification from the terminal when the frames are resized.&amp;lt;br&amp;gt;Requires terminal class I.&lt;br /&gt;
**Idle screen available&amp;lt;br&amp;gt;Notification from the terminal that the screen is idle.&lt;br /&gt;
**User activity&amp;lt;br&amp;gt;Notification from the terminal when the the user is interacting with the terminal.&amp;lt;br&amp;gt;This event is received only once after it was requested.&lt;br /&gt;
**Menu Selection&amp;lt;br&amp;gt;Notification from the terminal when the user has selected a menu item.&lt;br /&gt;
**Menu Selection Help Request&amp;lt;br&amp;gt;Notification from the terminal when the user requested help information on a menu.&lt;br /&gt;
*Requests:&lt;br /&gt;
**Get Input&amp;lt;br&amp;gt;Prompt the user to insert a text.&lt;br /&gt;
**Get InKey&amp;lt;br&amp;gt;Prompt the user to insert a key.&lt;br /&gt;
**Display Text&amp;lt;br&amp;gt;Prompt a text to the user.&lt;br /&gt;
**Set Up Menu&amp;lt;br&amp;gt;Prompt a menu to the user.&lt;br /&gt;
**Select Item&amp;lt;br&amp;gt;Provide a list of options to the user and instruct him to select one.&lt;br /&gt;
**Set Up Idle Mode Text&amp;lt;br&amp;gt;Instruct the terminal to show the provided text when it is in idle mode.&lt;br /&gt;
**Set Frames&amp;lt;br&amp;gt;Set the number of frames in which the terminal should devide its screen.&amp;lt;br&amp;gt;Requires terminal class I&lt;br /&gt;
**Get Frame Status&amp;lt;br&amp;gt;Get the parameters of a frame.&amp;lt;br&amp;gt;Requires terminal class I&lt;br /&gt;
&lt;br /&gt;
====SMS====&lt;br /&gt;
SMS related procedures.&lt;br /&gt;
*Standard details can be found in standard TS 131 111&lt;br /&gt;
*Status: Not tested yet&lt;br /&gt;
*Events:&amp;lt;br&amp;gt; Only OTA SMS are sent by the terminal to the SIM. Mobile Terminated SMS can not be intercepted by the SIM card.&lt;br /&gt;
**SMS-Point to Point Data Download unformatted&lt;br /&gt;
**SMS-Point to Point Data Download formatted&lt;br /&gt;
**SMS-Cell Broadcast Data Download formatted&lt;br /&gt;
**SMS-Cell Broadcast Data Download unformatted&lt;br /&gt;
*Requests:&lt;br /&gt;
**Send Short Message&amp;lt;br&amp;gt;Send a short message to the network.&lt;br /&gt;
*Parameters&lt;br /&gt;
**Address&amp;lt;br&amp;gt;The destination address.&lt;br /&gt;
**SMS TPDU&lt;br /&gt;
&lt;br /&gt;
====SS====&lt;br /&gt;
Supplementary Services events and requests. &lt;br /&gt;
*Standard Details can be found in TS 131 111&lt;br /&gt;
*Terminal class P is required for USSD Data Download. All other operations should work on any device.&lt;br /&gt;
*Status: Send USSD tested.&lt;br /&gt;
*Events:&lt;br /&gt;
**USSD Data Download formatted&amp;lt;br&amp;gt;Requires class P&lt;br /&gt;
**USSD Data Download unformatted&amp;lt;br&amp;gt;Requires class P&lt;br /&gt;
*Requests:&lt;br /&gt;
**Send SS&amp;lt;br&amp;gt;Send a Supplementary Service request to the network.&lt;br /&gt;
**Send USSD&amp;lt;br&amp;gt;Send a USSD Request to the network. Only the last response arrives in the SIM card. If the USSD request requires a menu USSD session, the user interaction will me required.&lt;br /&gt;
*Parameters&lt;br /&gt;
**SS String&lt;br /&gt;
**USSD String&lt;br /&gt;
&lt;br /&gt;
====IMS====&lt;br /&gt;
The following events are dedicated for IMS.&lt;br /&gt;
*Standard: Details can be found in TS 131 111&lt;br /&gt;
*Terminal class E + T&lt;br /&gt;
*Events&lt;br /&gt;
**Download IMS Registration.&amp;lt;br&amp;gt;Notification from the terminal to download the IMS registration message.&lt;br /&gt;
**Download Incoming IMS Data.&amp;lt;br&amp;gt;Notification from the terminal to download the incomming IMS message.&lt;br /&gt;
*Parameters&lt;br /&gt;
**IARI&lt;br /&gt;
**IMPU List&lt;br /&gt;
**IMS status code&lt;br /&gt;
&lt;br /&gt;
====Terminal====&lt;br /&gt;
Terminal related events and requests.&lt;br /&gt;
*Standard: details can be found in TS 102 223 and TS 131 111&lt;br /&gt;
*Events&lt;br /&gt;
**Location Status&amp;lt;br&amp;gt;Notification from the terminal that it has changed its location.&amp;lt;br&amp;gt;Status: tested&amp;lt;br&amp;gt;Parameters:&lt;br /&gt;
***Location Status: details can be found in TS 102.223 8.27&lt;br /&gt;
***Location Information: details can be found in TS 102.223 8.19&lt;br /&gt;
**Language Selection&amp;lt;br&amp;gt;Notification from the terminal that the current used language has changed.&lt;br /&gt;
**Network Reject&amp;lt;br&amp;gt;Notification from the terminal that the network has rejected a request.&lt;br /&gt;
**Timer expiration&amp;lt;br&amp;gt;Notification from the terminal that a requested timer has expired.&lt;br /&gt;
*Requests&lt;br /&gt;
**Provide Local Information&amp;lt;br&amp;gt;Request to the terminal to provide location information.&lt;br /&gt;
**Language Notification&amp;lt;br&amp;gt;Inform the terminal what language will be used in this session.&lt;br /&gt;
**Geographical Location Request&amp;lt;br&amp;gt;Ask the terminal to provide advanced geographical location.&amp;lt;br&amp;gt;Terminal type N is required.&lt;br /&gt;
**More Time&amp;lt;br&amp;gt;Request to terminal for more processing time. &lt;br /&gt;
**Refresh&amp;lt;br&amp;gt;Request to terminal to reinitialize SIM card.&lt;br /&gt;
**Timer Management&amp;lt;br&amp;gt;Request to the terminal to emit a timer event after the specified time interval.&lt;br /&gt;
&lt;br /&gt;
====Service====&lt;br /&gt;
Commands dedicated for terminal services.&lt;br /&gt;
*Standard: details can be found in TS 102 223&lt;br /&gt;
*Status: not tested&lt;br /&gt;
*Terminal class F is required.&lt;br /&gt;
*Requests:&amp;lt;br&amp;gt;The following requests are available:&lt;br /&gt;
**Declare Service&amp;lt;br&amp;gt;Inform the terminal about a service supported by the SIM.&lt;br /&gt;
**Search Service&amp;lt;br&amp;gt;Search for a specific service in terminal's database.&lt;br /&gt;
**Get Service Information&amp;lt;br&amp;gt;Request to the terminal to provide information about a specific service.&lt;br /&gt;
&lt;br /&gt;
====MMS====&lt;br /&gt;
MMS Related requests.&lt;br /&gt;
*Standard details can be found in TS 102 223&lt;br /&gt;
*Status: not tested&lt;br /&gt;
*Terminal class J required&lt;br /&gt;
*Requests:&lt;br /&gt;
**Retreive MMS&amp;lt;br&amp;gt;Request the terminal to retreive the MMS from the network with the given MMS message reference.&lt;br /&gt;
**Submit MMS&amp;lt;br&amp;gt;Request to terminal to submit the specified MM to the network.&lt;br /&gt;
**Display MMS&amp;lt;br&amp;gt;Request to terminal to display a MMS.&lt;br /&gt;
&lt;br /&gt;
===Card File System===&lt;br /&gt;
&lt;br /&gt;
====USIM File System====&lt;br /&gt;
Extracted from standard TS 131.102.&lt;br /&gt;
*Language Indication&lt;br /&gt;
*IMSI&lt;br /&gt;
*Ciphering and Integrity Keys&lt;br /&gt;
*Ciphering and Integrity Keys for Packet Switched domain&lt;br /&gt;
*User controlled PLMN selector with Access Technology&lt;br /&gt;
*Higher Priority PLMN search period&lt;br /&gt;
*ACM maximum value&lt;br /&gt;
*USIM Service Table&lt;br /&gt;
*Accumulated Call Meter&lt;br /&gt;
*Group Identifier Level 1&lt;br /&gt;
*Group Identifier Level 2&lt;br /&gt;
*Service Provider Name&lt;br /&gt;
*Price per Unit and Currency Table&lt;br /&gt;
*Cell Broadcast Message identifier selection&lt;br /&gt;
*Access Control Class&lt;br /&gt;
*Forbidden PLMNs&lt;br /&gt;
*Location Information&lt;br /&gt;
*Administrative Data&lt;br /&gt;
*Cell Broadcast Message Identifier for Data Download&lt;br /&gt;
*Emergency Call Codes&lt;br /&gt;
*Cell Broadcast Message Identifier Range selection&lt;br /&gt;
*Packet Switched location information&lt;br /&gt;
*Fixed Dialling Numbers&lt;br /&gt;
*Short messages&lt;br /&gt;
*MSISDN&lt;br /&gt;
*Short message service parameters&lt;br /&gt;
*SMS status&lt;br /&gt;
*Service Dialling Numbers&lt;br /&gt;
*Extension2&lt;br /&gt;
*Extension3&lt;br /&gt;
*Short message status reports&lt;br /&gt;
*Incoming Call Information&lt;br /&gt;
*Outgoing Call Information&lt;br /&gt;
*Incoming Call Timer&lt;br /&gt;
*Outgoing Call Timer&lt;br /&gt;
*Extension5&lt;br /&gt;
*Capability Configuration Parameters 2&lt;br /&gt;
*enhanced Multi Level Precedence and Pre-emption&lt;br /&gt;
*Automatic Answer for eMLPP Service&lt;br /&gt;
*Key for hidden phone book entries&lt;br /&gt;
*Barred Dialling Numbers&lt;br /&gt;
*Extension4&lt;br /&gt;
*Comparison Method Information&lt;br /&gt;
*Enabled Services Table&lt;br /&gt;
*Access Point Name Control List&lt;br /&gt;
*Depersonalisation Control Keys&lt;br /&gt;
*Co-operative Network List&lt;br /&gt;
*Initialisation values for Hyperframe number&lt;br /&gt;
*Maximum value of START&lt;br /&gt;
*Operator controlled PLMN selector with Access Technology&lt;br /&gt;
*HPLMN selector with Access Technology&lt;br /&gt;
*Access Rule Reference&lt;br /&gt;
*Network Parameters&lt;br /&gt;
*PLMN Network Name&lt;br /&gt;
*Operator PLMN List&lt;br /&gt;
*Mailbox Dialling Numbers&lt;br /&gt;
*Extension6&lt;br /&gt;
*Mailbox Identifier&lt;br /&gt;
*Message Waiting Indication Status&lt;br /&gt;
*Call Forwarding Indication Status&lt;br /&gt;
*Extension7&lt;br /&gt;
*Service Provider Display Information&lt;br /&gt;
*MMS Notification&lt;br /&gt;
*Extension 8&lt;br /&gt;
*MMS Issuer Connectivity Parameters&lt;br /&gt;
*MMS User Preferences&lt;br /&gt;
*MMS User Connectivity Parameters&lt;br /&gt;
*Network's Indication of Alerting&lt;br /&gt;
*Voice Group Call Service&lt;br /&gt;
*Voice Group Call Service Status&lt;br /&gt;
*Voice Broadcast Service&lt;br /&gt;
*Voice Broadcast Service Status&lt;br /&gt;
&lt;br /&gt;
===Terminal profile===&lt;br /&gt;
====Description====&lt;br /&gt;
The terminal can be interrogated about which functions it supports.&lt;br /&gt;
#First byte (Download):&lt;br /&gt;
##Profile download&lt;br /&gt;
##SMS-PP data download&lt;br /&gt;
##Cell Broadcast data download)&lt;br /&gt;
##Menu selection&lt;br /&gt;
##SMS-PP data download&lt;br /&gt;
##Timer expiration&lt;br /&gt;
##USSD string data object support in Call Control by USIM&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
#Second byte (Other):&lt;br /&gt;
##Command result&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
##Call Control by NAA &lt;br /&gt;
##MO short message control support&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
##UCS2 Entry supported&lt;br /&gt;
##UCS2 Display supported&lt;br /&gt;
##Display Text&lt;br /&gt;
#Third byte (Proactive UICC):&lt;br /&gt;
##DISPLAY TEXT&lt;br /&gt;
##GET INKEY&lt;br /&gt;
##GET INPUT&lt;br /&gt;
##MORE TIME&lt;br /&gt;
##PLAY TONE&lt;br /&gt;
##POLL INTERVAL&lt;br /&gt;
##POLLING OFF&lt;br /&gt;
##REFRESH&lt;br /&gt;
#Fourth byte (Proactive UICC):&lt;br /&gt;
##Proactive UICC: SELECT ITEM&lt;br /&gt;
##Proactive UICC: SEND SHORT MESSAGE with 3GPP-SMS-TPDU&lt;br /&gt;
##Proactive UICC: SEND SS&lt;br /&gt;
##Proactive UICC:SEND USSD&lt;br /&gt;
##Proactive UICC: SET UP CALL&lt;br /&gt;
##Proactive UICC: SET UP MENU&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (MCC, MNC,LAC, Cell ID &amp;amp; IMEI)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (NMR)&lt;br /&gt;
#Fifth byte (Event driven information):&lt;br /&gt;
##Proactive UICC: SET UP EVENT LIST&lt;br /&gt;
##Event: MT call&lt;br /&gt;
##Event: Call connected&lt;br /&gt;
##Event: Call disconnected&lt;br /&gt;
##Event: Location status&lt;br /&gt;
##Event: User activity&lt;br /&gt;
##Event: Idle screen available&lt;br /&gt;
##Event: Card reader status&lt;br /&gt;
#Sixth byte (Event driven information extensions):&lt;br /&gt;
##Language selection&lt;br /&gt;
##Browser Termination&lt;br /&gt;
##Data available&lt;br /&gt;
##Channel status&lt;br /&gt;
##Access Technology Change&lt;br /&gt;
##Display parameters changed&lt;br /&gt;
##Local Connection&lt;br /&gt;
##Network Search Mode Change&lt;br /&gt;
#Seventh byte (Multiple card proactive commands) for class &amp;quot;a&amp;quot;:&lt;br /&gt;
##POWER ON CARD&lt;br /&gt;
##POWER OFF CARD&lt;br /&gt;
##PERFORM CARD APDU&lt;br /&gt;
##GET READER STATUS (Card reader status)&lt;br /&gt;
##GET READER STATUS (Card reader Identifier)&lt;br /&gt;
##RFU&lt;br /&gt;
#Eighth byte (Proactive UICC):&lt;br /&gt;
##Proactive UICC: TIMER MANAGEMENT (start, stop)&lt;br /&gt;
##Proactive UICC: TIMER MANAGEMENT (get current value)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (date, time and time zone)&lt;br /&gt;
##GET INKEY&lt;br /&gt;
##SET UP IDLE MODE TEXT&lt;br /&gt;
##RUN AT COMMAND (i.e. class &amp;quot;b&amp;quot; is supported)&lt;br /&gt;
##SETUP CALL&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
#Ninth byte:&lt;br /&gt;
##DISPLAY TEXT&lt;br /&gt;
##SEND DTMF command&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (language)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION, Timing Advance&lt;br /&gt;
##Proactive UICC: LANGUAGE NOTIFICATION&lt;br /&gt;
##Proactive UICC: LAUNCH BROWSER&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Access Technology)&lt;br /&gt;
#Tenth byte (Soft keys support) for class &amp;quot;d&amp;quot;:&lt;br /&gt;
##Soft keys support for SELECT ITEM&lt;br /&gt;
##Soft Keys support for SET UP MENU&lt;br /&gt;
##RFU&lt;br /&gt;
#Eleventh byte (Soft keys information):&lt;br /&gt;
##Maximum number of soft keys available 'FF' value is reserved for future use&lt;br /&gt;
#Twelfth byte:&lt;br /&gt;
##OPEN CHANNEL&lt;br /&gt;
##CLOSE CHANNEL&lt;br /&gt;
##RECEIVE DATA&lt;br /&gt;
##SEND DATA&lt;br /&gt;
##GET CHANNEL STATUS&lt;br /&gt;
##SERVICE SEARCH&lt;br /&gt;
##GET SERVICE INFORMATION&lt;br /&gt;
##DECLARE SERVICE&lt;br /&gt;
#Thirteenth byte:&lt;br /&gt;
##CSD&lt;br /&gt;
##GPRS&lt;br /&gt;
##Bluetooth&lt;br /&gt;
##IrDA&lt;br /&gt;
##RS232&lt;br /&gt;
##b6,b7,b8 - Number of channels supported by terminal&lt;br /&gt;
#Fourteenth byte (Screen height):&lt;br /&gt;
##b1 - b4 - Number of characters supported down the terminal display as defined in clause 5.3.1&lt;br /&gt;
##No display capability (i.e class &amp;quot;ND&amp;quot; is indicated)&lt;br /&gt;
##No keypad available (i.e. class &amp;quot;NK&amp;quot; is indicated)&lt;br /&gt;
##Screen Sizing Parameters supported as defined inclause 5.3&lt;br /&gt;
#Fifteenth byte (Screen width):&lt;br /&gt;
##b1-b7 - Number of characters supported across the terminal display as defined in clause 5.3.2&lt;br /&gt;
##Variable size fonts&lt;br /&gt;
#Sixteenth byte (Screen effects):&lt;br /&gt;
##Display can be resized as defined in clause 5.3.3&lt;br /&gt;
##Text Wrapping supported as defined in clause 5.3.4&lt;br /&gt;
##Text Scrolling supported as defined in clause 5.3.5&lt;br /&gt;
##Text Attributes supported as defined in clause 5.3.7&lt;br /&gt;
##b5 - RFU&lt;br /&gt;
##b6 - b8 - Width reduction when in a menu as defined in clause 5.3.6&lt;br /&gt;
#Seventeenth byte:&lt;br /&gt;
##TCP, UICC in client mode, remote connection&lt;br /&gt;
##UDP, UICC in client mode, remote connection&lt;br /&gt;
##TCP, UICC in server mode&lt;br /&gt;
##TCP, UICC in client mode, local connection (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##UDP, UICC in client mode, local connection (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
##E-UTRAN (if class &amp;quot;e&amp;quot; issupported))&lt;br /&gt;
##HSDPA (if class &amp;quot;e&amp;quot; is supported))&lt;br /&gt;
#Eighteenth byte:&lt;br /&gt;
##Proactive UICC: DISPLAY TEXT (Variable Time out)&lt;br /&gt;
##Proactive UICC: GET INKEY (help is supported while waiting for immediate response or variable timeout)&lt;br /&gt;
##USB&lt;br /&gt;
##Proactive UICC: GET INKEY (Variable Timeout)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (ESN)&lt;br /&gt;
##Call control on GPRS&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (IMEISV)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Search Mode change)&lt;br /&gt;
#Nineteenth byte (reserved for TIA/EIA-136-C facilities [25]):&lt;br /&gt;
##Reserved by TIA/EIA-136 [25] (Protocol Version support)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twentieth byte (reserved for TIA/EIA/IS-820-A facilities [17]):&lt;br /&gt;
##Reserved by TIA/EIA/IS-820 [17]&lt;br /&gt;
#Twenty-first byte (Extended Launch Browser Capability) for class &amp;quot;c&amp;quot;:&lt;br /&gt;
##WML&lt;br /&gt;
##XHTML&lt;br /&gt;
##HTML&lt;br /&gt;
##CHTML&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-second byte:&lt;br /&gt;
##Support of UTRAN PS with extended parameters&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION(battery state), (i.e. class &amp;quot;g&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PLAY TONE (Melody tones and Themed tones supported)&lt;br /&gt;
##Multi-media Calls in SET UP CALL (if class h supported)&lt;br /&gt;
##Reserved by 3GPP (Toolkit-initiated GBA)&lt;br /&gt;
##Proactive UICC: RETRIEVE MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: SUBMIT MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: DISPLAY MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
#Twenty third byte:&lt;br /&gt;
##Proactive UICC: SET FRAMES (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: GET FRAMES STATUS (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##MMS notification download (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Alpha Identifier in REFRESH command supported by terminal&lt;br /&gt;
##Geographical Location Reporting (if class &amp;quot;n&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (MEID)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (NMR(UTRAN))&lt;br /&gt;
##USSD Data download and application mode&lt;br /&gt;
#Twenty fourth byte for class &amp;quot;i&amp;quot;:&lt;br /&gt;
##b1-b4 - Maximum number of frames supported (including frames created in existing frames)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-fifth byte (Event driven information extensions):&lt;br /&gt;
##Event: Browsing status&lt;br /&gt;
##Event: MMS Transfer status (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Event: Frame Parameters changed (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##Event: I-WLAN Access status (if class &amp;quot;e&amp;quot; is supported)&lt;br /&gt;
##Event Network Rejection&lt;br /&gt;
##Event: HCI connectivity event (i.e. class &amp;quot;m&amp;quot; is supported)&lt;br /&gt;
##Reserved by 3GPP (E-UTRAN support in Event Network Rejection)&lt;br /&gt;
##Multiple access technologies supported in Event&lt;br /&gt;
##Access Technology Change and PROVIDE LOCAL INFORMATION &amp;lt;br&amp;gt;If bit &amp;quot;Multiple access technologies supported&amp;quot; is set to 1, it applies to the Event Access Technology Change if supported and all relevant modes of proactive command PROVIDE  LOCAL INFORMATION that are supported.&lt;br /&gt;
#Twenty-sixth byte (Event driven information extensions):&lt;br /&gt;
##RFU, bit = 0 (for future event indication)&lt;br /&gt;
#Twenty-seventh byte (Event driven information extensions):&lt;br /&gt;
##RFU, bit = 0 (for future event indication)&lt;br /&gt;
#Twenty-eighth byte (Text attributes):&lt;br /&gt;
##Alignment left supported by Terminal&lt;br /&gt;
##Alignment centre supported by Terminal&lt;br /&gt;
##Alignment right supported by Terminal&lt;br /&gt;
##Font size normal supported by Terminal&lt;br /&gt;
##Font size large supported by Terminal&lt;br /&gt;
##Font size small supported by Terminal&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-ninth byte (Text attributes):&lt;br /&gt;
##Style normal supported by Terminal&lt;br /&gt;
##Style bold supported by Terminal&lt;br /&gt;
##Style italic supported by Terminal&lt;br /&gt;
##Style underlined supported by Terminal&lt;br /&gt;
##Style strikethrough supported by Terminal&lt;br /&gt;
##Style text foreground colour supported by Terminal&lt;br /&gt;
##Style text background colour supported by Terminal&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Thirtieth byte:&lt;br /&gt;
##I-WLAN bearer support (if class &amp;quot;e&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (WSID of the current I-WLAN connection)&lt;br /&gt;
##TERMINAL APPLICATIONS (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##Steering of Roaming REFRESH support&lt;br /&gt;
##Proactive UICC: ACTIVATE (i.e class &amp;quot;l&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: GEOGRAPHICAL LOCATION REQUEST (if class &amp;quot;n&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Broadcast Network Information) (i.e. class &amp;quot;o&amp;quot; is supported)&lt;br /&gt;
##Steering of Roaming for I-WLAN REFRESH support&lt;br /&gt;
&lt;br /&gt;
====Values====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center;&amp;quot;&lt;br /&gt;
|Phone Type||B1||B2||B3||B4||B5||B6||B7||B8||B9||B10||B11||B12||B13||B14||B15||B16||B17||B18||B19||B20||B21||B22||B23||B24||B25||B26||B27||B28||B29||B30&lt;br /&gt;
|-&lt;br /&gt;
|Samsung Galaxy Express||ff||ff||ff||ff||7f||9d||00||df||bf||00||00||1f||e2||00||00||00||c3||6b||00||07||00||00||40||00||50||00||00||00||00||08&lt;br /&gt;
|-&lt;br /&gt;
|Samsung Galaxy Note 3||ff||ff||ff||ff||7f||9d||00||df||bf||00||00||1f||e2||00||00||00||c3||6b||00||07||00||00||40||00||50||00||00||00||00||08&lt;br /&gt;
|-&lt;br /&gt;
|HTC One X+||ff||ff||ff||ff||7f||1d||00||df||b7||03||02||1f||22||00||00||00||83||00||00||00||00||00||40||10||00||00||00||00||00||00&lt;br /&gt;
|-&lt;br /&gt;
|IPhone 4||ff||ff||ff||ff||7f||91||00||df||bf||00||00||00||00||00||00||00||00||f0||00||03||00||00||60||00||50||00||00||00||00||00&lt;br /&gt;
|-&lt;br /&gt;
|Nokia E72||ff||ff||ff||ff||7f||1d||00||df||bf||00||00||17||e2||05||0f||00||03||09||00||00||00||00||00||00||00||00||00||00||00||00&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Andrei</name></author>	</entry>

	<entry>
		<id>https://ss7api.null.ro/index.php/SIM_Cards</id>
		<title>SIM Cards</title>
		<link rel="alternate" type="text/html" href="https://ss7api.null.ro/index.php/SIM_Cards"/>
				<updated>2014-03-06T11:03:12Z</updated>
		
		<summary type="html">&lt;p&gt;Andrei: /* Call Related Events and Requests */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
===SIM Events===&lt;br /&gt;
&lt;br /&gt;
====Call Related Events and Requests====&lt;br /&gt;
The following events are received by the SIM card when a call is made.&lt;br /&gt;
*Standard: Details can be found in standard TS 31.111&lt;br /&gt;
*Terminal Class: This events should work in all terminals.&lt;br /&gt;
*Status: Tests were made successfully for Mobile Originating Calls&lt;br /&gt;
*Events:&amp;lt;br&amp;gt;The SIM is notified on the following events:&lt;br /&gt;
**Mobile Originating Call Initiated&lt;br /&gt;
**Mobile Originating SMS Initiated&lt;br /&gt;
**Mobile Originating USSD Initiated&lt;br /&gt;
**Mobile Originating SS Initiated&amp;lt;br&amp;gt;On the events above, the 'address' and 'subaddress' parameters can be altered.&lt;br /&gt;
*Notifications:&amp;lt;br&amp;gt;We can receive notifications for the following events.&amp;lt;br&amp;gt;NOTE: We can not alter the event flow. Eg. We can not keep the call alive if we received call terminated event.&lt;br /&gt;
**Call Connected&lt;br /&gt;
**Call Terminated&lt;br /&gt;
*Requests - We can make the following requests:&lt;br /&gt;
**Set Up Call&lt;br /&gt;
**Send DTMF&lt;br /&gt;
*Parameters:&amp;lt;br&amp;gt;The following parameters can be provided, can be altered or are provided by the terminal.&lt;br /&gt;
**Address&amp;lt;br&amp;gt;The called party address. Details on TS 31.111 chapter 8.1&lt;br /&gt;
**Subaddress&amp;lt;br&amp;gt;The called party subaddress. Details on TS 31.111 chapter  8.3&lt;br /&gt;
&lt;br /&gt;
====Browsing====&lt;br /&gt;
Open a SIM provided URL in phone defaults browser.&lt;br /&gt;
*Standard: Details can be fond in TS 102 223.&lt;br /&gt;
*Terminal: This should work in a class C terminal.&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&amp;lt;br&amp;gt;We are notified when one of the following events occures:&lt;br /&gt;
**Status&amp;lt;br&amp;gt;Received when the browser receives a distant error from the network.&lt;br /&gt;
**Terminated&amp;lt;br&amp;gt;Received when the browser is terminated.&lt;br /&gt;
*Requests:&lt;br /&gt;
**Lunch Browser&amp;lt;br&amp;gt;Ask a terminal to open a browser with the provided URL.&lt;br /&gt;
&lt;br /&gt;
====Access Technology====&lt;br /&gt;
Notification sent from the phone to inform about the access technology 2g/3g&lt;br /&gt;
*Standard Details can be found in TS 102 223&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Changed&amp;lt;br&amp;gt;The access technology has changed from 2g/3g.&lt;br /&gt;
&lt;br /&gt;
====Card Reader====&lt;br /&gt;
Get events and perform actions on an additional card reader, &lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Terminal Class: A&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Status&amp;lt;br&amp;gt;Notification that a card was inserted or removed; or a card reader is available or unavailable.&lt;br /&gt;
*Requests:&lt;br /&gt;
**Power ON Card&amp;lt;br&amp;gt;Start a session with an additional card.&lt;br /&gt;
**Power OFF Card&amp;lt;br&amp;gt;Stop a session with an additional card.&lt;br /&gt;
**Perform Card APDU&amp;lt;br&amp;gt;Send an APDU command to an additional card.&lt;br /&gt;
**Get Reader Status&amp;lt;br&amp;gt;Request to the terminal to provide additional information about additional card readers.&lt;br /&gt;
&lt;br /&gt;
====Data====&lt;br /&gt;
The following events and requests are available for data exchange.&lt;br /&gt;
*Standard: more documentation can be found in TS 102 223&lt;br /&gt;
*Status: In testing but no compatible device found!&lt;br /&gt;
*Terminal class E&lt;br /&gt;
*Events:&lt;br /&gt;
**Data available&amp;lt;br&amp;gt;Notification from the terminal that data has arrived from the network.&lt;br /&gt;
**Channel Status&amp;lt;br&amp;gt;Notification from the terminal that the channel status is changed.&lt;br /&gt;
*Requests&lt;br /&gt;
**Open Channel&amp;lt;br&amp;gt;Request to open a channel.&lt;br /&gt;
**Send Data&amp;lt;br&amp;gt;Request to send data on a open channel.&lt;br /&gt;
**Receive Data&amp;lt;br&amp;gt;Request to receive data on a open channel.&lt;br /&gt;
**Close Channel&amp;lt;br&amp;gt;Request to close a open channel.&lt;br /&gt;
&lt;br /&gt;
====User Interface====&lt;br /&gt;
The following events and request are related to user interface.&lt;br /&gt;
*Standard details can be found in standard TS 102 223&lt;br /&gt;
*Status: Most of them were tested.&lt;br /&gt;
*Events:&lt;br /&gt;
**Display Parameter Change&amp;lt;br&amp;gt;Notification from the terminal when the screen is resized.&lt;br /&gt;
**Frames Information Changed&amp;lt;br&amp;gt;Notification from the terminal when the frames are resized.&amp;lt;br&amp;gt;Requires terminal class I.&lt;br /&gt;
**Idle screen available&amp;lt;br&amp;gt;Notification from the terminal that the screen is idle.&lt;br /&gt;
**User activity&amp;lt;br&amp;gt;Notification from the terminal when the the user is interacting with the terminal.&amp;lt;br&amp;gt;This event is received only once after it was requested.&lt;br /&gt;
**Menu Selection&amp;lt;br&amp;gt;Notification from the terminal when the user has selected a menu item.&lt;br /&gt;
**Menu Selection Help Request&amp;lt;br&amp;gt;Notification from the terminal when the user requested help information on a menu.&lt;br /&gt;
*Requests:&lt;br /&gt;
**Get Input&amp;lt;br&amp;gt;Prompt the user to insert a text.&lt;br /&gt;
**Get InKey&amp;lt;br&amp;gt;Prompt the user to insert a key.&lt;br /&gt;
**Display Text&amp;lt;br&amp;gt;Prompt a text to the user.&lt;br /&gt;
**Set Up Menu&amp;lt;br&amp;gt;Prompt a menu to the user.&lt;br /&gt;
**Select Item&amp;lt;br&amp;gt;Provide a list of options to the user and instruct him to select one.&lt;br /&gt;
**Set Up Idle Mode Text&amp;lt;br&amp;gt;Instruct the terminal to show the provided text when it is in idle mode.&lt;br /&gt;
**Set Frames&amp;lt;br&amp;gt;Set the number of frames in which the terminal should devide its screen.&amp;lt;br&amp;gt;Requires terminal class I&lt;br /&gt;
**Get Frame Status&amp;lt;br&amp;gt;Get the parameters of a frame.&amp;lt;br&amp;gt;Requires terminal class I&lt;br /&gt;
&lt;br /&gt;
====SMS====&lt;br /&gt;
SMS related procedures.&lt;br /&gt;
*Standard details can be found in standard TS 131 111&lt;br /&gt;
*Status: Not tested yet&lt;br /&gt;
*Events:&amp;lt;br&amp;gt; Only OTA SMS are sent by the terminal to the SIM. Mobile Terminated SMS can not be intercepted by the SIM card.&lt;br /&gt;
**SMS-Point to Point Data Download unformatted&lt;br /&gt;
**SMS-Point to Point Data Download formatted&lt;br /&gt;
**SMS-Cell Broadcast Data Download formatted&lt;br /&gt;
**SMS-Cell Broadcast Data Download unformatted&lt;br /&gt;
*Requests:&lt;br /&gt;
**Send Short Message&amp;lt;br&amp;gt;Send a short message to the network.&lt;br /&gt;
*Parameters&lt;br /&gt;
**Address&amp;lt;br&amp;gt;The destination address.&lt;br /&gt;
**SMS TPDU&lt;br /&gt;
&lt;br /&gt;
====SS====&lt;br /&gt;
Supplementary Services events and requests. &lt;br /&gt;
*Standard Details can be found in TS 131 111&lt;br /&gt;
*Terminal class P is required for USSD Data Download. All other operations should work on any device.&lt;br /&gt;
*Status: Send USSD tested.&lt;br /&gt;
*Events:&lt;br /&gt;
**USSD Data Download formatted&amp;lt;br&amp;gt;Requires class P&lt;br /&gt;
**USSD Data Download unformatted&amp;lt;br&amp;gt;Requires class P&lt;br /&gt;
*Requests:&lt;br /&gt;
**Send SS&amp;lt;br&amp;gt;Send a Supplementary Service request to the network.&lt;br /&gt;
**Send USSD&amp;lt;br&amp;gt;Send a USSD Request to the network. Only the last response arrives in the SIM card. If the USSD request requires a menu USSD session, the user interaction will me required.&lt;br /&gt;
*Parameters&lt;br /&gt;
**SS String&lt;br /&gt;
**USSD String&lt;br /&gt;
&lt;br /&gt;
====IMS====&lt;br /&gt;
The following events are dedicated for IMS.&lt;br /&gt;
*Standard: Details can be found in TS 131 111&lt;br /&gt;
*Terminal class E + T&lt;br /&gt;
*Events&lt;br /&gt;
**Download IMS Registration.&amp;lt;br&amp;gt;Notification from the terminal to download the IMS registration message.&lt;br /&gt;
**Download Incoming IMS Data.&amp;lt;br&amp;gt;Notification from the terminal to download the incomming IMS message.&lt;br /&gt;
*Parameters&lt;br /&gt;
**IARI&lt;br /&gt;
**IMPU List&lt;br /&gt;
**IMS status code&lt;br /&gt;
&lt;br /&gt;
====Terminal====&lt;br /&gt;
Terminal related events and requests.&lt;br /&gt;
*Standard: details can be found in TS 102 223 and TS 131 111&lt;br /&gt;
*Events&lt;br /&gt;
**Location Status&amp;lt;br&amp;gt;Notification from the terminal that it has changed its location.&amp;lt;br&amp;gt;Status: tested&amp;lt;br&amp;gt;Parameters:&lt;br /&gt;
***Location Status: details can be found in TS 102.223 8.27&lt;br /&gt;
***Location Information: details can be found in TS 102.223 8.19&lt;br /&gt;
**Language Selection&amp;lt;br&amp;gt;Notification from the terminal that the current used language has changed.&lt;br /&gt;
**Network Reject&amp;lt;br&amp;gt;Notification from the terminal that the network has rejected a request.&lt;br /&gt;
**Timer expiration&amp;lt;br&amp;gt;Notification from the terminal that a requested timer has expired.&lt;br /&gt;
*Requests&lt;br /&gt;
**Provide Local Information&amp;lt;br&amp;gt;Request to the terminal to provide location information.&lt;br /&gt;
**Language Notification&amp;lt;br&amp;gt;Inform the terminal what language will be used in this session.&lt;br /&gt;
**Geographical Location Request&amp;lt;br&amp;gt;Ask the terminal to provide advanced geographical location.&amp;lt;br&amp;gt;Terminal type N is required.&lt;br /&gt;
**More Time&amp;lt;br&amp;gt;Request to terminal for more processing time. &lt;br /&gt;
**Refresh&amp;lt;br&amp;gt;Request to terminal to reinitialize SIM card.&lt;br /&gt;
**Timer Management&amp;lt;br&amp;gt;Request to the terminal to emit a timer event after the specified time interval.&lt;br /&gt;
&lt;br /&gt;
====Service====&lt;br /&gt;
Commands dedicated for terminal services.&lt;br /&gt;
*Standard: details can be found in TS 102 223&lt;br /&gt;
*Status: not tested&lt;br /&gt;
*Terminal class F is required.&lt;br /&gt;
*Requests:&amp;lt;br&amp;gt;The following requests are available:&lt;br /&gt;
**Declare Service&amp;lt;br&amp;gt;Inform the terminal about a service supported by the SIM.&lt;br /&gt;
**Search Service&amp;lt;br&amp;gt;Search for a specific service in terminal's database.&lt;br /&gt;
**Get Service Information&amp;lt;br&amp;gt;Request to the terminal to provide information about a specific service.&lt;br /&gt;
&lt;br /&gt;
====MMS====&lt;br /&gt;
MMS Related requests.&lt;br /&gt;
*Standard details can be found in TS 102 223&lt;br /&gt;
*Status: not tested&lt;br /&gt;
*Terminal class J required&lt;br /&gt;
*Requests:&lt;br /&gt;
**Retreive MMS&amp;lt;br&amp;gt;Request the terminal to retreive the MMS from the network with the given MMS message reference.&lt;br /&gt;
**Submit MMS&amp;lt;br&amp;gt;Request to terminal to submit the specified MM to the network.&lt;br /&gt;
**Display MMS&amp;lt;br&amp;gt;Request to terminal to display a MMS.&lt;br /&gt;
&lt;br /&gt;
===Card File System===&lt;br /&gt;
&lt;br /&gt;
====USIM File System====&lt;br /&gt;
Extracted from standard TS 131.102.&lt;br /&gt;
*Language Indication&lt;br /&gt;
*IMSI&lt;br /&gt;
*Ciphering and Integrity Keys&lt;br /&gt;
*Ciphering and Integrity Keys for Packet Switched domain&lt;br /&gt;
*User controlled PLMN selector with Access Technology&lt;br /&gt;
*Higher Priority PLMN search period&lt;br /&gt;
*ACM maximum value&lt;br /&gt;
*USIM Service Table&lt;br /&gt;
*Accumulated Call Meter&lt;br /&gt;
*Group Identifier Level 1&lt;br /&gt;
*Group Identifier Level 2&lt;br /&gt;
*Service Provider Name&lt;br /&gt;
*Price per Unit and Currency Table&lt;br /&gt;
*Cell Broadcast Message identifier selection&lt;br /&gt;
*Access Control Class&lt;br /&gt;
*Forbidden PLMNs&lt;br /&gt;
*Location Information&lt;br /&gt;
*Administrative Data&lt;br /&gt;
*Cell Broadcast Message Identifier for Data Download&lt;br /&gt;
*Emergency Call Codes&lt;br /&gt;
*Cell Broadcast Message Identifier Range selection&lt;br /&gt;
*Packet Switched location information&lt;br /&gt;
*Fixed Dialling Numbers&lt;br /&gt;
*Short messages&lt;br /&gt;
*MSISDN&lt;br /&gt;
*Short message service parameters&lt;br /&gt;
*SMS status&lt;br /&gt;
*Service Dialling Numbers&lt;br /&gt;
*Extension2&lt;br /&gt;
*Extension3&lt;br /&gt;
*Short message status reports&lt;br /&gt;
*Incoming Call Information&lt;br /&gt;
*Outgoing Call Information&lt;br /&gt;
*Incoming Call Timer&lt;br /&gt;
*Outgoing Call Timer&lt;br /&gt;
*Extension5&lt;br /&gt;
*Capability Configuration Parameters 2&lt;br /&gt;
*enhanced Multi Level Precedence and Pre-emption&lt;br /&gt;
*Automatic Answer for eMLPP Service&lt;br /&gt;
*Key for hidden phone book entries&lt;br /&gt;
*Barred Dialling Numbers&lt;br /&gt;
*Extension4&lt;br /&gt;
*Comparison Method Information&lt;br /&gt;
*Enabled Services Table&lt;br /&gt;
*Access Point Name Control List&lt;br /&gt;
*Depersonalisation Control Keys&lt;br /&gt;
*Co-operative Network List&lt;br /&gt;
*Initialisation values for Hyperframe number&lt;br /&gt;
*Maximum value of START&lt;br /&gt;
*Operator controlled PLMN selector with Access Technology&lt;br /&gt;
*HPLMN selector with Access Technology&lt;br /&gt;
*Access Rule Reference&lt;br /&gt;
*Network Parameters&lt;br /&gt;
*PLMN Network Name&lt;br /&gt;
*Operator PLMN List&lt;br /&gt;
*Mailbox Dialling Numbers&lt;br /&gt;
*Extension6&lt;br /&gt;
*Mailbox Identifier&lt;br /&gt;
*Message Waiting Indication Status&lt;br /&gt;
*Call Forwarding Indication Status&lt;br /&gt;
*Extension7&lt;br /&gt;
*Service Provider Display Information&lt;br /&gt;
*MMS Notification&lt;br /&gt;
*Extension 8&lt;br /&gt;
*MMS Issuer Connectivity Parameters&lt;br /&gt;
*MMS User Preferences&lt;br /&gt;
*MMS User Connectivity Parameters&lt;br /&gt;
*Network's Indication of Alerting&lt;br /&gt;
*Voice Group Call Service&lt;br /&gt;
*Voice Group Call Service Status&lt;br /&gt;
*Voice Broadcast Service&lt;br /&gt;
*Voice Broadcast Service Status&lt;br /&gt;
&lt;br /&gt;
===Terminal profile===&lt;br /&gt;
====Description====&lt;br /&gt;
The terminal can be interrogated about which functions it supports.&lt;br /&gt;
#First byte (Download):&lt;br /&gt;
##Profile download&lt;br /&gt;
##SMS-PP data download&lt;br /&gt;
##Cell Broadcast data download)&lt;br /&gt;
##Menu selection&lt;br /&gt;
##SMS-PP data download&lt;br /&gt;
##Timer expiration&lt;br /&gt;
##USSD string data object support in Call Control by USIM&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
#Second byte (Other):&lt;br /&gt;
##Command result&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
##Call Control by NAA &lt;br /&gt;
##MO short message control support&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
##UCS2 Entry supported&lt;br /&gt;
##UCS2 Display supported&lt;br /&gt;
##Display Text&lt;br /&gt;
#Third byte (Proactive UICC):&lt;br /&gt;
##DISPLAY TEXT&lt;br /&gt;
##GET INKEY&lt;br /&gt;
##GET INPUT&lt;br /&gt;
##MORE TIME&lt;br /&gt;
##PLAY TONE&lt;br /&gt;
##POLL INTERVAL&lt;br /&gt;
##POLLING OFF&lt;br /&gt;
##REFRESH&lt;br /&gt;
#Fourth byte (Proactive UICC):&lt;br /&gt;
##Proactive UICC: SELECT ITEM&lt;br /&gt;
##Proactive UICC: SEND SHORT MESSAGE with 3GPP-SMS-TPDU&lt;br /&gt;
##Proactive UICC: SEND SS&lt;br /&gt;
##Proactive UICC:SEND USSD&lt;br /&gt;
##Proactive UICC: SET UP CALL&lt;br /&gt;
##Proactive UICC: SET UP MENU&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (MCC, MNC,LAC, Cell ID &amp;amp; IMEI)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (NMR)&lt;br /&gt;
#Fifth byte (Event driven information):&lt;br /&gt;
##Proactive UICC: SET UP EVENT LIST&lt;br /&gt;
##Event: MT call&lt;br /&gt;
##Event: Call connected&lt;br /&gt;
##Event: Call disconnected&lt;br /&gt;
##Event: Location status&lt;br /&gt;
##Event: User activity&lt;br /&gt;
##Event: Idle screen available&lt;br /&gt;
##Event: Card reader status&lt;br /&gt;
#Sixth byte (Event driven information extensions):&lt;br /&gt;
##Language selection&lt;br /&gt;
##Browser Termination&lt;br /&gt;
##Data available&lt;br /&gt;
##Channel status&lt;br /&gt;
##Access Technology Change&lt;br /&gt;
##Display parameters changed&lt;br /&gt;
##Local Connection&lt;br /&gt;
##Network Search Mode Change&lt;br /&gt;
#Seventh byte (Multiple card proactive commands) for class &amp;quot;a&amp;quot;:&lt;br /&gt;
##POWER ON CARD&lt;br /&gt;
##POWER OFF CARD&lt;br /&gt;
##PERFORM CARD APDU&lt;br /&gt;
##GET READER STATUS (Card reader status)&lt;br /&gt;
##GET READER STATUS (Card reader Identifier)&lt;br /&gt;
##RFU&lt;br /&gt;
#Eighth byte (Proactive UICC):&lt;br /&gt;
##Proactive UICC: TIMER MANAGEMENT (start, stop)&lt;br /&gt;
##Proactive UICC: TIMER MANAGEMENT (get current value)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (date, time and time zone)&lt;br /&gt;
##GET INKEY&lt;br /&gt;
##SET UP IDLE MODE TEXT&lt;br /&gt;
##RUN AT COMMAND (i.e. class &amp;quot;b&amp;quot; is supported)&lt;br /&gt;
##SETUP CALL&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
#Ninth byte:&lt;br /&gt;
##DISPLAY TEXT&lt;br /&gt;
##SEND DTMF command&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (language)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION, Timing Advance&lt;br /&gt;
##Proactive UICC: LANGUAGE NOTIFICATION&lt;br /&gt;
##Proactive UICC: LAUNCH BROWSER&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Access Technology)&lt;br /&gt;
#Tenth byte (Soft keys support) for class &amp;quot;d&amp;quot;:&lt;br /&gt;
##Soft keys support for SELECT ITEM&lt;br /&gt;
##Soft Keys support for SET UP MENU&lt;br /&gt;
##RFU&lt;br /&gt;
#Eleventh byte (Soft keys information):&lt;br /&gt;
##Maximum number of soft keys available 'FF' value is reserved for future use&lt;br /&gt;
#Twelfth byte:&lt;br /&gt;
##OPEN CHANNEL&lt;br /&gt;
##CLOSE CHANNEL&lt;br /&gt;
##RECEIVE DATA&lt;br /&gt;
##SEND DATA&lt;br /&gt;
##GET CHANNEL STATUS&lt;br /&gt;
##SERVICE SEARCH&lt;br /&gt;
##GET SERVICE INFORMATION&lt;br /&gt;
##DECLARE SERVICE&lt;br /&gt;
#Thirteenth byte:&lt;br /&gt;
##CSD&lt;br /&gt;
##GPRS&lt;br /&gt;
##Bluetooth&lt;br /&gt;
##IrDA&lt;br /&gt;
##RS232&lt;br /&gt;
##b6,b7,b8 - Number of channels supported by terminal&lt;br /&gt;
#Fourteenth byte (Screen height):&lt;br /&gt;
##b1 - b4 - Number of characters supported down the terminal display as defined in clause 5.3.1&lt;br /&gt;
##No display capability (i.e class &amp;quot;ND&amp;quot; is indicated)&lt;br /&gt;
##No keypad available (i.e. class &amp;quot;NK&amp;quot; is indicated)&lt;br /&gt;
##Screen Sizing Parameters supported as defined inclause 5.3&lt;br /&gt;
#Fifteenth byte (Screen width):&lt;br /&gt;
##b1-b7 - Number of characters supported across the terminal display as defined in clause 5.3.2&lt;br /&gt;
##Variable size fonts&lt;br /&gt;
#Sixteenth byte (Screen effects):&lt;br /&gt;
##Display can be resized as defined in clause 5.3.3&lt;br /&gt;
##Text Wrapping supported as defined in clause 5.3.4&lt;br /&gt;
##Text Scrolling supported as defined in clause 5.3.5&lt;br /&gt;
##Text Attributes supported as defined in clause 5.3.7&lt;br /&gt;
##b5 - RFU&lt;br /&gt;
##b6 - b8 - Width reduction when in a menu as defined in clause 5.3.6&lt;br /&gt;
#Seventeenth byte:&lt;br /&gt;
##TCP, UICC in client mode, remote connection&lt;br /&gt;
##UDP, UICC in client mode, remote connection&lt;br /&gt;
##TCP, UICC in server mode&lt;br /&gt;
##TCP, UICC in client mode, local connection (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##UDP, UICC in client mode, local connection (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
##E-UTRAN (if class &amp;quot;e&amp;quot; issupported))&lt;br /&gt;
##HSDPA (if class &amp;quot;e&amp;quot; is supported))&lt;br /&gt;
#Eighteenth byte:&lt;br /&gt;
##Proactive UICC: DISPLAY TEXT (Variable Time out)&lt;br /&gt;
##Proactive UICC: GET INKEY (help is supported while waiting for immediate response or variable timeout)&lt;br /&gt;
##USB&lt;br /&gt;
##Proactive UICC: GET INKEY (Variable Timeout)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (ESN)&lt;br /&gt;
##Call control on GPRS&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (IMEISV)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Search Mode change)&lt;br /&gt;
#Nineteenth byte (reserved for TIA/EIA-136-C facilities [25]):&lt;br /&gt;
##Reserved by TIA/EIA-136 [25] (Protocol Version support)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twentieth byte (reserved for TIA/EIA/IS-820-A facilities [17]):&lt;br /&gt;
##Reserved by TIA/EIA/IS-820 [17]&lt;br /&gt;
#Twenty-first byte (Extended Launch Browser Capability) for class &amp;quot;c&amp;quot;:&lt;br /&gt;
##WML&lt;br /&gt;
##XHTML&lt;br /&gt;
##HTML&lt;br /&gt;
##CHTML&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-second byte:&lt;br /&gt;
##Support of UTRAN PS with extended parameters&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION(battery state), (i.e. class &amp;quot;g&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PLAY TONE (Melody tones and Themed tones supported)&lt;br /&gt;
##Multi-media Calls in SET UP CALL (if class h supported)&lt;br /&gt;
##Reserved by 3GPP (Toolkit-initiated GBA)&lt;br /&gt;
##Proactive UICC: RETRIEVE MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: SUBMIT MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: DISPLAY MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
#Twenty third byte:&lt;br /&gt;
##Proactive UICC: SET FRAMES (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: GET FRAMES STATUS (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##MMS notification download (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Alpha Identifier in REFRESH command supported by terminal&lt;br /&gt;
##Geographical Location Reporting (if class &amp;quot;n&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (MEID)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (NMR(UTRAN))&lt;br /&gt;
##USSD Data download and application mode&lt;br /&gt;
#Twenty fourth byte for class &amp;quot;i&amp;quot;:&lt;br /&gt;
##b1-b4 - Maximum number of frames supported (including frames created in existing frames)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-fifth byte (Event driven information extensions):&lt;br /&gt;
##Event: Browsing status&lt;br /&gt;
##Event: MMS Transfer status (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Event: Frame Parameters changed (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##Event: I-WLAN Access status (if class &amp;quot;e&amp;quot; is supported)&lt;br /&gt;
##Event Network Rejection&lt;br /&gt;
##Event: HCI connectivity event (i.e. class &amp;quot;m&amp;quot; is supported)&lt;br /&gt;
##Reserved by 3GPP (E-UTRAN support in Event Network Rejection)&lt;br /&gt;
##Multiple access technologies supported in Event&lt;br /&gt;
##Access Technology Change and PROVIDE LOCAL INFORMATION &amp;lt;br&amp;gt;If bit &amp;quot;Multiple access technologies supported&amp;quot; is set to 1, it applies to the Event Access Technology Change if supported and all relevant modes of proactive command PROVIDE  LOCAL INFORMATION that are supported.&lt;br /&gt;
#Twenty-sixth byte (Event driven information extensions):&lt;br /&gt;
##RFU, bit = 0 (for future event indication)&lt;br /&gt;
#Twenty-seventh byte (Event driven information extensions):&lt;br /&gt;
##RFU, bit = 0 (for future event indication)&lt;br /&gt;
#Twenty-eighth byte (Text attributes):&lt;br /&gt;
##Alignment left supported by Terminal&lt;br /&gt;
##Alignment centre supported by Terminal&lt;br /&gt;
##Alignment right supported by Terminal&lt;br /&gt;
##Font size normal supported by Terminal&lt;br /&gt;
##Font size large supported by Terminal&lt;br /&gt;
##Font size small supported by Terminal&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-ninth byte (Text attributes):&lt;br /&gt;
##Style normal supported by Terminal&lt;br /&gt;
##Style bold supported by Terminal&lt;br /&gt;
##Style italic supported by Terminal&lt;br /&gt;
##Style underlined supported by Terminal&lt;br /&gt;
##Style strikethrough supported by Terminal&lt;br /&gt;
##Style text foreground colour supported by Terminal&lt;br /&gt;
##Style text background colour supported by Terminal&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Thirtieth byte:&lt;br /&gt;
##I-WLAN bearer support (if class &amp;quot;e&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (WSID of the current I-WLAN connection)&lt;br /&gt;
##TERMINAL APPLICATIONS (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##Steering of Roaming REFRESH support&lt;br /&gt;
##Proactive UICC: ACTIVATE (i.e class &amp;quot;l&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: GEOGRAPHICAL LOCATION REQUEST (if class &amp;quot;n&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Broadcast Network Information) (i.e. class &amp;quot;o&amp;quot; is supported)&lt;br /&gt;
##Steering of Roaming for I-WLAN REFRESH support&lt;br /&gt;
&lt;br /&gt;
====Values====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center;&amp;quot;&lt;br /&gt;
|Phone Type||B1||B2||B3||B4||B5||B6||B7||B8||B9||B10||B11||B12||B13||B14||B15||B16||B17||B18||B19||B20||B21||B22||B23||B24||B25||B26||B27||B28||B29||B30&lt;br /&gt;
|-&lt;br /&gt;
|Samsung Galaxy Express||ff||ff||ff||ff||7f||9d||00||df||bf||00||00||1f||e2||00||00||00||c3||6b||00||07||00||00||40||00||50||00||00||00||00||08&lt;br /&gt;
|-&lt;br /&gt;
|Samsung Galaxy Note 3||ff||ff||ff||ff||7f||9d||00||df||bf||00||00||1f||e2||00||00||00||c3||6b||00||07||00||00||40||00||50||00||00||00||00||08&lt;br /&gt;
|-&lt;br /&gt;
|HTC One X+||ff||ff||ff||ff||7f||1d||00||df||b7||03||02||1f||22||00||00||00||83||00||00||00||00||00||40||10||00||00||00||00||00||00&lt;br /&gt;
|-&lt;br /&gt;
|IPhone 4||ff||ff||ff||ff||7f||91||00||df||bf||00||00||00||00||00||00||00||00||f0||00||03||00||00||60||00||50||00||00||00||00||00&lt;br /&gt;
|-&lt;br /&gt;
|Nokia E72||ff||ff||ff||ff||7f||1d||00||df||bf||00||00||17||e2||05||0f||00||03||09||00||00||00||00||00||00||00||00||00||00||00||00&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Andrei</name></author>	</entry>

	<entry>
		<id>https://ss7api.null.ro/index.php/SIM_Cards</id>
		<title>SIM Cards</title>
		<link rel="alternate" type="text/html" href="https://ss7api.null.ro/index.php/SIM_Cards"/>
				<updated>2014-03-06T10:39:11Z</updated>
		
		<summary type="html">&lt;p&gt;Andrei: /* MMS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
===SIM Events===&lt;br /&gt;
&lt;br /&gt;
====Call Related Events and Requests====&lt;br /&gt;
The following events are received by the SIM card when a call is made.&lt;br /&gt;
*Standard: Details can be found in standard TS 31.111&lt;br /&gt;
*Terminal Class: This events should work in all terminals.&lt;br /&gt;
*Status: Tests were made successfully for Mobile Originating Calls&lt;br /&gt;
*Events:&amp;lt;br&amp;gt;The SIM is notified on the following events:&lt;br /&gt;
**Mobile Originating Call Initiated&lt;br /&gt;
**Mobile Originating SMS Initiated&lt;br /&gt;
**Mobile Originating USSD Initiated&lt;br /&gt;
**Mobile Originating SS Initiated&amp;lt;br&amp;gt;On the events above, the 'address' and 'subaddress' parameters can be altered.&lt;br /&gt;
*Notifications:&amp;lt;br&amp;gt;We can receive notifications for the following events. NOTE: We can not alter the event flow. Eg. We can not keep the call alive if we received call terminated event.&lt;br /&gt;
**Call Connected&lt;br /&gt;
**Call Terminated&lt;br /&gt;
*Requests - We can make the following requests:&lt;br /&gt;
**Set Up Call&lt;br /&gt;
**Send DTMF&lt;br /&gt;
*Parameters:&lt;br /&gt;
**Address&amp;lt;br&amp;gt;The called party address. Details on TS 31.111 chapter 8.1&lt;br /&gt;
**Subaddress&amp;lt;br&amp;gt;The called party subaddress. Details on TS 31.111 chapter  8.3&lt;br /&gt;
&lt;br /&gt;
====Browsing====&lt;br /&gt;
Open a SIM provided URL in phone defaults browser.&lt;br /&gt;
*Standard: Details can be fond in TS 102 223.&lt;br /&gt;
*Terminal: This should work in a class C terminal.&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&amp;lt;br&amp;gt;We are notified when one of the following events occures:&lt;br /&gt;
**Status&amp;lt;br&amp;gt;Received when the browser receives a distant error from the network.&lt;br /&gt;
**Terminated&amp;lt;br&amp;gt;Received when the browser is terminated.&lt;br /&gt;
*Requests:&lt;br /&gt;
**Lunch Browser&amp;lt;br&amp;gt;Ask a terminal to open a browser with the provided URL.&lt;br /&gt;
&lt;br /&gt;
====Access Technology====&lt;br /&gt;
Notification sent from the phone to inform about the access technology 2g/3g&lt;br /&gt;
*Standard Details can be found in TS 102 223&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Changed&amp;lt;br&amp;gt;The access technology has changed from 2g/3g.&lt;br /&gt;
&lt;br /&gt;
====Card Reader====&lt;br /&gt;
Get events and perform actions on an additional card reader, &lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Terminal Class: A&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Status&amp;lt;br&amp;gt;Notification that a card was inserted or removed; or a card reader is available or unavailable.&lt;br /&gt;
*Requests:&lt;br /&gt;
**Power ON Card&amp;lt;br&amp;gt;Start a session with an additional card.&lt;br /&gt;
**Power OFF Card&amp;lt;br&amp;gt;Stop a session with an additional card.&lt;br /&gt;
**Perform Card APDU&amp;lt;br&amp;gt;Send an APDU command to an additional card.&lt;br /&gt;
**Get Reader Status&amp;lt;br&amp;gt;Request to the terminal to provide additional information about additional card readers.&lt;br /&gt;
&lt;br /&gt;
====Data====&lt;br /&gt;
The following events and requests are available for data exchange.&lt;br /&gt;
*Standard: more documentation can be found in TS 102 223&lt;br /&gt;
*Status: In testing but no compatible device found!&lt;br /&gt;
*Terminal class E&lt;br /&gt;
*Events:&lt;br /&gt;
**Data available&amp;lt;br&amp;gt;Notification from the terminal that data has arrived from the network.&lt;br /&gt;
**Channel Status&amp;lt;br&amp;gt;Notification from the terminal that the channel status is changed.&lt;br /&gt;
*Requests&lt;br /&gt;
**Open Channel&amp;lt;br&amp;gt;Request to open a channel.&lt;br /&gt;
**Send Data&amp;lt;br&amp;gt;Request to send data on a open channel.&lt;br /&gt;
**Receive Data&amp;lt;br&amp;gt;Request to receive data on a open channel.&lt;br /&gt;
**Close Channel&amp;lt;br&amp;gt;Request to close a open channel.&lt;br /&gt;
&lt;br /&gt;
====User Interface====&lt;br /&gt;
The following events and request are related to user interface.&lt;br /&gt;
*Standard details can be found in standard TS 102 223&lt;br /&gt;
*Status: Most of them were tested.&lt;br /&gt;
*Events:&lt;br /&gt;
**Display Parameter Change&amp;lt;br&amp;gt;Notification from the terminal when the screen is resized.&lt;br /&gt;
**Frames Information Changed&amp;lt;br&amp;gt;Notification from the terminal when the frames are resized.&amp;lt;br&amp;gt;Requires terminal class I.&lt;br /&gt;
**Idle screen available&amp;lt;br&amp;gt;Notification from the terminal that the screen is idle.&lt;br /&gt;
**User activity&amp;lt;br&amp;gt;Notification from the terminal when the the user is interacting with the terminal.&amp;lt;br&amp;gt;This event is received only once after it was requested.&lt;br /&gt;
**Menu Selection&amp;lt;br&amp;gt;Notification from the terminal when the user has selected a menu item.&lt;br /&gt;
**Menu Selection Help Request&amp;lt;br&amp;gt;Notification from the terminal when the user requested help information on a menu.&lt;br /&gt;
*Requests:&lt;br /&gt;
**Get Input&amp;lt;br&amp;gt;Prompt the user to insert a text.&lt;br /&gt;
**Get InKey&amp;lt;br&amp;gt;Prompt the user to insert a key.&lt;br /&gt;
**Display Text&amp;lt;br&amp;gt;Prompt a text to the user.&lt;br /&gt;
**Set Up Menu&amp;lt;br&amp;gt;Prompt a menu to the user.&lt;br /&gt;
**Select Item&amp;lt;br&amp;gt;Provide a list of options to the user and instruct him to select one.&lt;br /&gt;
**Set Up Idle Mode Text&amp;lt;br&amp;gt;Instruct the terminal to show the provided text when it is in idle mode.&lt;br /&gt;
**Set Frames&amp;lt;br&amp;gt;Set the number of frames in which the terminal should devide its screen.&amp;lt;br&amp;gt;Requires terminal class I&lt;br /&gt;
**Get Frame Status&amp;lt;br&amp;gt;Get the parameters of a frame.&amp;lt;br&amp;gt;Requires terminal class I&lt;br /&gt;
&lt;br /&gt;
====SMS====&lt;br /&gt;
SMS related procedures.&lt;br /&gt;
*Standard details can be found in standard TS 131 111&lt;br /&gt;
*Status: Not tested yet&lt;br /&gt;
*Events:&amp;lt;br&amp;gt; Only OTA SMS are sent by the terminal to the SIM. Mobile Terminated SMS can not be intercepted by the SIM card.&lt;br /&gt;
**SMS-Point to Point Data Download unformatted&lt;br /&gt;
**SMS-Point to Point Data Download formatted&lt;br /&gt;
**SMS-Cell Broadcast Data Download formatted&lt;br /&gt;
**SMS-Cell Broadcast Data Download unformatted&lt;br /&gt;
*Requests:&lt;br /&gt;
**Send Short Message&amp;lt;br&amp;gt;Send a short message to the network.&lt;br /&gt;
*Parameters&lt;br /&gt;
**Address&amp;lt;br&amp;gt;The destination address.&lt;br /&gt;
**SMS TPDU&lt;br /&gt;
&lt;br /&gt;
====SS====&lt;br /&gt;
Supplementary Services events and requests. &lt;br /&gt;
*Standard Details can be found in TS 131 111&lt;br /&gt;
*Terminal class P is required for USSD Data Download. All other operations should work on any device.&lt;br /&gt;
*Status: Send USSD tested.&lt;br /&gt;
*Events:&lt;br /&gt;
**USSD Data Download formatted&amp;lt;br&amp;gt;Requires class P&lt;br /&gt;
**USSD Data Download unformatted&amp;lt;br&amp;gt;Requires class P&lt;br /&gt;
*Requests:&lt;br /&gt;
**Send SS&amp;lt;br&amp;gt;Send a Supplementary Service request to the network.&lt;br /&gt;
**Send USSD&amp;lt;br&amp;gt;Send a USSD Request to the network. Only the last response arrives in the SIM card. If the USSD request requires a menu USSD session, the user interaction will me required.&lt;br /&gt;
*Parameters&lt;br /&gt;
**SS String&lt;br /&gt;
**USSD String&lt;br /&gt;
&lt;br /&gt;
====IMS====&lt;br /&gt;
The following events are dedicated for IMS.&lt;br /&gt;
*Standard: Details can be found in TS 131 111&lt;br /&gt;
*Terminal class E + T&lt;br /&gt;
*Events&lt;br /&gt;
**Download IMS Registration.&amp;lt;br&amp;gt;Notification from the terminal to download the IMS registration message.&lt;br /&gt;
**Download Incoming IMS Data.&amp;lt;br&amp;gt;Notification from the terminal to download the incomming IMS message.&lt;br /&gt;
*Parameters&lt;br /&gt;
**IARI&lt;br /&gt;
**IMPU List&lt;br /&gt;
**IMS status code&lt;br /&gt;
&lt;br /&gt;
====Terminal====&lt;br /&gt;
Terminal related events and requests.&lt;br /&gt;
*Standard: details can be found in TS 102 223 and TS 131 111&lt;br /&gt;
*Events&lt;br /&gt;
**Location Status&amp;lt;br&amp;gt;Notification from the terminal that it has changed its location.&amp;lt;br&amp;gt;Status: tested&amp;lt;br&amp;gt;Parameters:&lt;br /&gt;
***Location Status: details can be found in TS 102.223 8.27&lt;br /&gt;
***Location Information: details can be found in TS 102.223 8.19&lt;br /&gt;
**Language Selection&amp;lt;br&amp;gt;Notification from the terminal that the current used language has changed.&lt;br /&gt;
**Network Reject&amp;lt;br&amp;gt;Notification from the terminal that the network has rejected a request.&lt;br /&gt;
**Timer expiration&amp;lt;br&amp;gt;Notification from the terminal that a requested timer has expired.&lt;br /&gt;
*Requests&lt;br /&gt;
**Provide Local Information&amp;lt;br&amp;gt;Request to the terminal to provide location information.&lt;br /&gt;
**Language Notification&amp;lt;br&amp;gt;Inform the terminal what language will be used in this session.&lt;br /&gt;
**Geographical Location Request&amp;lt;br&amp;gt;Ask the terminal to provide advanced geographical location.&amp;lt;br&amp;gt;Terminal type N is required.&lt;br /&gt;
**More Time&amp;lt;br&amp;gt;Request to terminal for more processing time. &lt;br /&gt;
**Refresh&amp;lt;br&amp;gt;Request to terminal to reinitialize SIM card.&lt;br /&gt;
**Timer Management&amp;lt;br&amp;gt;Request to the terminal to emit a timer event after the specified time interval.&lt;br /&gt;
&lt;br /&gt;
====Service====&lt;br /&gt;
Commands dedicated for terminal services.&lt;br /&gt;
*Standard: details can be found in TS 102 223&lt;br /&gt;
*Status: not tested&lt;br /&gt;
*Terminal class F is required.&lt;br /&gt;
*Requests:&amp;lt;br&amp;gt;The following requests are available:&lt;br /&gt;
**Declare Service&amp;lt;br&amp;gt;Inform the terminal about a service supported by the SIM.&lt;br /&gt;
**Search Service&amp;lt;br&amp;gt;Search for a specific service in terminal's database.&lt;br /&gt;
**Get Service Information&amp;lt;br&amp;gt;Request to the terminal to provide information about a specific service.&lt;br /&gt;
&lt;br /&gt;
====MMS====&lt;br /&gt;
MMS Related requests.&lt;br /&gt;
*Standard details can be found in TS 102 223&lt;br /&gt;
*Status: not tested&lt;br /&gt;
*Terminal class J required&lt;br /&gt;
*Requests:&lt;br /&gt;
**Retreive MMS&amp;lt;br&amp;gt;Request the terminal to retreive the MMS from the network with the given MMS message reference.&lt;br /&gt;
**Submit MMS&amp;lt;br&amp;gt;Request to terminal to submit the specified MM to the network.&lt;br /&gt;
**Display MMS&amp;lt;br&amp;gt;Request to terminal to display a MMS.&lt;br /&gt;
&lt;br /&gt;
===Card File System===&lt;br /&gt;
&lt;br /&gt;
====USIM File System====&lt;br /&gt;
Extracted from standard TS 131.102.&lt;br /&gt;
*Language Indication&lt;br /&gt;
*IMSI&lt;br /&gt;
*Ciphering and Integrity Keys&lt;br /&gt;
*Ciphering and Integrity Keys for Packet Switched domain&lt;br /&gt;
*User controlled PLMN selector with Access Technology&lt;br /&gt;
*Higher Priority PLMN search period&lt;br /&gt;
*ACM maximum value&lt;br /&gt;
*USIM Service Table&lt;br /&gt;
*Accumulated Call Meter&lt;br /&gt;
*Group Identifier Level 1&lt;br /&gt;
*Group Identifier Level 2&lt;br /&gt;
*Service Provider Name&lt;br /&gt;
*Price per Unit and Currency Table&lt;br /&gt;
*Cell Broadcast Message identifier selection&lt;br /&gt;
*Access Control Class&lt;br /&gt;
*Forbidden PLMNs&lt;br /&gt;
*Location Information&lt;br /&gt;
*Administrative Data&lt;br /&gt;
*Cell Broadcast Message Identifier for Data Download&lt;br /&gt;
*Emergency Call Codes&lt;br /&gt;
*Cell Broadcast Message Identifier Range selection&lt;br /&gt;
*Packet Switched location information&lt;br /&gt;
*Fixed Dialling Numbers&lt;br /&gt;
*Short messages&lt;br /&gt;
*MSISDN&lt;br /&gt;
*Short message service parameters&lt;br /&gt;
*SMS status&lt;br /&gt;
*Service Dialling Numbers&lt;br /&gt;
*Extension2&lt;br /&gt;
*Extension3&lt;br /&gt;
*Short message status reports&lt;br /&gt;
*Incoming Call Information&lt;br /&gt;
*Outgoing Call Information&lt;br /&gt;
*Incoming Call Timer&lt;br /&gt;
*Outgoing Call Timer&lt;br /&gt;
*Extension5&lt;br /&gt;
*Capability Configuration Parameters 2&lt;br /&gt;
*enhanced Multi Level Precedence and Pre-emption&lt;br /&gt;
*Automatic Answer for eMLPP Service&lt;br /&gt;
*Key for hidden phone book entries&lt;br /&gt;
*Barred Dialling Numbers&lt;br /&gt;
*Extension4&lt;br /&gt;
*Comparison Method Information&lt;br /&gt;
*Enabled Services Table&lt;br /&gt;
*Access Point Name Control List&lt;br /&gt;
*Depersonalisation Control Keys&lt;br /&gt;
*Co-operative Network List&lt;br /&gt;
*Initialisation values for Hyperframe number&lt;br /&gt;
*Maximum value of START&lt;br /&gt;
*Operator controlled PLMN selector with Access Technology&lt;br /&gt;
*HPLMN selector with Access Technology&lt;br /&gt;
*Access Rule Reference&lt;br /&gt;
*Network Parameters&lt;br /&gt;
*PLMN Network Name&lt;br /&gt;
*Operator PLMN List&lt;br /&gt;
*Mailbox Dialling Numbers&lt;br /&gt;
*Extension6&lt;br /&gt;
*Mailbox Identifier&lt;br /&gt;
*Message Waiting Indication Status&lt;br /&gt;
*Call Forwarding Indication Status&lt;br /&gt;
*Extension7&lt;br /&gt;
*Service Provider Display Information&lt;br /&gt;
*MMS Notification&lt;br /&gt;
*Extension 8&lt;br /&gt;
*MMS Issuer Connectivity Parameters&lt;br /&gt;
*MMS User Preferences&lt;br /&gt;
*MMS User Connectivity Parameters&lt;br /&gt;
*Network's Indication of Alerting&lt;br /&gt;
*Voice Group Call Service&lt;br /&gt;
*Voice Group Call Service Status&lt;br /&gt;
*Voice Broadcast Service&lt;br /&gt;
*Voice Broadcast Service Status&lt;br /&gt;
&lt;br /&gt;
===Terminal profile===&lt;br /&gt;
====Description====&lt;br /&gt;
The terminal can be interrogated about which functions it supports.&lt;br /&gt;
#First byte (Download):&lt;br /&gt;
##Profile download&lt;br /&gt;
##SMS-PP data download&lt;br /&gt;
##Cell Broadcast data download)&lt;br /&gt;
##Menu selection&lt;br /&gt;
##SMS-PP data download&lt;br /&gt;
##Timer expiration&lt;br /&gt;
##USSD string data object support in Call Control by USIM&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
#Second byte (Other):&lt;br /&gt;
##Command result&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
##Call Control by NAA &lt;br /&gt;
##MO short message control support&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
##UCS2 Entry supported&lt;br /&gt;
##UCS2 Display supported&lt;br /&gt;
##Display Text&lt;br /&gt;
#Third byte (Proactive UICC):&lt;br /&gt;
##DISPLAY TEXT&lt;br /&gt;
##GET INKEY&lt;br /&gt;
##GET INPUT&lt;br /&gt;
##MORE TIME&lt;br /&gt;
##PLAY TONE&lt;br /&gt;
##POLL INTERVAL&lt;br /&gt;
##POLLING OFF&lt;br /&gt;
##REFRESH&lt;br /&gt;
#Fourth byte (Proactive UICC):&lt;br /&gt;
##Proactive UICC: SELECT ITEM&lt;br /&gt;
##Proactive UICC: SEND SHORT MESSAGE with 3GPP-SMS-TPDU&lt;br /&gt;
##Proactive UICC: SEND SS&lt;br /&gt;
##Proactive UICC:SEND USSD&lt;br /&gt;
##Proactive UICC: SET UP CALL&lt;br /&gt;
##Proactive UICC: SET UP MENU&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (MCC, MNC,LAC, Cell ID &amp;amp; IMEI)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (NMR)&lt;br /&gt;
#Fifth byte (Event driven information):&lt;br /&gt;
##Proactive UICC: SET UP EVENT LIST&lt;br /&gt;
##Event: MT call&lt;br /&gt;
##Event: Call connected&lt;br /&gt;
##Event: Call disconnected&lt;br /&gt;
##Event: Location status&lt;br /&gt;
##Event: User activity&lt;br /&gt;
##Event: Idle screen available&lt;br /&gt;
##Event: Card reader status&lt;br /&gt;
#Sixth byte (Event driven information extensions):&lt;br /&gt;
##Language selection&lt;br /&gt;
##Browser Termination&lt;br /&gt;
##Data available&lt;br /&gt;
##Channel status&lt;br /&gt;
##Access Technology Change&lt;br /&gt;
##Display parameters changed&lt;br /&gt;
##Local Connection&lt;br /&gt;
##Network Search Mode Change&lt;br /&gt;
#Seventh byte (Multiple card proactive commands) for class &amp;quot;a&amp;quot;:&lt;br /&gt;
##POWER ON CARD&lt;br /&gt;
##POWER OFF CARD&lt;br /&gt;
##PERFORM CARD APDU&lt;br /&gt;
##GET READER STATUS (Card reader status)&lt;br /&gt;
##GET READER STATUS (Card reader Identifier)&lt;br /&gt;
##RFU&lt;br /&gt;
#Eighth byte (Proactive UICC):&lt;br /&gt;
##Proactive UICC: TIMER MANAGEMENT (start, stop)&lt;br /&gt;
##Proactive UICC: TIMER MANAGEMENT (get current value)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (date, time and time zone)&lt;br /&gt;
##GET INKEY&lt;br /&gt;
##SET UP IDLE MODE TEXT&lt;br /&gt;
##RUN AT COMMAND (i.e. class &amp;quot;b&amp;quot; is supported)&lt;br /&gt;
##SETUP CALL&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
#Ninth byte:&lt;br /&gt;
##DISPLAY TEXT&lt;br /&gt;
##SEND DTMF command&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (language)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION, Timing Advance&lt;br /&gt;
##Proactive UICC: LANGUAGE NOTIFICATION&lt;br /&gt;
##Proactive UICC: LAUNCH BROWSER&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Access Technology)&lt;br /&gt;
#Tenth byte (Soft keys support) for class &amp;quot;d&amp;quot;:&lt;br /&gt;
##Soft keys support for SELECT ITEM&lt;br /&gt;
##Soft Keys support for SET UP MENU&lt;br /&gt;
##RFU&lt;br /&gt;
#Eleventh byte (Soft keys information):&lt;br /&gt;
##Maximum number of soft keys available 'FF' value is reserved for future use&lt;br /&gt;
#Twelfth byte:&lt;br /&gt;
##OPEN CHANNEL&lt;br /&gt;
##CLOSE CHANNEL&lt;br /&gt;
##RECEIVE DATA&lt;br /&gt;
##SEND DATA&lt;br /&gt;
##GET CHANNEL STATUS&lt;br /&gt;
##SERVICE SEARCH&lt;br /&gt;
##GET SERVICE INFORMATION&lt;br /&gt;
##DECLARE SERVICE&lt;br /&gt;
#Thirteenth byte:&lt;br /&gt;
##CSD&lt;br /&gt;
##GPRS&lt;br /&gt;
##Bluetooth&lt;br /&gt;
##IrDA&lt;br /&gt;
##RS232&lt;br /&gt;
##b6,b7,b8 - Number of channels supported by terminal&lt;br /&gt;
#Fourteenth byte (Screen height):&lt;br /&gt;
##b1 - b4 - Number of characters supported down the terminal display as defined in clause 5.3.1&lt;br /&gt;
##No display capability (i.e class &amp;quot;ND&amp;quot; is indicated)&lt;br /&gt;
##No keypad available (i.e. class &amp;quot;NK&amp;quot; is indicated)&lt;br /&gt;
##Screen Sizing Parameters supported as defined inclause 5.3&lt;br /&gt;
#Fifteenth byte (Screen width):&lt;br /&gt;
##b1-b7 - Number of characters supported across the terminal display as defined in clause 5.3.2&lt;br /&gt;
##Variable size fonts&lt;br /&gt;
#Sixteenth byte (Screen effects):&lt;br /&gt;
##Display can be resized as defined in clause 5.3.3&lt;br /&gt;
##Text Wrapping supported as defined in clause 5.3.4&lt;br /&gt;
##Text Scrolling supported as defined in clause 5.3.5&lt;br /&gt;
##Text Attributes supported as defined in clause 5.3.7&lt;br /&gt;
##b5 - RFU&lt;br /&gt;
##b6 - b8 - Width reduction when in a menu as defined in clause 5.3.6&lt;br /&gt;
#Seventeenth byte:&lt;br /&gt;
##TCP, UICC in client mode, remote connection&lt;br /&gt;
##UDP, UICC in client mode, remote connection&lt;br /&gt;
##TCP, UICC in server mode&lt;br /&gt;
##TCP, UICC in client mode, local connection (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##UDP, UICC in client mode, local connection (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
##E-UTRAN (if class &amp;quot;e&amp;quot; issupported))&lt;br /&gt;
##HSDPA (if class &amp;quot;e&amp;quot; is supported))&lt;br /&gt;
#Eighteenth byte:&lt;br /&gt;
##Proactive UICC: DISPLAY TEXT (Variable Time out)&lt;br /&gt;
##Proactive UICC: GET INKEY (help is supported while waiting for immediate response or variable timeout)&lt;br /&gt;
##USB&lt;br /&gt;
##Proactive UICC: GET INKEY (Variable Timeout)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (ESN)&lt;br /&gt;
##Call control on GPRS&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (IMEISV)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Search Mode change)&lt;br /&gt;
#Nineteenth byte (reserved for TIA/EIA-136-C facilities [25]):&lt;br /&gt;
##Reserved by TIA/EIA-136 [25] (Protocol Version support)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twentieth byte (reserved for TIA/EIA/IS-820-A facilities [17]):&lt;br /&gt;
##Reserved by TIA/EIA/IS-820 [17]&lt;br /&gt;
#Twenty-first byte (Extended Launch Browser Capability) for class &amp;quot;c&amp;quot;:&lt;br /&gt;
##WML&lt;br /&gt;
##XHTML&lt;br /&gt;
##HTML&lt;br /&gt;
##CHTML&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-second byte:&lt;br /&gt;
##Support of UTRAN PS with extended parameters&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION(battery state), (i.e. class &amp;quot;g&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PLAY TONE (Melody tones and Themed tones supported)&lt;br /&gt;
##Multi-media Calls in SET UP CALL (if class h supported)&lt;br /&gt;
##Reserved by 3GPP (Toolkit-initiated GBA)&lt;br /&gt;
##Proactive UICC: RETRIEVE MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: SUBMIT MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: DISPLAY MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
#Twenty third byte:&lt;br /&gt;
##Proactive UICC: SET FRAMES (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: GET FRAMES STATUS (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##MMS notification download (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Alpha Identifier in REFRESH command supported by terminal&lt;br /&gt;
##Geographical Location Reporting (if class &amp;quot;n&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (MEID)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (NMR(UTRAN))&lt;br /&gt;
##USSD Data download and application mode&lt;br /&gt;
#Twenty fourth byte for class &amp;quot;i&amp;quot;:&lt;br /&gt;
##b1-b4 - Maximum number of frames supported (including frames created in existing frames)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-fifth byte (Event driven information extensions):&lt;br /&gt;
##Event: Browsing status&lt;br /&gt;
##Event: MMS Transfer status (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Event: Frame Parameters changed (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##Event: I-WLAN Access status (if class &amp;quot;e&amp;quot; is supported)&lt;br /&gt;
##Event Network Rejection&lt;br /&gt;
##Event: HCI connectivity event (i.e. class &amp;quot;m&amp;quot; is supported)&lt;br /&gt;
##Reserved by 3GPP (E-UTRAN support in Event Network Rejection)&lt;br /&gt;
##Multiple access technologies supported in Event&lt;br /&gt;
##Access Technology Change and PROVIDE LOCAL INFORMATION &amp;lt;br&amp;gt;If bit &amp;quot;Multiple access technologies supported&amp;quot; is set to 1, it applies to the Event Access Technology Change if supported and all relevant modes of proactive command PROVIDE  LOCAL INFORMATION that are supported.&lt;br /&gt;
#Twenty-sixth byte (Event driven information extensions):&lt;br /&gt;
##RFU, bit = 0 (for future event indication)&lt;br /&gt;
#Twenty-seventh byte (Event driven information extensions):&lt;br /&gt;
##RFU, bit = 0 (for future event indication)&lt;br /&gt;
#Twenty-eighth byte (Text attributes):&lt;br /&gt;
##Alignment left supported by Terminal&lt;br /&gt;
##Alignment centre supported by Terminal&lt;br /&gt;
##Alignment right supported by Terminal&lt;br /&gt;
##Font size normal supported by Terminal&lt;br /&gt;
##Font size large supported by Terminal&lt;br /&gt;
##Font size small supported by Terminal&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-ninth byte (Text attributes):&lt;br /&gt;
##Style normal supported by Terminal&lt;br /&gt;
##Style bold supported by Terminal&lt;br /&gt;
##Style italic supported by Terminal&lt;br /&gt;
##Style underlined supported by Terminal&lt;br /&gt;
##Style strikethrough supported by Terminal&lt;br /&gt;
##Style text foreground colour supported by Terminal&lt;br /&gt;
##Style text background colour supported by Terminal&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Thirtieth byte:&lt;br /&gt;
##I-WLAN bearer support (if class &amp;quot;e&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (WSID of the current I-WLAN connection)&lt;br /&gt;
##TERMINAL APPLICATIONS (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##Steering of Roaming REFRESH support&lt;br /&gt;
##Proactive UICC: ACTIVATE (i.e class &amp;quot;l&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: GEOGRAPHICAL LOCATION REQUEST (if class &amp;quot;n&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Broadcast Network Information) (i.e. class &amp;quot;o&amp;quot; is supported)&lt;br /&gt;
##Steering of Roaming for I-WLAN REFRESH support&lt;br /&gt;
&lt;br /&gt;
====Values====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center;&amp;quot;&lt;br /&gt;
|Phone Type||B1||B2||B3||B4||B5||B6||B7||B8||B9||B10||B11||B12||B13||B14||B15||B16||B17||B18||B19||B20||B21||B22||B23||B24||B25||B26||B27||B28||B29||B30&lt;br /&gt;
|-&lt;br /&gt;
|Samsung Galaxy Express||ff||ff||ff||ff||7f||9d||00||df||bf||00||00||1f||e2||00||00||00||c3||6b||00||07||00||00||40||00||50||00||00||00||00||08&lt;br /&gt;
|-&lt;br /&gt;
|Samsung Galaxy Note 3||ff||ff||ff||ff||7f||9d||00||df||bf||00||00||1f||e2||00||00||00||c3||6b||00||07||00||00||40||00||50||00||00||00||00||08&lt;br /&gt;
|-&lt;br /&gt;
|HTC One X+||ff||ff||ff||ff||7f||1d||00||df||b7||03||02||1f||22||00||00||00||83||00||00||00||00||00||40||10||00||00||00||00||00||00&lt;br /&gt;
|-&lt;br /&gt;
|IPhone 4||ff||ff||ff||ff||7f||91||00||df||bf||00||00||00||00||00||00||00||00||f0||00||03||00||00||60||00||50||00||00||00||00||00&lt;br /&gt;
|-&lt;br /&gt;
|Nokia E72||ff||ff||ff||ff||7f||1d||00||df||bf||00||00||17||e2||05||0f||00||03||09||00||00||00||00||00||00||00||00||00||00||00||00&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Andrei</name></author>	</entry>

	<entry>
		<id>https://ss7api.null.ro/index.php/SIM_Cards</id>
		<title>SIM Cards</title>
		<link rel="alternate" type="text/html" href="https://ss7api.null.ro/index.php/SIM_Cards"/>
				<updated>2014-03-06T10:34:46Z</updated>
		
		<summary type="html">&lt;p&gt;Andrei: /* Service */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
===SIM Events===&lt;br /&gt;
&lt;br /&gt;
====Call Related Events and Requests====&lt;br /&gt;
The following events are received by the SIM card when a call is made.&lt;br /&gt;
*Standard: Details can be found in standard TS 31.111&lt;br /&gt;
*Terminal Class: This events should work in all terminals.&lt;br /&gt;
*Status: Tests were made successfully for Mobile Originating Calls&lt;br /&gt;
*Events:&amp;lt;br&amp;gt;The SIM is notified on the following events:&lt;br /&gt;
**Mobile Originating Call Initiated&lt;br /&gt;
**Mobile Originating SMS Initiated&lt;br /&gt;
**Mobile Originating USSD Initiated&lt;br /&gt;
**Mobile Originating SS Initiated&amp;lt;br&amp;gt;On the events above, the 'address' and 'subaddress' parameters can be altered.&lt;br /&gt;
*Notifications:&amp;lt;br&amp;gt;We can receive notifications for the following events. NOTE: We can not alter the event flow. Eg. We can not keep the call alive if we received call terminated event.&lt;br /&gt;
**Call Connected&lt;br /&gt;
**Call Terminated&lt;br /&gt;
*Requests - We can make the following requests:&lt;br /&gt;
**Set Up Call&lt;br /&gt;
**Send DTMF&lt;br /&gt;
*Parameters:&lt;br /&gt;
**Address&amp;lt;br&amp;gt;The called party address. Details on TS 31.111 chapter 8.1&lt;br /&gt;
**Subaddress&amp;lt;br&amp;gt;The called party subaddress. Details on TS 31.111 chapter  8.3&lt;br /&gt;
&lt;br /&gt;
====Browsing====&lt;br /&gt;
Open a SIM provided URL in phone defaults browser.&lt;br /&gt;
*Standard: Details can be fond in TS 102 223.&lt;br /&gt;
*Terminal: This should work in a class C terminal.&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&amp;lt;br&amp;gt;We are notified when one of the following events occures:&lt;br /&gt;
**Status&amp;lt;br&amp;gt;Received when the browser receives a distant error from the network.&lt;br /&gt;
**Terminated&amp;lt;br&amp;gt;Received when the browser is terminated.&lt;br /&gt;
*Requests:&lt;br /&gt;
**Lunch Browser&amp;lt;br&amp;gt;Ask a terminal to open a browser with the provided URL.&lt;br /&gt;
&lt;br /&gt;
====Access Technology====&lt;br /&gt;
Notification sent from the phone to inform about the access technology 2g/3g&lt;br /&gt;
*Standard Details can be found in TS 102 223&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Changed&amp;lt;br&amp;gt;The access technology has changed from 2g/3g.&lt;br /&gt;
&lt;br /&gt;
====Card Reader====&lt;br /&gt;
Get events and perform actions on an additional card reader, &lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Terminal Class: A&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Status&amp;lt;br&amp;gt;Notification that a card was inserted or removed; or a card reader is available or unavailable.&lt;br /&gt;
*Requests:&lt;br /&gt;
**Power ON Card&amp;lt;br&amp;gt;Start a session with an additional card.&lt;br /&gt;
**Power OFF Card&amp;lt;br&amp;gt;Stop a session with an additional card.&lt;br /&gt;
**Perform Card APDU&amp;lt;br&amp;gt;Send an APDU command to an additional card.&lt;br /&gt;
**Get Reader Status&amp;lt;br&amp;gt;Request to the terminal to provide additional information about additional card readers.&lt;br /&gt;
&lt;br /&gt;
====Data====&lt;br /&gt;
The following events and requests are available for data exchange.&lt;br /&gt;
*Standard: more documentation can be found in TS 102 223&lt;br /&gt;
*Status: In testing but no compatible device found!&lt;br /&gt;
*Terminal class E&lt;br /&gt;
*Events:&lt;br /&gt;
**Data available&amp;lt;br&amp;gt;Notification from the terminal that data has arrived from the network.&lt;br /&gt;
**Channel Status&amp;lt;br&amp;gt;Notification from the terminal that the channel status is changed.&lt;br /&gt;
*Requests&lt;br /&gt;
**Open Channel&amp;lt;br&amp;gt;Request to open a channel.&lt;br /&gt;
**Send Data&amp;lt;br&amp;gt;Request to send data on a open channel.&lt;br /&gt;
**Receive Data&amp;lt;br&amp;gt;Request to receive data on a open channel.&lt;br /&gt;
**Close Channel&amp;lt;br&amp;gt;Request to close a open channel.&lt;br /&gt;
&lt;br /&gt;
====User Interface====&lt;br /&gt;
The following events and request are related to user interface.&lt;br /&gt;
*Standard details can be found in standard TS 102 223&lt;br /&gt;
*Status: Most of them were tested.&lt;br /&gt;
*Events:&lt;br /&gt;
**Display Parameter Change&amp;lt;br&amp;gt;Notification from the terminal when the screen is resized.&lt;br /&gt;
**Frames Information Changed&amp;lt;br&amp;gt;Notification from the terminal when the frames are resized.&amp;lt;br&amp;gt;Requires terminal class I.&lt;br /&gt;
**Idle screen available&amp;lt;br&amp;gt;Notification from the terminal that the screen is idle.&lt;br /&gt;
**User activity&amp;lt;br&amp;gt;Notification from the terminal when the the user is interacting with the terminal.&amp;lt;br&amp;gt;This event is received only once after it was requested.&lt;br /&gt;
**Menu Selection&amp;lt;br&amp;gt;Notification from the terminal when the user has selected a menu item.&lt;br /&gt;
**Menu Selection Help Request&amp;lt;br&amp;gt;Notification from the terminal when the user requested help information on a menu.&lt;br /&gt;
*Requests:&lt;br /&gt;
**Get Input&amp;lt;br&amp;gt;Prompt the user to insert a text.&lt;br /&gt;
**Get InKey&amp;lt;br&amp;gt;Prompt the user to insert a key.&lt;br /&gt;
**Display Text&amp;lt;br&amp;gt;Prompt a text to the user.&lt;br /&gt;
**Set Up Menu&amp;lt;br&amp;gt;Prompt a menu to the user.&lt;br /&gt;
**Select Item&amp;lt;br&amp;gt;Provide a list of options to the user and instruct him to select one.&lt;br /&gt;
**Set Up Idle Mode Text&amp;lt;br&amp;gt;Instruct the terminal to show the provided text when it is in idle mode.&lt;br /&gt;
**Set Frames&amp;lt;br&amp;gt;Set the number of frames in which the terminal should devide its screen.&amp;lt;br&amp;gt;Requires terminal class I&lt;br /&gt;
**Get Frame Status&amp;lt;br&amp;gt;Get the parameters of a frame.&amp;lt;br&amp;gt;Requires terminal class I&lt;br /&gt;
&lt;br /&gt;
====SMS====&lt;br /&gt;
SMS related procedures.&lt;br /&gt;
*Standard details can be found in standard TS 131 111&lt;br /&gt;
*Status: Not tested yet&lt;br /&gt;
*Events:&amp;lt;br&amp;gt; Only OTA SMS are sent by the terminal to the SIM. Mobile Terminated SMS can not be intercepted by the SIM card.&lt;br /&gt;
**SMS-Point to Point Data Download unformatted&lt;br /&gt;
**SMS-Point to Point Data Download formatted&lt;br /&gt;
**SMS-Cell Broadcast Data Download formatted&lt;br /&gt;
**SMS-Cell Broadcast Data Download unformatted&lt;br /&gt;
*Requests:&lt;br /&gt;
**Send Short Message&amp;lt;br&amp;gt;Send a short message to the network.&lt;br /&gt;
*Parameters&lt;br /&gt;
**Address&amp;lt;br&amp;gt;The destination address.&lt;br /&gt;
**SMS TPDU&lt;br /&gt;
&lt;br /&gt;
====SS====&lt;br /&gt;
Supplementary Services events and requests. &lt;br /&gt;
*Standard Details can be found in TS 131 111&lt;br /&gt;
*Terminal class P is required for USSD Data Download. All other operations should work on any device.&lt;br /&gt;
*Status: Send USSD tested.&lt;br /&gt;
*Events:&lt;br /&gt;
**USSD Data Download formatted&amp;lt;br&amp;gt;Requires class P&lt;br /&gt;
**USSD Data Download unformatted&amp;lt;br&amp;gt;Requires class P&lt;br /&gt;
*Requests:&lt;br /&gt;
**Send SS&amp;lt;br&amp;gt;Send a Supplementary Service request to the network.&lt;br /&gt;
**Send USSD&amp;lt;br&amp;gt;Send a USSD Request to the network. Only the last response arrives in the SIM card. If the USSD request requires a menu USSD session, the user interaction will me required.&lt;br /&gt;
*Parameters&lt;br /&gt;
**SS String&lt;br /&gt;
**USSD String&lt;br /&gt;
&lt;br /&gt;
====IMS====&lt;br /&gt;
The following events are dedicated for IMS.&lt;br /&gt;
*Standard: Details can be found in TS 131 111&lt;br /&gt;
*Terminal class E + T&lt;br /&gt;
*Events&lt;br /&gt;
**Download IMS Registration.&amp;lt;br&amp;gt;Notification from the terminal to download the IMS registration message.&lt;br /&gt;
**Download Incoming IMS Data.&amp;lt;br&amp;gt;Notification from the terminal to download the incomming IMS message.&lt;br /&gt;
*Parameters&lt;br /&gt;
**IARI&lt;br /&gt;
**IMPU List&lt;br /&gt;
**IMS status code&lt;br /&gt;
&lt;br /&gt;
====Terminal====&lt;br /&gt;
Terminal related events and requests.&lt;br /&gt;
*Standard: details can be found in TS 102 223 and TS 131 111&lt;br /&gt;
*Events&lt;br /&gt;
**Location Status&amp;lt;br&amp;gt;Notification from the terminal that it has changed its location.&amp;lt;br&amp;gt;Status: tested&amp;lt;br&amp;gt;Parameters:&lt;br /&gt;
***Location Status: details can be found in TS 102.223 8.27&lt;br /&gt;
***Location Information: details can be found in TS 102.223 8.19&lt;br /&gt;
**Language Selection&amp;lt;br&amp;gt;Notification from the terminal that the current used language has changed.&lt;br /&gt;
**Network Reject&amp;lt;br&amp;gt;Notification from the terminal that the network has rejected a request.&lt;br /&gt;
**Timer expiration&amp;lt;br&amp;gt;Notification from the terminal that a requested timer has expired.&lt;br /&gt;
*Requests&lt;br /&gt;
**Provide Local Information&amp;lt;br&amp;gt;Request to the terminal to provide location information.&lt;br /&gt;
**Language Notification&amp;lt;br&amp;gt;Inform the terminal what language will be used in this session.&lt;br /&gt;
**Geographical Location Request&amp;lt;br&amp;gt;Ask the terminal to provide advanced geographical location.&amp;lt;br&amp;gt;Terminal type N is required.&lt;br /&gt;
**More Time&amp;lt;br&amp;gt;Request to terminal for more processing time. &lt;br /&gt;
**Refresh&amp;lt;br&amp;gt;Request to terminal to reinitialize SIM card.&lt;br /&gt;
**Timer Management&amp;lt;br&amp;gt;Request to the terminal to emit a timer event after the specified time interval.&lt;br /&gt;
&lt;br /&gt;
====Service====&lt;br /&gt;
Commands dedicated for terminal services.&lt;br /&gt;
*Standard: details can be found in TS 102 223&lt;br /&gt;
*Status: not tested&lt;br /&gt;
*Terminal class F is required.&lt;br /&gt;
*Requests:&amp;lt;br&amp;gt;The following requests are available:&lt;br /&gt;
**Declare Service&amp;lt;br&amp;gt;Inform the terminal about a service supported by the SIM.&lt;br /&gt;
**Search Service&amp;lt;br&amp;gt;Search for a specific service in terminal's database.&lt;br /&gt;
**Get Service Information&amp;lt;br&amp;gt;Request to the terminal to provide information about a specific service.&lt;br /&gt;
&lt;br /&gt;
====MMS====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: not tested&lt;br /&gt;
*Terminal class J&lt;br /&gt;
*Requests:&lt;br /&gt;
**Retreive MMS&lt;br /&gt;
**Submit MMS&lt;br /&gt;
**Display MMS&lt;br /&gt;
&lt;br /&gt;
===Card File System===&lt;br /&gt;
&lt;br /&gt;
====USIM File System====&lt;br /&gt;
Extracted from standard TS 131.102.&lt;br /&gt;
*Language Indication&lt;br /&gt;
*IMSI&lt;br /&gt;
*Ciphering and Integrity Keys&lt;br /&gt;
*Ciphering and Integrity Keys for Packet Switched domain&lt;br /&gt;
*User controlled PLMN selector with Access Technology&lt;br /&gt;
*Higher Priority PLMN search period&lt;br /&gt;
*ACM maximum value&lt;br /&gt;
*USIM Service Table&lt;br /&gt;
*Accumulated Call Meter&lt;br /&gt;
*Group Identifier Level 1&lt;br /&gt;
*Group Identifier Level 2&lt;br /&gt;
*Service Provider Name&lt;br /&gt;
*Price per Unit and Currency Table&lt;br /&gt;
*Cell Broadcast Message identifier selection&lt;br /&gt;
*Access Control Class&lt;br /&gt;
*Forbidden PLMNs&lt;br /&gt;
*Location Information&lt;br /&gt;
*Administrative Data&lt;br /&gt;
*Cell Broadcast Message Identifier for Data Download&lt;br /&gt;
*Emergency Call Codes&lt;br /&gt;
*Cell Broadcast Message Identifier Range selection&lt;br /&gt;
*Packet Switched location information&lt;br /&gt;
*Fixed Dialling Numbers&lt;br /&gt;
*Short messages&lt;br /&gt;
*MSISDN&lt;br /&gt;
*Short message service parameters&lt;br /&gt;
*SMS status&lt;br /&gt;
*Service Dialling Numbers&lt;br /&gt;
*Extension2&lt;br /&gt;
*Extension3&lt;br /&gt;
*Short message status reports&lt;br /&gt;
*Incoming Call Information&lt;br /&gt;
*Outgoing Call Information&lt;br /&gt;
*Incoming Call Timer&lt;br /&gt;
*Outgoing Call Timer&lt;br /&gt;
*Extension5&lt;br /&gt;
*Capability Configuration Parameters 2&lt;br /&gt;
*enhanced Multi Level Precedence and Pre-emption&lt;br /&gt;
*Automatic Answer for eMLPP Service&lt;br /&gt;
*Key for hidden phone book entries&lt;br /&gt;
*Barred Dialling Numbers&lt;br /&gt;
*Extension4&lt;br /&gt;
*Comparison Method Information&lt;br /&gt;
*Enabled Services Table&lt;br /&gt;
*Access Point Name Control List&lt;br /&gt;
*Depersonalisation Control Keys&lt;br /&gt;
*Co-operative Network List&lt;br /&gt;
*Initialisation values for Hyperframe number&lt;br /&gt;
*Maximum value of START&lt;br /&gt;
*Operator controlled PLMN selector with Access Technology&lt;br /&gt;
*HPLMN selector with Access Technology&lt;br /&gt;
*Access Rule Reference&lt;br /&gt;
*Network Parameters&lt;br /&gt;
*PLMN Network Name&lt;br /&gt;
*Operator PLMN List&lt;br /&gt;
*Mailbox Dialling Numbers&lt;br /&gt;
*Extension6&lt;br /&gt;
*Mailbox Identifier&lt;br /&gt;
*Message Waiting Indication Status&lt;br /&gt;
*Call Forwarding Indication Status&lt;br /&gt;
*Extension7&lt;br /&gt;
*Service Provider Display Information&lt;br /&gt;
*MMS Notification&lt;br /&gt;
*Extension 8&lt;br /&gt;
*MMS Issuer Connectivity Parameters&lt;br /&gt;
*MMS User Preferences&lt;br /&gt;
*MMS User Connectivity Parameters&lt;br /&gt;
*Network's Indication of Alerting&lt;br /&gt;
*Voice Group Call Service&lt;br /&gt;
*Voice Group Call Service Status&lt;br /&gt;
*Voice Broadcast Service&lt;br /&gt;
*Voice Broadcast Service Status&lt;br /&gt;
&lt;br /&gt;
===Terminal profile===&lt;br /&gt;
====Description====&lt;br /&gt;
The terminal can be interrogated about which functions it supports.&lt;br /&gt;
#First byte (Download):&lt;br /&gt;
##Profile download&lt;br /&gt;
##SMS-PP data download&lt;br /&gt;
##Cell Broadcast data download)&lt;br /&gt;
##Menu selection&lt;br /&gt;
##SMS-PP data download&lt;br /&gt;
##Timer expiration&lt;br /&gt;
##USSD string data object support in Call Control by USIM&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
#Second byte (Other):&lt;br /&gt;
##Command result&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
##Call Control by NAA &lt;br /&gt;
##MO short message control support&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
##UCS2 Entry supported&lt;br /&gt;
##UCS2 Display supported&lt;br /&gt;
##Display Text&lt;br /&gt;
#Third byte (Proactive UICC):&lt;br /&gt;
##DISPLAY TEXT&lt;br /&gt;
##GET INKEY&lt;br /&gt;
##GET INPUT&lt;br /&gt;
##MORE TIME&lt;br /&gt;
##PLAY TONE&lt;br /&gt;
##POLL INTERVAL&lt;br /&gt;
##POLLING OFF&lt;br /&gt;
##REFRESH&lt;br /&gt;
#Fourth byte (Proactive UICC):&lt;br /&gt;
##Proactive UICC: SELECT ITEM&lt;br /&gt;
##Proactive UICC: SEND SHORT MESSAGE with 3GPP-SMS-TPDU&lt;br /&gt;
##Proactive UICC: SEND SS&lt;br /&gt;
##Proactive UICC:SEND USSD&lt;br /&gt;
##Proactive UICC: SET UP CALL&lt;br /&gt;
##Proactive UICC: SET UP MENU&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (MCC, MNC,LAC, Cell ID &amp;amp; IMEI)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (NMR)&lt;br /&gt;
#Fifth byte (Event driven information):&lt;br /&gt;
##Proactive UICC: SET UP EVENT LIST&lt;br /&gt;
##Event: MT call&lt;br /&gt;
##Event: Call connected&lt;br /&gt;
##Event: Call disconnected&lt;br /&gt;
##Event: Location status&lt;br /&gt;
##Event: User activity&lt;br /&gt;
##Event: Idle screen available&lt;br /&gt;
##Event: Card reader status&lt;br /&gt;
#Sixth byte (Event driven information extensions):&lt;br /&gt;
##Language selection&lt;br /&gt;
##Browser Termination&lt;br /&gt;
##Data available&lt;br /&gt;
##Channel status&lt;br /&gt;
##Access Technology Change&lt;br /&gt;
##Display parameters changed&lt;br /&gt;
##Local Connection&lt;br /&gt;
##Network Search Mode Change&lt;br /&gt;
#Seventh byte (Multiple card proactive commands) for class &amp;quot;a&amp;quot;:&lt;br /&gt;
##POWER ON CARD&lt;br /&gt;
##POWER OFF CARD&lt;br /&gt;
##PERFORM CARD APDU&lt;br /&gt;
##GET READER STATUS (Card reader status)&lt;br /&gt;
##GET READER STATUS (Card reader Identifier)&lt;br /&gt;
##RFU&lt;br /&gt;
#Eighth byte (Proactive UICC):&lt;br /&gt;
##Proactive UICC: TIMER MANAGEMENT (start, stop)&lt;br /&gt;
##Proactive UICC: TIMER MANAGEMENT (get current value)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (date, time and time zone)&lt;br /&gt;
##GET INKEY&lt;br /&gt;
##SET UP IDLE MODE TEXT&lt;br /&gt;
##RUN AT COMMAND (i.e. class &amp;quot;b&amp;quot; is supported)&lt;br /&gt;
##SETUP CALL&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
#Ninth byte:&lt;br /&gt;
##DISPLAY TEXT&lt;br /&gt;
##SEND DTMF command&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (language)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION, Timing Advance&lt;br /&gt;
##Proactive UICC: LANGUAGE NOTIFICATION&lt;br /&gt;
##Proactive UICC: LAUNCH BROWSER&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Access Technology)&lt;br /&gt;
#Tenth byte (Soft keys support) for class &amp;quot;d&amp;quot;:&lt;br /&gt;
##Soft keys support for SELECT ITEM&lt;br /&gt;
##Soft Keys support for SET UP MENU&lt;br /&gt;
##RFU&lt;br /&gt;
#Eleventh byte (Soft keys information):&lt;br /&gt;
##Maximum number of soft keys available 'FF' value is reserved for future use&lt;br /&gt;
#Twelfth byte:&lt;br /&gt;
##OPEN CHANNEL&lt;br /&gt;
##CLOSE CHANNEL&lt;br /&gt;
##RECEIVE DATA&lt;br /&gt;
##SEND DATA&lt;br /&gt;
##GET CHANNEL STATUS&lt;br /&gt;
##SERVICE SEARCH&lt;br /&gt;
##GET SERVICE INFORMATION&lt;br /&gt;
##DECLARE SERVICE&lt;br /&gt;
#Thirteenth byte:&lt;br /&gt;
##CSD&lt;br /&gt;
##GPRS&lt;br /&gt;
##Bluetooth&lt;br /&gt;
##IrDA&lt;br /&gt;
##RS232&lt;br /&gt;
##b6,b7,b8 - Number of channels supported by terminal&lt;br /&gt;
#Fourteenth byte (Screen height):&lt;br /&gt;
##b1 - b4 - Number of characters supported down the terminal display as defined in clause 5.3.1&lt;br /&gt;
##No display capability (i.e class &amp;quot;ND&amp;quot; is indicated)&lt;br /&gt;
##No keypad available (i.e. class &amp;quot;NK&amp;quot; is indicated)&lt;br /&gt;
##Screen Sizing Parameters supported as defined inclause 5.3&lt;br /&gt;
#Fifteenth byte (Screen width):&lt;br /&gt;
##b1-b7 - Number of characters supported across the terminal display as defined in clause 5.3.2&lt;br /&gt;
##Variable size fonts&lt;br /&gt;
#Sixteenth byte (Screen effects):&lt;br /&gt;
##Display can be resized as defined in clause 5.3.3&lt;br /&gt;
##Text Wrapping supported as defined in clause 5.3.4&lt;br /&gt;
##Text Scrolling supported as defined in clause 5.3.5&lt;br /&gt;
##Text Attributes supported as defined in clause 5.3.7&lt;br /&gt;
##b5 - RFU&lt;br /&gt;
##b6 - b8 - Width reduction when in a menu as defined in clause 5.3.6&lt;br /&gt;
#Seventeenth byte:&lt;br /&gt;
##TCP, UICC in client mode, remote connection&lt;br /&gt;
##UDP, UICC in client mode, remote connection&lt;br /&gt;
##TCP, UICC in server mode&lt;br /&gt;
##TCP, UICC in client mode, local connection (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##UDP, UICC in client mode, local connection (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
##E-UTRAN (if class &amp;quot;e&amp;quot; issupported))&lt;br /&gt;
##HSDPA (if class &amp;quot;e&amp;quot; is supported))&lt;br /&gt;
#Eighteenth byte:&lt;br /&gt;
##Proactive UICC: DISPLAY TEXT (Variable Time out)&lt;br /&gt;
##Proactive UICC: GET INKEY (help is supported while waiting for immediate response or variable timeout)&lt;br /&gt;
##USB&lt;br /&gt;
##Proactive UICC: GET INKEY (Variable Timeout)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (ESN)&lt;br /&gt;
##Call control on GPRS&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (IMEISV)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Search Mode change)&lt;br /&gt;
#Nineteenth byte (reserved for TIA/EIA-136-C facilities [25]):&lt;br /&gt;
##Reserved by TIA/EIA-136 [25] (Protocol Version support)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twentieth byte (reserved for TIA/EIA/IS-820-A facilities [17]):&lt;br /&gt;
##Reserved by TIA/EIA/IS-820 [17]&lt;br /&gt;
#Twenty-first byte (Extended Launch Browser Capability) for class &amp;quot;c&amp;quot;:&lt;br /&gt;
##WML&lt;br /&gt;
##XHTML&lt;br /&gt;
##HTML&lt;br /&gt;
##CHTML&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-second byte:&lt;br /&gt;
##Support of UTRAN PS with extended parameters&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION(battery state), (i.e. class &amp;quot;g&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PLAY TONE (Melody tones and Themed tones supported)&lt;br /&gt;
##Multi-media Calls in SET UP CALL (if class h supported)&lt;br /&gt;
##Reserved by 3GPP (Toolkit-initiated GBA)&lt;br /&gt;
##Proactive UICC: RETRIEVE MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: SUBMIT MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: DISPLAY MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
#Twenty third byte:&lt;br /&gt;
##Proactive UICC: SET FRAMES (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: GET FRAMES STATUS (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##MMS notification download (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Alpha Identifier in REFRESH command supported by terminal&lt;br /&gt;
##Geographical Location Reporting (if class &amp;quot;n&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (MEID)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (NMR(UTRAN))&lt;br /&gt;
##USSD Data download and application mode&lt;br /&gt;
#Twenty fourth byte for class &amp;quot;i&amp;quot;:&lt;br /&gt;
##b1-b4 - Maximum number of frames supported (including frames created in existing frames)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-fifth byte (Event driven information extensions):&lt;br /&gt;
##Event: Browsing status&lt;br /&gt;
##Event: MMS Transfer status (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Event: Frame Parameters changed (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##Event: I-WLAN Access status (if class &amp;quot;e&amp;quot; is supported)&lt;br /&gt;
##Event Network Rejection&lt;br /&gt;
##Event: HCI connectivity event (i.e. class &amp;quot;m&amp;quot; is supported)&lt;br /&gt;
##Reserved by 3GPP (E-UTRAN support in Event Network Rejection)&lt;br /&gt;
##Multiple access technologies supported in Event&lt;br /&gt;
##Access Technology Change and PROVIDE LOCAL INFORMATION &amp;lt;br&amp;gt;If bit &amp;quot;Multiple access technologies supported&amp;quot; is set to 1, it applies to the Event Access Technology Change if supported and all relevant modes of proactive command PROVIDE  LOCAL INFORMATION that are supported.&lt;br /&gt;
#Twenty-sixth byte (Event driven information extensions):&lt;br /&gt;
##RFU, bit = 0 (for future event indication)&lt;br /&gt;
#Twenty-seventh byte (Event driven information extensions):&lt;br /&gt;
##RFU, bit = 0 (for future event indication)&lt;br /&gt;
#Twenty-eighth byte (Text attributes):&lt;br /&gt;
##Alignment left supported by Terminal&lt;br /&gt;
##Alignment centre supported by Terminal&lt;br /&gt;
##Alignment right supported by Terminal&lt;br /&gt;
##Font size normal supported by Terminal&lt;br /&gt;
##Font size large supported by Terminal&lt;br /&gt;
##Font size small supported by Terminal&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-ninth byte (Text attributes):&lt;br /&gt;
##Style normal supported by Terminal&lt;br /&gt;
##Style bold supported by Terminal&lt;br /&gt;
##Style italic supported by Terminal&lt;br /&gt;
##Style underlined supported by Terminal&lt;br /&gt;
##Style strikethrough supported by Terminal&lt;br /&gt;
##Style text foreground colour supported by Terminal&lt;br /&gt;
##Style text background colour supported by Terminal&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Thirtieth byte:&lt;br /&gt;
##I-WLAN bearer support (if class &amp;quot;e&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (WSID of the current I-WLAN connection)&lt;br /&gt;
##TERMINAL APPLICATIONS (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##Steering of Roaming REFRESH support&lt;br /&gt;
##Proactive UICC: ACTIVATE (i.e class &amp;quot;l&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: GEOGRAPHICAL LOCATION REQUEST (if class &amp;quot;n&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Broadcast Network Information) (i.e. class &amp;quot;o&amp;quot; is supported)&lt;br /&gt;
##Steering of Roaming for I-WLAN REFRESH support&lt;br /&gt;
&lt;br /&gt;
====Values====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center;&amp;quot;&lt;br /&gt;
|Phone Type||B1||B2||B3||B4||B5||B6||B7||B8||B9||B10||B11||B12||B13||B14||B15||B16||B17||B18||B19||B20||B21||B22||B23||B24||B25||B26||B27||B28||B29||B30&lt;br /&gt;
|-&lt;br /&gt;
|Samsung Galaxy Express||ff||ff||ff||ff||7f||9d||00||df||bf||00||00||1f||e2||00||00||00||c3||6b||00||07||00||00||40||00||50||00||00||00||00||08&lt;br /&gt;
|-&lt;br /&gt;
|Samsung Galaxy Note 3||ff||ff||ff||ff||7f||9d||00||df||bf||00||00||1f||e2||00||00||00||c3||6b||00||07||00||00||40||00||50||00||00||00||00||08&lt;br /&gt;
|-&lt;br /&gt;
|HTC One X+||ff||ff||ff||ff||7f||1d||00||df||b7||03||02||1f||22||00||00||00||83||00||00||00||00||00||40||10||00||00||00||00||00||00&lt;br /&gt;
|-&lt;br /&gt;
|IPhone 4||ff||ff||ff||ff||7f||91||00||df||bf||00||00||00||00||00||00||00||00||f0||00||03||00||00||60||00||50||00||00||00||00||00&lt;br /&gt;
|-&lt;br /&gt;
|Nokia E72||ff||ff||ff||ff||7f||1d||00||df||bf||00||00||17||e2||05||0f||00||03||09||00||00||00||00||00||00||00||00||00||00||00||00&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Andrei</name></author>	</entry>

	<entry>
		<id>https://ss7api.null.ro/index.php/SIM_Cards</id>
		<title>SIM Cards</title>
		<link rel="alternate" type="text/html" href="https://ss7api.null.ro/index.php/SIM_Cards"/>
				<updated>2014-03-06T10:12:18Z</updated>
		
		<summary type="html">&lt;p&gt;Andrei: /* Terminal */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
===SIM Events===&lt;br /&gt;
&lt;br /&gt;
====Call Related Events and Requests====&lt;br /&gt;
The following events are received by the SIM card when a call is made.&lt;br /&gt;
*Standard: Details can be found in standard TS 31.111&lt;br /&gt;
*Terminal Class: This events should work in all terminals.&lt;br /&gt;
*Status: Tests were made successfully for Mobile Originating Calls&lt;br /&gt;
*Events:&amp;lt;br&amp;gt;The SIM is notified on the following events:&lt;br /&gt;
**Mobile Originating Call Initiated&lt;br /&gt;
**Mobile Originating SMS Initiated&lt;br /&gt;
**Mobile Originating USSD Initiated&lt;br /&gt;
**Mobile Originating SS Initiated&amp;lt;br&amp;gt;On the events above, the 'address' and 'subaddress' parameters can be altered.&lt;br /&gt;
*Notifications:&amp;lt;br&amp;gt;We can receive notifications for the following events. NOTE: We can not alter the event flow. Eg. We can not keep the call alive if we received call terminated event.&lt;br /&gt;
**Call Connected&lt;br /&gt;
**Call Terminated&lt;br /&gt;
*Requests - We can make the following requests:&lt;br /&gt;
**Set Up Call&lt;br /&gt;
**Send DTMF&lt;br /&gt;
*Parameters:&lt;br /&gt;
**Address&amp;lt;br&amp;gt;The called party address. Details on TS 31.111 chapter 8.1&lt;br /&gt;
**Subaddress&amp;lt;br&amp;gt;The called party subaddress. Details on TS 31.111 chapter  8.3&lt;br /&gt;
&lt;br /&gt;
====Browsing====&lt;br /&gt;
Open a SIM provided URL in phone defaults browser.&lt;br /&gt;
*Standard: Details can be fond in TS 102 223.&lt;br /&gt;
*Terminal: This should work in a class C terminal.&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&amp;lt;br&amp;gt;We are notified when one of the following events occures:&lt;br /&gt;
**Status&amp;lt;br&amp;gt;Received when the browser receives a distant error from the network.&lt;br /&gt;
**Terminated&amp;lt;br&amp;gt;Received when the browser is terminated.&lt;br /&gt;
*Requests:&lt;br /&gt;
**Lunch Browser&amp;lt;br&amp;gt;Ask a terminal to open a browser with the provided URL.&lt;br /&gt;
&lt;br /&gt;
====Access Technology====&lt;br /&gt;
Notification sent from the phone to inform about the access technology 2g/3g&lt;br /&gt;
*Standard Details can be found in TS 102 223&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Changed&amp;lt;br&amp;gt;The access technology has changed from 2g/3g.&lt;br /&gt;
&lt;br /&gt;
====Card Reader====&lt;br /&gt;
Get events and perform actions on an additional card reader, &lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Terminal Class: A&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Status&amp;lt;br&amp;gt;Notification that a card was inserted or removed; or a card reader is available or unavailable.&lt;br /&gt;
*Requests:&lt;br /&gt;
**Power ON Card&amp;lt;br&amp;gt;Start a session with an additional card.&lt;br /&gt;
**Power OFF Card&amp;lt;br&amp;gt;Stop a session with an additional card.&lt;br /&gt;
**Perform Card APDU&amp;lt;br&amp;gt;Send an APDU command to an additional card.&lt;br /&gt;
**Get Reader Status&amp;lt;br&amp;gt;Request to the terminal to provide additional information about additional card readers.&lt;br /&gt;
&lt;br /&gt;
====Data====&lt;br /&gt;
The following events and requests are available for data exchange.&lt;br /&gt;
*Standard: more documentation can be found in TS 102 223&lt;br /&gt;
*Status: In testing but no compatible device found!&lt;br /&gt;
*Terminal class E&lt;br /&gt;
*Events:&lt;br /&gt;
**Data available&amp;lt;br&amp;gt;Notification from the terminal that data has arrived from the network.&lt;br /&gt;
**Channel Status&amp;lt;br&amp;gt;Notification from the terminal that the channel status is changed.&lt;br /&gt;
*Requests&lt;br /&gt;
**Open Channel&amp;lt;br&amp;gt;Request to open a channel.&lt;br /&gt;
**Send Data&amp;lt;br&amp;gt;Request to send data on a open channel.&lt;br /&gt;
**Receive Data&amp;lt;br&amp;gt;Request to receive data on a open channel.&lt;br /&gt;
**Close Channel&amp;lt;br&amp;gt;Request to close a open channel.&lt;br /&gt;
&lt;br /&gt;
====User Interface====&lt;br /&gt;
The following events and request are related to user interface.&lt;br /&gt;
*Standard details can be found in standard TS 102 223&lt;br /&gt;
*Status: Most of them were tested.&lt;br /&gt;
*Events:&lt;br /&gt;
**Display Parameter Change&amp;lt;br&amp;gt;Notification from the terminal when the screen is resized.&lt;br /&gt;
**Frames Information Changed&amp;lt;br&amp;gt;Notification from the terminal when the frames are resized.&amp;lt;br&amp;gt;Requires terminal class I.&lt;br /&gt;
**Idle screen available&amp;lt;br&amp;gt;Notification from the terminal that the screen is idle.&lt;br /&gt;
**User activity&amp;lt;br&amp;gt;Notification from the terminal when the the user is interacting with the terminal.&amp;lt;br&amp;gt;This event is received only once after it was requested.&lt;br /&gt;
**Menu Selection&amp;lt;br&amp;gt;Notification from the terminal when the user has selected a menu item.&lt;br /&gt;
**Menu Selection Help Request&amp;lt;br&amp;gt;Notification from the terminal when the user requested help information on a menu.&lt;br /&gt;
*Requests:&lt;br /&gt;
**Get Input&amp;lt;br&amp;gt;Prompt the user to insert a text.&lt;br /&gt;
**Get InKey&amp;lt;br&amp;gt;Prompt the user to insert a key.&lt;br /&gt;
**Display Text&amp;lt;br&amp;gt;Prompt a text to the user.&lt;br /&gt;
**Set Up Menu&amp;lt;br&amp;gt;Prompt a menu to the user.&lt;br /&gt;
**Select Item&amp;lt;br&amp;gt;Provide a list of options to the user and instruct him to select one.&lt;br /&gt;
**Set Up Idle Mode Text&amp;lt;br&amp;gt;Instruct the terminal to show the provided text when it is in idle mode.&lt;br /&gt;
**Set Frames&amp;lt;br&amp;gt;Set the number of frames in which the terminal should devide its screen.&amp;lt;br&amp;gt;Requires terminal class I&lt;br /&gt;
**Get Frame Status&amp;lt;br&amp;gt;Get the parameters of a frame.&amp;lt;br&amp;gt;Requires terminal class I&lt;br /&gt;
&lt;br /&gt;
====SMS====&lt;br /&gt;
SMS related procedures.&lt;br /&gt;
*Standard details can be found in standard TS 131 111&lt;br /&gt;
*Status: Not tested yet&lt;br /&gt;
*Events:&amp;lt;br&amp;gt; Only OTA SMS are sent by the terminal to the SIM. Mobile Terminated SMS can not be intercepted by the SIM card.&lt;br /&gt;
**SMS-Point to Point Data Download unformatted&lt;br /&gt;
**SMS-Point to Point Data Download formatted&lt;br /&gt;
**SMS-Cell Broadcast Data Download formatted&lt;br /&gt;
**SMS-Cell Broadcast Data Download unformatted&lt;br /&gt;
*Requests:&lt;br /&gt;
**Send Short Message&amp;lt;br&amp;gt;Send a short message to the network.&lt;br /&gt;
*Parameters&lt;br /&gt;
**Address&amp;lt;br&amp;gt;The destination address.&lt;br /&gt;
**SMS TPDU&lt;br /&gt;
&lt;br /&gt;
====SS====&lt;br /&gt;
Supplementary Services events and requests. &lt;br /&gt;
*Standard Details can be found in TS 131 111&lt;br /&gt;
*Terminal class P is required for USSD Data Download. All other operations should work on any device.&lt;br /&gt;
*Status: Send USSD tested.&lt;br /&gt;
*Events:&lt;br /&gt;
**USSD Data Download formatted&amp;lt;br&amp;gt;Requires class P&lt;br /&gt;
**USSD Data Download unformatted&amp;lt;br&amp;gt;Requires class P&lt;br /&gt;
*Requests:&lt;br /&gt;
**Send SS&amp;lt;br&amp;gt;Send a Supplementary Service request to the network.&lt;br /&gt;
**Send USSD&amp;lt;br&amp;gt;Send a USSD Request to the network. Only the last response arrives in the SIM card. If the USSD request requires a menu USSD session, the user interaction will me required.&lt;br /&gt;
*Parameters&lt;br /&gt;
**SS String&lt;br /&gt;
**USSD String&lt;br /&gt;
&lt;br /&gt;
====IMS====&lt;br /&gt;
The following events are dedicated for IMS.&lt;br /&gt;
*Standard: Details can be found in TS 131 111&lt;br /&gt;
*Terminal class E + T&lt;br /&gt;
*Events&lt;br /&gt;
**Download IMS Registration.&amp;lt;br&amp;gt;Notification from the terminal to download the IMS registration message.&lt;br /&gt;
**Download Incoming IMS Data.&amp;lt;br&amp;gt;Notification from the terminal to download the incomming IMS message.&lt;br /&gt;
*Parameters&lt;br /&gt;
**IARI&lt;br /&gt;
**IMPU List&lt;br /&gt;
**IMS status code&lt;br /&gt;
&lt;br /&gt;
====Terminal====&lt;br /&gt;
Terminal related events and requests.&lt;br /&gt;
*Standard: details can be found in TS 102 223 and TS 131 111&lt;br /&gt;
*Events&lt;br /&gt;
**Location Status&amp;lt;br&amp;gt;Notification from the terminal that it has changed its location.&amp;lt;br&amp;gt;Status: tested&amp;lt;br&amp;gt;Parameters:&lt;br /&gt;
***Location Status: details can be found in TS 102.223 8.27&lt;br /&gt;
***Location Information: details can be found in TS 102.223 8.19&lt;br /&gt;
**Language Selection&amp;lt;br&amp;gt;Notification from the terminal that the current used language has changed.&lt;br /&gt;
**Network Reject&amp;lt;br&amp;gt;Notification from the terminal that the network has rejected a request.&lt;br /&gt;
**Timer expiration&amp;lt;br&amp;gt;Notification from the terminal that a requested timer has expired.&lt;br /&gt;
*Requests&lt;br /&gt;
**Provide Local Information&amp;lt;br&amp;gt;Request to the terminal to provide location information.&lt;br /&gt;
**Language Notification&amp;lt;br&amp;gt;Inform the terminal what language will be used in this session.&lt;br /&gt;
**Geographical Location Request&amp;lt;br&amp;gt;Ask the terminal to provide advanced geographical location.&amp;lt;br&amp;gt;Terminal type N is required.&lt;br /&gt;
**More Time&amp;lt;br&amp;gt;Request to terminal for more processing time. &lt;br /&gt;
**Refresh&amp;lt;br&amp;gt;Request to terminal to reinitialize SIM card.&lt;br /&gt;
**Timer Management&amp;lt;br&amp;gt;Request to the terminal to emit a timer event after the specified time interval.&lt;br /&gt;
&lt;br /&gt;
====Service====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: not tested&lt;br /&gt;
*Terminal class F&lt;br /&gt;
*Requests:&lt;br /&gt;
**Declare Service&lt;br /&gt;
**Search Service&lt;br /&gt;
**Get Service Information&lt;br /&gt;
&lt;br /&gt;
====MMS====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: not tested&lt;br /&gt;
*Terminal class J&lt;br /&gt;
*Requests:&lt;br /&gt;
**Retreive MMS&lt;br /&gt;
**Submit MMS&lt;br /&gt;
**Display MMS&lt;br /&gt;
&lt;br /&gt;
===Card File System===&lt;br /&gt;
&lt;br /&gt;
====USIM File System====&lt;br /&gt;
Extracted from standard TS 131.102.&lt;br /&gt;
*Language Indication&lt;br /&gt;
*IMSI&lt;br /&gt;
*Ciphering and Integrity Keys&lt;br /&gt;
*Ciphering and Integrity Keys for Packet Switched domain&lt;br /&gt;
*User controlled PLMN selector with Access Technology&lt;br /&gt;
*Higher Priority PLMN search period&lt;br /&gt;
*ACM maximum value&lt;br /&gt;
*USIM Service Table&lt;br /&gt;
*Accumulated Call Meter&lt;br /&gt;
*Group Identifier Level 1&lt;br /&gt;
*Group Identifier Level 2&lt;br /&gt;
*Service Provider Name&lt;br /&gt;
*Price per Unit and Currency Table&lt;br /&gt;
*Cell Broadcast Message identifier selection&lt;br /&gt;
*Access Control Class&lt;br /&gt;
*Forbidden PLMNs&lt;br /&gt;
*Location Information&lt;br /&gt;
*Administrative Data&lt;br /&gt;
*Cell Broadcast Message Identifier for Data Download&lt;br /&gt;
*Emergency Call Codes&lt;br /&gt;
*Cell Broadcast Message Identifier Range selection&lt;br /&gt;
*Packet Switched location information&lt;br /&gt;
*Fixed Dialling Numbers&lt;br /&gt;
*Short messages&lt;br /&gt;
*MSISDN&lt;br /&gt;
*Short message service parameters&lt;br /&gt;
*SMS status&lt;br /&gt;
*Service Dialling Numbers&lt;br /&gt;
*Extension2&lt;br /&gt;
*Extension3&lt;br /&gt;
*Short message status reports&lt;br /&gt;
*Incoming Call Information&lt;br /&gt;
*Outgoing Call Information&lt;br /&gt;
*Incoming Call Timer&lt;br /&gt;
*Outgoing Call Timer&lt;br /&gt;
*Extension5&lt;br /&gt;
*Capability Configuration Parameters 2&lt;br /&gt;
*enhanced Multi Level Precedence and Pre-emption&lt;br /&gt;
*Automatic Answer for eMLPP Service&lt;br /&gt;
*Key for hidden phone book entries&lt;br /&gt;
*Barred Dialling Numbers&lt;br /&gt;
*Extension4&lt;br /&gt;
*Comparison Method Information&lt;br /&gt;
*Enabled Services Table&lt;br /&gt;
*Access Point Name Control List&lt;br /&gt;
*Depersonalisation Control Keys&lt;br /&gt;
*Co-operative Network List&lt;br /&gt;
*Initialisation values for Hyperframe number&lt;br /&gt;
*Maximum value of START&lt;br /&gt;
*Operator controlled PLMN selector with Access Technology&lt;br /&gt;
*HPLMN selector with Access Technology&lt;br /&gt;
*Access Rule Reference&lt;br /&gt;
*Network Parameters&lt;br /&gt;
*PLMN Network Name&lt;br /&gt;
*Operator PLMN List&lt;br /&gt;
*Mailbox Dialling Numbers&lt;br /&gt;
*Extension6&lt;br /&gt;
*Mailbox Identifier&lt;br /&gt;
*Message Waiting Indication Status&lt;br /&gt;
*Call Forwarding Indication Status&lt;br /&gt;
*Extension7&lt;br /&gt;
*Service Provider Display Information&lt;br /&gt;
*MMS Notification&lt;br /&gt;
*Extension 8&lt;br /&gt;
*MMS Issuer Connectivity Parameters&lt;br /&gt;
*MMS User Preferences&lt;br /&gt;
*MMS User Connectivity Parameters&lt;br /&gt;
*Network's Indication of Alerting&lt;br /&gt;
*Voice Group Call Service&lt;br /&gt;
*Voice Group Call Service Status&lt;br /&gt;
*Voice Broadcast Service&lt;br /&gt;
*Voice Broadcast Service Status&lt;br /&gt;
&lt;br /&gt;
===Terminal profile===&lt;br /&gt;
====Description====&lt;br /&gt;
The terminal can be interrogated about which functions it supports.&lt;br /&gt;
#First byte (Download):&lt;br /&gt;
##Profile download&lt;br /&gt;
##SMS-PP data download&lt;br /&gt;
##Cell Broadcast data download)&lt;br /&gt;
##Menu selection&lt;br /&gt;
##SMS-PP data download&lt;br /&gt;
##Timer expiration&lt;br /&gt;
##USSD string data object support in Call Control by USIM&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
#Second byte (Other):&lt;br /&gt;
##Command result&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
##Call Control by NAA &lt;br /&gt;
##MO short message control support&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
##UCS2 Entry supported&lt;br /&gt;
##UCS2 Display supported&lt;br /&gt;
##Display Text&lt;br /&gt;
#Third byte (Proactive UICC):&lt;br /&gt;
##DISPLAY TEXT&lt;br /&gt;
##GET INKEY&lt;br /&gt;
##GET INPUT&lt;br /&gt;
##MORE TIME&lt;br /&gt;
##PLAY TONE&lt;br /&gt;
##POLL INTERVAL&lt;br /&gt;
##POLLING OFF&lt;br /&gt;
##REFRESH&lt;br /&gt;
#Fourth byte (Proactive UICC):&lt;br /&gt;
##Proactive UICC: SELECT ITEM&lt;br /&gt;
##Proactive UICC: SEND SHORT MESSAGE with 3GPP-SMS-TPDU&lt;br /&gt;
##Proactive UICC: SEND SS&lt;br /&gt;
##Proactive UICC:SEND USSD&lt;br /&gt;
##Proactive UICC: SET UP CALL&lt;br /&gt;
##Proactive UICC: SET UP MENU&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (MCC, MNC,LAC, Cell ID &amp;amp; IMEI)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (NMR)&lt;br /&gt;
#Fifth byte (Event driven information):&lt;br /&gt;
##Proactive UICC: SET UP EVENT LIST&lt;br /&gt;
##Event: MT call&lt;br /&gt;
##Event: Call connected&lt;br /&gt;
##Event: Call disconnected&lt;br /&gt;
##Event: Location status&lt;br /&gt;
##Event: User activity&lt;br /&gt;
##Event: Idle screen available&lt;br /&gt;
##Event: Card reader status&lt;br /&gt;
#Sixth byte (Event driven information extensions):&lt;br /&gt;
##Language selection&lt;br /&gt;
##Browser Termination&lt;br /&gt;
##Data available&lt;br /&gt;
##Channel status&lt;br /&gt;
##Access Technology Change&lt;br /&gt;
##Display parameters changed&lt;br /&gt;
##Local Connection&lt;br /&gt;
##Network Search Mode Change&lt;br /&gt;
#Seventh byte (Multiple card proactive commands) for class &amp;quot;a&amp;quot;:&lt;br /&gt;
##POWER ON CARD&lt;br /&gt;
##POWER OFF CARD&lt;br /&gt;
##PERFORM CARD APDU&lt;br /&gt;
##GET READER STATUS (Card reader status)&lt;br /&gt;
##GET READER STATUS (Card reader Identifier)&lt;br /&gt;
##RFU&lt;br /&gt;
#Eighth byte (Proactive UICC):&lt;br /&gt;
##Proactive UICC: TIMER MANAGEMENT (start, stop)&lt;br /&gt;
##Proactive UICC: TIMER MANAGEMENT (get current value)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (date, time and time zone)&lt;br /&gt;
##GET INKEY&lt;br /&gt;
##SET UP IDLE MODE TEXT&lt;br /&gt;
##RUN AT COMMAND (i.e. class &amp;quot;b&amp;quot; is supported)&lt;br /&gt;
##SETUP CALL&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
#Ninth byte:&lt;br /&gt;
##DISPLAY TEXT&lt;br /&gt;
##SEND DTMF command&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (language)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION, Timing Advance&lt;br /&gt;
##Proactive UICC: LANGUAGE NOTIFICATION&lt;br /&gt;
##Proactive UICC: LAUNCH BROWSER&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Access Technology)&lt;br /&gt;
#Tenth byte (Soft keys support) for class &amp;quot;d&amp;quot;:&lt;br /&gt;
##Soft keys support for SELECT ITEM&lt;br /&gt;
##Soft Keys support for SET UP MENU&lt;br /&gt;
##RFU&lt;br /&gt;
#Eleventh byte (Soft keys information):&lt;br /&gt;
##Maximum number of soft keys available 'FF' value is reserved for future use&lt;br /&gt;
#Twelfth byte:&lt;br /&gt;
##OPEN CHANNEL&lt;br /&gt;
##CLOSE CHANNEL&lt;br /&gt;
##RECEIVE DATA&lt;br /&gt;
##SEND DATA&lt;br /&gt;
##GET CHANNEL STATUS&lt;br /&gt;
##SERVICE SEARCH&lt;br /&gt;
##GET SERVICE INFORMATION&lt;br /&gt;
##DECLARE SERVICE&lt;br /&gt;
#Thirteenth byte:&lt;br /&gt;
##CSD&lt;br /&gt;
##GPRS&lt;br /&gt;
##Bluetooth&lt;br /&gt;
##IrDA&lt;br /&gt;
##RS232&lt;br /&gt;
##b6,b7,b8 - Number of channels supported by terminal&lt;br /&gt;
#Fourteenth byte (Screen height):&lt;br /&gt;
##b1 - b4 - Number of characters supported down the terminal display as defined in clause 5.3.1&lt;br /&gt;
##No display capability (i.e class &amp;quot;ND&amp;quot; is indicated)&lt;br /&gt;
##No keypad available (i.e. class &amp;quot;NK&amp;quot; is indicated)&lt;br /&gt;
##Screen Sizing Parameters supported as defined inclause 5.3&lt;br /&gt;
#Fifteenth byte (Screen width):&lt;br /&gt;
##b1-b7 - Number of characters supported across the terminal display as defined in clause 5.3.2&lt;br /&gt;
##Variable size fonts&lt;br /&gt;
#Sixteenth byte (Screen effects):&lt;br /&gt;
##Display can be resized as defined in clause 5.3.3&lt;br /&gt;
##Text Wrapping supported as defined in clause 5.3.4&lt;br /&gt;
##Text Scrolling supported as defined in clause 5.3.5&lt;br /&gt;
##Text Attributes supported as defined in clause 5.3.7&lt;br /&gt;
##b5 - RFU&lt;br /&gt;
##b6 - b8 - Width reduction when in a menu as defined in clause 5.3.6&lt;br /&gt;
#Seventeenth byte:&lt;br /&gt;
##TCP, UICC in client mode, remote connection&lt;br /&gt;
##UDP, UICC in client mode, remote connection&lt;br /&gt;
##TCP, UICC in server mode&lt;br /&gt;
##TCP, UICC in client mode, local connection (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##UDP, UICC in client mode, local connection (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
##E-UTRAN (if class &amp;quot;e&amp;quot; issupported))&lt;br /&gt;
##HSDPA (if class &amp;quot;e&amp;quot; is supported))&lt;br /&gt;
#Eighteenth byte:&lt;br /&gt;
##Proactive UICC: DISPLAY TEXT (Variable Time out)&lt;br /&gt;
##Proactive UICC: GET INKEY (help is supported while waiting for immediate response or variable timeout)&lt;br /&gt;
##USB&lt;br /&gt;
##Proactive UICC: GET INKEY (Variable Timeout)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (ESN)&lt;br /&gt;
##Call control on GPRS&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (IMEISV)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Search Mode change)&lt;br /&gt;
#Nineteenth byte (reserved for TIA/EIA-136-C facilities [25]):&lt;br /&gt;
##Reserved by TIA/EIA-136 [25] (Protocol Version support)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twentieth byte (reserved for TIA/EIA/IS-820-A facilities [17]):&lt;br /&gt;
##Reserved by TIA/EIA/IS-820 [17]&lt;br /&gt;
#Twenty-first byte (Extended Launch Browser Capability) for class &amp;quot;c&amp;quot;:&lt;br /&gt;
##WML&lt;br /&gt;
##XHTML&lt;br /&gt;
##HTML&lt;br /&gt;
##CHTML&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-second byte:&lt;br /&gt;
##Support of UTRAN PS with extended parameters&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION(battery state), (i.e. class &amp;quot;g&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PLAY TONE (Melody tones and Themed tones supported)&lt;br /&gt;
##Multi-media Calls in SET UP CALL (if class h supported)&lt;br /&gt;
##Reserved by 3GPP (Toolkit-initiated GBA)&lt;br /&gt;
##Proactive UICC: RETRIEVE MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: SUBMIT MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: DISPLAY MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
#Twenty third byte:&lt;br /&gt;
##Proactive UICC: SET FRAMES (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: GET FRAMES STATUS (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##MMS notification download (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Alpha Identifier in REFRESH command supported by terminal&lt;br /&gt;
##Geographical Location Reporting (if class &amp;quot;n&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (MEID)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (NMR(UTRAN))&lt;br /&gt;
##USSD Data download and application mode&lt;br /&gt;
#Twenty fourth byte for class &amp;quot;i&amp;quot;:&lt;br /&gt;
##b1-b4 - Maximum number of frames supported (including frames created in existing frames)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-fifth byte (Event driven information extensions):&lt;br /&gt;
##Event: Browsing status&lt;br /&gt;
##Event: MMS Transfer status (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Event: Frame Parameters changed (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##Event: I-WLAN Access status (if class &amp;quot;e&amp;quot; is supported)&lt;br /&gt;
##Event Network Rejection&lt;br /&gt;
##Event: HCI connectivity event (i.e. class &amp;quot;m&amp;quot; is supported)&lt;br /&gt;
##Reserved by 3GPP (E-UTRAN support in Event Network Rejection)&lt;br /&gt;
##Multiple access technologies supported in Event&lt;br /&gt;
##Access Technology Change and PROVIDE LOCAL INFORMATION &amp;lt;br&amp;gt;If bit &amp;quot;Multiple access technologies supported&amp;quot; is set to 1, it applies to the Event Access Technology Change if supported and all relevant modes of proactive command PROVIDE  LOCAL INFORMATION that are supported.&lt;br /&gt;
#Twenty-sixth byte (Event driven information extensions):&lt;br /&gt;
##RFU, bit = 0 (for future event indication)&lt;br /&gt;
#Twenty-seventh byte (Event driven information extensions):&lt;br /&gt;
##RFU, bit = 0 (for future event indication)&lt;br /&gt;
#Twenty-eighth byte (Text attributes):&lt;br /&gt;
##Alignment left supported by Terminal&lt;br /&gt;
##Alignment centre supported by Terminal&lt;br /&gt;
##Alignment right supported by Terminal&lt;br /&gt;
##Font size normal supported by Terminal&lt;br /&gt;
##Font size large supported by Terminal&lt;br /&gt;
##Font size small supported by Terminal&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-ninth byte (Text attributes):&lt;br /&gt;
##Style normal supported by Terminal&lt;br /&gt;
##Style bold supported by Terminal&lt;br /&gt;
##Style italic supported by Terminal&lt;br /&gt;
##Style underlined supported by Terminal&lt;br /&gt;
##Style strikethrough supported by Terminal&lt;br /&gt;
##Style text foreground colour supported by Terminal&lt;br /&gt;
##Style text background colour supported by Terminal&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Thirtieth byte:&lt;br /&gt;
##I-WLAN bearer support (if class &amp;quot;e&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (WSID of the current I-WLAN connection)&lt;br /&gt;
##TERMINAL APPLICATIONS (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##Steering of Roaming REFRESH support&lt;br /&gt;
##Proactive UICC: ACTIVATE (i.e class &amp;quot;l&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: GEOGRAPHICAL LOCATION REQUEST (if class &amp;quot;n&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Broadcast Network Information) (i.e. class &amp;quot;o&amp;quot; is supported)&lt;br /&gt;
##Steering of Roaming for I-WLAN REFRESH support&lt;br /&gt;
&lt;br /&gt;
====Values====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center;&amp;quot;&lt;br /&gt;
|Phone Type||B1||B2||B3||B4||B5||B6||B7||B8||B9||B10||B11||B12||B13||B14||B15||B16||B17||B18||B19||B20||B21||B22||B23||B24||B25||B26||B27||B28||B29||B30&lt;br /&gt;
|-&lt;br /&gt;
|Samsung Galaxy Express||ff||ff||ff||ff||7f||9d||00||df||bf||00||00||1f||e2||00||00||00||c3||6b||00||07||00||00||40||00||50||00||00||00||00||08&lt;br /&gt;
|-&lt;br /&gt;
|Samsung Galaxy Note 3||ff||ff||ff||ff||7f||9d||00||df||bf||00||00||1f||e2||00||00||00||c3||6b||00||07||00||00||40||00||50||00||00||00||00||08&lt;br /&gt;
|-&lt;br /&gt;
|HTC One X+||ff||ff||ff||ff||7f||1d||00||df||b7||03||02||1f||22||00||00||00||83||00||00||00||00||00||40||10||00||00||00||00||00||00&lt;br /&gt;
|-&lt;br /&gt;
|IPhone 4||ff||ff||ff||ff||7f||91||00||df||bf||00||00||00||00||00||00||00||00||f0||00||03||00||00||60||00||50||00||00||00||00||00&lt;br /&gt;
|-&lt;br /&gt;
|Nokia E72||ff||ff||ff||ff||7f||1d||00||df||bf||00||00||17||e2||05||0f||00||03||09||00||00||00||00||00||00||00||00||00||00||00||00&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Andrei</name></author>	</entry>

	<entry>
		<id>https://ss7api.null.ro/index.php/SIM_Cards</id>
		<title>SIM Cards</title>
		<link rel="alternate" type="text/html" href="https://ss7api.null.ro/index.php/SIM_Cards"/>
				<updated>2014-03-06T10:05:23Z</updated>
		
		<summary type="html">&lt;p&gt;Andrei: /* Terminal */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
===SIM Events===&lt;br /&gt;
&lt;br /&gt;
====Call Related Events and Requests====&lt;br /&gt;
The following events are received by the SIM card when a call is made.&lt;br /&gt;
*Standard: Details can be found in standard TS 31.111&lt;br /&gt;
*Terminal Class: This events should work in all terminals.&lt;br /&gt;
*Status: Tests were made successfully for Mobile Originating Calls&lt;br /&gt;
*Events:&amp;lt;br&amp;gt;The SIM is notified on the following events:&lt;br /&gt;
**Mobile Originating Call Initiated&lt;br /&gt;
**Mobile Originating SMS Initiated&lt;br /&gt;
**Mobile Originating USSD Initiated&lt;br /&gt;
**Mobile Originating SS Initiated&amp;lt;br&amp;gt;On the events above, the 'address' and 'subaddress' parameters can be altered.&lt;br /&gt;
*Notifications:&amp;lt;br&amp;gt;We can receive notifications for the following events. NOTE: We can not alter the event flow. Eg. We can not keep the call alive if we received call terminated event.&lt;br /&gt;
**Call Connected&lt;br /&gt;
**Call Terminated&lt;br /&gt;
*Requests - We can make the following requests:&lt;br /&gt;
**Set Up Call&lt;br /&gt;
**Send DTMF&lt;br /&gt;
*Parameters:&lt;br /&gt;
**Address&amp;lt;br&amp;gt;The called party address. Details on TS 31.111 chapter 8.1&lt;br /&gt;
**Subaddress&amp;lt;br&amp;gt;The called party subaddress. Details on TS 31.111 chapter  8.3&lt;br /&gt;
&lt;br /&gt;
====Browsing====&lt;br /&gt;
Open a SIM provided URL in phone defaults browser.&lt;br /&gt;
*Standard: Details can be fond in TS 102 223.&lt;br /&gt;
*Terminal: This should work in a class C terminal.&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&amp;lt;br&amp;gt;We are notified when one of the following events occures:&lt;br /&gt;
**Status&amp;lt;br&amp;gt;Received when the browser receives a distant error from the network.&lt;br /&gt;
**Terminated&amp;lt;br&amp;gt;Received when the browser is terminated.&lt;br /&gt;
*Requests:&lt;br /&gt;
**Lunch Browser&amp;lt;br&amp;gt;Ask a terminal to open a browser with the provided URL.&lt;br /&gt;
&lt;br /&gt;
====Access Technology====&lt;br /&gt;
Notification sent from the phone to inform about the access technology 2g/3g&lt;br /&gt;
*Standard Details can be found in TS 102 223&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Changed&amp;lt;br&amp;gt;The access technology has changed from 2g/3g.&lt;br /&gt;
&lt;br /&gt;
====Card Reader====&lt;br /&gt;
Get events and perform actions on an additional card reader, &lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Terminal Class: A&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Status&amp;lt;br&amp;gt;Notification that a card was inserted or removed; or a card reader is available or unavailable.&lt;br /&gt;
*Requests:&lt;br /&gt;
**Power ON Card&amp;lt;br&amp;gt;Start a session with an additional card.&lt;br /&gt;
**Power OFF Card&amp;lt;br&amp;gt;Stop a session with an additional card.&lt;br /&gt;
**Perform Card APDU&amp;lt;br&amp;gt;Send an APDU command to an additional card.&lt;br /&gt;
**Get Reader Status&amp;lt;br&amp;gt;Request to the terminal to provide additional information about additional card readers.&lt;br /&gt;
&lt;br /&gt;
====Data====&lt;br /&gt;
The following events and requests are available for data exchange.&lt;br /&gt;
*Standard: more documentation can be found in TS 102 223&lt;br /&gt;
*Status: In testing but no compatible device found!&lt;br /&gt;
*Terminal class E&lt;br /&gt;
*Events:&lt;br /&gt;
**Data available&amp;lt;br&amp;gt;Notification from the terminal that data has arrived from the network.&lt;br /&gt;
**Channel Status&amp;lt;br&amp;gt;Notification from the terminal that the channel status is changed.&lt;br /&gt;
*Requests&lt;br /&gt;
**Open Channel&amp;lt;br&amp;gt;Request to open a channel.&lt;br /&gt;
**Send Data&amp;lt;br&amp;gt;Request to send data on a open channel.&lt;br /&gt;
**Receive Data&amp;lt;br&amp;gt;Request to receive data on a open channel.&lt;br /&gt;
**Close Channel&amp;lt;br&amp;gt;Request to close a open channel.&lt;br /&gt;
&lt;br /&gt;
====User Interface====&lt;br /&gt;
The following events and request are related to user interface.&lt;br /&gt;
*Standard details can be found in standard TS 102 223&lt;br /&gt;
*Status: Most of them were tested.&lt;br /&gt;
*Events:&lt;br /&gt;
**Display Parameter Change&amp;lt;br&amp;gt;Notification from the terminal when the screen is resized.&lt;br /&gt;
**Frames Information Changed&amp;lt;br&amp;gt;Notification from the terminal when the frames are resized.&amp;lt;br&amp;gt;Requires terminal class I.&lt;br /&gt;
**Idle screen available&amp;lt;br&amp;gt;Notification from the terminal that the screen is idle.&lt;br /&gt;
**User activity&amp;lt;br&amp;gt;Notification from the terminal when the the user is interacting with the terminal.&amp;lt;br&amp;gt;This event is received only once after it was requested.&lt;br /&gt;
**Menu Selection&amp;lt;br&amp;gt;Notification from the terminal when the user has selected a menu item.&lt;br /&gt;
**Menu Selection Help Request&amp;lt;br&amp;gt;Notification from the terminal when the user requested help information on a menu.&lt;br /&gt;
*Requests:&lt;br /&gt;
**Get Input&amp;lt;br&amp;gt;Prompt the user to insert a text.&lt;br /&gt;
**Get InKey&amp;lt;br&amp;gt;Prompt the user to insert a key.&lt;br /&gt;
**Display Text&amp;lt;br&amp;gt;Prompt a text to the user.&lt;br /&gt;
**Set Up Menu&amp;lt;br&amp;gt;Prompt a menu to the user.&lt;br /&gt;
**Select Item&amp;lt;br&amp;gt;Provide a list of options to the user and instruct him to select one.&lt;br /&gt;
**Set Up Idle Mode Text&amp;lt;br&amp;gt;Instruct the terminal to show the provided text when it is in idle mode.&lt;br /&gt;
**Set Frames&amp;lt;br&amp;gt;Set the number of frames in which the terminal should devide its screen.&amp;lt;br&amp;gt;Requires terminal class I&lt;br /&gt;
**Get Frame Status&amp;lt;br&amp;gt;Get the parameters of a frame.&amp;lt;br&amp;gt;Requires terminal class I&lt;br /&gt;
&lt;br /&gt;
====SMS====&lt;br /&gt;
SMS related procedures.&lt;br /&gt;
*Standard details can be found in standard TS 131 111&lt;br /&gt;
*Status: Not tested yet&lt;br /&gt;
*Events:&amp;lt;br&amp;gt; Only OTA SMS are sent by the terminal to the SIM. Mobile Terminated SMS can not be intercepted by the SIM card.&lt;br /&gt;
**SMS-Point to Point Data Download unformatted&lt;br /&gt;
**SMS-Point to Point Data Download formatted&lt;br /&gt;
**SMS-Cell Broadcast Data Download formatted&lt;br /&gt;
**SMS-Cell Broadcast Data Download unformatted&lt;br /&gt;
*Requests:&lt;br /&gt;
**Send Short Message&amp;lt;br&amp;gt;Send a short message to the network.&lt;br /&gt;
*Parameters&lt;br /&gt;
**Address&amp;lt;br&amp;gt;The destination address.&lt;br /&gt;
**SMS TPDU&lt;br /&gt;
&lt;br /&gt;
====SS====&lt;br /&gt;
Supplementary Services events and requests. &lt;br /&gt;
*Standard Details can be found in TS 131 111&lt;br /&gt;
*Terminal class P is required for USSD Data Download. All other operations should work on any device.&lt;br /&gt;
*Status: Send USSD tested.&lt;br /&gt;
*Events:&lt;br /&gt;
**USSD Data Download formatted&amp;lt;br&amp;gt;Requires class P&lt;br /&gt;
**USSD Data Download unformatted&amp;lt;br&amp;gt;Requires class P&lt;br /&gt;
*Requests:&lt;br /&gt;
**Send SS&amp;lt;br&amp;gt;Send a Supplementary Service request to the network.&lt;br /&gt;
**Send USSD&amp;lt;br&amp;gt;Send a USSD Request to the network. Only the last response arrives in the SIM card. If the USSD request requires a menu USSD session, the user interaction will me required.&lt;br /&gt;
*Parameters&lt;br /&gt;
**SS String&lt;br /&gt;
**USSD String&lt;br /&gt;
&lt;br /&gt;
====IMS====&lt;br /&gt;
The following events are dedicated for IMS.&lt;br /&gt;
*Standard: Details can be found in TS 131 111&lt;br /&gt;
*Terminal class E + T&lt;br /&gt;
*Events&lt;br /&gt;
**Download IMS Registration.&amp;lt;br&amp;gt;Notification from the terminal to download the IMS registration message.&lt;br /&gt;
**Download Incoming IMS Data.&amp;lt;br&amp;gt;Notification from the terminal to download the incomming IMS message.&lt;br /&gt;
*Parameters&lt;br /&gt;
**IARI&lt;br /&gt;
**IMPU List&lt;br /&gt;
**IMS status code&lt;br /&gt;
&lt;br /&gt;
====Terminal====&lt;br /&gt;
Terminal related events and requests.&lt;br /&gt;
*Standard: details can be found in TS 102 223 and TS 131 111&lt;br /&gt;
*Events&lt;br /&gt;
**Location Status&amp;lt;br&amp;gt;Notification from the terminal that it has changed its location.&amp;lt;br&amp;gt;Status: tested&amp;lt;br&amp;gt;Parameters:&lt;br /&gt;
***Location Status: details can be found in TS 102.223 8.27&lt;br /&gt;
***Location Information: details can be found in TS 102.223 8.19&lt;br /&gt;
**Language Selection&amp;lt;br&amp;gt;Notification from the terminal that the current used language has changed.&lt;br /&gt;
**Network Reject&amp;lt;br&amp;gt;Notification from the terminal that the network has rejected a request.&lt;br /&gt;
**Timer expiration&amp;lt;br&amp;gt;Notification from the terminal that a requested timer has expired.&lt;br /&gt;
*Requests&lt;br /&gt;
**Provide Local Information&amp;lt;br&amp;gt;Request to the terminal to provide location informations.&lt;br /&gt;
**Language Notification&lt;br /&gt;
**Geographical Location Request&amp;lt;br&amp;gt;Terminal Type N&lt;br /&gt;
**More Time&amp;lt;br&amp;gt;Request to terminal for more processing time. &lt;br /&gt;
**Refresh&amp;lt;br&amp;gt;Request to terminal to reinitialize SIM card.&lt;br /&gt;
**Timer Management&amp;lt;br&amp;gt;SIM timers&lt;br /&gt;
&lt;br /&gt;
====Service====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: not tested&lt;br /&gt;
*Terminal class F&lt;br /&gt;
*Requests:&lt;br /&gt;
**Declare Service&lt;br /&gt;
**Search Service&lt;br /&gt;
**Get Service Information&lt;br /&gt;
&lt;br /&gt;
====MMS====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: not tested&lt;br /&gt;
*Terminal class J&lt;br /&gt;
*Requests:&lt;br /&gt;
**Retreive MMS&lt;br /&gt;
**Submit MMS&lt;br /&gt;
**Display MMS&lt;br /&gt;
&lt;br /&gt;
===Card File System===&lt;br /&gt;
&lt;br /&gt;
====USIM File System====&lt;br /&gt;
Extracted from standard TS 131.102.&lt;br /&gt;
*Language Indication&lt;br /&gt;
*IMSI&lt;br /&gt;
*Ciphering and Integrity Keys&lt;br /&gt;
*Ciphering and Integrity Keys for Packet Switched domain&lt;br /&gt;
*User controlled PLMN selector with Access Technology&lt;br /&gt;
*Higher Priority PLMN search period&lt;br /&gt;
*ACM maximum value&lt;br /&gt;
*USIM Service Table&lt;br /&gt;
*Accumulated Call Meter&lt;br /&gt;
*Group Identifier Level 1&lt;br /&gt;
*Group Identifier Level 2&lt;br /&gt;
*Service Provider Name&lt;br /&gt;
*Price per Unit and Currency Table&lt;br /&gt;
*Cell Broadcast Message identifier selection&lt;br /&gt;
*Access Control Class&lt;br /&gt;
*Forbidden PLMNs&lt;br /&gt;
*Location Information&lt;br /&gt;
*Administrative Data&lt;br /&gt;
*Cell Broadcast Message Identifier for Data Download&lt;br /&gt;
*Emergency Call Codes&lt;br /&gt;
*Cell Broadcast Message Identifier Range selection&lt;br /&gt;
*Packet Switched location information&lt;br /&gt;
*Fixed Dialling Numbers&lt;br /&gt;
*Short messages&lt;br /&gt;
*MSISDN&lt;br /&gt;
*Short message service parameters&lt;br /&gt;
*SMS status&lt;br /&gt;
*Service Dialling Numbers&lt;br /&gt;
*Extension2&lt;br /&gt;
*Extension3&lt;br /&gt;
*Short message status reports&lt;br /&gt;
*Incoming Call Information&lt;br /&gt;
*Outgoing Call Information&lt;br /&gt;
*Incoming Call Timer&lt;br /&gt;
*Outgoing Call Timer&lt;br /&gt;
*Extension5&lt;br /&gt;
*Capability Configuration Parameters 2&lt;br /&gt;
*enhanced Multi Level Precedence and Pre-emption&lt;br /&gt;
*Automatic Answer for eMLPP Service&lt;br /&gt;
*Key for hidden phone book entries&lt;br /&gt;
*Barred Dialling Numbers&lt;br /&gt;
*Extension4&lt;br /&gt;
*Comparison Method Information&lt;br /&gt;
*Enabled Services Table&lt;br /&gt;
*Access Point Name Control List&lt;br /&gt;
*Depersonalisation Control Keys&lt;br /&gt;
*Co-operative Network List&lt;br /&gt;
*Initialisation values for Hyperframe number&lt;br /&gt;
*Maximum value of START&lt;br /&gt;
*Operator controlled PLMN selector with Access Technology&lt;br /&gt;
*HPLMN selector with Access Technology&lt;br /&gt;
*Access Rule Reference&lt;br /&gt;
*Network Parameters&lt;br /&gt;
*PLMN Network Name&lt;br /&gt;
*Operator PLMN List&lt;br /&gt;
*Mailbox Dialling Numbers&lt;br /&gt;
*Extension6&lt;br /&gt;
*Mailbox Identifier&lt;br /&gt;
*Message Waiting Indication Status&lt;br /&gt;
*Call Forwarding Indication Status&lt;br /&gt;
*Extension7&lt;br /&gt;
*Service Provider Display Information&lt;br /&gt;
*MMS Notification&lt;br /&gt;
*Extension 8&lt;br /&gt;
*MMS Issuer Connectivity Parameters&lt;br /&gt;
*MMS User Preferences&lt;br /&gt;
*MMS User Connectivity Parameters&lt;br /&gt;
*Network's Indication of Alerting&lt;br /&gt;
*Voice Group Call Service&lt;br /&gt;
*Voice Group Call Service Status&lt;br /&gt;
*Voice Broadcast Service&lt;br /&gt;
*Voice Broadcast Service Status&lt;br /&gt;
&lt;br /&gt;
===Terminal profile===&lt;br /&gt;
====Description====&lt;br /&gt;
The terminal can be interrogated about which functions it supports.&lt;br /&gt;
#First byte (Download):&lt;br /&gt;
##Profile download&lt;br /&gt;
##SMS-PP data download&lt;br /&gt;
##Cell Broadcast data download)&lt;br /&gt;
##Menu selection&lt;br /&gt;
##SMS-PP data download&lt;br /&gt;
##Timer expiration&lt;br /&gt;
##USSD string data object support in Call Control by USIM&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
#Second byte (Other):&lt;br /&gt;
##Command result&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
##Call Control by NAA &lt;br /&gt;
##MO short message control support&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
##UCS2 Entry supported&lt;br /&gt;
##UCS2 Display supported&lt;br /&gt;
##Display Text&lt;br /&gt;
#Third byte (Proactive UICC):&lt;br /&gt;
##DISPLAY TEXT&lt;br /&gt;
##GET INKEY&lt;br /&gt;
##GET INPUT&lt;br /&gt;
##MORE TIME&lt;br /&gt;
##PLAY TONE&lt;br /&gt;
##POLL INTERVAL&lt;br /&gt;
##POLLING OFF&lt;br /&gt;
##REFRESH&lt;br /&gt;
#Fourth byte (Proactive UICC):&lt;br /&gt;
##Proactive UICC: SELECT ITEM&lt;br /&gt;
##Proactive UICC: SEND SHORT MESSAGE with 3GPP-SMS-TPDU&lt;br /&gt;
##Proactive UICC: SEND SS&lt;br /&gt;
##Proactive UICC:SEND USSD&lt;br /&gt;
##Proactive UICC: SET UP CALL&lt;br /&gt;
##Proactive UICC: SET UP MENU&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (MCC, MNC,LAC, Cell ID &amp;amp; IMEI)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (NMR)&lt;br /&gt;
#Fifth byte (Event driven information):&lt;br /&gt;
##Proactive UICC: SET UP EVENT LIST&lt;br /&gt;
##Event: MT call&lt;br /&gt;
##Event: Call connected&lt;br /&gt;
##Event: Call disconnected&lt;br /&gt;
##Event: Location status&lt;br /&gt;
##Event: User activity&lt;br /&gt;
##Event: Idle screen available&lt;br /&gt;
##Event: Card reader status&lt;br /&gt;
#Sixth byte (Event driven information extensions):&lt;br /&gt;
##Language selection&lt;br /&gt;
##Browser Termination&lt;br /&gt;
##Data available&lt;br /&gt;
##Channel status&lt;br /&gt;
##Access Technology Change&lt;br /&gt;
##Display parameters changed&lt;br /&gt;
##Local Connection&lt;br /&gt;
##Network Search Mode Change&lt;br /&gt;
#Seventh byte (Multiple card proactive commands) for class &amp;quot;a&amp;quot;:&lt;br /&gt;
##POWER ON CARD&lt;br /&gt;
##POWER OFF CARD&lt;br /&gt;
##PERFORM CARD APDU&lt;br /&gt;
##GET READER STATUS (Card reader status)&lt;br /&gt;
##GET READER STATUS (Card reader Identifier)&lt;br /&gt;
##RFU&lt;br /&gt;
#Eighth byte (Proactive UICC):&lt;br /&gt;
##Proactive UICC: TIMER MANAGEMENT (start, stop)&lt;br /&gt;
##Proactive UICC: TIMER MANAGEMENT (get current value)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (date, time and time zone)&lt;br /&gt;
##GET INKEY&lt;br /&gt;
##SET UP IDLE MODE TEXT&lt;br /&gt;
##RUN AT COMMAND (i.e. class &amp;quot;b&amp;quot; is supported)&lt;br /&gt;
##SETUP CALL&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
#Ninth byte:&lt;br /&gt;
##DISPLAY TEXT&lt;br /&gt;
##SEND DTMF command&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (language)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION, Timing Advance&lt;br /&gt;
##Proactive UICC: LANGUAGE NOTIFICATION&lt;br /&gt;
##Proactive UICC: LAUNCH BROWSER&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Access Technology)&lt;br /&gt;
#Tenth byte (Soft keys support) for class &amp;quot;d&amp;quot;:&lt;br /&gt;
##Soft keys support for SELECT ITEM&lt;br /&gt;
##Soft Keys support for SET UP MENU&lt;br /&gt;
##RFU&lt;br /&gt;
#Eleventh byte (Soft keys information):&lt;br /&gt;
##Maximum number of soft keys available 'FF' value is reserved for future use&lt;br /&gt;
#Twelfth byte:&lt;br /&gt;
##OPEN CHANNEL&lt;br /&gt;
##CLOSE CHANNEL&lt;br /&gt;
##RECEIVE DATA&lt;br /&gt;
##SEND DATA&lt;br /&gt;
##GET CHANNEL STATUS&lt;br /&gt;
##SERVICE SEARCH&lt;br /&gt;
##GET SERVICE INFORMATION&lt;br /&gt;
##DECLARE SERVICE&lt;br /&gt;
#Thirteenth byte:&lt;br /&gt;
##CSD&lt;br /&gt;
##GPRS&lt;br /&gt;
##Bluetooth&lt;br /&gt;
##IrDA&lt;br /&gt;
##RS232&lt;br /&gt;
##b6,b7,b8 - Number of channels supported by terminal&lt;br /&gt;
#Fourteenth byte (Screen height):&lt;br /&gt;
##b1 - b4 - Number of characters supported down the terminal display as defined in clause 5.3.1&lt;br /&gt;
##No display capability (i.e class &amp;quot;ND&amp;quot; is indicated)&lt;br /&gt;
##No keypad available (i.e. class &amp;quot;NK&amp;quot; is indicated)&lt;br /&gt;
##Screen Sizing Parameters supported as defined inclause 5.3&lt;br /&gt;
#Fifteenth byte (Screen width):&lt;br /&gt;
##b1-b7 - Number of characters supported across the terminal display as defined in clause 5.3.2&lt;br /&gt;
##Variable size fonts&lt;br /&gt;
#Sixteenth byte (Screen effects):&lt;br /&gt;
##Display can be resized as defined in clause 5.3.3&lt;br /&gt;
##Text Wrapping supported as defined in clause 5.3.4&lt;br /&gt;
##Text Scrolling supported as defined in clause 5.3.5&lt;br /&gt;
##Text Attributes supported as defined in clause 5.3.7&lt;br /&gt;
##b5 - RFU&lt;br /&gt;
##b6 - b8 - Width reduction when in a menu as defined in clause 5.3.6&lt;br /&gt;
#Seventeenth byte:&lt;br /&gt;
##TCP, UICC in client mode, remote connection&lt;br /&gt;
##UDP, UICC in client mode, remote connection&lt;br /&gt;
##TCP, UICC in server mode&lt;br /&gt;
##TCP, UICC in client mode, local connection (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##UDP, UICC in client mode, local connection (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
##E-UTRAN (if class &amp;quot;e&amp;quot; issupported))&lt;br /&gt;
##HSDPA (if class &amp;quot;e&amp;quot; is supported))&lt;br /&gt;
#Eighteenth byte:&lt;br /&gt;
##Proactive UICC: DISPLAY TEXT (Variable Time out)&lt;br /&gt;
##Proactive UICC: GET INKEY (help is supported while waiting for immediate response or variable timeout)&lt;br /&gt;
##USB&lt;br /&gt;
##Proactive UICC: GET INKEY (Variable Timeout)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (ESN)&lt;br /&gt;
##Call control on GPRS&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (IMEISV)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Search Mode change)&lt;br /&gt;
#Nineteenth byte (reserved for TIA/EIA-136-C facilities [25]):&lt;br /&gt;
##Reserved by TIA/EIA-136 [25] (Protocol Version support)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twentieth byte (reserved for TIA/EIA/IS-820-A facilities [17]):&lt;br /&gt;
##Reserved by TIA/EIA/IS-820 [17]&lt;br /&gt;
#Twenty-first byte (Extended Launch Browser Capability) for class &amp;quot;c&amp;quot;:&lt;br /&gt;
##WML&lt;br /&gt;
##XHTML&lt;br /&gt;
##HTML&lt;br /&gt;
##CHTML&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-second byte:&lt;br /&gt;
##Support of UTRAN PS with extended parameters&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION(battery state), (i.e. class &amp;quot;g&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PLAY TONE (Melody tones and Themed tones supported)&lt;br /&gt;
##Multi-media Calls in SET UP CALL (if class h supported)&lt;br /&gt;
##Reserved by 3GPP (Toolkit-initiated GBA)&lt;br /&gt;
##Proactive UICC: RETRIEVE MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: SUBMIT MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: DISPLAY MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
#Twenty third byte:&lt;br /&gt;
##Proactive UICC: SET FRAMES (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: GET FRAMES STATUS (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##MMS notification download (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Alpha Identifier in REFRESH command supported by terminal&lt;br /&gt;
##Geographical Location Reporting (if class &amp;quot;n&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (MEID)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (NMR(UTRAN))&lt;br /&gt;
##USSD Data download and application mode&lt;br /&gt;
#Twenty fourth byte for class &amp;quot;i&amp;quot;:&lt;br /&gt;
##b1-b4 - Maximum number of frames supported (including frames created in existing frames)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-fifth byte (Event driven information extensions):&lt;br /&gt;
##Event: Browsing status&lt;br /&gt;
##Event: MMS Transfer status (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Event: Frame Parameters changed (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##Event: I-WLAN Access status (if class &amp;quot;e&amp;quot; is supported)&lt;br /&gt;
##Event Network Rejection&lt;br /&gt;
##Event: HCI connectivity event (i.e. class &amp;quot;m&amp;quot; is supported)&lt;br /&gt;
##Reserved by 3GPP (E-UTRAN support in Event Network Rejection)&lt;br /&gt;
##Multiple access technologies supported in Event&lt;br /&gt;
##Access Technology Change and PROVIDE LOCAL INFORMATION &amp;lt;br&amp;gt;If bit &amp;quot;Multiple access technologies supported&amp;quot; is set to 1, it applies to the Event Access Technology Change if supported and all relevant modes of proactive command PROVIDE  LOCAL INFORMATION that are supported.&lt;br /&gt;
#Twenty-sixth byte (Event driven information extensions):&lt;br /&gt;
##RFU, bit = 0 (for future event indication)&lt;br /&gt;
#Twenty-seventh byte (Event driven information extensions):&lt;br /&gt;
##RFU, bit = 0 (for future event indication)&lt;br /&gt;
#Twenty-eighth byte (Text attributes):&lt;br /&gt;
##Alignment left supported by Terminal&lt;br /&gt;
##Alignment centre supported by Terminal&lt;br /&gt;
##Alignment right supported by Terminal&lt;br /&gt;
##Font size normal supported by Terminal&lt;br /&gt;
##Font size large supported by Terminal&lt;br /&gt;
##Font size small supported by Terminal&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-ninth byte (Text attributes):&lt;br /&gt;
##Style normal supported by Terminal&lt;br /&gt;
##Style bold supported by Terminal&lt;br /&gt;
##Style italic supported by Terminal&lt;br /&gt;
##Style underlined supported by Terminal&lt;br /&gt;
##Style strikethrough supported by Terminal&lt;br /&gt;
##Style text foreground colour supported by Terminal&lt;br /&gt;
##Style text background colour supported by Terminal&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Thirtieth byte:&lt;br /&gt;
##I-WLAN bearer support (if class &amp;quot;e&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (WSID of the current I-WLAN connection)&lt;br /&gt;
##TERMINAL APPLICATIONS (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##Steering of Roaming REFRESH support&lt;br /&gt;
##Proactive UICC: ACTIVATE (i.e class &amp;quot;l&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: GEOGRAPHICAL LOCATION REQUEST (if class &amp;quot;n&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Broadcast Network Information) (i.e. class &amp;quot;o&amp;quot; is supported)&lt;br /&gt;
##Steering of Roaming for I-WLAN REFRESH support&lt;br /&gt;
&lt;br /&gt;
====Values====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center;&amp;quot;&lt;br /&gt;
|Phone Type||B1||B2||B3||B4||B5||B6||B7||B8||B9||B10||B11||B12||B13||B14||B15||B16||B17||B18||B19||B20||B21||B22||B23||B24||B25||B26||B27||B28||B29||B30&lt;br /&gt;
|-&lt;br /&gt;
|Samsung Galaxy Express||ff||ff||ff||ff||7f||9d||00||df||bf||00||00||1f||e2||00||00||00||c3||6b||00||07||00||00||40||00||50||00||00||00||00||08&lt;br /&gt;
|-&lt;br /&gt;
|Samsung Galaxy Note 3||ff||ff||ff||ff||7f||9d||00||df||bf||00||00||1f||e2||00||00||00||c3||6b||00||07||00||00||40||00||50||00||00||00||00||08&lt;br /&gt;
|-&lt;br /&gt;
|HTC One X+||ff||ff||ff||ff||7f||1d||00||df||b7||03||02||1f||22||00||00||00||83||00||00||00||00||00||40||10||00||00||00||00||00||00&lt;br /&gt;
|-&lt;br /&gt;
|IPhone 4||ff||ff||ff||ff||7f||91||00||df||bf||00||00||00||00||00||00||00||00||f0||00||03||00||00||60||00||50||00||00||00||00||00&lt;br /&gt;
|-&lt;br /&gt;
|Nokia E72||ff||ff||ff||ff||7f||1d||00||df||bf||00||00||17||e2||05||0f||00||03||09||00||00||00||00||00||00||00||00||00||00||00||00&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Andrei</name></author>	</entry>

	<entry>
		<id>https://ss7api.null.ro/index.php/SIM_Cards</id>
		<title>SIM Cards</title>
		<link rel="alternate" type="text/html" href="https://ss7api.null.ro/index.php/SIM_Cards"/>
				<updated>2014-03-06T10:01:51Z</updated>
		
		<summary type="html">&lt;p&gt;Andrei: /* Terminal */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
===SIM Events===&lt;br /&gt;
&lt;br /&gt;
====Call Related Events and Requests====&lt;br /&gt;
The following events are received by the SIM card when a call is made.&lt;br /&gt;
*Standard: Details can be found in standard TS 31.111&lt;br /&gt;
*Terminal Class: This events should work in all terminals.&lt;br /&gt;
*Status: Tests were made successfully for Mobile Originating Calls&lt;br /&gt;
*Events:&amp;lt;br&amp;gt;The SIM is notified on the following events:&lt;br /&gt;
**Mobile Originating Call Initiated&lt;br /&gt;
**Mobile Originating SMS Initiated&lt;br /&gt;
**Mobile Originating USSD Initiated&lt;br /&gt;
**Mobile Originating SS Initiated&amp;lt;br&amp;gt;On the events above, the 'address' and 'subaddress' parameters can be altered.&lt;br /&gt;
*Notifications:&amp;lt;br&amp;gt;We can receive notifications for the following events. NOTE: We can not alter the event flow. Eg. We can not keep the call alive if we received call terminated event.&lt;br /&gt;
**Call Connected&lt;br /&gt;
**Call Terminated&lt;br /&gt;
*Requests - We can make the following requests:&lt;br /&gt;
**Set Up Call&lt;br /&gt;
**Send DTMF&lt;br /&gt;
*Parameters:&lt;br /&gt;
**Address&amp;lt;br&amp;gt;The called party address. Details on TS 31.111 chapter 8.1&lt;br /&gt;
**Subaddress&amp;lt;br&amp;gt;The called party subaddress. Details on TS 31.111 chapter  8.3&lt;br /&gt;
&lt;br /&gt;
====Browsing====&lt;br /&gt;
Open a SIM provided URL in phone defaults browser.&lt;br /&gt;
*Standard: Details can be fond in TS 102 223.&lt;br /&gt;
*Terminal: This should work in a class C terminal.&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&amp;lt;br&amp;gt;We are notified when one of the following events occures:&lt;br /&gt;
**Status&amp;lt;br&amp;gt;Received when the browser receives a distant error from the network.&lt;br /&gt;
**Terminated&amp;lt;br&amp;gt;Received when the browser is terminated.&lt;br /&gt;
*Requests:&lt;br /&gt;
**Lunch Browser&amp;lt;br&amp;gt;Ask a terminal to open a browser with the provided URL.&lt;br /&gt;
&lt;br /&gt;
====Access Technology====&lt;br /&gt;
Notification sent from the phone to inform about the access technology 2g/3g&lt;br /&gt;
*Standard Details can be found in TS 102 223&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Changed&amp;lt;br&amp;gt;The access technology has changed from 2g/3g.&lt;br /&gt;
&lt;br /&gt;
====Card Reader====&lt;br /&gt;
Get events and perform actions on an additional card reader, &lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Terminal Class: A&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Status&amp;lt;br&amp;gt;Notification that a card was inserted or removed; or a card reader is available or unavailable.&lt;br /&gt;
*Requests:&lt;br /&gt;
**Power ON Card&amp;lt;br&amp;gt;Start a session with an additional card.&lt;br /&gt;
**Power OFF Card&amp;lt;br&amp;gt;Stop a session with an additional card.&lt;br /&gt;
**Perform Card APDU&amp;lt;br&amp;gt;Send an APDU command to an additional card.&lt;br /&gt;
**Get Reader Status&amp;lt;br&amp;gt;Request to the terminal to provide additional information about additional card readers.&lt;br /&gt;
&lt;br /&gt;
====Data====&lt;br /&gt;
The following events and requests are available for data exchange.&lt;br /&gt;
*Standard: more documentation can be found in TS 102 223&lt;br /&gt;
*Status: In testing but no compatible device found!&lt;br /&gt;
*Terminal class E&lt;br /&gt;
*Events:&lt;br /&gt;
**Data available&amp;lt;br&amp;gt;Notification from the terminal that data has arrived from the network.&lt;br /&gt;
**Channel Status&amp;lt;br&amp;gt;Notification from the terminal that the channel status is changed.&lt;br /&gt;
*Requests&lt;br /&gt;
**Open Channel&amp;lt;br&amp;gt;Request to open a channel.&lt;br /&gt;
**Send Data&amp;lt;br&amp;gt;Request to send data on a open channel.&lt;br /&gt;
**Receive Data&amp;lt;br&amp;gt;Request to receive data on a open channel.&lt;br /&gt;
**Close Channel&amp;lt;br&amp;gt;Request to close a open channel.&lt;br /&gt;
&lt;br /&gt;
====User Interface====&lt;br /&gt;
The following events and request are related to user interface.&lt;br /&gt;
*Standard details can be found in standard TS 102 223&lt;br /&gt;
*Status: Most of them were tested.&lt;br /&gt;
*Events:&lt;br /&gt;
**Display Parameter Change&amp;lt;br&amp;gt;Notification from the terminal when the screen is resized.&lt;br /&gt;
**Frames Information Changed&amp;lt;br&amp;gt;Notification from the terminal when the frames are resized.&amp;lt;br&amp;gt;Requires terminal class I.&lt;br /&gt;
**Idle screen available&amp;lt;br&amp;gt;Notification from the terminal that the screen is idle.&lt;br /&gt;
**User activity&amp;lt;br&amp;gt;Notification from the terminal when the the user is interacting with the terminal.&amp;lt;br&amp;gt;This event is received only once after it was requested.&lt;br /&gt;
**Menu Selection&amp;lt;br&amp;gt;Notification from the terminal when the user has selected a menu item.&lt;br /&gt;
**Menu Selection Help Request&amp;lt;br&amp;gt;Notification from the terminal when the user requested help information on a menu.&lt;br /&gt;
*Requests:&lt;br /&gt;
**Get Input&amp;lt;br&amp;gt;Prompt the user to insert a text.&lt;br /&gt;
**Get InKey&amp;lt;br&amp;gt;Prompt the user to insert a key.&lt;br /&gt;
**Display Text&amp;lt;br&amp;gt;Prompt a text to the user.&lt;br /&gt;
**Set Up Menu&amp;lt;br&amp;gt;Prompt a menu to the user.&lt;br /&gt;
**Select Item&amp;lt;br&amp;gt;Provide a list of options to the user and instruct him to select one.&lt;br /&gt;
**Set Up Idle Mode Text&amp;lt;br&amp;gt;Instruct the terminal to show the provided text when it is in idle mode.&lt;br /&gt;
**Set Frames&amp;lt;br&amp;gt;Set the number of frames in which the terminal should devide its screen.&amp;lt;br&amp;gt;Requires terminal class I&lt;br /&gt;
**Get Frame Status&amp;lt;br&amp;gt;Get the parameters of a frame.&amp;lt;br&amp;gt;Requires terminal class I&lt;br /&gt;
&lt;br /&gt;
====SMS====&lt;br /&gt;
SMS related procedures.&lt;br /&gt;
*Standard details can be found in standard TS 131 111&lt;br /&gt;
*Status: Not tested yet&lt;br /&gt;
*Events:&amp;lt;br&amp;gt; Only OTA SMS are sent by the terminal to the SIM. Mobile Terminated SMS can not be intercepted by the SIM card.&lt;br /&gt;
**SMS-Point to Point Data Download unformatted&lt;br /&gt;
**SMS-Point to Point Data Download formatted&lt;br /&gt;
**SMS-Cell Broadcast Data Download formatted&lt;br /&gt;
**SMS-Cell Broadcast Data Download unformatted&lt;br /&gt;
*Requests:&lt;br /&gt;
**Send Short Message&amp;lt;br&amp;gt;Send a short message to the network.&lt;br /&gt;
*Parameters&lt;br /&gt;
**Address&amp;lt;br&amp;gt;The destination address.&lt;br /&gt;
**SMS TPDU&lt;br /&gt;
&lt;br /&gt;
====SS====&lt;br /&gt;
Supplementary Services events and requests. &lt;br /&gt;
*Standard Details can be found in TS 131 111&lt;br /&gt;
*Terminal class P is required for USSD Data Download. All other operations should work on any device.&lt;br /&gt;
*Status: Send USSD tested.&lt;br /&gt;
*Events:&lt;br /&gt;
**USSD Data Download formatted&amp;lt;br&amp;gt;Requires class P&lt;br /&gt;
**USSD Data Download unformatted&amp;lt;br&amp;gt;Requires class P&lt;br /&gt;
*Requests:&lt;br /&gt;
**Send SS&amp;lt;br&amp;gt;Send a Supplementary Service request to the network.&lt;br /&gt;
**Send USSD&amp;lt;br&amp;gt;Send a USSD Request to the network. Only the last response arrives in the SIM card. If the USSD request requires a menu USSD session, the user interaction will me required.&lt;br /&gt;
*Parameters&lt;br /&gt;
**SS String&lt;br /&gt;
**USSD String&lt;br /&gt;
&lt;br /&gt;
====IMS====&lt;br /&gt;
The following events are dedicated for IMS.&lt;br /&gt;
*Standard: Details can be found in TS 131 111&lt;br /&gt;
*Terminal class E + T&lt;br /&gt;
*Events&lt;br /&gt;
**Download IMS Registration.&amp;lt;br&amp;gt;Notification from the terminal to download the IMS registration message.&lt;br /&gt;
**Download Incoming IMS Data.&amp;lt;br&amp;gt;Notification from the terminal to download the incomming IMS message.&lt;br /&gt;
*Parameters&lt;br /&gt;
**IARI&lt;br /&gt;
**IMPU List&lt;br /&gt;
**IMS status code&lt;br /&gt;
&lt;br /&gt;
====Terminal====&lt;br /&gt;
Terminal related events and requests.&lt;br /&gt;
*Standard: details can be found in TS 102 223 and TS 131 111&lt;br /&gt;
*Events&lt;br /&gt;
**Location Status&amp;lt;br&amp;gt;Notification from the terminal that it has changed its location.&amp;lt;br&amp;gt;Status: tested&amp;lt;br&amp;gt;Parameters:&lt;br /&gt;
***Location Status: details can be found in TS 102.223 8.27&lt;br /&gt;
***Location Information: details can be found in TS 102.223 8.19&lt;br /&gt;
**Language Selection&amp;lt;br&amp;gt;Notification from the terminal that the current used language has changed.&lt;br /&gt;
**Network Reject&amp;lt;br&amp;gt;Notification from the terminal that the network has rejected a request.&lt;br /&gt;
**Timer expiration&amp;lt;br&amp;gt;Notification from the terminal that a requested timer has expired.&lt;br /&gt;
*Requests&lt;br /&gt;
**Provide Local Information&lt;br /&gt;
**Language Notification&lt;br /&gt;
**Geographical Location Request&amp;lt;br&amp;gt;Terminal Type N&lt;br /&gt;
**More Time&amp;lt;br&amp;gt;Request to terminal for more processing time. &lt;br /&gt;
**Refresh&amp;lt;br&amp;gt;Request to terminal to reinitialize SIM card.&lt;br /&gt;
**Timer Management&amp;lt;br&amp;gt;SIM timers&lt;br /&gt;
&lt;br /&gt;
====Service====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: not tested&lt;br /&gt;
*Terminal class F&lt;br /&gt;
*Requests:&lt;br /&gt;
**Declare Service&lt;br /&gt;
**Search Service&lt;br /&gt;
**Get Service Information&lt;br /&gt;
&lt;br /&gt;
====MMS====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: not tested&lt;br /&gt;
*Terminal class J&lt;br /&gt;
*Requests:&lt;br /&gt;
**Retreive MMS&lt;br /&gt;
**Submit MMS&lt;br /&gt;
**Display MMS&lt;br /&gt;
&lt;br /&gt;
===Card File System===&lt;br /&gt;
&lt;br /&gt;
====USIM File System====&lt;br /&gt;
Extracted from standard TS 131.102.&lt;br /&gt;
*Language Indication&lt;br /&gt;
*IMSI&lt;br /&gt;
*Ciphering and Integrity Keys&lt;br /&gt;
*Ciphering and Integrity Keys for Packet Switched domain&lt;br /&gt;
*User controlled PLMN selector with Access Technology&lt;br /&gt;
*Higher Priority PLMN search period&lt;br /&gt;
*ACM maximum value&lt;br /&gt;
*USIM Service Table&lt;br /&gt;
*Accumulated Call Meter&lt;br /&gt;
*Group Identifier Level 1&lt;br /&gt;
*Group Identifier Level 2&lt;br /&gt;
*Service Provider Name&lt;br /&gt;
*Price per Unit and Currency Table&lt;br /&gt;
*Cell Broadcast Message identifier selection&lt;br /&gt;
*Access Control Class&lt;br /&gt;
*Forbidden PLMNs&lt;br /&gt;
*Location Information&lt;br /&gt;
*Administrative Data&lt;br /&gt;
*Cell Broadcast Message Identifier for Data Download&lt;br /&gt;
*Emergency Call Codes&lt;br /&gt;
*Cell Broadcast Message Identifier Range selection&lt;br /&gt;
*Packet Switched location information&lt;br /&gt;
*Fixed Dialling Numbers&lt;br /&gt;
*Short messages&lt;br /&gt;
*MSISDN&lt;br /&gt;
*Short message service parameters&lt;br /&gt;
*SMS status&lt;br /&gt;
*Service Dialling Numbers&lt;br /&gt;
*Extension2&lt;br /&gt;
*Extension3&lt;br /&gt;
*Short message status reports&lt;br /&gt;
*Incoming Call Information&lt;br /&gt;
*Outgoing Call Information&lt;br /&gt;
*Incoming Call Timer&lt;br /&gt;
*Outgoing Call Timer&lt;br /&gt;
*Extension5&lt;br /&gt;
*Capability Configuration Parameters 2&lt;br /&gt;
*enhanced Multi Level Precedence and Pre-emption&lt;br /&gt;
*Automatic Answer for eMLPP Service&lt;br /&gt;
*Key for hidden phone book entries&lt;br /&gt;
*Barred Dialling Numbers&lt;br /&gt;
*Extension4&lt;br /&gt;
*Comparison Method Information&lt;br /&gt;
*Enabled Services Table&lt;br /&gt;
*Access Point Name Control List&lt;br /&gt;
*Depersonalisation Control Keys&lt;br /&gt;
*Co-operative Network List&lt;br /&gt;
*Initialisation values for Hyperframe number&lt;br /&gt;
*Maximum value of START&lt;br /&gt;
*Operator controlled PLMN selector with Access Technology&lt;br /&gt;
*HPLMN selector with Access Technology&lt;br /&gt;
*Access Rule Reference&lt;br /&gt;
*Network Parameters&lt;br /&gt;
*PLMN Network Name&lt;br /&gt;
*Operator PLMN List&lt;br /&gt;
*Mailbox Dialling Numbers&lt;br /&gt;
*Extension6&lt;br /&gt;
*Mailbox Identifier&lt;br /&gt;
*Message Waiting Indication Status&lt;br /&gt;
*Call Forwarding Indication Status&lt;br /&gt;
*Extension7&lt;br /&gt;
*Service Provider Display Information&lt;br /&gt;
*MMS Notification&lt;br /&gt;
*Extension 8&lt;br /&gt;
*MMS Issuer Connectivity Parameters&lt;br /&gt;
*MMS User Preferences&lt;br /&gt;
*MMS User Connectivity Parameters&lt;br /&gt;
*Network's Indication of Alerting&lt;br /&gt;
*Voice Group Call Service&lt;br /&gt;
*Voice Group Call Service Status&lt;br /&gt;
*Voice Broadcast Service&lt;br /&gt;
*Voice Broadcast Service Status&lt;br /&gt;
&lt;br /&gt;
===Terminal profile===&lt;br /&gt;
====Description====&lt;br /&gt;
The terminal can be interrogated about which functions it supports.&lt;br /&gt;
#First byte (Download):&lt;br /&gt;
##Profile download&lt;br /&gt;
##SMS-PP data download&lt;br /&gt;
##Cell Broadcast data download)&lt;br /&gt;
##Menu selection&lt;br /&gt;
##SMS-PP data download&lt;br /&gt;
##Timer expiration&lt;br /&gt;
##USSD string data object support in Call Control by USIM&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
#Second byte (Other):&lt;br /&gt;
##Command result&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
##Call Control by NAA &lt;br /&gt;
##MO short message control support&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
##UCS2 Entry supported&lt;br /&gt;
##UCS2 Display supported&lt;br /&gt;
##Display Text&lt;br /&gt;
#Third byte (Proactive UICC):&lt;br /&gt;
##DISPLAY TEXT&lt;br /&gt;
##GET INKEY&lt;br /&gt;
##GET INPUT&lt;br /&gt;
##MORE TIME&lt;br /&gt;
##PLAY TONE&lt;br /&gt;
##POLL INTERVAL&lt;br /&gt;
##POLLING OFF&lt;br /&gt;
##REFRESH&lt;br /&gt;
#Fourth byte (Proactive UICC):&lt;br /&gt;
##Proactive UICC: SELECT ITEM&lt;br /&gt;
##Proactive UICC: SEND SHORT MESSAGE with 3GPP-SMS-TPDU&lt;br /&gt;
##Proactive UICC: SEND SS&lt;br /&gt;
##Proactive UICC:SEND USSD&lt;br /&gt;
##Proactive UICC: SET UP CALL&lt;br /&gt;
##Proactive UICC: SET UP MENU&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (MCC, MNC,LAC, Cell ID &amp;amp; IMEI)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (NMR)&lt;br /&gt;
#Fifth byte (Event driven information):&lt;br /&gt;
##Proactive UICC: SET UP EVENT LIST&lt;br /&gt;
##Event: MT call&lt;br /&gt;
##Event: Call connected&lt;br /&gt;
##Event: Call disconnected&lt;br /&gt;
##Event: Location status&lt;br /&gt;
##Event: User activity&lt;br /&gt;
##Event: Idle screen available&lt;br /&gt;
##Event: Card reader status&lt;br /&gt;
#Sixth byte (Event driven information extensions):&lt;br /&gt;
##Language selection&lt;br /&gt;
##Browser Termination&lt;br /&gt;
##Data available&lt;br /&gt;
##Channel status&lt;br /&gt;
##Access Technology Change&lt;br /&gt;
##Display parameters changed&lt;br /&gt;
##Local Connection&lt;br /&gt;
##Network Search Mode Change&lt;br /&gt;
#Seventh byte (Multiple card proactive commands) for class &amp;quot;a&amp;quot;:&lt;br /&gt;
##POWER ON CARD&lt;br /&gt;
##POWER OFF CARD&lt;br /&gt;
##PERFORM CARD APDU&lt;br /&gt;
##GET READER STATUS (Card reader status)&lt;br /&gt;
##GET READER STATUS (Card reader Identifier)&lt;br /&gt;
##RFU&lt;br /&gt;
#Eighth byte (Proactive UICC):&lt;br /&gt;
##Proactive UICC: TIMER MANAGEMENT (start, stop)&lt;br /&gt;
##Proactive UICC: TIMER MANAGEMENT (get current value)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (date, time and time zone)&lt;br /&gt;
##GET INKEY&lt;br /&gt;
##SET UP IDLE MODE TEXT&lt;br /&gt;
##RUN AT COMMAND (i.e. class &amp;quot;b&amp;quot; is supported)&lt;br /&gt;
##SETUP CALL&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
#Ninth byte:&lt;br /&gt;
##DISPLAY TEXT&lt;br /&gt;
##SEND DTMF command&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (language)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION, Timing Advance&lt;br /&gt;
##Proactive UICC: LANGUAGE NOTIFICATION&lt;br /&gt;
##Proactive UICC: LAUNCH BROWSER&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Access Technology)&lt;br /&gt;
#Tenth byte (Soft keys support) for class &amp;quot;d&amp;quot;:&lt;br /&gt;
##Soft keys support for SELECT ITEM&lt;br /&gt;
##Soft Keys support for SET UP MENU&lt;br /&gt;
##RFU&lt;br /&gt;
#Eleventh byte (Soft keys information):&lt;br /&gt;
##Maximum number of soft keys available 'FF' value is reserved for future use&lt;br /&gt;
#Twelfth byte:&lt;br /&gt;
##OPEN CHANNEL&lt;br /&gt;
##CLOSE CHANNEL&lt;br /&gt;
##RECEIVE DATA&lt;br /&gt;
##SEND DATA&lt;br /&gt;
##GET CHANNEL STATUS&lt;br /&gt;
##SERVICE SEARCH&lt;br /&gt;
##GET SERVICE INFORMATION&lt;br /&gt;
##DECLARE SERVICE&lt;br /&gt;
#Thirteenth byte:&lt;br /&gt;
##CSD&lt;br /&gt;
##GPRS&lt;br /&gt;
##Bluetooth&lt;br /&gt;
##IrDA&lt;br /&gt;
##RS232&lt;br /&gt;
##b6,b7,b8 - Number of channels supported by terminal&lt;br /&gt;
#Fourteenth byte (Screen height):&lt;br /&gt;
##b1 - b4 - Number of characters supported down the terminal display as defined in clause 5.3.1&lt;br /&gt;
##No display capability (i.e class &amp;quot;ND&amp;quot; is indicated)&lt;br /&gt;
##No keypad available (i.e. class &amp;quot;NK&amp;quot; is indicated)&lt;br /&gt;
##Screen Sizing Parameters supported as defined inclause 5.3&lt;br /&gt;
#Fifteenth byte (Screen width):&lt;br /&gt;
##b1-b7 - Number of characters supported across the terminal display as defined in clause 5.3.2&lt;br /&gt;
##Variable size fonts&lt;br /&gt;
#Sixteenth byte (Screen effects):&lt;br /&gt;
##Display can be resized as defined in clause 5.3.3&lt;br /&gt;
##Text Wrapping supported as defined in clause 5.3.4&lt;br /&gt;
##Text Scrolling supported as defined in clause 5.3.5&lt;br /&gt;
##Text Attributes supported as defined in clause 5.3.7&lt;br /&gt;
##b5 - RFU&lt;br /&gt;
##b6 - b8 - Width reduction when in a menu as defined in clause 5.3.6&lt;br /&gt;
#Seventeenth byte:&lt;br /&gt;
##TCP, UICC in client mode, remote connection&lt;br /&gt;
##UDP, UICC in client mode, remote connection&lt;br /&gt;
##TCP, UICC in server mode&lt;br /&gt;
##TCP, UICC in client mode, local connection (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##UDP, UICC in client mode, local connection (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
##E-UTRAN (if class &amp;quot;e&amp;quot; issupported))&lt;br /&gt;
##HSDPA (if class &amp;quot;e&amp;quot; is supported))&lt;br /&gt;
#Eighteenth byte:&lt;br /&gt;
##Proactive UICC: DISPLAY TEXT (Variable Time out)&lt;br /&gt;
##Proactive UICC: GET INKEY (help is supported while waiting for immediate response or variable timeout)&lt;br /&gt;
##USB&lt;br /&gt;
##Proactive UICC: GET INKEY (Variable Timeout)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (ESN)&lt;br /&gt;
##Call control on GPRS&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (IMEISV)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Search Mode change)&lt;br /&gt;
#Nineteenth byte (reserved for TIA/EIA-136-C facilities [25]):&lt;br /&gt;
##Reserved by TIA/EIA-136 [25] (Protocol Version support)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twentieth byte (reserved for TIA/EIA/IS-820-A facilities [17]):&lt;br /&gt;
##Reserved by TIA/EIA/IS-820 [17]&lt;br /&gt;
#Twenty-first byte (Extended Launch Browser Capability) for class &amp;quot;c&amp;quot;:&lt;br /&gt;
##WML&lt;br /&gt;
##XHTML&lt;br /&gt;
##HTML&lt;br /&gt;
##CHTML&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-second byte:&lt;br /&gt;
##Support of UTRAN PS with extended parameters&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION(battery state), (i.e. class &amp;quot;g&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PLAY TONE (Melody tones and Themed tones supported)&lt;br /&gt;
##Multi-media Calls in SET UP CALL (if class h supported)&lt;br /&gt;
##Reserved by 3GPP (Toolkit-initiated GBA)&lt;br /&gt;
##Proactive UICC: RETRIEVE MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: SUBMIT MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: DISPLAY MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
#Twenty third byte:&lt;br /&gt;
##Proactive UICC: SET FRAMES (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: GET FRAMES STATUS (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##MMS notification download (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Alpha Identifier in REFRESH command supported by terminal&lt;br /&gt;
##Geographical Location Reporting (if class &amp;quot;n&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (MEID)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (NMR(UTRAN))&lt;br /&gt;
##USSD Data download and application mode&lt;br /&gt;
#Twenty fourth byte for class &amp;quot;i&amp;quot;:&lt;br /&gt;
##b1-b4 - Maximum number of frames supported (including frames created in existing frames)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-fifth byte (Event driven information extensions):&lt;br /&gt;
##Event: Browsing status&lt;br /&gt;
##Event: MMS Transfer status (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Event: Frame Parameters changed (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##Event: I-WLAN Access status (if class &amp;quot;e&amp;quot; is supported)&lt;br /&gt;
##Event Network Rejection&lt;br /&gt;
##Event: HCI connectivity event (i.e. class &amp;quot;m&amp;quot; is supported)&lt;br /&gt;
##Reserved by 3GPP (E-UTRAN support in Event Network Rejection)&lt;br /&gt;
##Multiple access technologies supported in Event&lt;br /&gt;
##Access Technology Change and PROVIDE LOCAL INFORMATION &amp;lt;br&amp;gt;If bit &amp;quot;Multiple access technologies supported&amp;quot; is set to 1, it applies to the Event Access Technology Change if supported and all relevant modes of proactive command PROVIDE  LOCAL INFORMATION that are supported.&lt;br /&gt;
#Twenty-sixth byte (Event driven information extensions):&lt;br /&gt;
##RFU, bit = 0 (for future event indication)&lt;br /&gt;
#Twenty-seventh byte (Event driven information extensions):&lt;br /&gt;
##RFU, bit = 0 (for future event indication)&lt;br /&gt;
#Twenty-eighth byte (Text attributes):&lt;br /&gt;
##Alignment left supported by Terminal&lt;br /&gt;
##Alignment centre supported by Terminal&lt;br /&gt;
##Alignment right supported by Terminal&lt;br /&gt;
##Font size normal supported by Terminal&lt;br /&gt;
##Font size large supported by Terminal&lt;br /&gt;
##Font size small supported by Terminal&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-ninth byte (Text attributes):&lt;br /&gt;
##Style normal supported by Terminal&lt;br /&gt;
##Style bold supported by Terminal&lt;br /&gt;
##Style italic supported by Terminal&lt;br /&gt;
##Style underlined supported by Terminal&lt;br /&gt;
##Style strikethrough supported by Terminal&lt;br /&gt;
##Style text foreground colour supported by Terminal&lt;br /&gt;
##Style text background colour supported by Terminal&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Thirtieth byte:&lt;br /&gt;
##I-WLAN bearer support (if class &amp;quot;e&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (WSID of the current I-WLAN connection)&lt;br /&gt;
##TERMINAL APPLICATIONS (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##Steering of Roaming REFRESH support&lt;br /&gt;
##Proactive UICC: ACTIVATE (i.e class &amp;quot;l&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: GEOGRAPHICAL LOCATION REQUEST (if class &amp;quot;n&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Broadcast Network Information) (i.e. class &amp;quot;o&amp;quot; is supported)&lt;br /&gt;
##Steering of Roaming for I-WLAN REFRESH support&lt;br /&gt;
&lt;br /&gt;
====Values====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center;&amp;quot;&lt;br /&gt;
|Phone Type||B1||B2||B3||B4||B5||B6||B7||B8||B9||B10||B11||B12||B13||B14||B15||B16||B17||B18||B19||B20||B21||B22||B23||B24||B25||B26||B27||B28||B29||B30&lt;br /&gt;
|-&lt;br /&gt;
|Samsung Galaxy Express||ff||ff||ff||ff||7f||9d||00||df||bf||00||00||1f||e2||00||00||00||c3||6b||00||07||00||00||40||00||50||00||00||00||00||08&lt;br /&gt;
|-&lt;br /&gt;
|Samsung Galaxy Note 3||ff||ff||ff||ff||7f||9d||00||df||bf||00||00||1f||e2||00||00||00||c3||6b||00||07||00||00||40||00||50||00||00||00||00||08&lt;br /&gt;
|-&lt;br /&gt;
|HTC One X+||ff||ff||ff||ff||7f||1d||00||df||b7||03||02||1f||22||00||00||00||83||00||00||00||00||00||40||10||00||00||00||00||00||00&lt;br /&gt;
|-&lt;br /&gt;
|IPhone 4||ff||ff||ff||ff||7f||91||00||df||bf||00||00||00||00||00||00||00||00||f0||00||03||00||00||60||00||50||00||00||00||00||00&lt;br /&gt;
|-&lt;br /&gt;
|Nokia E72||ff||ff||ff||ff||7f||1d||00||df||bf||00||00||17||e2||05||0f||00||03||09||00||00||00||00||00||00||00||00||00||00||00||00&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Andrei</name></author>	</entry>

	<entry>
		<id>https://ss7api.null.ro/index.php/SIM_Cards</id>
		<title>SIM Cards</title>
		<link rel="alternate" type="text/html" href="https://ss7api.null.ro/index.php/SIM_Cards"/>
				<updated>2014-03-06T09:48:05Z</updated>
		
		<summary type="html">&lt;p&gt;Andrei: /* IMS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
===SIM Events===&lt;br /&gt;
&lt;br /&gt;
====Call Related Events and Requests====&lt;br /&gt;
The following events are received by the SIM card when a call is made.&lt;br /&gt;
*Standard: Details can be found in standard TS 31.111&lt;br /&gt;
*Terminal Class: This events should work in all terminals.&lt;br /&gt;
*Status: Tests were made successfully for Mobile Originating Calls&lt;br /&gt;
*Events:&amp;lt;br&amp;gt;The SIM is notified on the following events:&lt;br /&gt;
**Mobile Originating Call Initiated&lt;br /&gt;
**Mobile Originating SMS Initiated&lt;br /&gt;
**Mobile Originating USSD Initiated&lt;br /&gt;
**Mobile Originating SS Initiated&amp;lt;br&amp;gt;On the events above, the 'address' and 'subaddress' parameters can be altered.&lt;br /&gt;
*Notifications:&amp;lt;br&amp;gt;We can receive notifications for the following events. NOTE: We can not alter the event flow. Eg. We can not keep the call alive if we received call terminated event.&lt;br /&gt;
**Call Connected&lt;br /&gt;
**Call Terminated&lt;br /&gt;
*Requests - We can make the following requests:&lt;br /&gt;
**Set Up Call&lt;br /&gt;
**Send DTMF&lt;br /&gt;
*Parameters:&lt;br /&gt;
**Address&amp;lt;br&amp;gt;The called party address. Details on TS 31.111 chapter 8.1&lt;br /&gt;
**Subaddress&amp;lt;br&amp;gt;The called party subaddress. Details on TS 31.111 chapter  8.3&lt;br /&gt;
&lt;br /&gt;
====Browsing====&lt;br /&gt;
Open a SIM provided URL in phone defaults browser.&lt;br /&gt;
*Standard: Details can be fond in TS 102 223.&lt;br /&gt;
*Terminal: This should work in a class C terminal.&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&amp;lt;br&amp;gt;We are notified when one of the following events occures:&lt;br /&gt;
**Status&amp;lt;br&amp;gt;Received when the browser receives a distant error from the network.&lt;br /&gt;
**Terminated&amp;lt;br&amp;gt;Received when the browser is terminated.&lt;br /&gt;
*Requests:&lt;br /&gt;
**Lunch Browser&amp;lt;br&amp;gt;Ask a terminal to open a browser with the provided URL.&lt;br /&gt;
&lt;br /&gt;
====Access Technology====&lt;br /&gt;
Notification sent from the phone to inform about the access technology 2g/3g&lt;br /&gt;
*Standard Details can be found in TS 102 223&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Changed&amp;lt;br&amp;gt;The access technology has changed from 2g/3g.&lt;br /&gt;
&lt;br /&gt;
====Card Reader====&lt;br /&gt;
Get events and perform actions on an additional card reader, &lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Terminal Class: A&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Status&amp;lt;br&amp;gt;Notification that a card was inserted or removed; or a card reader is available or unavailable.&lt;br /&gt;
*Requests:&lt;br /&gt;
**Power ON Card&amp;lt;br&amp;gt;Start a session with an additional card.&lt;br /&gt;
**Power OFF Card&amp;lt;br&amp;gt;Stop a session with an additional card.&lt;br /&gt;
**Perform Card APDU&amp;lt;br&amp;gt;Send an APDU command to an additional card.&lt;br /&gt;
**Get Reader Status&amp;lt;br&amp;gt;Request to the terminal to provide additional information about additional card readers.&lt;br /&gt;
&lt;br /&gt;
====Data====&lt;br /&gt;
The following events and requests are available for data exchange.&lt;br /&gt;
*Standard: more documentation can be found in TS 102 223&lt;br /&gt;
*Status: In testing but no compatible device found!&lt;br /&gt;
*Terminal class E&lt;br /&gt;
*Events:&lt;br /&gt;
**Data available&amp;lt;br&amp;gt;Notification from the terminal that data has arrived from the network.&lt;br /&gt;
**Channel Status&amp;lt;br&amp;gt;Notification from the terminal that the channel status is changed.&lt;br /&gt;
*Requests&lt;br /&gt;
**Open Channel&amp;lt;br&amp;gt;Request to open a channel.&lt;br /&gt;
**Send Data&amp;lt;br&amp;gt;Request to send data on a open channel.&lt;br /&gt;
**Receive Data&amp;lt;br&amp;gt;Request to receive data on a open channel.&lt;br /&gt;
**Close Channel&amp;lt;br&amp;gt;Request to close a open channel.&lt;br /&gt;
&lt;br /&gt;
====User Interface====&lt;br /&gt;
The following events and request are related to user interface.&lt;br /&gt;
*Standard details can be found in standard TS 102 223&lt;br /&gt;
*Status: Most of them were tested.&lt;br /&gt;
*Events:&lt;br /&gt;
**Display Parameter Change&amp;lt;br&amp;gt;Notification from the terminal when the screen is resized.&lt;br /&gt;
**Frames Information Changed&amp;lt;br&amp;gt;Notification from the terminal when the frames are resized.&amp;lt;br&amp;gt;Requires terminal class I.&lt;br /&gt;
**Idle screen available&amp;lt;br&amp;gt;Notification from the terminal that the screen is idle.&lt;br /&gt;
**User activity&amp;lt;br&amp;gt;Notification from the terminal when the the user is interacting with the terminal.&amp;lt;br&amp;gt;This event is received only once after it was requested.&lt;br /&gt;
**Menu Selection&amp;lt;br&amp;gt;Notification from the terminal when the user has selected a menu item.&lt;br /&gt;
**Menu Selection Help Request&amp;lt;br&amp;gt;Notification from the terminal when the user requested help information on a menu.&lt;br /&gt;
*Requests:&lt;br /&gt;
**Get Input&amp;lt;br&amp;gt;Prompt the user to insert a text.&lt;br /&gt;
**Get InKey&amp;lt;br&amp;gt;Prompt the user to insert a key.&lt;br /&gt;
**Display Text&amp;lt;br&amp;gt;Prompt a text to the user.&lt;br /&gt;
**Set Up Menu&amp;lt;br&amp;gt;Prompt a menu to the user.&lt;br /&gt;
**Select Item&amp;lt;br&amp;gt;Provide a list of options to the user and instruct him to select one.&lt;br /&gt;
**Set Up Idle Mode Text&amp;lt;br&amp;gt;Instruct the terminal to show the provided text when it is in idle mode.&lt;br /&gt;
**Set Frames&amp;lt;br&amp;gt;Set the number of frames in which the terminal should devide its screen.&amp;lt;br&amp;gt;Requires terminal class I&lt;br /&gt;
**Get Frame Status&amp;lt;br&amp;gt;Get the parameters of a frame.&amp;lt;br&amp;gt;Requires terminal class I&lt;br /&gt;
&lt;br /&gt;
====SMS====&lt;br /&gt;
SMS related procedures.&lt;br /&gt;
*Standard details can be found in standard TS 131 111&lt;br /&gt;
*Status: Not tested yet&lt;br /&gt;
*Events:&amp;lt;br&amp;gt; Only OTA SMS are sent by the terminal to the SIM. Mobile Terminated SMS can not be intercepted by the SIM card.&lt;br /&gt;
**SMS-Point to Point Data Download unformatted&lt;br /&gt;
**SMS-Point to Point Data Download formatted&lt;br /&gt;
**SMS-Cell Broadcast Data Download formatted&lt;br /&gt;
**SMS-Cell Broadcast Data Download unformatted&lt;br /&gt;
*Requests:&lt;br /&gt;
**Send Short Message&amp;lt;br&amp;gt;Send a short message to the network.&lt;br /&gt;
*Parameters&lt;br /&gt;
**Address&amp;lt;br&amp;gt;The destination address.&lt;br /&gt;
**SMS TPDU&lt;br /&gt;
&lt;br /&gt;
====SS====&lt;br /&gt;
Supplementary Services events and requests. &lt;br /&gt;
*Standard Details can be found in TS 131 111&lt;br /&gt;
*Terminal class P is required for USSD Data Download. All other operations should work on any device.&lt;br /&gt;
*Status: Send USSD tested.&lt;br /&gt;
*Events:&lt;br /&gt;
**USSD Data Download formatted&amp;lt;br&amp;gt;Requires class P&lt;br /&gt;
**USSD Data Download unformatted&amp;lt;br&amp;gt;Requires class P&lt;br /&gt;
*Requests:&lt;br /&gt;
**Send SS&amp;lt;br&amp;gt;Send a Supplementary Service request to the network.&lt;br /&gt;
**Send USSD&amp;lt;br&amp;gt;Send a USSD Request to the network. Only the last response arrives in the SIM card. If the USSD request requires a menu USSD session, the user interaction will me required.&lt;br /&gt;
*Parameters&lt;br /&gt;
**SS String&lt;br /&gt;
**USSD String&lt;br /&gt;
&lt;br /&gt;
====IMS====&lt;br /&gt;
The following events are dedicated for IMS.&lt;br /&gt;
*Standard: Details can be found in TS 131 111&lt;br /&gt;
*Terminal class E + T&lt;br /&gt;
*Events&lt;br /&gt;
**Download IMS Registration.&amp;lt;br&amp;gt;Notification from the terminal to download the IMS registration message.&lt;br /&gt;
**Download Incoming IMS Data.&amp;lt;br&amp;gt;Notification from the terminal to download the incomming IMS message.&lt;br /&gt;
*Parameters&lt;br /&gt;
**IARI&lt;br /&gt;
**IMPU List&lt;br /&gt;
**IMS status code&lt;br /&gt;
&lt;br /&gt;
====Terminal====&lt;br /&gt;
*Standard TS 102 223 + TS 131 111&lt;br /&gt;
*Events&lt;br /&gt;
**Location Status&amp;lt;br&amp;gt;Status: tested&amp;lt;br&amp;gt;Parameters:&lt;br /&gt;
***Location Status TS 102.223 8.27&lt;br /&gt;
***Location Information TS 102.223 8.19&lt;br /&gt;
**Language Selection&lt;br /&gt;
**Profile Download&lt;br /&gt;
**Network Reject&lt;br /&gt;
**Timer expiration&lt;br /&gt;
*Requests&lt;br /&gt;
**Provide Local Information&lt;br /&gt;
**Language Notification&lt;br /&gt;
**Geographical Location Request&amp;lt;br&amp;gt;Terminal Type N&lt;br /&gt;
**More Time&amp;lt;br&amp;gt;Request to terminal for more processing time. &lt;br /&gt;
**Refresh&amp;lt;br&amp;gt;Request to terminal to reinitialize SIM card.&lt;br /&gt;
**Timer Management&amp;lt;br&amp;gt;SIM timers&lt;br /&gt;
&lt;br /&gt;
====Service====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: not tested&lt;br /&gt;
*Terminal class F&lt;br /&gt;
*Requests:&lt;br /&gt;
**Declare Service&lt;br /&gt;
**Search Service&lt;br /&gt;
**Get Service Information&lt;br /&gt;
&lt;br /&gt;
====MMS====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: not tested&lt;br /&gt;
*Terminal class J&lt;br /&gt;
*Requests:&lt;br /&gt;
**Retreive MMS&lt;br /&gt;
**Submit MMS&lt;br /&gt;
**Display MMS&lt;br /&gt;
&lt;br /&gt;
===Card File System===&lt;br /&gt;
&lt;br /&gt;
====USIM File System====&lt;br /&gt;
Extracted from standard TS 131.102.&lt;br /&gt;
*Language Indication&lt;br /&gt;
*IMSI&lt;br /&gt;
*Ciphering and Integrity Keys&lt;br /&gt;
*Ciphering and Integrity Keys for Packet Switched domain&lt;br /&gt;
*User controlled PLMN selector with Access Technology&lt;br /&gt;
*Higher Priority PLMN search period&lt;br /&gt;
*ACM maximum value&lt;br /&gt;
*USIM Service Table&lt;br /&gt;
*Accumulated Call Meter&lt;br /&gt;
*Group Identifier Level 1&lt;br /&gt;
*Group Identifier Level 2&lt;br /&gt;
*Service Provider Name&lt;br /&gt;
*Price per Unit and Currency Table&lt;br /&gt;
*Cell Broadcast Message identifier selection&lt;br /&gt;
*Access Control Class&lt;br /&gt;
*Forbidden PLMNs&lt;br /&gt;
*Location Information&lt;br /&gt;
*Administrative Data&lt;br /&gt;
*Cell Broadcast Message Identifier for Data Download&lt;br /&gt;
*Emergency Call Codes&lt;br /&gt;
*Cell Broadcast Message Identifier Range selection&lt;br /&gt;
*Packet Switched location information&lt;br /&gt;
*Fixed Dialling Numbers&lt;br /&gt;
*Short messages&lt;br /&gt;
*MSISDN&lt;br /&gt;
*Short message service parameters&lt;br /&gt;
*SMS status&lt;br /&gt;
*Service Dialling Numbers&lt;br /&gt;
*Extension2&lt;br /&gt;
*Extension3&lt;br /&gt;
*Short message status reports&lt;br /&gt;
*Incoming Call Information&lt;br /&gt;
*Outgoing Call Information&lt;br /&gt;
*Incoming Call Timer&lt;br /&gt;
*Outgoing Call Timer&lt;br /&gt;
*Extension5&lt;br /&gt;
*Capability Configuration Parameters 2&lt;br /&gt;
*enhanced Multi Level Precedence and Pre-emption&lt;br /&gt;
*Automatic Answer for eMLPP Service&lt;br /&gt;
*Key for hidden phone book entries&lt;br /&gt;
*Barred Dialling Numbers&lt;br /&gt;
*Extension4&lt;br /&gt;
*Comparison Method Information&lt;br /&gt;
*Enabled Services Table&lt;br /&gt;
*Access Point Name Control List&lt;br /&gt;
*Depersonalisation Control Keys&lt;br /&gt;
*Co-operative Network List&lt;br /&gt;
*Initialisation values for Hyperframe number&lt;br /&gt;
*Maximum value of START&lt;br /&gt;
*Operator controlled PLMN selector with Access Technology&lt;br /&gt;
*HPLMN selector with Access Technology&lt;br /&gt;
*Access Rule Reference&lt;br /&gt;
*Network Parameters&lt;br /&gt;
*PLMN Network Name&lt;br /&gt;
*Operator PLMN List&lt;br /&gt;
*Mailbox Dialling Numbers&lt;br /&gt;
*Extension6&lt;br /&gt;
*Mailbox Identifier&lt;br /&gt;
*Message Waiting Indication Status&lt;br /&gt;
*Call Forwarding Indication Status&lt;br /&gt;
*Extension7&lt;br /&gt;
*Service Provider Display Information&lt;br /&gt;
*MMS Notification&lt;br /&gt;
*Extension 8&lt;br /&gt;
*MMS Issuer Connectivity Parameters&lt;br /&gt;
*MMS User Preferences&lt;br /&gt;
*MMS User Connectivity Parameters&lt;br /&gt;
*Network's Indication of Alerting&lt;br /&gt;
*Voice Group Call Service&lt;br /&gt;
*Voice Group Call Service Status&lt;br /&gt;
*Voice Broadcast Service&lt;br /&gt;
*Voice Broadcast Service Status&lt;br /&gt;
&lt;br /&gt;
===Terminal profile===&lt;br /&gt;
====Description====&lt;br /&gt;
The terminal can be interrogated about which functions it supports.&lt;br /&gt;
#First byte (Download):&lt;br /&gt;
##Profile download&lt;br /&gt;
##SMS-PP data download&lt;br /&gt;
##Cell Broadcast data download)&lt;br /&gt;
##Menu selection&lt;br /&gt;
##SMS-PP data download&lt;br /&gt;
##Timer expiration&lt;br /&gt;
##USSD string data object support in Call Control by USIM&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
#Second byte (Other):&lt;br /&gt;
##Command result&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
##Call Control by NAA &lt;br /&gt;
##MO short message control support&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
##UCS2 Entry supported&lt;br /&gt;
##UCS2 Display supported&lt;br /&gt;
##Display Text&lt;br /&gt;
#Third byte (Proactive UICC):&lt;br /&gt;
##DISPLAY TEXT&lt;br /&gt;
##GET INKEY&lt;br /&gt;
##GET INPUT&lt;br /&gt;
##MORE TIME&lt;br /&gt;
##PLAY TONE&lt;br /&gt;
##POLL INTERVAL&lt;br /&gt;
##POLLING OFF&lt;br /&gt;
##REFRESH&lt;br /&gt;
#Fourth byte (Proactive UICC):&lt;br /&gt;
##Proactive UICC: SELECT ITEM&lt;br /&gt;
##Proactive UICC: SEND SHORT MESSAGE with 3GPP-SMS-TPDU&lt;br /&gt;
##Proactive UICC: SEND SS&lt;br /&gt;
##Proactive UICC:SEND USSD&lt;br /&gt;
##Proactive UICC: SET UP CALL&lt;br /&gt;
##Proactive UICC: SET UP MENU&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (MCC, MNC,LAC, Cell ID &amp;amp; IMEI)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (NMR)&lt;br /&gt;
#Fifth byte (Event driven information):&lt;br /&gt;
##Proactive UICC: SET UP EVENT LIST&lt;br /&gt;
##Event: MT call&lt;br /&gt;
##Event: Call connected&lt;br /&gt;
##Event: Call disconnected&lt;br /&gt;
##Event: Location status&lt;br /&gt;
##Event: User activity&lt;br /&gt;
##Event: Idle screen available&lt;br /&gt;
##Event: Card reader status&lt;br /&gt;
#Sixth byte (Event driven information extensions):&lt;br /&gt;
##Language selection&lt;br /&gt;
##Browser Termination&lt;br /&gt;
##Data available&lt;br /&gt;
##Channel status&lt;br /&gt;
##Access Technology Change&lt;br /&gt;
##Display parameters changed&lt;br /&gt;
##Local Connection&lt;br /&gt;
##Network Search Mode Change&lt;br /&gt;
#Seventh byte (Multiple card proactive commands) for class &amp;quot;a&amp;quot;:&lt;br /&gt;
##POWER ON CARD&lt;br /&gt;
##POWER OFF CARD&lt;br /&gt;
##PERFORM CARD APDU&lt;br /&gt;
##GET READER STATUS (Card reader status)&lt;br /&gt;
##GET READER STATUS (Card reader Identifier)&lt;br /&gt;
##RFU&lt;br /&gt;
#Eighth byte (Proactive UICC):&lt;br /&gt;
##Proactive UICC: TIMER MANAGEMENT (start, stop)&lt;br /&gt;
##Proactive UICC: TIMER MANAGEMENT (get current value)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (date, time and time zone)&lt;br /&gt;
##GET INKEY&lt;br /&gt;
##SET UP IDLE MODE TEXT&lt;br /&gt;
##RUN AT COMMAND (i.e. class &amp;quot;b&amp;quot; is supported)&lt;br /&gt;
##SETUP CALL&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
#Ninth byte:&lt;br /&gt;
##DISPLAY TEXT&lt;br /&gt;
##SEND DTMF command&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (language)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION, Timing Advance&lt;br /&gt;
##Proactive UICC: LANGUAGE NOTIFICATION&lt;br /&gt;
##Proactive UICC: LAUNCH BROWSER&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Access Technology)&lt;br /&gt;
#Tenth byte (Soft keys support) for class &amp;quot;d&amp;quot;:&lt;br /&gt;
##Soft keys support for SELECT ITEM&lt;br /&gt;
##Soft Keys support for SET UP MENU&lt;br /&gt;
##RFU&lt;br /&gt;
#Eleventh byte (Soft keys information):&lt;br /&gt;
##Maximum number of soft keys available 'FF' value is reserved for future use&lt;br /&gt;
#Twelfth byte:&lt;br /&gt;
##OPEN CHANNEL&lt;br /&gt;
##CLOSE CHANNEL&lt;br /&gt;
##RECEIVE DATA&lt;br /&gt;
##SEND DATA&lt;br /&gt;
##GET CHANNEL STATUS&lt;br /&gt;
##SERVICE SEARCH&lt;br /&gt;
##GET SERVICE INFORMATION&lt;br /&gt;
##DECLARE SERVICE&lt;br /&gt;
#Thirteenth byte:&lt;br /&gt;
##CSD&lt;br /&gt;
##GPRS&lt;br /&gt;
##Bluetooth&lt;br /&gt;
##IrDA&lt;br /&gt;
##RS232&lt;br /&gt;
##b6,b7,b8 - Number of channels supported by terminal&lt;br /&gt;
#Fourteenth byte (Screen height):&lt;br /&gt;
##b1 - b4 - Number of characters supported down the terminal display as defined in clause 5.3.1&lt;br /&gt;
##No display capability (i.e class &amp;quot;ND&amp;quot; is indicated)&lt;br /&gt;
##No keypad available (i.e. class &amp;quot;NK&amp;quot; is indicated)&lt;br /&gt;
##Screen Sizing Parameters supported as defined inclause 5.3&lt;br /&gt;
#Fifteenth byte (Screen width):&lt;br /&gt;
##b1-b7 - Number of characters supported across the terminal display as defined in clause 5.3.2&lt;br /&gt;
##Variable size fonts&lt;br /&gt;
#Sixteenth byte (Screen effects):&lt;br /&gt;
##Display can be resized as defined in clause 5.3.3&lt;br /&gt;
##Text Wrapping supported as defined in clause 5.3.4&lt;br /&gt;
##Text Scrolling supported as defined in clause 5.3.5&lt;br /&gt;
##Text Attributes supported as defined in clause 5.3.7&lt;br /&gt;
##b5 - RFU&lt;br /&gt;
##b6 - b8 - Width reduction when in a menu as defined in clause 5.3.6&lt;br /&gt;
#Seventeenth byte:&lt;br /&gt;
##TCP, UICC in client mode, remote connection&lt;br /&gt;
##UDP, UICC in client mode, remote connection&lt;br /&gt;
##TCP, UICC in server mode&lt;br /&gt;
##TCP, UICC in client mode, local connection (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##UDP, UICC in client mode, local connection (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
##E-UTRAN (if class &amp;quot;e&amp;quot; issupported))&lt;br /&gt;
##HSDPA (if class &amp;quot;e&amp;quot; is supported))&lt;br /&gt;
#Eighteenth byte:&lt;br /&gt;
##Proactive UICC: DISPLAY TEXT (Variable Time out)&lt;br /&gt;
##Proactive UICC: GET INKEY (help is supported while waiting for immediate response or variable timeout)&lt;br /&gt;
##USB&lt;br /&gt;
##Proactive UICC: GET INKEY (Variable Timeout)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (ESN)&lt;br /&gt;
##Call control on GPRS&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (IMEISV)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Search Mode change)&lt;br /&gt;
#Nineteenth byte (reserved for TIA/EIA-136-C facilities [25]):&lt;br /&gt;
##Reserved by TIA/EIA-136 [25] (Protocol Version support)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twentieth byte (reserved for TIA/EIA/IS-820-A facilities [17]):&lt;br /&gt;
##Reserved by TIA/EIA/IS-820 [17]&lt;br /&gt;
#Twenty-first byte (Extended Launch Browser Capability) for class &amp;quot;c&amp;quot;:&lt;br /&gt;
##WML&lt;br /&gt;
##XHTML&lt;br /&gt;
##HTML&lt;br /&gt;
##CHTML&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-second byte:&lt;br /&gt;
##Support of UTRAN PS with extended parameters&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION(battery state), (i.e. class &amp;quot;g&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PLAY TONE (Melody tones and Themed tones supported)&lt;br /&gt;
##Multi-media Calls in SET UP CALL (if class h supported)&lt;br /&gt;
##Reserved by 3GPP (Toolkit-initiated GBA)&lt;br /&gt;
##Proactive UICC: RETRIEVE MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: SUBMIT MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: DISPLAY MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
#Twenty third byte:&lt;br /&gt;
##Proactive UICC: SET FRAMES (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: GET FRAMES STATUS (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##MMS notification download (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Alpha Identifier in REFRESH command supported by terminal&lt;br /&gt;
##Geographical Location Reporting (if class &amp;quot;n&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (MEID)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (NMR(UTRAN))&lt;br /&gt;
##USSD Data download and application mode&lt;br /&gt;
#Twenty fourth byte for class &amp;quot;i&amp;quot;:&lt;br /&gt;
##b1-b4 - Maximum number of frames supported (including frames created in existing frames)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-fifth byte (Event driven information extensions):&lt;br /&gt;
##Event: Browsing status&lt;br /&gt;
##Event: MMS Transfer status (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Event: Frame Parameters changed (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##Event: I-WLAN Access status (if class &amp;quot;e&amp;quot; is supported)&lt;br /&gt;
##Event Network Rejection&lt;br /&gt;
##Event: HCI connectivity event (i.e. class &amp;quot;m&amp;quot; is supported)&lt;br /&gt;
##Reserved by 3GPP (E-UTRAN support in Event Network Rejection)&lt;br /&gt;
##Multiple access technologies supported in Event&lt;br /&gt;
##Access Technology Change and PROVIDE LOCAL INFORMATION &amp;lt;br&amp;gt;If bit &amp;quot;Multiple access technologies supported&amp;quot; is set to 1, it applies to the Event Access Technology Change if supported and all relevant modes of proactive command PROVIDE  LOCAL INFORMATION that are supported.&lt;br /&gt;
#Twenty-sixth byte (Event driven information extensions):&lt;br /&gt;
##RFU, bit = 0 (for future event indication)&lt;br /&gt;
#Twenty-seventh byte (Event driven information extensions):&lt;br /&gt;
##RFU, bit = 0 (for future event indication)&lt;br /&gt;
#Twenty-eighth byte (Text attributes):&lt;br /&gt;
##Alignment left supported by Terminal&lt;br /&gt;
##Alignment centre supported by Terminal&lt;br /&gt;
##Alignment right supported by Terminal&lt;br /&gt;
##Font size normal supported by Terminal&lt;br /&gt;
##Font size large supported by Terminal&lt;br /&gt;
##Font size small supported by Terminal&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-ninth byte (Text attributes):&lt;br /&gt;
##Style normal supported by Terminal&lt;br /&gt;
##Style bold supported by Terminal&lt;br /&gt;
##Style italic supported by Terminal&lt;br /&gt;
##Style underlined supported by Terminal&lt;br /&gt;
##Style strikethrough supported by Terminal&lt;br /&gt;
##Style text foreground colour supported by Terminal&lt;br /&gt;
##Style text background colour supported by Terminal&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Thirtieth byte:&lt;br /&gt;
##I-WLAN bearer support (if class &amp;quot;e&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (WSID of the current I-WLAN connection)&lt;br /&gt;
##TERMINAL APPLICATIONS (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##Steering of Roaming REFRESH support&lt;br /&gt;
##Proactive UICC: ACTIVATE (i.e class &amp;quot;l&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: GEOGRAPHICAL LOCATION REQUEST (if class &amp;quot;n&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Broadcast Network Information) (i.e. class &amp;quot;o&amp;quot; is supported)&lt;br /&gt;
##Steering of Roaming for I-WLAN REFRESH support&lt;br /&gt;
&lt;br /&gt;
====Values====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center;&amp;quot;&lt;br /&gt;
|Phone Type||B1||B2||B3||B4||B5||B6||B7||B8||B9||B10||B11||B12||B13||B14||B15||B16||B17||B18||B19||B20||B21||B22||B23||B24||B25||B26||B27||B28||B29||B30&lt;br /&gt;
|-&lt;br /&gt;
|Samsung Galaxy Express||ff||ff||ff||ff||7f||9d||00||df||bf||00||00||1f||e2||00||00||00||c3||6b||00||07||00||00||40||00||50||00||00||00||00||08&lt;br /&gt;
|-&lt;br /&gt;
|Samsung Galaxy Note 3||ff||ff||ff||ff||7f||9d||00||df||bf||00||00||1f||e2||00||00||00||c3||6b||00||07||00||00||40||00||50||00||00||00||00||08&lt;br /&gt;
|-&lt;br /&gt;
|HTC One X+||ff||ff||ff||ff||7f||1d||00||df||b7||03||02||1f||22||00||00||00||83||00||00||00||00||00||40||10||00||00||00||00||00||00&lt;br /&gt;
|-&lt;br /&gt;
|IPhone 4||ff||ff||ff||ff||7f||91||00||df||bf||00||00||00||00||00||00||00||00||f0||00||03||00||00||60||00||50||00||00||00||00||00&lt;br /&gt;
|-&lt;br /&gt;
|Nokia E72||ff||ff||ff||ff||7f||1d||00||df||bf||00||00||17||e2||05||0f||00||03||09||00||00||00||00||00||00||00||00||00||00||00||00&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Andrei</name></author>	</entry>

	<entry>
		<id>https://ss7api.null.ro/index.php/SIM_Cards</id>
		<title>SIM Cards</title>
		<link rel="alternate" type="text/html" href="https://ss7api.null.ro/index.php/SIM_Cards"/>
				<updated>2014-03-06T09:27:03Z</updated>
		
		<summary type="html">&lt;p&gt;Andrei: /* SS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
===SIM Events===&lt;br /&gt;
&lt;br /&gt;
====Call Related Events and Requests====&lt;br /&gt;
The following events are received by the SIM card when a call is made.&lt;br /&gt;
*Standard: Details can be found in standard TS 31.111&lt;br /&gt;
*Terminal Class: This events should work in all terminals.&lt;br /&gt;
*Status: Tests were made successfully for Mobile Originating Calls&lt;br /&gt;
*Events:&amp;lt;br&amp;gt;The SIM is notified on the following events:&lt;br /&gt;
**Mobile Originating Call Initiated&lt;br /&gt;
**Mobile Originating SMS Initiated&lt;br /&gt;
**Mobile Originating USSD Initiated&lt;br /&gt;
**Mobile Originating SS Initiated&amp;lt;br&amp;gt;On the events above, the 'address' and 'subaddress' parameters can be altered.&lt;br /&gt;
*Notifications:&amp;lt;br&amp;gt;We can receive notifications for the following events. NOTE: We can not alter the event flow. Eg. We can not keep the call alive if we received call terminated event.&lt;br /&gt;
**Call Connected&lt;br /&gt;
**Call Terminated&lt;br /&gt;
*Requests - We can make the following requests:&lt;br /&gt;
**Set Up Call&lt;br /&gt;
**Send DTMF&lt;br /&gt;
*Parameters:&lt;br /&gt;
**Address&amp;lt;br&amp;gt;The called party address. Details on TS 31.111 chapter 8.1&lt;br /&gt;
**Subaddress&amp;lt;br&amp;gt;The called party subaddress. Details on TS 31.111 chapter  8.3&lt;br /&gt;
&lt;br /&gt;
====Browsing====&lt;br /&gt;
Open a SIM provided URL in phone defaults browser.&lt;br /&gt;
*Standard: Details can be fond in TS 102 223.&lt;br /&gt;
*Terminal: This should work in a class C terminal.&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&amp;lt;br&amp;gt;We are notified when one of the following events occures:&lt;br /&gt;
**Status&amp;lt;br&amp;gt;Received when the browser receives a distant error from the network.&lt;br /&gt;
**Terminated&amp;lt;br&amp;gt;Received when the browser is terminated.&lt;br /&gt;
*Requests:&lt;br /&gt;
**Lunch Browser&amp;lt;br&amp;gt;Ask a terminal to open a browser with the provided URL.&lt;br /&gt;
&lt;br /&gt;
====Access Technology====&lt;br /&gt;
Notification sent from the phone to inform about the access technology 2g/3g&lt;br /&gt;
*Standard Details can be found in TS 102 223&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Changed&amp;lt;br&amp;gt;The access technology has changed from 2g/3g.&lt;br /&gt;
&lt;br /&gt;
====Card Reader====&lt;br /&gt;
Get events and perform actions on an additional card reader, &lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Terminal Class: A&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Status&amp;lt;br&amp;gt;Notification that a card was inserted or removed; or a card reader is available or unavailable.&lt;br /&gt;
*Requests:&lt;br /&gt;
**Power ON Card&amp;lt;br&amp;gt;Start a session with an additional card.&lt;br /&gt;
**Power OFF Card&amp;lt;br&amp;gt;Stop a session with an additional card.&lt;br /&gt;
**Perform Card APDU&amp;lt;br&amp;gt;Send an APDU command to an additional card.&lt;br /&gt;
**Get Reader Status&amp;lt;br&amp;gt;Request to the terminal to provide additional information about additional card readers.&lt;br /&gt;
&lt;br /&gt;
====Data====&lt;br /&gt;
The following events and requests are available for data exchange.&lt;br /&gt;
*Standard: more documentation can be found in TS 102 223&lt;br /&gt;
*Status: In testing but no compatible device found!&lt;br /&gt;
*Terminal class E&lt;br /&gt;
*Events:&lt;br /&gt;
**Data available&amp;lt;br&amp;gt;Notification from the terminal that data has arrived from the network.&lt;br /&gt;
**Channel Status&amp;lt;br&amp;gt;Notification from the terminal that the channel status is changed.&lt;br /&gt;
*Requests&lt;br /&gt;
**Open Channel&amp;lt;br&amp;gt;Request to open a channel.&lt;br /&gt;
**Send Data&amp;lt;br&amp;gt;Request to send data on a open channel.&lt;br /&gt;
**Receive Data&amp;lt;br&amp;gt;Request to receive data on a open channel.&lt;br /&gt;
**Close Channel&amp;lt;br&amp;gt;Request to close a open channel.&lt;br /&gt;
&lt;br /&gt;
====User Interface====&lt;br /&gt;
The following events and request are related to user interface.&lt;br /&gt;
*Standard details can be found in standard TS 102 223&lt;br /&gt;
*Status: Most of them were tested.&lt;br /&gt;
*Events:&lt;br /&gt;
**Display Parameter Change&amp;lt;br&amp;gt;Notification from the terminal when the screen is resized.&lt;br /&gt;
**Frames Information Changed&amp;lt;br&amp;gt;Notification from the terminal when the frames are resized.&amp;lt;br&amp;gt;Requires terminal class I.&lt;br /&gt;
**Idle screen available&amp;lt;br&amp;gt;Notification from the terminal that the screen is idle.&lt;br /&gt;
**User activity&amp;lt;br&amp;gt;Notification from the terminal when the the user is interacting with the terminal.&amp;lt;br&amp;gt;This event is received only once after it was requested.&lt;br /&gt;
**Menu Selection&amp;lt;br&amp;gt;Notification from the terminal when the user has selected a menu item.&lt;br /&gt;
**Menu Selection Help Request&amp;lt;br&amp;gt;Notification from the terminal when the user requested help information on a menu.&lt;br /&gt;
*Requests:&lt;br /&gt;
**Get Input&amp;lt;br&amp;gt;Prompt the user to insert a text.&lt;br /&gt;
**Get InKey&amp;lt;br&amp;gt;Prompt the user to insert a key.&lt;br /&gt;
**Display Text&amp;lt;br&amp;gt;Prompt a text to the user.&lt;br /&gt;
**Set Up Menu&amp;lt;br&amp;gt;Prompt a menu to the user.&lt;br /&gt;
**Select Item&amp;lt;br&amp;gt;Provide a list of options to the user and instruct him to select one.&lt;br /&gt;
**Set Up Idle Mode Text&amp;lt;br&amp;gt;Instruct the terminal to show the provided text when it is in idle mode.&lt;br /&gt;
**Set Frames&amp;lt;br&amp;gt;Set the number of frames in which the terminal should devide its screen.&amp;lt;br&amp;gt;Requires terminal class I&lt;br /&gt;
**Get Frame Status&amp;lt;br&amp;gt;Get the parameters of a frame.&amp;lt;br&amp;gt;Requires terminal class I&lt;br /&gt;
&lt;br /&gt;
====SMS====&lt;br /&gt;
SMS related procedures.&lt;br /&gt;
*Standard details can be found in standard TS 131 111&lt;br /&gt;
*Status: Not tested yet&lt;br /&gt;
*Events:&amp;lt;br&amp;gt; Only OTA SMS are sent by the terminal to the SIM. Mobile Terminated SMS can not be intercepted by the SIM card.&lt;br /&gt;
**SMS-Point to Point Data Download unformatted&lt;br /&gt;
**SMS-Point to Point Data Download formatted&lt;br /&gt;
**SMS-Cell Broadcast Data Download formatted&lt;br /&gt;
**SMS-Cell Broadcast Data Download unformatted&lt;br /&gt;
*Requests:&lt;br /&gt;
**Send Short Message&amp;lt;br&amp;gt;Send a short message to the network.&lt;br /&gt;
*Parameters&lt;br /&gt;
**Address&amp;lt;br&amp;gt;The destination address.&lt;br /&gt;
**SMS TPDU&lt;br /&gt;
&lt;br /&gt;
====SS====&lt;br /&gt;
Supplementary Services events and requests. &lt;br /&gt;
*Standard Details can be found in TS 131 111&lt;br /&gt;
*Terminal class P is required for USSD Data Download. All other operations should work on any device.&lt;br /&gt;
*Status: Send USSD tested.&lt;br /&gt;
*Events:&lt;br /&gt;
**USSD Data Download formatted&amp;lt;br&amp;gt;Requires class P&lt;br /&gt;
**USSD Data Download unformatted&amp;lt;br&amp;gt;Requires class P&lt;br /&gt;
*Requests:&lt;br /&gt;
**Send SS&amp;lt;br&amp;gt;Send a Supplementary Service request to the network.&lt;br /&gt;
**Send USSD&amp;lt;br&amp;gt;Send a USSD Request to the network. Only the last response arrives in the SIM card. If the USSD request requires a menu USSD session, the user interaction will me required.&lt;br /&gt;
*Parameters&lt;br /&gt;
**SS String&lt;br /&gt;
**USSD String&lt;br /&gt;
&lt;br /&gt;
====IMS====&lt;br /&gt;
*Standard TS 131 111&lt;br /&gt;
*Terminal class E + T&lt;br /&gt;
*Events&lt;br /&gt;
**Download IMS Registration&lt;br /&gt;
**Download Incoming IMS Data&lt;br /&gt;
*Parameters&lt;br /&gt;
**IARI&lt;br /&gt;
**IMPU List&lt;br /&gt;
**IMS status code&lt;br /&gt;
&lt;br /&gt;
====Terminal====&lt;br /&gt;
*Standard TS 102 223 + TS 131 111&lt;br /&gt;
*Events&lt;br /&gt;
**Location Status&amp;lt;br&amp;gt;Status: tested&amp;lt;br&amp;gt;Parameters:&lt;br /&gt;
***Location Status TS 102.223 8.27&lt;br /&gt;
***Location Information TS 102.223 8.19&lt;br /&gt;
**Language Selection&lt;br /&gt;
**Profile Download&lt;br /&gt;
**Network Reject&lt;br /&gt;
**Timer expiration&lt;br /&gt;
*Requests&lt;br /&gt;
**Provide Local Information&lt;br /&gt;
**Language Notification&lt;br /&gt;
**Geographical Location Request&amp;lt;br&amp;gt;Terminal Type N&lt;br /&gt;
**More Time&amp;lt;br&amp;gt;Request to terminal for more processing time. &lt;br /&gt;
**Refresh&amp;lt;br&amp;gt;Request to terminal to reinitialize SIM card.&lt;br /&gt;
**Timer Management&amp;lt;br&amp;gt;SIM timers&lt;br /&gt;
&lt;br /&gt;
====Service====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: not tested&lt;br /&gt;
*Terminal class F&lt;br /&gt;
*Requests:&lt;br /&gt;
**Declare Service&lt;br /&gt;
**Search Service&lt;br /&gt;
**Get Service Information&lt;br /&gt;
&lt;br /&gt;
====MMS====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: not tested&lt;br /&gt;
*Terminal class J&lt;br /&gt;
*Requests:&lt;br /&gt;
**Retreive MMS&lt;br /&gt;
**Submit MMS&lt;br /&gt;
**Display MMS&lt;br /&gt;
&lt;br /&gt;
===Card File System===&lt;br /&gt;
&lt;br /&gt;
====USIM File System====&lt;br /&gt;
Extracted from standard TS 131.102.&lt;br /&gt;
*Language Indication&lt;br /&gt;
*IMSI&lt;br /&gt;
*Ciphering and Integrity Keys&lt;br /&gt;
*Ciphering and Integrity Keys for Packet Switched domain&lt;br /&gt;
*User controlled PLMN selector with Access Technology&lt;br /&gt;
*Higher Priority PLMN search period&lt;br /&gt;
*ACM maximum value&lt;br /&gt;
*USIM Service Table&lt;br /&gt;
*Accumulated Call Meter&lt;br /&gt;
*Group Identifier Level 1&lt;br /&gt;
*Group Identifier Level 2&lt;br /&gt;
*Service Provider Name&lt;br /&gt;
*Price per Unit and Currency Table&lt;br /&gt;
*Cell Broadcast Message identifier selection&lt;br /&gt;
*Access Control Class&lt;br /&gt;
*Forbidden PLMNs&lt;br /&gt;
*Location Information&lt;br /&gt;
*Administrative Data&lt;br /&gt;
*Cell Broadcast Message Identifier for Data Download&lt;br /&gt;
*Emergency Call Codes&lt;br /&gt;
*Cell Broadcast Message Identifier Range selection&lt;br /&gt;
*Packet Switched location information&lt;br /&gt;
*Fixed Dialling Numbers&lt;br /&gt;
*Short messages&lt;br /&gt;
*MSISDN&lt;br /&gt;
*Short message service parameters&lt;br /&gt;
*SMS status&lt;br /&gt;
*Service Dialling Numbers&lt;br /&gt;
*Extension2&lt;br /&gt;
*Extension3&lt;br /&gt;
*Short message status reports&lt;br /&gt;
*Incoming Call Information&lt;br /&gt;
*Outgoing Call Information&lt;br /&gt;
*Incoming Call Timer&lt;br /&gt;
*Outgoing Call Timer&lt;br /&gt;
*Extension5&lt;br /&gt;
*Capability Configuration Parameters 2&lt;br /&gt;
*enhanced Multi Level Precedence and Pre-emption&lt;br /&gt;
*Automatic Answer for eMLPP Service&lt;br /&gt;
*Key for hidden phone book entries&lt;br /&gt;
*Barred Dialling Numbers&lt;br /&gt;
*Extension4&lt;br /&gt;
*Comparison Method Information&lt;br /&gt;
*Enabled Services Table&lt;br /&gt;
*Access Point Name Control List&lt;br /&gt;
*Depersonalisation Control Keys&lt;br /&gt;
*Co-operative Network List&lt;br /&gt;
*Initialisation values for Hyperframe number&lt;br /&gt;
*Maximum value of START&lt;br /&gt;
*Operator controlled PLMN selector with Access Technology&lt;br /&gt;
*HPLMN selector with Access Technology&lt;br /&gt;
*Access Rule Reference&lt;br /&gt;
*Network Parameters&lt;br /&gt;
*PLMN Network Name&lt;br /&gt;
*Operator PLMN List&lt;br /&gt;
*Mailbox Dialling Numbers&lt;br /&gt;
*Extension6&lt;br /&gt;
*Mailbox Identifier&lt;br /&gt;
*Message Waiting Indication Status&lt;br /&gt;
*Call Forwarding Indication Status&lt;br /&gt;
*Extension7&lt;br /&gt;
*Service Provider Display Information&lt;br /&gt;
*MMS Notification&lt;br /&gt;
*Extension 8&lt;br /&gt;
*MMS Issuer Connectivity Parameters&lt;br /&gt;
*MMS User Preferences&lt;br /&gt;
*MMS User Connectivity Parameters&lt;br /&gt;
*Network's Indication of Alerting&lt;br /&gt;
*Voice Group Call Service&lt;br /&gt;
*Voice Group Call Service Status&lt;br /&gt;
*Voice Broadcast Service&lt;br /&gt;
*Voice Broadcast Service Status&lt;br /&gt;
&lt;br /&gt;
===Terminal profile===&lt;br /&gt;
====Description====&lt;br /&gt;
The terminal can be interrogated about which functions it supports.&lt;br /&gt;
#First byte (Download):&lt;br /&gt;
##Profile download&lt;br /&gt;
##SMS-PP data download&lt;br /&gt;
##Cell Broadcast data download)&lt;br /&gt;
##Menu selection&lt;br /&gt;
##SMS-PP data download&lt;br /&gt;
##Timer expiration&lt;br /&gt;
##USSD string data object support in Call Control by USIM&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
#Second byte (Other):&lt;br /&gt;
##Command result&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
##Call Control by NAA &lt;br /&gt;
##MO short message control support&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
##UCS2 Entry supported&lt;br /&gt;
##UCS2 Display supported&lt;br /&gt;
##Display Text&lt;br /&gt;
#Third byte (Proactive UICC):&lt;br /&gt;
##DISPLAY TEXT&lt;br /&gt;
##GET INKEY&lt;br /&gt;
##GET INPUT&lt;br /&gt;
##MORE TIME&lt;br /&gt;
##PLAY TONE&lt;br /&gt;
##POLL INTERVAL&lt;br /&gt;
##POLLING OFF&lt;br /&gt;
##REFRESH&lt;br /&gt;
#Fourth byte (Proactive UICC):&lt;br /&gt;
##Proactive UICC: SELECT ITEM&lt;br /&gt;
##Proactive UICC: SEND SHORT MESSAGE with 3GPP-SMS-TPDU&lt;br /&gt;
##Proactive UICC: SEND SS&lt;br /&gt;
##Proactive UICC:SEND USSD&lt;br /&gt;
##Proactive UICC: SET UP CALL&lt;br /&gt;
##Proactive UICC: SET UP MENU&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (MCC, MNC,LAC, Cell ID &amp;amp; IMEI)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (NMR)&lt;br /&gt;
#Fifth byte (Event driven information):&lt;br /&gt;
##Proactive UICC: SET UP EVENT LIST&lt;br /&gt;
##Event: MT call&lt;br /&gt;
##Event: Call connected&lt;br /&gt;
##Event: Call disconnected&lt;br /&gt;
##Event: Location status&lt;br /&gt;
##Event: User activity&lt;br /&gt;
##Event: Idle screen available&lt;br /&gt;
##Event: Card reader status&lt;br /&gt;
#Sixth byte (Event driven information extensions):&lt;br /&gt;
##Language selection&lt;br /&gt;
##Browser Termination&lt;br /&gt;
##Data available&lt;br /&gt;
##Channel status&lt;br /&gt;
##Access Technology Change&lt;br /&gt;
##Display parameters changed&lt;br /&gt;
##Local Connection&lt;br /&gt;
##Network Search Mode Change&lt;br /&gt;
#Seventh byte (Multiple card proactive commands) for class &amp;quot;a&amp;quot;:&lt;br /&gt;
##POWER ON CARD&lt;br /&gt;
##POWER OFF CARD&lt;br /&gt;
##PERFORM CARD APDU&lt;br /&gt;
##GET READER STATUS (Card reader status)&lt;br /&gt;
##GET READER STATUS (Card reader Identifier)&lt;br /&gt;
##RFU&lt;br /&gt;
#Eighth byte (Proactive UICC):&lt;br /&gt;
##Proactive UICC: TIMER MANAGEMENT (start, stop)&lt;br /&gt;
##Proactive UICC: TIMER MANAGEMENT (get current value)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (date, time and time zone)&lt;br /&gt;
##GET INKEY&lt;br /&gt;
##SET UP IDLE MODE TEXT&lt;br /&gt;
##RUN AT COMMAND (i.e. class &amp;quot;b&amp;quot; is supported)&lt;br /&gt;
##SETUP CALL&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
#Ninth byte:&lt;br /&gt;
##DISPLAY TEXT&lt;br /&gt;
##SEND DTMF command&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (language)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION, Timing Advance&lt;br /&gt;
##Proactive UICC: LANGUAGE NOTIFICATION&lt;br /&gt;
##Proactive UICC: LAUNCH BROWSER&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Access Technology)&lt;br /&gt;
#Tenth byte (Soft keys support) for class &amp;quot;d&amp;quot;:&lt;br /&gt;
##Soft keys support for SELECT ITEM&lt;br /&gt;
##Soft Keys support for SET UP MENU&lt;br /&gt;
##RFU&lt;br /&gt;
#Eleventh byte (Soft keys information):&lt;br /&gt;
##Maximum number of soft keys available 'FF' value is reserved for future use&lt;br /&gt;
#Twelfth byte:&lt;br /&gt;
##OPEN CHANNEL&lt;br /&gt;
##CLOSE CHANNEL&lt;br /&gt;
##RECEIVE DATA&lt;br /&gt;
##SEND DATA&lt;br /&gt;
##GET CHANNEL STATUS&lt;br /&gt;
##SERVICE SEARCH&lt;br /&gt;
##GET SERVICE INFORMATION&lt;br /&gt;
##DECLARE SERVICE&lt;br /&gt;
#Thirteenth byte:&lt;br /&gt;
##CSD&lt;br /&gt;
##GPRS&lt;br /&gt;
##Bluetooth&lt;br /&gt;
##IrDA&lt;br /&gt;
##RS232&lt;br /&gt;
##b6,b7,b8 - Number of channels supported by terminal&lt;br /&gt;
#Fourteenth byte (Screen height):&lt;br /&gt;
##b1 - b4 - Number of characters supported down the terminal display as defined in clause 5.3.1&lt;br /&gt;
##No display capability (i.e class &amp;quot;ND&amp;quot; is indicated)&lt;br /&gt;
##No keypad available (i.e. class &amp;quot;NK&amp;quot; is indicated)&lt;br /&gt;
##Screen Sizing Parameters supported as defined inclause 5.3&lt;br /&gt;
#Fifteenth byte (Screen width):&lt;br /&gt;
##b1-b7 - Number of characters supported across the terminal display as defined in clause 5.3.2&lt;br /&gt;
##Variable size fonts&lt;br /&gt;
#Sixteenth byte (Screen effects):&lt;br /&gt;
##Display can be resized as defined in clause 5.3.3&lt;br /&gt;
##Text Wrapping supported as defined in clause 5.3.4&lt;br /&gt;
##Text Scrolling supported as defined in clause 5.3.5&lt;br /&gt;
##Text Attributes supported as defined in clause 5.3.7&lt;br /&gt;
##b5 - RFU&lt;br /&gt;
##b6 - b8 - Width reduction when in a menu as defined in clause 5.3.6&lt;br /&gt;
#Seventeenth byte:&lt;br /&gt;
##TCP, UICC in client mode, remote connection&lt;br /&gt;
##UDP, UICC in client mode, remote connection&lt;br /&gt;
##TCP, UICC in server mode&lt;br /&gt;
##TCP, UICC in client mode, local connection (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##UDP, UICC in client mode, local connection (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
##E-UTRAN (if class &amp;quot;e&amp;quot; issupported))&lt;br /&gt;
##HSDPA (if class &amp;quot;e&amp;quot; is supported))&lt;br /&gt;
#Eighteenth byte:&lt;br /&gt;
##Proactive UICC: DISPLAY TEXT (Variable Time out)&lt;br /&gt;
##Proactive UICC: GET INKEY (help is supported while waiting for immediate response or variable timeout)&lt;br /&gt;
##USB&lt;br /&gt;
##Proactive UICC: GET INKEY (Variable Timeout)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (ESN)&lt;br /&gt;
##Call control on GPRS&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (IMEISV)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Search Mode change)&lt;br /&gt;
#Nineteenth byte (reserved for TIA/EIA-136-C facilities [25]):&lt;br /&gt;
##Reserved by TIA/EIA-136 [25] (Protocol Version support)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twentieth byte (reserved for TIA/EIA/IS-820-A facilities [17]):&lt;br /&gt;
##Reserved by TIA/EIA/IS-820 [17]&lt;br /&gt;
#Twenty-first byte (Extended Launch Browser Capability) for class &amp;quot;c&amp;quot;:&lt;br /&gt;
##WML&lt;br /&gt;
##XHTML&lt;br /&gt;
##HTML&lt;br /&gt;
##CHTML&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-second byte:&lt;br /&gt;
##Support of UTRAN PS with extended parameters&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION(battery state), (i.e. class &amp;quot;g&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PLAY TONE (Melody tones and Themed tones supported)&lt;br /&gt;
##Multi-media Calls in SET UP CALL (if class h supported)&lt;br /&gt;
##Reserved by 3GPP (Toolkit-initiated GBA)&lt;br /&gt;
##Proactive UICC: RETRIEVE MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: SUBMIT MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: DISPLAY MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
#Twenty third byte:&lt;br /&gt;
##Proactive UICC: SET FRAMES (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: GET FRAMES STATUS (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##MMS notification download (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Alpha Identifier in REFRESH command supported by terminal&lt;br /&gt;
##Geographical Location Reporting (if class &amp;quot;n&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (MEID)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (NMR(UTRAN))&lt;br /&gt;
##USSD Data download and application mode&lt;br /&gt;
#Twenty fourth byte for class &amp;quot;i&amp;quot;:&lt;br /&gt;
##b1-b4 - Maximum number of frames supported (including frames created in existing frames)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-fifth byte (Event driven information extensions):&lt;br /&gt;
##Event: Browsing status&lt;br /&gt;
##Event: MMS Transfer status (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Event: Frame Parameters changed (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##Event: I-WLAN Access status (if class &amp;quot;e&amp;quot; is supported)&lt;br /&gt;
##Event Network Rejection&lt;br /&gt;
##Event: HCI connectivity event (i.e. class &amp;quot;m&amp;quot; is supported)&lt;br /&gt;
##Reserved by 3GPP (E-UTRAN support in Event Network Rejection)&lt;br /&gt;
##Multiple access technologies supported in Event&lt;br /&gt;
##Access Technology Change and PROVIDE LOCAL INFORMATION &amp;lt;br&amp;gt;If bit &amp;quot;Multiple access technologies supported&amp;quot; is set to 1, it applies to the Event Access Technology Change if supported and all relevant modes of proactive command PROVIDE  LOCAL INFORMATION that are supported.&lt;br /&gt;
#Twenty-sixth byte (Event driven information extensions):&lt;br /&gt;
##RFU, bit = 0 (for future event indication)&lt;br /&gt;
#Twenty-seventh byte (Event driven information extensions):&lt;br /&gt;
##RFU, bit = 0 (for future event indication)&lt;br /&gt;
#Twenty-eighth byte (Text attributes):&lt;br /&gt;
##Alignment left supported by Terminal&lt;br /&gt;
##Alignment centre supported by Terminal&lt;br /&gt;
##Alignment right supported by Terminal&lt;br /&gt;
##Font size normal supported by Terminal&lt;br /&gt;
##Font size large supported by Terminal&lt;br /&gt;
##Font size small supported by Terminal&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-ninth byte (Text attributes):&lt;br /&gt;
##Style normal supported by Terminal&lt;br /&gt;
##Style bold supported by Terminal&lt;br /&gt;
##Style italic supported by Terminal&lt;br /&gt;
##Style underlined supported by Terminal&lt;br /&gt;
##Style strikethrough supported by Terminal&lt;br /&gt;
##Style text foreground colour supported by Terminal&lt;br /&gt;
##Style text background colour supported by Terminal&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Thirtieth byte:&lt;br /&gt;
##I-WLAN bearer support (if class &amp;quot;e&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (WSID of the current I-WLAN connection)&lt;br /&gt;
##TERMINAL APPLICATIONS (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##Steering of Roaming REFRESH support&lt;br /&gt;
##Proactive UICC: ACTIVATE (i.e class &amp;quot;l&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: GEOGRAPHICAL LOCATION REQUEST (if class &amp;quot;n&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Broadcast Network Information) (i.e. class &amp;quot;o&amp;quot; is supported)&lt;br /&gt;
##Steering of Roaming for I-WLAN REFRESH support&lt;br /&gt;
&lt;br /&gt;
====Values====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center;&amp;quot;&lt;br /&gt;
|Phone Type||B1||B2||B3||B4||B5||B6||B7||B8||B9||B10||B11||B12||B13||B14||B15||B16||B17||B18||B19||B20||B21||B22||B23||B24||B25||B26||B27||B28||B29||B30&lt;br /&gt;
|-&lt;br /&gt;
|Samsung Galaxy Express||ff||ff||ff||ff||7f||9d||00||df||bf||00||00||1f||e2||00||00||00||c3||6b||00||07||00||00||40||00||50||00||00||00||00||08&lt;br /&gt;
|-&lt;br /&gt;
|Samsung Galaxy Note 3||ff||ff||ff||ff||7f||9d||00||df||bf||00||00||1f||e2||00||00||00||c3||6b||00||07||00||00||40||00||50||00||00||00||00||08&lt;br /&gt;
|-&lt;br /&gt;
|HTC One X+||ff||ff||ff||ff||7f||1d||00||df||b7||03||02||1f||22||00||00||00||83||00||00||00||00||00||40||10||00||00||00||00||00||00&lt;br /&gt;
|-&lt;br /&gt;
|IPhone 4||ff||ff||ff||ff||7f||91||00||df||bf||00||00||00||00||00||00||00||00||f0||00||03||00||00||60||00||50||00||00||00||00||00&lt;br /&gt;
|-&lt;br /&gt;
|Nokia E72||ff||ff||ff||ff||7f||1d||00||df||bf||00||00||17||e2||05||0f||00||03||09||00||00||00||00||00||00||00||00||00||00||00||00&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Andrei</name></author>	</entry>

	<entry>
		<id>https://ss7api.null.ro/index.php/SIM_Cards</id>
		<title>SIM Cards</title>
		<link rel="alternate" type="text/html" href="https://ss7api.null.ro/index.php/SIM_Cards"/>
				<updated>2014-03-06T09:21:53Z</updated>
		
		<summary type="html">&lt;p&gt;Andrei: /* SMS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
===SIM Events===&lt;br /&gt;
&lt;br /&gt;
====Call Related Events and Requests====&lt;br /&gt;
The following events are received by the SIM card when a call is made.&lt;br /&gt;
*Standard: Details can be found in standard TS 31.111&lt;br /&gt;
*Terminal Class: This events should work in all terminals.&lt;br /&gt;
*Status: Tests were made successfully for Mobile Originating Calls&lt;br /&gt;
*Events:&amp;lt;br&amp;gt;The SIM is notified on the following events:&lt;br /&gt;
**Mobile Originating Call Initiated&lt;br /&gt;
**Mobile Originating SMS Initiated&lt;br /&gt;
**Mobile Originating USSD Initiated&lt;br /&gt;
**Mobile Originating SS Initiated&amp;lt;br&amp;gt;On the events above, the 'address' and 'subaddress' parameters can be altered.&lt;br /&gt;
*Notifications:&amp;lt;br&amp;gt;We can receive notifications for the following events. NOTE: We can not alter the event flow. Eg. We can not keep the call alive if we received call terminated event.&lt;br /&gt;
**Call Connected&lt;br /&gt;
**Call Terminated&lt;br /&gt;
*Requests - We can make the following requests:&lt;br /&gt;
**Set Up Call&lt;br /&gt;
**Send DTMF&lt;br /&gt;
*Parameters:&lt;br /&gt;
**Address&amp;lt;br&amp;gt;The called party address. Details on TS 31.111 chapter 8.1&lt;br /&gt;
**Subaddress&amp;lt;br&amp;gt;The called party subaddress. Details on TS 31.111 chapter  8.3&lt;br /&gt;
&lt;br /&gt;
====Browsing====&lt;br /&gt;
Open a SIM provided URL in phone defaults browser.&lt;br /&gt;
*Standard: Details can be fond in TS 102 223.&lt;br /&gt;
*Terminal: This should work in a class C terminal.&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&amp;lt;br&amp;gt;We are notified when one of the following events occures:&lt;br /&gt;
**Status&amp;lt;br&amp;gt;Received when the browser receives a distant error from the network.&lt;br /&gt;
**Terminated&amp;lt;br&amp;gt;Received when the browser is terminated.&lt;br /&gt;
*Requests:&lt;br /&gt;
**Lunch Browser&amp;lt;br&amp;gt;Ask a terminal to open a browser with the provided URL.&lt;br /&gt;
&lt;br /&gt;
====Access Technology====&lt;br /&gt;
Notification sent from the phone to inform about the access technology 2g/3g&lt;br /&gt;
*Standard Details can be found in TS 102 223&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Changed&amp;lt;br&amp;gt;The access technology has changed from 2g/3g.&lt;br /&gt;
&lt;br /&gt;
====Card Reader====&lt;br /&gt;
Get events and perform actions on an additional card reader, &lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Terminal Class: A&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Status&amp;lt;br&amp;gt;Notification that a card was inserted or removed; or a card reader is available or unavailable.&lt;br /&gt;
*Requests:&lt;br /&gt;
**Power ON Card&amp;lt;br&amp;gt;Start a session with an additional card.&lt;br /&gt;
**Power OFF Card&amp;lt;br&amp;gt;Stop a session with an additional card.&lt;br /&gt;
**Perform Card APDU&amp;lt;br&amp;gt;Send an APDU command to an additional card.&lt;br /&gt;
**Get Reader Status&amp;lt;br&amp;gt;Request to the terminal to provide additional information about additional card readers.&lt;br /&gt;
&lt;br /&gt;
====Data====&lt;br /&gt;
The following events and requests are available for data exchange.&lt;br /&gt;
*Standard: more documentation can be found in TS 102 223&lt;br /&gt;
*Status: In testing but no compatible device found!&lt;br /&gt;
*Terminal class E&lt;br /&gt;
*Events:&lt;br /&gt;
**Data available&amp;lt;br&amp;gt;Notification from the terminal that data has arrived from the network.&lt;br /&gt;
**Channel Status&amp;lt;br&amp;gt;Notification from the terminal that the channel status is changed.&lt;br /&gt;
*Requests&lt;br /&gt;
**Open Channel&amp;lt;br&amp;gt;Request to open a channel.&lt;br /&gt;
**Send Data&amp;lt;br&amp;gt;Request to send data on a open channel.&lt;br /&gt;
**Receive Data&amp;lt;br&amp;gt;Request to receive data on a open channel.&lt;br /&gt;
**Close Channel&amp;lt;br&amp;gt;Request to close a open channel.&lt;br /&gt;
&lt;br /&gt;
====User Interface====&lt;br /&gt;
The following events and request are related to user interface.&lt;br /&gt;
*Standard details can be found in standard TS 102 223&lt;br /&gt;
*Status: Most of them were tested.&lt;br /&gt;
*Events:&lt;br /&gt;
**Display Parameter Change&amp;lt;br&amp;gt;Notification from the terminal when the screen is resized.&lt;br /&gt;
**Frames Information Changed&amp;lt;br&amp;gt;Notification from the terminal when the frames are resized.&amp;lt;br&amp;gt;Requires terminal class I.&lt;br /&gt;
**Idle screen available&amp;lt;br&amp;gt;Notification from the terminal that the screen is idle.&lt;br /&gt;
**User activity&amp;lt;br&amp;gt;Notification from the terminal when the the user is interacting with the terminal.&amp;lt;br&amp;gt;This event is received only once after it was requested.&lt;br /&gt;
**Menu Selection&amp;lt;br&amp;gt;Notification from the terminal when the user has selected a menu item.&lt;br /&gt;
**Menu Selection Help Request&amp;lt;br&amp;gt;Notification from the terminal when the user requested help information on a menu.&lt;br /&gt;
*Requests:&lt;br /&gt;
**Get Input&amp;lt;br&amp;gt;Prompt the user to insert a text.&lt;br /&gt;
**Get InKey&amp;lt;br&amp;gt;Prompt the user to insert a key.&lt;br /&gt;
**Display Text&amp;lt;br&amp;gt;Prompt a text to the user.&lt;br /&gt;
**Set Up Menu&amp;lt;br&amp;gt;Prompt a menu to the user.&lt;br /&gt;
**Select Item&amp;lt;br&amp;gt;Provide a list of options to the user and instruct him to select one.&lt;br /&gt;
**Set Up Idle Mode Text&amp;lt;br&amp;gt;Instruct the terminal to show the provided text when it is in idle mode.&lt;br /&gt;
**Set Frames&amp;lt;br&amp;gt;Set the number of frames in which the terminal should devide its screen.&amp;lt;br&amp;gt;Requires terminal class I&lt;br /&gt;
**Get Frame Status&amp;lt;br&amp;gt;Get the parameters of a frame.&amp;lt;br&amp;gt;Requires terminal class I&lt;br /&gt;
&lt;br /&gt;
====SMS====&lt;br /&gt;
SMS related procedures.&lt;br /&gt;
*Standard details can be found in standard TS 131 111&lt;br /&gt;
*Status: Not tested yet&lt;br /&gt;
*Events:&amp;lt;br&amp;gt; Only OTA SMS are sent by the terminal to the SIM. Mobile Terminated SMS can not be intercepted by the SIM card.&lt;br /&gt;
**SMS-Point to Point Data Download unformatted&lt;br /&gt;
**SMS-Point to Point Data Download formatted&lt;br /&gt;
**SMS-Cell Broadcast Data Download formatted&lt;br /&gt;
**SMS-Cell Broadcast Data Download unformatted&lt;br /&gt;
*Requests:&lt;br /&gt;
**Send Short Message&amp;lt;br&amp;gt;Send a short message to the network.&lt;br /&gt;
*Parameters&lt;br /&gt;
**Address&amp;lt;br&amp;gt;The destination address.&lt;br /&gt;
**SMS TPDU&lt;br /&gt;
&lt;br /&gt;
====SS====&lt;br /&gt;
*Standard TS 131 111&lt;br /&gt;
*Terminal class P for USSD Data Download&lt;br /&gt;
*Status: Send USSD tested&lt;br /&gt;
*Events:&lt;br /&gt;
**USSD Data Download formatted&lt;br /&gt;
**USSD Data Download unformatted&lt;br /&gt;
*Requests:&lt;br /&gt;
**Send SS&lt;br /&gt;
**Send USSD&lt;br /&gt;
*Parameters&lt;br /&gt;
**SS String&lt;br /&gt;
**USSD String&lt;br /&gt;
NOTE: If the USSD session is initiated form SIM card than only the last response from the network is passed to the SIM.&lt;br /&gt;
&lt;br /&gt;
====IMS====&lt;br /&gt;
*Standard TS 131 111&lt;br /&gt;
*Terminal class E + T&lt;br /&gt;
*Events&lt;br /&gt;
**Download IMS Registration&lt;br /&gt;
**Download Incoming IMS Data&lt;br /&gt;
*Parameters&lt;br /&gt;
**IARI&lt;br /&gt;
**IMPU List&lt;br /&gt;
**IMS status code&lt;br /&gt;
&lt;br /&gt;
====Terminal====&lt;br /&gt;
*Standard TS 102 223 + TS 131 111&lt;br /&gt;
*Events&lt;br /&gt;
**Location Status&amp;lt;br&amp;gt;Status: tested&amp;lt;br&amp;gt;Parameters:&lt;br /&gt;
***Location Status TS 102.223 8.27&lt;br /&gt;
***Location Information TS 102.223 8.19&lt;br /&gt;
**Language Selection&lt;br /&gt;
**Profile Download&lt;br /&gt;
**Network Reject&lt;br /&gt;
**Timer expiration&lt;br /&gt;
*Requests&lt;br /&gt;
**Provide Local Information&lt;br /&gt;
**Language Notification&lt;br /&gt;
**Geographical Location Request&amp;lt;br&amp;gt;Terminal Type N&lt;br /&gt;
**More Time&amp;lt;br&amp;gt;Request to terminal for more processing time. &lt;br /&gt;
**Refresh&amp;lt;br&amp;gt;Request to terminal to reinitialize SIM card.&lt;br /&gt;
**Timer Management&amp;lt;br&amp;gt;SIM timers&lt;br /&gt;
&lt;br /&gt;
====Service====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: not tested&lt;br /&gt;
*Terminal class F&lt;br /&gt;
*Requests:&lt;br /&gt;
**Declare Service&lt;br /&gt;
**Search Service&lt;br /&gt;
**Get Service Information&lt;br /&gt;
&lt;br /&gt;
====MMS====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: not tested&lt;br /&gt;
*Terminal class J&lt;br /&gt;
*Requests:&lt;br /&gt;
**Retreive MMS&lt;br /&gt;
**Submit MMS&lt;br /&gt;
**Display MMS&lt;br /&gt;
&lt;br /&gt;
===Card File System===&lt;br /&gt;
&lt;br /&gt;
====USIM File System====&lt;br /&gt;
Extracted from standard TS 131.102.&lt;br /&gt;
*Language Indication&lt;br /&gt;
*IMSI&lt;br /&gt;
*Ciphering and Integrity Keys&lt;br /&gt;
*Ciphering and Integrity Keys for Packet Switched domain&lt;br /&gt;
*User controlled PLMN selector with Access Technology&lt;br /&gt;
*Higher Priority PLMN search period&lt;br /&gt;
*ACM maximum value&lt;br /&gt;
*USIM Service Table&lt;br /&gt;
*Accumulated Call Meter&lt;br /&gt;
*Group Identifier Level 1&lt;br /&gt;
*Group Identifier Level 2&lt;br /&gt;
*Service Provider Name&lt;br /&gt;
*Price per Unit and Currency Table&lt;br /&gt;
*Cell Broadcast Message identifier selection&lt;br /&gt;
*Access Control Class&lt;br /&gt;
*Forbidden PLMNs&lt;br /&gt;
*Location Information&lt;br /&gt;
*Administrative Data&lt;br /&gt;
*Cell Broadcast Message Identifier for Data Download&lt;br /&gt;
*Emergency Call Codes&lt;br /&gt;
*Cell Broadcast Message Identifier Range selection&lt;br /&gt;
*Packet Switched location information&lt;br /&gt;
*Fixed Dialling Numbers&lt;br /&gt;
*Short messages&lt;br /&gt;
*MSISDN&lt;br /&gt;
*Short message service parameters&lt;br /&gt;
*SMS status&lt;br /&gt;
*Service Dialling Numbers&lt;br /&gt;
*Extension2&lt;br /&gt;
*Extension3&lt;br /&gt;
*Short message status reports&lt;br /&gt;
*Incoming Call Information&lt;br /&gt;
*Outgoing Call Information&lt;br /&gt;
*Incoming Call Timer&lt;br /&gt;
*Outgoing Call Timer&lt;br /&gt;
*Extension5&lt;br /&gt;
*Capability Configuration Parameters 2&lt;br /&gt;
*enhanced Multi Level Precedence and Pre-emption&lt;br /&gt;
*Automatic Answer for eMLPP Service&lt;br /&gt;
*Key for hidden phone book entries&lt;br /&gt;
*Barred Dialling Numbers&lt;br /&gt;
*Extension4&lt;br /&gt;
*Comparison Method Information&lt;br /&gt;
*Enabled Services Table&lt;br /&gt;
*Access Point Name Control List&lt;br /&gt;
*Depersonalisation Control Keys&lt;br /&gt;
*Co-operative Network List&lt;br /&gt;
*Initialisation values for Hyperframe number&lt;br /&gt;
*Maximum value of START&lt;br /&gt;
*Operator controlled PLMN selector with Access Technology&lt;br /&gt;
*HPLMN selector with Access Technology&lt;br /&gt;
*Access Rule Reference&lt;br /&gt;
*Network Parameters&lt;br /&gt;
*PLMN Network Name&lt;br /&gt;
*Operator PLMN List&lt;br /&gt;
*Mailbox Dialling Numbers&lt;br /&gt;
*Extension6&lt;br /&gt;
*Mailbox Identifier&lt;br /&gt;
*Message Waiting Indication Status&lt;br /&gt;
*Call Forwarding Indication Status&lt;br /&gt;
*Extension7&lt;br /&gt;
*Service Provider Display Information&lt;br /&gt;
*MMS Notification&lt;br /&gt;
*Extension 8&lt;br /&gt;
*MMS Issuer Connectivity Parameters&lt;br /&gt;
*MMS User Preferences&lt;br /&gt;
*MMS User Connectivity Parameters&lt;br /&gt;
*Network's Indication of Alerting&lt;br /&gt;
*Voice Group Call Service&lt;br /&gt;
*Voice Group Call Service Status&lt;br /&gt;
*Voice Broadcast Service&lt;br /&gt;
*Voice Broadcast Service Status&lt;br /&gt;
&lt;br /&gt;
===Terminal profile===&lt;br /&gt;
====Description====&lt;br /&gt;
The terminal can be interrogated about which functions it supports.&lt;br /&gt;
#First byte (Download):&lt;br /&gt;
##Profile download&lt;br /&gt;
##SMS-PP data download&lt;br /&gt;
##Cell Broadcast data download)&lt;br /&gt;
##Menu selection&lt;br /&gt;
##SMS-PP data download&lt;br /&gt;
##Timer expiration&lt;br /&gt;
##USSD string data object support in Call Control by USIM&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
#Second byte (Other):&lt;br /&gt;
##Command result&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
##Call Control by NAA &lt;br /&gt;
##MO short message control support&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
##UCS2 Entry supported&lt;br /&gt;
##UCS2 Display supported&lt;br /&gt;
##Display Text&lt;br /&gt;
#Third byte (Proactive UICC):&lt;br /&gt;
##DISPLAY TEXT&lt;br /&gt;
##GET INKEY&lt;br /&gt;
##GET INPUT&lt;br /&gt;
##MORE TIME&lt;br /&gt;
##PLAY TONE&lt;br /&gt;
##POLL INTERVAL&lt;br /&gt;
##POLLING OFF&lt;br /&gt;
##REFRESH&lt;br /&gt;
#Fourth byte (Proactive UICC):&lt;br /&gt;
##Proactive UICC: SELECT ITEM&lt;br /&gt;
##Proactive UICC: SEND SHORT MESSAGE with 3GPP-SMS-TPDU&lt;br /&gt;
##Proactive UICC: SEND SS&lt;br /&gt;
##Proactive UICC:SEND USSD&lt;br /&gt;
##Proactive UICC: SET UP CALL&lt;br /&gt;
##Proactive UICC: SET UP MENU&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (MCC, MNC,LAC, Cell ID &amp;amp; IMEI)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (NMR)&lt;br /&gt;
#Fifth byte (Event driven information):&lt;br /&gt;
##Proactive UICC: SET UP EVENT LIST&lt;br /&gt;
##Event: MT call&lt;br /&gt;
##Event: Call connected&lt;br /&gt;
##Event: Call disconnected&lt;br /&gt;
##Event: Location status&lt;br /&gt;
##Event: User activity&lt;br /&gt;
##Event: Idle screen available&lt;br /&gt;
##Event: Card reader status&lt;br /&gt;
#Sixth byte (Event driven information extensions):&lt;br /&gt;
##Language selection&lt;br /&gt;
##Browser Termination&lt;br /&gt;
##Data available&lt;br /&gt;
##Channel status&lt;br /&gt;
##Access Technology Change&lt;br /&gt;
##Display parameters changed&lt;br /&gt;
##Local Connection&lt;br /&gt;
##Network Search Mode Change&lt;br /&gt;
#Seventh byte (Multiple card proactive commands) for class &amp;quot;a&amp;quot;:&lt;br /&gt;
##POWER ON CARD&lt;br /&gt;
##POWER OFF CARD&lt;br /&gt;
##PERFORM CARD APDU&lt;br /&gt;
##GET READER STATUS (Card reader status)&lt;br /&gt;
##GET READER STATUS (Card reader Identifier)&lt;br /&gt;
##RFU&lt;br /&gt;
#Eighth byte (Proactive UICC):&lt;br /&gt;
##Proactive UICC: TIMER MANAGEMENT (start, stop)&lt;br /&gt;
##Proactive UICC: TIMER MANAGEMENT (get current value)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (date, time and time zone)&lt;br /&gt;
##GET INKEY&lt;br /&gt;
##SET UP IDLE MODE TEXT&lt;br /&gt;
##RUN AT COMMAND (i.e. class &amp;quot;b&amp;quot; is supported)&lt;br /&gt;
##SETUP CALL&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
#Ninth byte:&lt;br /&gt;
##DISPLAY TEXT&lt;br /&gt;
##SEND DTMF command&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (language)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION, Timing Advance&lt;br /&gt;
##Proactive UICC: LANGUAGE NOTIFICATION&lt;br /&gt;
##Proactive UICC: LAUNCH BROWSER&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Access Technology)&lt;br /&gt;
#Tenth byte (Soft keys support) for class &amp;quot;d&amp;quot;:&lt;br /&gt;
##Soft keys support for SELECT ITEM&lt;br /&gt;
##Soft Keys support for SET UP MENU&lt;br /&gt;
##RFU&lt;br /&gt;
#Eleventh byte (Soft keys information):&lt;br /&gt;
##Maximum number of soft keys available 'FF' value is reserved for future use&lt;br /&gt;
#Twelfth byte:&lt;br /&gt;
##OPEN CHANNEL&lt;br /&gt;
##CLOSE CHANNEL&lt;br /&gt;
##RECEIVE DATA&lt;br /&gt;
##SEND DATA&lt;br /&gt;
##GET CHANNEL STATUS&lt;br /&gt;
##SERVICE SEARCH&lt;br /&gt;
##GET SERVICE INFORMATION&lt;br /&gt;
##DECLARE SERVICE&lt;br /&gt;
#Thirteenth byte:&lt;br /&gt;
##CSD&lt;br /&gt;
##GPRS&lt;br /&gt;
##Bluetooth&lt;br /&gt;
##IrDA&lt;br /&gt;
##RS232&lt;br /&gt;
##b6,b7,b8 - Number of channels supported by terminal&lt;br /&gt;
#Fourteenth byte (Screen height):&lt;br /&gt;
##b1 - b4 - Number of characters supported down the terminal display as defined in clause 5.3.1&lt;br /&gt;
##No display capability (i.e class &amp;quot;ND&amp;quot; is indicated)&lt;br /&gt;
##No keypad available (i.e. class &amp;quot;NK&amp;quot; is indicated)&lt;br /&gt;
##Screen Sizing Parameters supported as defined inclause 5.3&lt;br /&gt;
#Fifteenth byte (Screen width):&lt;br /&gt;
##b1-b7 - Number of characters supported across the terminal display as defined in clause 5.3.2&lt;br /&gt;
##Variable size fonts&lt;br /&gt;
#Sixteenth byte (Screen effects):&lt;br /&gt;
##Display can be resized as defined in clause 5.3.3&lt;br /&gt;
##Text Wrapping supported as defined in clause 5.3.4&lt;br /&gt;
##Text Scrolling supported as defined in clause 5.3.5&lt;br /&gt;
##Text Attributes supported as defined in clause 5.3.7&lt;br /&gt;
##b5 - RFU&lt;br /&gt;
##b6 - b8 - Width reduction when in a menu as defined in clause 5.3.6&lt;br /&gt;
#Seventeenth byte:&lt;br /&gt;
##TCP, UICC in client mode, remote connection&lt;br /&gt;
##UDP, UICC in client mode, remote connection&lt;br /&gt;
##TCP, UICC in server mode&lt;br /&gt;
##TCP, UICC in client mode, local connection (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##UDP, UICC in client mode, local connection (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
##E-UTRAN (if class &amp;quot;e&amp;quot; issupported))&lt;br /&gt;
##HSDPA (if class &amp;quot;e&amp;quot; is supported))&lt;br /&gt;
#Eighteenth byte:&lt;br /&gt;
##Proactive UICC: DISPLAY TEXT (Variable Time out)&lt;br /&gt;
##Proactive UICC: GET INKEY (help is supported while waiting for immediate response or variable timeout)&lt;br /&gt;
##USB&lt;br /&gt;
##Proactive UICC: GET INKEY (Variable Timeout)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (ESN)&lt;br /&gt;
##Call control on GPRS&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (IMEISV)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Search Mode change)&lt;br /&gt;
#Nineteenth byte (reserved for TIA/EIA-136-C facilities [25]):&lt;br /&gt;
##Reserved by TIA/EIA-136 [25] (Protocol Version support)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twentieth byte (reserved for TIA/EIA/IS-820-A facilities [17]):&lt;br /&gt;
##Reserved by TIA/EIA/IS-820 [17]&lt;br /&gt;
#Twenty-first byte (Extended Launch Browser Capability) for class &amp;quot;c&amp;quot;:&lt;br /&gt;
##WML&lt;br /&gt;
##XHTML&lt;br /&gt;
##HTML&lt;br /&gt;
##CHTML&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-second byte:&lt;br /&gt;
##Support of UTRAN PS with extended parameters&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION(battery state), (i.e. class &amp;quot;g&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PLAY TONE (Melody tones and Themed tones supported)&lt;br /&gt;
##Multi-media Calls in SET UP CALL (if class h supported)&lt;br /&gt;
##Reserved by 3GPP (Toolkit-initiated GBA)&lt;br /&gt;
##Proactive UICC: RETRIEVE MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: SUBMIT MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: DISPLAY MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
#Twenty third byte:&lt;br /&gt;
##Proactive UICC: SET FRAMES (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: GET FRAMES STATUS (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##MMS notification download (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Alpha Identifier in REFRESH command supported by terminal&lt;br /&gt;
##Geographical Location Reporting (if class &amp;quot;n&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (MEID)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (NMR(UTRAN))&lt;br /&gt;
##USSD Data download and application mode&lt;br /&gt;
#Twenty fourth byte for class &amp;quot;i&amp;quot;:&lt;br /&gt;
##b1-b4 - Maximum number of frames supported (including frames created in existing frames)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-fifth byte (Event driven information extensions):&lt;br /&gt;
##Event: Browsing status&lt;br /&gt;
##Event: MMS Transfer status (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Event: Frame Parameters changed (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##Event: I-WLAN Access status (if class &amp;quot;e&amp;quot; is supported)&lt;br /&gt;
##Event Network Rejection&lt;br /&gt;
##Event: HCI connectivity event (i.e. class &amp;quot;m&amp;quot; is supported)&lt;br /&gt;
##Reserved by 3GPP (E-UTRAN support in Event Network Rejection)&lt;br /&gt;
##Multiple access technologies supported in Event&lt;br /&gt;
##Access Technology Change and PROVIDE LOCAL INFORMATION &amp;lt;br&amp;gt;If bit &amp;quot;Multiple access technologies supported&amp;quot; is set to 1, it applies to the Event Access Technology Change if supported and all relevant modes of proactive command PROVIDE  LOCAL INFORMATION that are supported.&lt;br /&gt;
#Twenty-sixth byte (Event driven information extensions):&lt;br /&gt;
##RFU, bit = 0 (for future event indication)&lt;br /&gt;
#Twenty-seventh byte (Event driven information extensions):&lt;br /&gt;
##RFU, bit = 0 (for future event indication)&lt;br /&gt;
#Twenty-eighth byte (Text attributes):&lt;br /&gt;
##Alignment left supported by Terminal&lt;br /&gt;
##Alignment centre supported by Terminal&lt;br /&gt;
##Alignment right supported by Terminal&lt;br /&gt;
##Font size normal supported by Terminal&lt;br /&gt;
##Font size large supported by Terminal&lt;br /&gt;
##Font size small supported by Terminal&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-ninth byte (Text attributes):&lt;br /&gt;
##Style normal supported by Terminal&lt;br /&gt;
##Style bold supported by Terminal&lt;br /&gt;
##Style italic supported by Terminal&lt;br /&gt;
##Style underlined supported by Terminal&lt;br /&gt;
##Style strikethrough supported by Terminal&lt;br /&gt;
##Style text foreground colour supported by Terminal&lt;br /&gt;
##Style text background colour supported by Terminal&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Thirtieth byte:&lt;br /&gt;
##I-WLAN bearer support (if class &amp;quot;e&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (WSID of the current I-WLAN connection)&lt;br /&gt;
##TERMINAL APPLICATIONS (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##Steering of Roaming REFRESH support&lt;br /&gt;
##Proactive UICC: ACTIVATE (i.e class &amp;quot;l&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: GEOGRAPHICAL LOCATION REQUEST (if class &amp;quot;n&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Broadcast Network Information) (i.e. class &amp;quot;o&amp;quot; is supported)&lt;br /&gt;
##Steering of Roaming for I-WLAN REFRESH support&lt;br /&gt;
&lt;br /&gt;
====Values====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center;&amp;quot;&lt;br /&gt;
|Phone Type||B1||B2||B3||B4||B5||B6||B7||B8||B9||B10||B11||B12||B13||B14||B15||B16||B17||B18||B19||B20||B21||B22||B23||B24||B25||B26||B27||B28||B29||B30&lt;br /&gt;
|-&lt;br /&gt;
|Samsung Galaxy Express||ff||ff||ff||ff||7f||9d||00||df||bf||00||00||1f||e2||00||00||00||c3||6b||00||07||00||00||40||00||50||00||00||00||00||08&lt;br /&gt;
|-&lt;br /&gt;
|Samsung Galaxy Note 3||ff||ff||ff||ff||7f||9d||00||df||bf||00||00||1f||e2||00||00||00||c3||6b||00||07||00||00||40||00||50||00||00||00||00||08&lt;br /&gt;
|-&lt;br /&gt;
|HTC One X+||ff||ff||ff||ff||7f||1d||00||df||b7||03||02||1f||22||00||00||00||83||00||00||00||00||00||40||10||00||00||00||00||00||00&lt;br /&gt;
|-&lt;br /&gt;
|IPhone 4||ff||ff||ff||ff||7f||91||00||df||bf||00||00||00||00||00||00||00||00||f0||00||03||00||00||60||00||50||00||00||00||00||00&lt;br /&gt;
|-&lt;br /&gt;
|Nokia E72||ff||ff||ff||ff||7f||1d||00||df||bf||00||00||17||e2||05||0f||00||03||09||00||00||00||00||00||00||00||00||00||00||00||00&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Andrei</name></author>	</entry>

	<entry>
		<id>https://ss7api.null.ro/index.php/SIM_Cards</id>
		<title>SIM Cards</title>
		<link rel="alternate" type="text/html" href="https://ss7api.null.ro/index.php/SIM_Cards"/>
				<updated>2014-03-06T09:18:26Z</updated>
		
		<summary type="html">&lt;p&gt;Andrei: /* SMS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
===SIM Events===&lt;br /&gt;
&lt;br /&gt;
====Call Related Events and Requests====&lt;br /&gt;
The following events are received by the SIM card when a call is made.&lt;br /&gt;
*Standard: Details can be found in standard TS 31.111&lt;br /&gt;
*Terminal Class: This events should work in all terminals.&lt;br /&gt;
*Status: Tests were made successfully for Mobile Originating Calls&lt;br /&gt;
*Events:&amp;lt;br&amp;gt;The SIM is notified on the following events:&lt;br /&gt;
**Mobile Originating Call Initiated&lt;br /&gt;
**Mobile Originating SMS Initiated&lt;br /&gt;
**Mobile Originating USSD Initiated&lt;br /&gt;
**Mobile Originating SS Initiated&amp;lt;br&amp;gt;On the events above, the 'address' and 'subaddress' parameters can be altered.&lt;br /&gt;
*Notifications:&amp;lt;br&amp;gt;We can receive notifications for the following events. NOTE: We can not alter the event flow. Eg. We can not keep the call alive if we received call terminated event.&lt;br /&gt;
**Call Connected&lt;br /&gt;
**Call Terminated&lt;br /&gt;
*Requests - We can make the following requests:&lt;br /&gt;
**Set Up Call&lt;br /&gt;
**Send DTMF&lt;br /&gt;
*Parameters:&lt;br /&gt;
**Address&amp;lt;br&amp;gt;The called party address. Details on TS 31.111 chapter 8.1&lt;br /&gt;
**Subaddress&amp;lt;br&amp;gt;The called party subaddress. Details on TS 31.111 chapter  8.3&lt;br /&gt;
&lt;br /&gt;
====Browsing====&lt;br /&gt;
Open a SIM provided URL in phone defaults browser.&lt;br /&gt;
*Standard: Details can be fond in TS 102 223.&lt;br /&gt;
*Terminal: This should work in a class C terminal.&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&amp;lt;br&amp;gt;We are notified when one of the following events occures:&lt;br /&gt;
**Status&amp;lt;br&amp;gt;Received when the browser receives a distant error from the network.&lt;br /&gt;
**Terminated&amp;lt;br&amp;gt;Received when the browser is terminated.&lt;br /&gt;
*Requests:&lt;br /&gt;
**Lunch Browser&amp;lt;br&amp;gt;Ask a terminal to open a browser with the provided URL.&lt;br /&gt;
&lt;br /&gt;
====Access Technology====&lt;br /&gt;
Notification sent from the phone to inform about the access technology 2g/3g&lt;br /&gt;
*Standard Details can be found in TS 102 223&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Changed&amp;lt;br&amp;gt;The access technology has changed from 2g/3g.&lt;br /&gt;
&lt;br /&gt;
====Card Reader====&lt;br /&gt;
Get events and perform actions on an additional card reader, &lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Terminal Class: A&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Status&amp;lt;br&amp;gt;Notification that a card was inserted or removed; or a card reader is available or unavailable.&lt;br /&gt;
*Requests:&lt;br /&gt;
**Power ON Card&amp;lt;br&amp;gt;Start a session with an additional card.&lt;br /&gt;
**Power OFF Card&amp;lt;br&amp;gt;Stop a session with an additional card.&lt;br /&gt;
**Perform Card APDU&amp;lt;br&amp;gt;Send an APDU command to an additional card.&lt;br /&gt;
**Get Reader Status&amp;lt;br&amp;gt;Request to the terminal to provide additional information about additional card readers.&lt;br /&gt;
&lt;br /&gt;
====Data====&lt;br /&gt;
The following events and requests are available for data exchange.&lt;br /&gt;
*Standard: more documentation can be found in TS 102 223&lt;br /&gt;
*Status: In testing but no compatible device found!&lt;br /&gt;
*Terminal class E&lt;br /&gt;
*Events:&lt;br /&gt;
**Data available&amp;lt;br&amp;gt;Notification from the terminal that data has arrived from the network.&lt;br /&gt;
**Channel Status&amp;lt;br&amp;gt;Notification from the terminal that the channel status is changed.&lt;br /&gt;
*Requests&lt;br /&gt;
**Open Channel&amp;lt;br&amp;gt;Request to open a channel.&lt;br /&gt;
**Send Data&amp;lt;br&amp;gt;Request to send data on a open channel.&lt;br /&gt;
**Receive Data&amp;lt;br&amp;gt;Request to receive data on a open channel.&lt;br /&gt;
**Close Channel&amp;lt;br&amp;gt;Request to close a open channel.&lt;br /&gt;
&lt;br /&gt;
====User Interface====&lt;br /&gt;
The following events and request are related to user interface.&lt;br /&gt;
*Standard details can be found in standard TS 102 223&lt;br /&gt;
*Status: Most of them were tested.&lt;br /&gt;
*Events:&lt;br /&gt;
**Display Parameter Change&amp;lt;br&amp;gt;Notification from the terminal when the screen is resized.&lt;br /&gt;
**Frames Information Changed&amp;lt;br&amp;gt;Notification from the terminal when the frames are resized.&amp;lt;br&amp;gt;Requires terminal class I.&lt;br /&gt;
**Idle screen available&amp;lt;br&amp;gt;Notification from the terminal that the screen is idle.&lt;br /&gt;
**User activity&amp;lt;br&amp;gt;Notification from the terminal when the the user is interacting with the terminal.&amp;lt;br&amp;gt;This event is received only once after it was requested.&lt;br /&gt;
**Menu Selection&amp;lt;br&amp;gt;Notification from the terminal when the user has selected a menu item.&lt;br /&gt;
**Menu Selection Help Request&amp;lt;br&amp;gt;Notification from the terminal when the user requested help information on a menu.&lt;br /&gt;
*Requests:&lt;br /&gt;
**Get Input&amp;lt;br&amp;gt;Prompt the user to insert a text.&lt;br /&gt;
**Get InKey&amp;lt;br&amp;gt;Prompt the user to insert a key.&lt;br /&gt;
**Display Text&amp;lt;br&amp;gt;Prompt a text to the user.&lt;br /&gt;
**Set Up Menu&amp;lt;br&amp;gt;Prompt a menu to the user.&lt;br /&gt;
**Select Item&amp;lt;br&amp;gt;Provide a list of options to the user and instruct him to select one.&lt;br /&gt;
**Set Up Idle Mode Text&amp;lt;br&amp;gt;Instruct the terminal to show the provided text when it is in idle mode.&lt;br /&gt;
**Set Frames&amp;lt;br&amp;gt;Set the number of frames in which the terminal should devide its screen.&amp;lt;br&amp;gt;Requires terminal class I&lt;br /&gt;
**Get Frame Status&amp;lt;br&amp;gt;Get the parameters of a frame.&amp;lt;br&amp;gt;Requires terminal class I&lt;br /&gt;
&lt;br /&gt;
====SMS====&lt;br /&gt;
SMS related procedures.&lt;br /&gt;
*Standard details can be found in standard TS 131 111&lt;br /&gt;
*Status: Not tested yet&lt;br /&gt;
*Events:&amp;lt;br&amp;gt; Only OTA SMS are sent by the terminal to the SIM. Mobile Terminated SMS can not be intercepted by the SIM card.&lt;br /&gt;
**SMS-Point to Point Data Download unformatted&lt;br /&gt;
**SMS-Point to Point Data Download formatted&lt;br /&gt;
**SMS-Cell Broadcast Data Download formatted&lt;br /&gt;
**SMS-Cell Broadcast Data Download unformatted&lt;br /&gt;
*Requests:&lt;br /&gt;
**Send Short Message&lt;br /&gt;
*Parameters&lt;br /&gt;
**Address&amp;lt;br&amp;gt;The destination address.&lt;br /&gt;
**SMS TPDU&lt;br /&gt;
&lt;br /&gt;
====SS====&lt;br /&gt;
*Standard TS 131 111&lt;br /&gt;
*Terminal class P for USSD Data Download&lt;br /&gt;
*Status: Send USSD tested&lt;br /&gt;
*Events:&lt;br /&gt;
**USSD Data Download formatted&lt;br /&gt;
**USSD Data Download unformatted&lt;br /&gt;
*Requests:&lt;br /&gt;
**Send SS&lt;br /&gt;
**Send USSD&lt;br /&gt;
*Parameters&lt;br /&gt;
**SS String&lt;br /&gt;
**USSD String&lt;br /&gt;
NOTE: If the USSD session is initiated form SIM card than only the last response from the network is passed to the SIM.&lt;br /&gt;
&lt;br /&gt;
====IMS====&lt;br /&gt;
*Standard TS 131 111&lt;br /&gt;
*Terminal class E + T&lt;br /&gt;
*Events&lt;br /&gt;
**Download IMS Registration&lt;br /&gt;
**Download Incoming IMS Data&lt;br /&gt;
*Parameters&lt;br /&gt;
**IARI&lt;br /&gt;
**IMPU List&lt;br /&gt;
**IMS status code&lt;br /&gt;
&lt;br /&gt;
====Terminal====&lt;br /&gt;
*Standard TS 102 223 + TS 131 111&lt;br /&gt;
*Events&lt;br /&gt;
**Location Status&amp;lt;br&amp;gt;Status: tested&amp;lt;br&amp;gt;Parameters:&lt;br /&gt;
***Location Status TS 102.223 8.27&lt;br /&gt;
***Location Information TS 102.223 8.19&lt;br /&gt;
**Language Selection&lt;br /&gt;
**Profile Download&lt;br /&gt;
**Network Reject&lt;br /&gt;
**Timer expiration&lt;br /&gt;
*Requests&lt;br /&gt;
**Provide Local Information&lt;br /&gt;
**Language Notification&lt;br /&gt;
**Geographical Location Request&amp;lt;br&amp;gt;Terminal Type N&lt;br /&gt;
**More Time&amp;lt;br&amp;gt;Request to terminal for more processing time. &lt;br /&gt;
**Refresh&amp;lt;br&amp;gt;Request to terminal to reinitialize SIM card.&lt;br /&gt;
**Timer Management&amp;lt;br&amp;gt;SIM timers&lt;br /&gt;
&lt;br /&gt;
====Service====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: not tested&lt;br /&gt;
*Terminal class F&lt;br /&gt;
*Requests:&lt;br /&gt;
**Declare Service&lt;br /&gt;
**Search Service&lt;br /&gt;
**Get Service Information&lt;br /&gt;
&lt;br /&gt;
====MMS====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: not tested&lt;br /&gt;
*Terminal class J&lt;br /&gt;
*Requests:&lt;br /&gt;
**Retreive MMS&lt;br /&gt;
**Submit MMS&lt;br /&gt;
**Display MMS&lt;br /&gt;
&lt;br /&gt;
===Card File System===&lt;br /&gt;
&lt;br /&gt;
====USIM File System====&lt;br /&gt;
Extracted from standard TS 131.102.&lt;br /&gt;
*Language Indication&lt;br /&gt;
*IMSI&lt;br /&gt;
*Ciphering and Integrity Keys&lt;br /&gt;
*Ciphering and Integrity Keys for Packet Switched domain&lt;br /&gt;
*User controlled PLMN selector with Access Technology&lt;br /&gt;
*Higher Priority PLMN search period&lt;br /&gt;
*ACM maximum value&lt;br /&gt;
*USIM Service Table&lt;br /&gt;
*Accumulated Call Meter&lt;br /&gt;
*Group Identifier Level 1&lt;br /&gt;
*Group Identifier Level 2&lt;br /&gt;
*Service Provider Name&lt;br /&gt;
*Price per Unit and Currency Table&lt;br /&gt;
*Cell Broadcast Message identifier selection&lt;br /&gt;
*Access Control Class&lt;br /&gt;
*Forbidden PLMNs&lt;br /&gt;
*Location Information&lt;br /&gt;
*Administrative Data&lt;br /&gt;
*Cell Broadcast Message Identifier for Data Download&lt;br /&gt;
*Emergency Call Codes&lt;br /&gt;
*Cell Broadcast Message Identifier Range selection&lt;br /&gt;
*Packet Switched location information&lt;br /&gt;
*Fixed Dialling Numbers&lt;br /&gt;
*Short messages&lt;br /&gt;
*MSISDN&lt;br /&gt;
*Short message service parameters&lt;br /&gt;
*SMS status&lt;br /&gt;
*Service Dialling Numbers&lt;br /&gt;
*Extension2&lt;br /&gt;
*Extension3&lt;br /&gt;
*Short message status reports&lt;br /&gt;
*Incoming Call Information&lt;br /&gt;
*Outgoing Call Information&lt;br /&gt;
*Incoming Call Timer&lt;br /&gt;
*Outgoing Call Timer&lt;br /&gt;
*Extension5&lt;br /&gt;
*Capability Configuration Parameters 2&lt;br /&gt;
*enhanced Multi Level Precedence and Pre-emption&lt;br /&gt;
*Automatic Answer for eMLPP Service&lt;br /&gt;
*Key for hidden phone book entries&lt;br /&gt;
*Barred Dialling Numbers&lt;br /&gt;
*Extension4&lt;br /&gt;
*Comparison Method Information&lt;br /&gt;
*Enabled Services Table&lt;br /&gt;
*Access Point Name Control List&lt;br /&gt;
*Depersonalisation Control Keys&lt;br /&gt;
*Co-operative Network List&lt;br /&gt;
*Initialisation values for Hyperframe number&lt;br /&gt;
*Maximum value of START&lt;br /&gt;
*Operator controlled PLMN selector with Access Technology&lt;br /&gt;
*HPLMN selector with Access Technology&lt;br /&gt;
*Access Rule Reference&lt;br /&gt;
*Network Parameters&lt;br /&gt;
*PLMN Network Name&lt;br /&gt;
*Operator PLMN List&lt;br /&gt;
*Mailbox Dialling Numbers&lt;br /&gt;
*Extension6&lt;br /&gt;
*Mailbox Identifier&lt;br /&gt;
*Message Waiting Indication Status&lt;br /&gt;
*Call Forwarding Indication Status&lt;br /&gt;
*Extension7&lt;br /&gt;
*Service Provider Display Information&lt;br /&gt;
*MMS Notification&lt;br /&gt;
*Extension 8&lt;br /&gt;
*MMS Issuer Connectivity Parameters&lt;br /&gt;
*MMS User Preferences&lt;br /&gt;
*MMS User Connectivity Parameters&lt;br /&gt;
*Network's Indication of Alerting&lt;br /&gt;
*Voice Group Call Service&lt;br /&gt;
*Voice Group Call Service Status&lt;br /&gt;
*Voice Broadcast Service&lt;br /&gt;
*Voice Broadcast Service Status&lt;br /&gt;
&lt;br /&gt;
===Terminal profile===&lt;br /&gt;
====Description====&lt;br /&gt;
The terminal can be interrogated about which functions it supports.&lt;br /&gt;
#First byte (Download):&lt;br /&gt;
##Profile download&lt;br /&gt;
##SMS-PP data download&lt;br /&gt;
##Cell Broadcast data download)&lt;br /&gt;
##Menu selection&lt;br /&gt;
##SMS-PP data download&lt;br /&gt;
##Timer expiration&lt;br /&gt;
##USSD string data object support in Call Control by USIM&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
#Second byte (Other):&lt;br /&gt;
##Command result&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
##Call Control by NAA &lt;br /&gt;
##MO short message control support&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
##UCS2 Entry supported&lt;br /&gt;
##UCS2 Display supported&lt;br /&gt;
##Display Text&lt;br /&gt;
#Third byte (Proactive UICC):&lt;br /&gt;
##DISPLAY TEXT&lt;br /&gt;
##GET INKEY&lt;br /&gt;
##GET INPUT&lt;br /&gt;
##MORE TIME&lt;br /&gt;
##PLAY TONE&lt;br /&gt;
##POLL INTERVAL&lt;br /&gt;
##POLLING OFF&lt;br /&gt;
##REFRESH&lt;br /&gt;
#Fourth byte (Proactive UICC):&lt;br /&gt;
##Proactive UICC: SELECT ITEM&lt;br /&gt;
##Proactive UICC: SEND SHORT MESSAGE with 3GPP-SMS-TPDU&lt;br /&gt;
##Proactive UICC: SEND SS&lt;br /&gt;
##Proactive UICC:SEND USSD&lt;br /&gt;
##Proactive UICC: SET UP CALL&lt;br /&gt;
##Proactive UICC: SET UP MENU&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (MCC, MNC,LAC, Cell ID &amp;amp; IMEI)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (NMR)&lt;br /&gt;
#Fifth byte (Event driven information):&lt;br /&gt;
##Proactive UICC: SET UP EVENT LIST&lt;br /&gt;
##Event: MT call&lt;br /&gt;
##Event: Call connected&lt;br /&gt;
##Event: Call disconnected&lt;br /&gt;
##Event: Location status&lt;br /&gt;
##Event: User activity&lt;br /&gt;
##Event: Idle screen available&lt;br /&gt;
##Event: Card reader status&lt;br /&gt;
#Sixth byte (Event driven information extensions):&lt;br /&gt;
##Language selection&lt;br /&gt;
##Browser Termination&lt;br /&gt;
##Data available&lt;br /&gt;
##Channel status&lt;br /&gt;
##Access Technology Change&lt;br /&gt;
##Display parameters changed&lt;br /&gt;
##Local Connection&lt;br /&gt;
##Network Search Mode Change&lt;br /&gt;
#Seventh byte (Multiple card proactive commands) for class &amp;quot;a&amp;quot;:&lt;br /&gt;
##POWER ON CARD&lt;br /&gt;
##POWER OFF CARD&lt;br /&gt;
##PERFORM CARD APDU&lt;br /&gt;
##GET READER STATUS (Card reader status)&lt;br /&gt;
##GET READER STATUS (Card reader Identifier)&lt;br /&gt;
##RFU&lt;br /&gt;
#Eighth byte (Proactive UICC):&lt;br /&gt;
##Proactive UICC: TIMER MANAGEMENT (start, stop)&lt;br /&gt;
##Proactive UICC: TIMER MANAGEMENT (get current value)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (date, time and time zone)&lt;br /&gt;
##GET INKEY&lt;br /&gt;
##SET UP IDLE MODE TEXT&lt;br /&gt;
##RUN AT COMMAND (i.e. class &amp;quot;b&amp;quot; is supported)&lt;br /&gt;
##SETUP CALL&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
#Ninth byte:&lt;br /&gt;
##DISPLAY TEXT&lt;br /&gt;
##SEND DTMF command&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (language)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION, Timing Advance&lt;br /&gt;
##Proactive UICC: LANGUAGE NOTIFICATION&lt;br /&gt;
##Proactive UICC: LAUNCH BROWSER&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Access Technology)&lt;br /&gt;
#Tenth byte (Soft keys support) for class &amp;quot;d&amp;quot;:&lt;br /&gt;
##Soft keys support for SELECT ITEM&lt;br /&gt;
##Soft Keys support for SET UP MENU&lt;br /&gt;
##RFU&lt;br /&gt;
#Eleventh byte (Soft keys information):&lt;br /&gt;
##Maximum number of soft keys available 'FF' value is reserved for future use&lt;br /&gt;
#Twelfth byte:&lt;br /&gt;
##OPEN CHANNEL&lt;br /&gt;
##CLOSE CHANNEL&lt;br /&gt;
##RECEIVE DATA&lt;br /&gt;
##SEND DATA&lt;br /&gt;
##GET CHANNEL STATUS&lt;br /&gt;
##SERVICE SEARCH&lt;br /&gt;
##GET SERVICE INFORMATION&lt;br /&gt;
##DECLARE SERVICE&lt;br /&gt;
#Thirteenth byte:&lt;br /&gt;
##CSD&lt;br /&gt;
##GPRS&lt;br /&gt;
##Bluetooth&lt;br /&gt;
##IrDA&lt;br /&gt;
##RS232&lt;br /&gt;
##b6,b7,b8 - Number of channels supported by terminal&lt;br /&gt;
#Fourteenth byte (Screen height):&lt;br /&gt;
##b1 - b4 - Number of characters supported down the terminal display as defined in clause 5.3.1&lt;br /&gt;
##No display capability (i.e class &amp;quot;ND&amp;quot; is indicated)&lt;br /&gt;
##No keypad available (i.e. class &amp;quot;NK&amp;quot; is indicated)&lt;br /&gt;
##Screen Sizing Parameters supported as defined inclause 5.3&lt;br /&gt;
#Fifteenth byte (Screen width):&lt;br /&gt;
##b1-b7 - Number of characters supported across the terminal display as defined in clause 5.3.2&lt;br /&gt;
##Variable size fonts&lt;br /&gt;
#Sixteenth byte (Screen effects):&lt;br /&gt;
##Display can be resized as defined in clause 5.3.3&lt;br /&gt;
##Text Wrapping supported as defined in clause 5.3.4&lt;br /&gt;
##Text Scrolling supported as defined in clause 5.3.5&lt;br /&gt;
##Text Attributes supported as defined in clause 5.3.7&lt;br /&gt;
##b5 - RFU&lt;br /&gt;
##b6 - b8 - Width reduction when in a menu as defined in clause 5.3.6&lt;br /&gt;
#Seventeenth byte:&lt;br /&gt;
##TCP, UICC in client mode, remote connection&lt;br /&gt;
##UDP, UICC in client mode, remote connection&lt;br /&gt;
##TCP, UICC in server mode&lt;br /&gt;
##TCP, UICC in client mode, local connection (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##UDP, UICC in client mode, local connection (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
##E-UTRAN (if class &amp;quot;e&amp;quot; issupported))&lt;br /&gt;
##HSDPA (if class &amp;quot;e&amp;quot; is supported))&lt;br /&gt;
#Eighteenth byte:&lt;br /&gt;
##Proactive UICC: DISPLAY TEXT (Variable Time out)&lt;br /&gt;
##Proactive UICC: GET INKEY (help is supported while waiting for immediate response or variable timeout)&lt;br /&gt;
##USB&lt;br /&gt;
##Proactive UICC: GET INKEY (Variable Timeout)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (ESN)&lt;br /&gt;
##Call control on GPRS&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (IMEISV)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Search Mode change)&lt;br /&gt;
#Nineteenth byte (reserved for TIA/EIA-136-C facilities [25]):&lt;br /&gt;
##Reserved by TIA/EIA-136 [25] (Protocol Version support)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twentieth byte (reserved for TIA/EIA/IS-820-A facilities [17]):&lt;br /&gt;
##Reserved by TIA/EIA/IS-820 [17]&lt;br /&gt;
#Twenty-first byte (Extended Launch Browser Capability) for class &amp;quot;c&amp;quot;:&lt;br /&gt;
##WML&lt;br /&gt;
##XHTML&lt;br /&gt;
##HTML&lt;br /&gt;
##CHTML&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-second byte:&lt;br /&gt;
##Support of UTRAN PS with extended parameters&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION(battery state), (i.e. class &amp;quot;g&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PLAY TONE (Melody tones and Themed tones supported)&lt;br /&gt;
##Multi-media Calls in SET UP CALL (if class h supported)&lt;br /&gt;
##Reserved by 3GPP (Toolkit-initiated GBA)&lt;br /&gt;
##Proactive UICC: RETRIEVE MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: SUBMIT MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: DISPLAY MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
#Twenty third byte:&lt;br /&gt;
##Proactive UICC: SET FRAMES (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: GET FRAMES STATUS (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##MMS notification download (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Alpha Identifier in REFRESH command supported by terminal&lt;br /&gt;
##Geographical Location Reporting (if class &amp;quot;n&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (MEID)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (NMR(UTRAN))&lt;br /&gt;
##USSD Data download and application mode&lt;br /&gt;
#Twenty fourth byte for class &amp;quot;i&amp;quot;:&lt;br /&gt;
##b1-b4 - Maximum number of frames supported (including frames created in existing frames)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-fifth byte (Event driven information extensions):&lt;br /&gt;
##Event: Browsing status&lt;br /&gt;
##Event: MMS Transfer status (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Event: Frame Parameters changed (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##Event: I-WLAN Access status (if class &amp;quot;e&amp;quot; is supported)&lt;br /&gt;
##Event Network Rejection&lt;br /&gt;
##Event: HCI connectivity event (i.e. class &amp;quot;m&amp;quot; is supported)&lt;br /&gt;
##Reserved by 3GPP (E-UTRAN support in Event Network Rejection)&lt;br /&gt;
##Multiple access technologies supported in Event&lt;br /&gt;
##Access Technology Change and PROVIDE LOCAL INFORMATION &amp;lt;br&amp;gt;If bit &amp;quot;Multiple access technologies supported&amp;quot; is set to 1, it applies to the Event Access Technology Change if supported and all relevant modes of proactive command PROVIDE  LOCAL INFORMATION that are supported.&lt;br /&gt;
#Twenty-sixth byte (Event driven information extensions):&lt;br /&gt;
##RFU, bit = 0 (for future event indication)&lt;br /&gt;
#Twenty-seventh byte (Event driven information extensions):&lt;br /&gt;
##RFU, bit = 0 (for future event indication)&lt;br /&gt;
#Twenty-eighth byte (Text attributes):&lt;br /&gt;
##Alignment left supported by Terminal&lt;br /&gt;
##Alignment centre supported by Terminal&lt;br /&gt;
##Alignment right supported by Terminal&lt;br /&gt;
##Font size normal supported by Terminal&lt;br /&gt;
##Font size large supported by Terminal&lt;br /&gt;
##Font size small supported by Terminal&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-ninth byte (Text attributes):&lt;br /&gt;
##Style normal supported by Terminal&lt;br /&gt;
##Style bold supported by Terminal&lt;br /&gt;
##Style italic supported by Terminal&lt;br /&gt;
##Style underlined supported by Terminal&lt;br /&gt;
##Style strikethrough supported by Terminal&lt;br /&gt;
##Style text foreground colour supported by Terminal&lt;br /&gt;
##Style text background colour supported by Terminal&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Thirtieth byte:&lt;br /&gt;
##I-WLAN bearer support (if class &amp;quot;e&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (WSID of the current I-WLAN connection)&lt;br /&gt;
##TERMINAL APPLICATIONS (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##Steering of Roaming REFRESH support&lt;br /&gt;
##Proactive UICC: ACTIVATE (i.e class &amp;quot;l&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: GEOGRAPHICAL LOCATION REQUEST (if class &amp;quot;n&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Broadcast Network Information) (i.e. class &amp;quot;o&amp;quot; is supported)&lt;br /&gt;
##Steering of Roaming for I-WLAN REFRESH support&lt;br /&gt;
&lt;br /&gt;
====Values====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center;&amp;quot;&lt;br /&gt;
|Phone Type||B1||B2||B3||B4||B5||B6||B7||B8||B9||B10||B11||B12||B13||B14||B15||B16||B17||B18||B19||B20||B21||B22||B23||B24||B25||B26||B27||B28||B29||B30&lt;br /&gt;
|-&lt;br /&gt;
|Samsung Galaxy Express||ff||ff||ff||ff||7f||9d||00||df||bf||00||00||1f||e2||00||00||00||c3||6b||00||07||00||00||40||00||50||00||00||00||00||08&lt;br /&gt;
|-&lt;br /&gt;
|Samsung Galaxy Note 3||ff||ff||ff||ff||7f||9d||00||df||bf||00||00||1f||e2||00||00||00||c3||6b||00||07||00||00||40||00||50||00||00||00||00||08&lt;br /&gt;
|-&lt;br /&gt;
|HTC One X+||ff||ff||ff||ff||7f||1d||00||df||b7||03||02||1f||22||00||00||00||83||00||00||00||00||00||40||10||00||00||00||00||00||00&lt;br /&gt;
|-&lt;br /&gt;
|IPhone 4||ff||ff||ff||ff||7f||91||00||df||bf||00||00||00||00||00||00||00||00||f0||00||03||00||00||60||00||50||00||00||00||00||00&lt;br /&gt;
|-&lt;br /&gt;
|Nokia E72||ff||ff||ff||ff||7f||1d||00||df||bf||00||00||17||e2||05||0f||00||03||09||00||00||00||00||00||00||00||00||00||00||00||00&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Andrei</name></author>	</entry>

	<entry>
		<id>https://ss7api.null.ro/index.php/SIM_Cards</id>
		<title>SIM Cards</title>
		<link rel="alternate" type="text/html" href="https://ss7api.null.ro/index.php/SIM_Cards"/>
				<updated>2014-03-06T09:13:55Z</updated>
		
		<summary type="html">&lt;p&gt;Andrei: /* SMS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
===SIM Events===&lt;br /&gt;
&lt;br /&gt;
====Call Related Events and Requests====&lt;br /&gt;
The following events are received by the SIM card when a call is made.&lt;br /&gt;
*Standard: Details can be found in standard TS 31.111&lt;br /&gt;
*Terminal Class: This events should work in all terminals.&lt;br /&gt;
*Status: Tests were made successfully for Mobile Originating Calls&lt;br /&gt;
*Events:&amp;lt;br&amp;gt;The SIM is notified on the following events:&lt;br /&gt;
**Mobile Originating Call Initiated&lt;br /&gt;
**Mobile Originating SMS Initiated&lt;br /&gt;
**Mobile Originating USSD Initiated&lt;br /&gt;
**Mobile Originating SS Initiated&amp;lt;br&amp;gt;On the events above, the 'address' and 'subaddress' parameters can be altered.&lt;br /&gt;
*Notifications:&amp;lt;br&amp;gt;We can receive notifications for the following events. NOTE: We can not alter the event flow. Eg. We can not keep the call alive if we received call terminated event.&lt;br /&gt;
**Call Connected&lt;br /&gt;
**Call Terminated&lt;br /&gt;
*Requests - We can make the following requests:&lt;br /&gt;
**Set Up Call&lt;br /&gt;
**Send DTMF&lt;br /&gt;
*Parameters:&lt;br /&gt;
**Address&amp;lt;br&amp;gt;The called party address. Details on TS 31.111 chapter 8.1&lt;br /&gt;
**Subaddress&amp;lt;br&amp;gt;The called party subaddress. Details on TS 31.111 chapter  8.3&lt;br /&gt;
&lt;br /&gt;
====Browsing====&lt;br /&gt;
Open a SIM provided URL in phone defaults browser.&lt;br /&gt;
*Standard: Details can be fond in TS 102 223.&lt;br /&gt;
*Terminal: This should work in a class C terminal.&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&amp;lt;br&amp;gt;We are notified when one of the following events occures:&lt;br /&gt;
**Status&amp;lt;br&amp;gt;Received when the browser receives a distant error from the network.&lt;br /&gt;
**Terminated&amp;lt;br&amp;gt;Received when the browser is terminated.&lt;br /&gt;
*Requests:&lt;br /&gt;
**Lunch Browser&amp;lt;br&amp;gt;Ask a terminal to open a browser with the provided URL.&lt;br /&gt;
&lt;br /&gt;
====Access Technology====&lt;br /&gt;
Notification sent from the phone to inform about the access technology 2g/3g&lt;br /&gt;
*Standard Details can be found in TS 102 223&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Changed&amp;lt;br&amp;gt;The access technology has changed from 2g/3g.&lt;br /&gt;
&lt;br /&gt;
====Card Reader====&lt;br /&gt;
Get events and perform actions on an additional card reader, &lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Terminal Class: A&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Status&amp;lt;br&amp;gt;Notification that a card was inserted or removed; or a card reader is available or unavailable.&lt;br /&gt;
*Requests:&lt;br /&gt;
**Power ON Card&amp;lt;br&amp;gt;Start a session with an additional card.&lt;br /&gt;
**Power OFF Card&amp;lt;br&amp;gt;Stop a session with an additional card.&lt;br /&gt;
**Perform Card APDU&amp;lt;br&amp;gt;Send an APDU command to an additional card.&lt;br /&gt;
**Get Reader Status&amp;lt;br&amp;gt;Request to the terminal to provide additional information about additional card readers.&lt;br /&gt;
&lt;br /&gt;
====Data====&lt;br /&gt;
The following events and requests are available for data exchange.&lt;br /&gt;
*Standard: more documentation can be found in TS 102 223&lt;br /&gt;
*Status: In testing but no compatible device found!&lt;br /&gt;
*Terminal class E&lt;br /&gt;
*Events:&lt;br /&gt;
**Data available&amp;lt;br&amp;gt;Notification from the terminal that data has arrived from the network.&lt;br /&gt;
**Channel Status&amp;lt;br&amp;gt;Notification from the terminal that the channel status is changed.&lt;br /&gt;
*Requests&lt;br /&gt;
**Open Channel&amp;lt;br&amp;gt;Request to open a channel.&lt;br /&gt;
**Send Data&amp;lt;br&amp;gt;Request to send data on a open channel.&lt;br /&gt;
**Receive Data&amp;lt;br&amp;gt;Request to receive data on a open channel.&lt;br /&gt;
**Close Channel&amp;lt;br&amp;gt;Request to close a open channel.&lt;br /&gt;
&lt;br /&gt;
====User Interface====&lt;br /&gt;
The following events and request are related to user interface.&lt;br /&gt;
*Standard details can be found in standard TS 102 223&lt;br /&gt;
*Status: Most of them were tested.&lt;br /&gt;
*Events:&lt;br /&gt;
**Display Parameter Change&amp;lt;br&amp;gt;Notification from the terminal when the screen is resized.&lt;br /&gt;
**Frames Information Changed&amp;lt;br&amp;gt;Notification from the terminal when the frames are resized.&amp;lt;br&amp;gt;Requires terminal class I.&lt;br /&gt;
**Idle screen available&amp;lt;br&amp;gt;Notification from the terminal that the screen is idle.&lt;br /&gt;
**User activity&amp;lt;br&amp;gt;Notification from the terminal when the the user is interacting with the terminal.&amp;lt;br&amp;gt;This event is received only once after it was requested.&lt;br /&gt;
**Menu Selection&amp;lt;br&amp;gt;Notification from the terminal when the user has selected a menu item.&lt;br /&gt;
**Menu Selection Help Request&amp;lt;br&amp;gt;Notification from the terminal when the user requested help information on a menu.&lt;br /&gt;
*Requests:&lt;br /&gt;
**Get Input&amp;lt;br&amp;gt;Prompt the user to insert a text.&lt;br /&gt;
**Get InKey&amp;lt;br&amp;gt;Prompt the user to insert a key.&lt;br /&gt;
**Display Text&amp;lt;br&amp;gt;Prompt a text to the user.&lt;br /&gt;
**Set Up Menu&amp;lt;br&amp;gt;Prompt a menu to the user.&lt;br /&gt;
**Select Item&amp;lt;br&amp;gt;Provide a list of options to the user and instruct him to select one.&lt;br /&gt;
**Set Up Idle Mode Text&amp;lt;br&amp;gt;Instruct the terminal to show the provided text when it is in idle mode.&lt;br /&gt;
**Set Frames&amp;lt;br&amp;gt;Set the number of frames in which the terminal should devide its screen.&amp;lt;br&amp;gt;Requires terminal class I&lt;br /&gt;
**Get Frame Status&amp;lt;br&amp;gt;Get the parameters of a frame.&amp;lt;br&amp;gt;Requires terminal class I&lt;br /&gt;
&lt;br /&gt;
====SMS====&lt;br /&gt;
&lt;br /&gt;
*Standard details can be found in standard TS 131 111&lt;br /&gt;
*Status: Not tested yet&lt;br /&gt;
*Events:&amp;lt;br&amp;gt; Only OTA SMS are sent by the terminal to the SIM.&lt;br /&gt;
**SMS-Point to Point Data Download unformatted&lt;br /&gt;
**SMS-Point to Point Data Download formatted&lt;br /&gt;
**SMS-Cell Broadcast Data Download formatted&lt;br /&gt;
**SMS-Cell Broadcast Data Download unformatted&lt;br /&gt;
*Requests:&lt;br /&gt;
**Send Short Message&lt;br /&gt;
*Parameters&lt;br /&gt;
**Address&amp;lt;br&amp;gt;The destination address.&lt;br /&gt;
**SMS TPDU&lt;br /&gt;
&lt;br /&gt;
====SS====&lt;br /&gt;
*Standard TS 131 111&lt;br /&gt;
*Terminal class P for USSD Data Download&lt;br /&gt;
*Status: Send USSD tested&lt;br /&gt;
*Events:&lt;br /&gt;
**USSD Data Download formatted&lt;br /&gt;
**USSD Data Download unformatted&lt;br /&gt;
*Requests:&lt;br /&gt;
**Send SS&lt;br /&gt;
**Send USSD&lt;br /&gt;
*Parameters&lt;br /&gt;
**SS String&lt;br /&gt;
**USSD String&lt;br /&gt;
NOTE: If the USSD session is initiated form SIM card than only the last response from the network is passed to the SIM.&lt;br /&gt;
&lt;br /&gt;
====IMS====&lt;br /&gt;
*Standard TS 131 111&lt;br /&gt;
*Terminal class E + T&lt;br /&gt;
*Events&lt;br /&gt;
**Download IMS Registration&lt;br /&gt;
**Download Incoming IMS Data&lt;br /&gt;
*Parameters&lt;br /&gt;
**IARI&lt;br /&gt;
**IMPU List&lt;br /&gt;
**IMS status code&lt;br /&gt;
&lt;br /&gt;
====Terminal====&lt;br /&gt;
*Standard TS 102 223 + TS 131 111&lt;br /&gt;
*Events&lt;br /&gt;
**Location Status&amp;lt;br&amp;gt;Status: tested&amp;lt;br&amp;gt;Parameters:&lt;br /&gt;
***Location Status TS 102.223 8.27&lt;br /&gt;
***Location Information TS 102.223 8.19&lt;br /&gt;
**Language Selection&lt;br /&gt;
**Profile Download&lt;br /&gt;
**Network Reject&lt;br /&gt;
**Timer expiration&lt;br /&gt;
*Requests&lt;br /&gt;
**Provide Local Information&lt;br /&gt;
**Language Notification&lt;br /&gt;
**Geographical Location Request&amp;lt;br&amp;gt;Terminal Type N&lt;br /&gt;
**More Time&amp;lt;br&amp;gt;Request to terminal for more processing time. &lt;br /&gt;
**Refresh&amp;lt;br&amp;gt;Request to terminal to reinitialize SIM card.&lt;br /&gt;
**Timer Management&amp;lt;br&amp;gt;SIM timers&lt;br /&gt;
&lt;br /&gt;
====Service====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: not tested&lt;br /&gt;
*Terminal class F&lt;br /&gt;
*Requests:&lt;br /&gt;
**Declare Service&lt;br /&gt;
**Search Service&lt;br /&gt;
**Get Service Information&lt;br /&gt;
&lt;br /&gt;
====MMS====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: not tested&lt;br /&gt;
*Terminal class J&lt;br /&gt;
*Requests:&lt;br /&gt;
**Retreive MMS&lt;br /&gt;
**Submit MMS&lt;br /&gt;
**Display MMS&lt;br /&gt;
&lt;br /&gt;
===Card File System===&lt;br /&gt;
&lt;br /&gt;
====USIM File System====&lt;br /&gt;
Extracted from standard TS 131.102.&lt;br /&gt;
*Language Indication&lt;br /&gt;
*IMSI&lt;br /&gt;
*Ciphering and Integrity Keys&lt;br /&gt;
*Ciphering and Integrity Keys for Packet Switched domain&lt;br /&gt;
*User controlled PLMN selector with Access Technology&lt;br /&gt;
*Higher Priority PLMN search period&lt;br /&gt;
*ACM maximum value&lt;br /&gt;
*USIM Service Table&lt;br /&gt;
*Accumulated Call Meter&lt;br /&gt;
*Group Identifier Level 1&lt;br /&gt;
*Group Identifier Level 2&lt;br /&gt;
*Service Provider Name&lt;br /&gt;
*Price per Unit and Currency Table&lt;br /&gt;
*Cell Broadcast Message identifier selection&lt;br /&gt;
*Access Control Class&lt;br /&gt;
*Forbidden PLMNs&lt;br /&gt;
*Location Information&lt;br /&gt;
*Administrative Data&lt;br /&gt;
*Cell Broadcast Message Identifier for Data Download&lt;br /&gt;
*Emergency Call Codes&lt;br /&gt;
*Cell Broadcast Message Identifier Range selection&lt;br /&gt;
*Packet Switched location information&lt;br /&gt;
*Fixed Dialling Numbers&lt;br /&gt;
*Short messages&lt;br /&gt;
*MSISDN&lt;br /&gt;
*Short message service parameters&lt;br /&gt;
*SMS status&lt;br /&gt;
*Service Dialling Numbers&lt;br /&gt;
*Extension2&lt;br /&gt;
*Extension3&lt;br /&gt;
*Short message status reports&lt;br /&gt;
*Incoming Call Information&lt;br /&gt;
*Outgoing Call Information&lt;br /&gt;
*Incoming Call Timer&lt;br /&gt;
*Outgoing Call Timer&lt;br /&gt;
*Extension5&lt;br /&gt;
*Capability Configuration Parameters 2&lt;br /&gt;
*enhanced Multi Level Precedence and Pre-emption&lt;br /&gt;
*Automatic Answer for eMLPP Service&lt;br /&gt;
*Key for hidden phone book entries&lt;br /&gt;
*Barred Dialling Numbers&lt;br /&gt;
*Extension4&lt;br /&gt;
*Comparison Method Information&lt;br /&gt;
*Enabled Services Table&lt;br /&gt;
*Access Point Name Control List&lt;br /&gt;
*Depersonalisation Control Keys&lt;br /&gt;
*Co-operative Network List&lt;br /&gt;
*Initialisation values for Hyperframe number&lt;br /&gt;
*Maximum value of START&lt;br /&gt;
*Operator controlled PLMN selector with Access Technology&lt;br /&gt;
*HPLMN selector with Access Technology&lt;br /&gt;
*Access Rule Reference&lt;br /&gt;
*Network Parameters&lt;br /&gt;
*PLMN Network Name&lt;br /&gt;
*Operator PLMN List&lt;br /&gt;
*Mailbox Dialling Numbers&lt;br /&gt;
*Extension6&lt;br /&gt;
*Mailbox Identifier&lt;br /&gt;
*Message Waiting Indication Status&lt;br /&gt;
*Call Forwarding Indication Status&lt;br /&gt;
*Extension7&lt;br /&gt;
*Service Provider Display Information&lt;br /&gt;
*MMS Notification&lt;br /&gt;
*Extension 8&lt;br /&gt;
*MMS Issuer Connectivity Parameters&lt;br /&gt;
*MMS User Preferences&lt;br /&gt;
*MMS User Connectivity Parameters&lt;br /&gt;
*Network's Indication of Alerting&lt;br /&gt;
*Voice Group Call Service&lt;br /&gt;
*Voice Group Call Service Status&lt;br /&gt;
*Voice Broadcast Service&lt;br /&gt;
*Voice Broadcast Service Status&lt;br /&gt;
&lt;br /&gt;
===Terminal profile===&lt;br /&gt;
====Description====&lt;br /&gt;
The terminal can be interrogated about which functions it supports.&lt;br /&gt;
#First byte (Download):&lt;br /&gt;
##Profile download&lt;br /&gt;
##SMS-PP data download&lt;br /&gt;
##Cell Broadcast data download)&lt;br /&gt;
##Menu selection&lt;br /&gt;
##SMS-PP data download&lt;br /&gt;
##Timer expiration&lt;br /&gt;
##USSD string data object support in Call Control by USIM&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
#Second byte (Other):&lt;br /&gt;
##Command result&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
##Call Control by NAA &lt;br /&gt;
##MO short message control support&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
##UCS2 Entry supported&lt;br /&gt;
##UCS2 Display supported&lt;br /&gt;
##Display Text&lt;br /&gt;
#Third byte (Proactive UICC):&lt;br /&gt;
##DISPLAY TEXT&lt;br /&gt;
##GET INKEY&lt;br /&gt;
##GET INPUT&lt;br /&gt;
##MORE TIME&lt;br /&gt;
##PLAY TONE&lt;br /&gt;
##POLL INTERVAL&lt;br /&gt;
##POLLING OFF&lt;br /&gt;
##REFRESH&lt;br /&gt;
#Fourth byte (Proactive UICC):&lt;br /&gt;
##Proactive UICC: SELECT ITEM&lt;br /&gt;
##Proactive UICC: SEND SHORT MESSAGE with 3GPP-SMS-TPDU&lt;br /&gt;
##Proactive UICC: SEND SS&lt;br /&gt;
##Proactive UICC:SEND USSD&lt;br /&gt;
##Proactive UICC: SET UP CALL&lt;br /&gt;
##Proactive UICC: SET UP MENU&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (MCC, MNC,LAC, Cell ID &amp;amp; IMEI)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (NMR)&lt;br /&gt;
#Fifth byte (Event driven information):&lt;br /&gt;
##Proactive UICC: SET UP EVENT LIST&lt;br /&gt;
##Event: MT call&lt;br /&gt;
##Event: Call connected&lt;br /&gt;
##Event: Call disconnected&lt;br /&gt;
##Event: Location status&lt;br /&gt;
##Event: User activity&lt;br /&gt;
##Event: Idle screen available&lt;br /&gt;
##Event: Card reader status&lt;br /&gt;
#Sixth byte (Event driven information extensions):&lt;br /&gt;
##Language selection&lt;br /&gt;
##Browser Termination&lt;br /&gt;
##Data available&lt;br /&gt;
##Channel status&lt;br /&gt;
##Access Technology Change&lt;br /&gt;
##Display parameters changed&lt;br /&gt;
##Local Connection&lt;br /&gt;
##Network Search Mode Change&lt;br /&gt;
#Seventh byte (Multiple card proactive commands) for class &amp;quot;a&amp;quot;:&lt;br /&gt;
##POWER ON CARD&lt;br /&gt;
##POWER OFF CARD&lt;br /&gt;
##PERFORM CARD APDU&lt;br /&gt;
##GET READER STATUS (Card reader status)&lt;br /&gt;
##GET READER STATUS (Card reader Identifier)&lt;br /&gt;
##RFU&lt;br /&gt;
#Eighth byte (Proactive UICC):&lt;br /&gt;
##Proactive UICC: TIMER MANAGEMENT (start, stop)&lt;br /&gt;
##Proactive UICC: TIMER MANAGEMENT (get current value)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (date, time and time zone)&lt;br /&gt;
##GET INKEY&lt;br /&gt;
##SET UP IDLE MODE TEXT&lt;br /&gt;
##RUN AT COMMAND (i.e. class &amp;quot;b&amp;quot; is supported)&lt;br /&gt;
##SETUP CALL&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
#Ninth byte:&lt;br /&gt;
##DISPLAY TEXT&lt;br /&gt;
##SEND DTMF command&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (language)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION, Timing Advance&lt;br /&gt;
##Proactive UICC: LANGUAGE NOTIFICATION&lt;br /&gt;
##Proactive UICC: LAUNCH BROWSER&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Access Technology)&lt;br /&gt;
#Tenth byte (Soft keys support) for class &amp;quot;d&amp;quot;:&lt;br /&gt;
##Soft keys support for SELECT ITEM&lt;br /&gt;
##Soft Keys support for SET UP MENU&lt;br /&gt;
##RFU&lt;br /&gt;
#Eleventh byte (Soft keys information):&lt;br /&gt;
##Maximum number of soft keys available 'FF' value is reserved for future use&lt;br /&gt;
#Twelfth byte:&lt;br /&gt;
##OPEN CHANNEL&lt;br /&gt;
##CLOSE CHANNEL&lt;br /&gt;
##RECEIVE DATA&lt;br /&gt;
##SEND DATA&lt;br /&gt;
##GET CHANNEL STATUS&lt;br /&gt;
##SERVICE SEARCH&lt;br /&gt;
##GET SERVICE INFORMATION&lt;br /&gt;
##DECLARE SERVICE&lt;br /&gt;
#Thirteenth byte:&lt;br /&gt;
##CSD&lt;br /&gt;
##GPRS&lt;br /&gt;
##Bluetooth&lt;br /&gt;
##IrDA&lt;br /&gt;
##RS232&lt;br /&gt;
##b6,b7,b8 - Number of channels supported by terminal&lt;br /&gt;
#Fourteenth byte (Screen height):&lt;br /&gt;
##b1 - b4 - Number of characters supported down the terminal display as defined in clause 5.3.1&lt;br /&gt;
##No display capability (i.e class &amp;quot;ND&amp;quot; is indicated)&lt;br /&gt;
##No keypad available (i.e. class &amp;quot;NK&amp;quot; is indicated)&lt;br /&gt;
##Screen Sizing Parameters supported as defined inclause 5.3&lt;br /&gt;
#Fifteenth byte (Screen width):&lt;br /&gt;
##b1-b7 - Number of characters supported across the terminal display as defined in clause 5.3.2&lt;br /&gt;
##Variable size fonts&lt;br /&gt;
#Sixteenth byte (Screen effects):&lt;br /&gt;
##Display can be resized as defined in clause 5.3.3&lt;br /&gt;
##Text Wrapping supported as defined in clause 5.3.4&lt;br /&gt;
##Text Scrolling supported as defined in clause 5.3.5&lt;br /&gt;
##Text Attributes supported as defined in clause 5.3.7&lt;br /&gt;
##b5 - RFU&lt;br /&gt;
##b6 - b8 - Width reduction when in a menu as defined in clause 5.3.6&lt;br /&gt;
#Seventeenth byte:&lt;br /&gt;
##TCP, UICC in client mode, remote connection&lt;br /&gt;
##UDP, UICC in client mode, remote connection&lt;br /&gt;
##TCP, UICC in server mode&lt;br /&gt;
##TCP, UICC in client mode, local connection (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##UDP, UICC in client mode, local connection (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
##E-UTRAN (if class &amp;quot;e&amp;quot; issupported))&lt;br /&gt;
##HSDPA (if class &amp;quot;e&amp;quot; is supported))&lt;br /&gt;
#Eighteenth byte:&lt;br /&gt;
##Proactive UICC: DISPLAY TEXT (Variable Time out)&lt;br /&gt;
##Proactive UICC: GET INKEY (help is supported while waiting for immediate response or variable timeout)&lt;br /&gt;
##USB&lt;br /&gt;
##Proactive UICC: GET INKEY (Variable Timeout)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (ESN)&lt;br /&gt;
##Call control on GPRS&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (IMEISV)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Search Mode change)&lt;br /&gt;
#Nineteenth byte (reserved for TIA/EIA-136-C facilities [25]):&lt;br /&gt;
##Reserved by TIA/EIA-136 [25] (Protocol Version support)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twentieth byte (reserved for TIA/EIA/IS-820-A facilities [17]):&lt;br /&gt;
##Reserved by TIA/EIA/IS-820 [17]&lt;br /&gt;
#Twenty-first byte (Extended Launch Browser Capability) for class &amp;quot;c&amp;quot;:&lt;br /&gt;
##WML&lt;br /&gt;
##XHTML&lt;br /&gt;
##HTML&lt;br /&gt;
##CHTML&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-second byte:&lt;br /&gt;
##Support of UTRAN PS with extended parameters&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION(battery state), (i.e. class &amp;quot;g&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PLAY TONE (Melody tones and Themed tones supported)&lt;br /&gt;
##Multi-media Calls in SET UP CALL (if class h supported)&lt;br /&gt;
##Reserved by 3GPP (Toolkit-initiated GBA)&lt;br /&gt;
##Proactive UICC: RETRIEVE MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: SUBMIT MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: DISPLAY MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
#Twenty third byte:&lt;br /&gt;
##Proactive UICC: SET FRAMES (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: GET FRAMES STATUS (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##MMS notification download (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Alpha Identifier in REFRESH command supported by terminal&lt;br /&gt;
##Geographical Location Reporting (if class &amp;quot;n&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (MEID)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (NMR(UTRAN))&lt;br /&gt;
##USSD Data download and application mode&lt;br /&gt;
#Twenty fourth byte for class &amp;quot;i&amp;quot;:&lt;br /&gt;
##b1-b4 - Maximum number of frames supported (including frames created in existing frames)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-fifth byte (Event driven information extensions):&lt;br /&gt;
##Event: Browsing status&lt;br /&gt;
##Event: MMS Transfer status (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Event: Frame Parameters changed (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##Event: I-WLAN Access status (if class &amp;quot;e&amp;quot; is supported)&lt;br /&gt;
##Event Network Rejection&lt;br /&gt;
##Event: HCI connectivity event (i.e. class &amp;quot;m&amp;quot; is supported)&lt;br /&gt;
##Reserved by 3GPP (E-UTRAN support in Event Network Rejection)&lt;br /&gt;
##Multiple access technologies supported in Event&lt;br /&gt;
##Access Technology Change and PROVIDE LOCAL INFORMATION &amp;lt;br&amp;gt;If bit &amp;quot;Multiple access technologies supported&amp;quot; is set to 1, it applies to the Event Access Technology Change if supported and all relevant modes of proactive command PROVIDE  LOCAL INFORMATION that are supported.&lt;br /&gt;
#Twenty-sixth byte (Event driven information extensions):&lt;br /&gt;
##RFU, bit = 0 (for future event indication)&lt;br /&gt;
#Twenty-seventh byte (Event driven information extensions):&lt;br /&gt;
##RFU, bit = 0 (for future event indication)&lt;br /&gt;
#Twenty-eighth byte (Text attributes):&lt;br /&gt;
##Alignment left supported by Terminal&lt;br /&gt;
##Alignment centre supported by Terminal&lt;br /&gt;
##Alignment right supported by Terminal&lt;br /&gt;
##Font size normal supported by Terminal&lt;br /&gt;
##Font size large supported by Terminal&lt;br /&gt;
##Font size small supported by Terminal&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-ninth byte (Text attributes):&lt;br /&gt;
##Style normal supported by Terminal&lt;br /&gt;
##Style bold supported by Terminal&lt;br /&gt;
##Style italic supported by Terminal&lt;br /&gt;
##Style underlined supported by Terminal&lt;br /&gt;
##Style strikethrough supported by Terminal&lt;br /&gt;
##Style text foreground colour supported by Terminal&lt;br /&gt;
##Style text background colour supported by Terminal&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Thirtieth byte:&lt;br /&gt;
##I-WLAN bearer support (if class &amp;quot;e&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (WSID of the current I-WLAN connection)&lt;br /&gt;
##TERMINAL APPLICATIONS (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##Steering of Roaming REFRESH support&lt;br /&gt;
##Proactive UICC: ACTIVATE (i.e class &amp;quot;l&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: GEOGRAPHICAL LOCATION REQUEST (if class &amp;quot;n&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Broadcast Network Information) (i.e. class &amp;quot;o&amp;quot; is supported)&lt;br /&gt;
##Steering of Roaming for I-WLAN REFRESH support&lt;br /&gt;
&lt;br /&gt;
====Values====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center;&amp;quot;&lt;br /&gt;
|Phone Type||B1||B2||B3||B4||B5||B6||B7||B8||B9||B10||B11||B12||B13||B14||B15||B16||B17||B18||B19||B20||B21||B22||B23||B24||B25||B26||B27||B28||B29||B30&lt;br /&gt;
|-&lt;br /&gt;
|Samsung Galaxy Express||ff||ff||ff||ff||7f||9d||00||df||bf||00||00||1f||e2||00||00||00||c3||6b||00||07||00||00||40||00||50||00||00||00||00||08&lt;br /&gt;
|-&lt;br /&gt;
|Samsung Galaxy Note 3||ff||ff||ff||ff||7f||9d||00||df||bf||00||00||1f||e2||00||00||00||c3||6b||00||07||00||00||40||00||50||00||00||00||00||08&lt;br /&gt;
|-&lt;br /&gt;
|HTC One X+||ff||ff||ff||ff||7f||1d||00||df||b7||03||02||1f||22||00||00||00||83||00||00||00||00||00||40||10||00||00||00||00||00||00&lt;br /&gt;
|-&lt;br /&gt;
|IPhone 4||ff||ff||ff||ff||7f||91||00||df||bf||00||00||00||00||00||00||00||00||f0||00||03||00||00||60||00||50||00||00||00||00||00&lt;br /&gt;
|-&lt;br /&gt;
|Nokia E72||ff||ff||ff||ff||7f||1d||00||df||bf||00||00||17||e2||05||0f||00||03||09||00||00||00||00||00||00||00||00||00||00||00||00&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Andrei</name></author>	</entry>

	<entry>
		<id>https://ss7api.null.ro/index.php/SIM_Cards</id>
		<title>SIM Cards</title>
		<link rel="alternate" type="text/html" href="https://ss7api.null.ro/index.php/SIM_Cards"/>
				<updated>2014-03-06T09:02:28Z</updated>
		
		<summary type="html">&lt;p&gt;Andrei: /* SMS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
===SIM Events===&lt;br /&gt;
&lt;br /&gt;
====Call Related Events and Requests====&lt;br /&gt;
The following events are received by the SIM card when a call is made.&lt;br /&gt;
*Standard: Details can be found in standard TS 31.111&lt;br /&gt;
*Terminal Class: This events should work in all terminals.&lt;br /&gt;
*Status: Tests were made successfully for Mobile Originating Calls&lt;br /&gt;
*Events:&amp;lt;br&amp;gt;The SIM is notified on the following events:&lt;br /&gt;
**Mobile Originating Call Initiated&lt;br /&gt;
**Mobile Originating SMS Initiated&lt;br /&gt;
**Mobile Originating USSD Initiated&lt;br /&gt;
**Mobile Originating SS Initiated&amp;lt;br&amp;gt;On the events above, the 'address' and 'subaddress' parameters can be altered.&lt;br /&gt;
*Notifications:&amp;lt;br&amp;gt;We can receive notifications for the following events. NOTE: We can not alter the event flow. Eg. We can not keep the call alive if we received call terminated event.&lt;br /&gt;
**Call Connected&lt;br /&gt;
**Call Terminated&lt;br /&gt;
*Requests - We can make the following requests:&lt;br /&gt;
**Set Up Call&lt;br /&gt;
**Send DTMF&lt;br /&gt;
*Parameters:&lt;br /&gt;
**Address&amp;lt;br&amp;gt;The called party address. Details on TS 31.111 chapter 8.1&lt;br /&gt;
**Subaddress&amp;lt;br&amp;gt;The called party subaddress. Details on TS 31.111 chapter  8.3&lt;br /&gt;
&lt;br /&gt;
====Browsing====&lt;br /&gt;
Open a SIM provided URL in phone defaults browser.&lt;br /&gt;
*Standard: Details can be fond in TS 102 223.&lt;br /&gt;
*Terminal: This should work in a class C terminal.&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&amp;lt;br&amp;gt;We are notified when one of the following events occures:&lt;br /&gt;
**Status&amp;lt;br&amp;gt;Received when the browser receives a distant error from the network.&lt;br /&gt;
**Terminated&amp;lt;br&amp;gt;Received when the browser is terminated.&lt;br /&gt;
*Requests:&lt;br /&gt;
**Lunch Browser&amp;lt;br&amp;gt;Ask a terminal to open a browser with the provided URL.&lt;br /&gt;
&lt;br /&gt;
====Access Technology====&lt;br /&gt;
Notification sent from the phone to inform about the access technology 2g/3g&lt;br /&gt;
*Standard Details can be found in TS 102 223&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Changed&amp;lt;br&amp;gt;The access technology has changed from 2g/3g.&lt;br /&gt;
&lt;br /&gt;
====Card Reader====&lt;br /&gt;
Get events and perform actions on an additional card reader, &lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Terminal Class: A&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Status&amp;lt;br&amp;gt;Notification that a card was inserted or removed; or a card reader is available or unavailable.&lt;br /&gt;
*Requests:&lt;br /&gt;
**Power ON Card&amp;lt;br&amp;gt;Start a session with an additional card.&lt;br /&gt;
**Power OFF Card&amp;lt;br&amp;gt;Stop a session with an additional card.&lt;br /&gt;
**Perform Card APDU&amp;lt;br&amp;gt;Send an APDU command to an additional card.&lt;br /&gt;
**Get Reader Status&amp;lt;br&amp;gt;Request to the terminal to provide additional information about additional card readers.&lt;br /&gt;
&lt;br /&gt;
====Data====&lt;br /&gt;
The following events and requests are available for data exchange.&lt;br /&gt;
*Standard: more documentation can be found in TS 102 223&lt;br /&gt;
*Status: In testing but no compatible device found!&lt;br /&gt;
*Terminal class E&lt;br /&gt;
*Events:&lt;br /&gt;
**Data available&amp;lt;br&amp;gt;Notification from the terminal that data has arrived from the network.&lt;br /&gt;
**Channel Status&amp;lt;br&amp;gt;Notification from the terminal that the channel status is changed.&lt;br /&gt;
*Requests&lt;br /&gt;
**Open Channel&amp;lt;br&amp;gt;Request to open a channel.&lt;br /&gt;
**Send Data&amp;lt;br&amp;gt;Request to send data on a open channel.&lt;br /&gt;
**Receive Data&amp;lt;br&amp;gt;Request to receive data on a open channel.&lt;br /&gt;
**Close Channel&amp;lt;br&amp;gt;Request to close a open channel.&lt;br /&gt;
&lt;br /&gt;
====User Interface====&lt;br /&gt;
The following events and request are related to user interface.&lt;br /&gt;
*Standard details can be found in standard TS 102 223&lt;br /&gt;
*Status: Most of them were tested.&lt;br /&gt;
*Events:&lt;br /&gt;
**Display Parameter Change&amp;lt;br&amp;gt;Notification from the terminal when the screen is resized.&lt;br /&gt;
**Frames Information Changed&amp;lt;br&amp;gt;Notification from the terminal when the frames are resized.&amp;lt;br&amp;gt;Requires terminal class I.&lt;br /&gt;
**Idle screen available&amp;lt;br&amp;gt;Notification from the terminal that the screen is idle.&lt;br /&gt;
**User activity&amp;lt;br&amp;gt;Notification from the terminal when the the user is interacting with the terminal.&amp;lt;br&amp;gt;This event is received only once after it was requested.&lt;br /&gt;
**Menu Selection&amp;lt;br&amp;gt;Notification from the terminal when the user has selected a menu item.&lt;br /&gt;
**Menu Selection Help Request&amp;lt;br&amp;gt;Notification from the terminal when the user requested help information on a menu.&lt;br /&gt;
*Requests:&lt;br /&gt;
**Get Input&amp;lt;br&amp;gt;Prompt the user to insert a text.&lt;br /&gt;
**Get InKey&amp;lt;br&amp;gt;Prompt the user to insert a key.&lt;br /&gt;
**Display Text&amp;lt;br&amp;gt;Prompt a text to the user.&lt;br /&gt;
**Set Up Menu&amp;lt;br&amp;gt;Prompt a menu to the user.&lt;br /&gt;
**Select Item&amp;lt;br&amp;gt;Provide a list of options to the user and instruct him to select one.&lt;br /&gt;
**Set Up Idle Mode Text&amp;lt;br&amp;gt;Instruct the terminal to show the provided text when it is in idle mode.&lt;br /&gt;
**Set Frames&amp;lt;br&amp;gt;Set the number of frames in which the terminal should devide its screen.&amp;lt;br&amp;gt;Requires terminal class I&lt;br /&gt;
**Get Frame Status&amp;lt;br&amp;gt;Get the parameters of a frame.&amp;lt;br&amp;gt;Requires terminal class I&lt;br /&gt;
&lt;br /&gt;
====SMS====&lt;br /&gt;
*Standard details can be found in standard TS 131 111&lt;br /&gt;
*Status: Not tested yet&lt;br /&gt;
*Events:&amp;lt;br&amp;gt; Only OTA SMS are sent by the terminal to the SIM.&lt;br /&gt;
**SMS-Point to Point Data Download unformatted&lt;br /&gt;
**SMS-Point to Point Data Download formatted&lt;br /&gt;
**SMS-Cell Broadcast Data Download formatted&lt;br /&gt;
**SMS-Cell Broadcast Data Download unformatted&lt;br /&gt;
*Requests:&lt;br /&gt;
**Send Short Message&lt;br /&gt;
*Parameters&lt;br /&gt;
**Address&amp;lt;br&amp;gt;The destination address.&lt;br /&gt;
**SMS TPDU&lt;br /&gt;
&lt;br /&gt;
====SS====&lt;br /&gt;
*Standard TS 131 111&lt;br /&gt;
*Terminal class P for USSD Data Download&lt;br /&gt;
*Status: Send USSD tested&lt;br /&gt;
*Events:&lt;br /&gt;
**USSD Data Download formatted&lt;br /&gt;
**USSD Data Download unformatted&lt;br /&gt;
*Requests:&lt;br /&gt;
**Send SS&lt;br /&gt;
**Send USSD&lt;br /&gt;
*Parameters&lt;br /&gt;
**SS String&lt;br /&gt;
**USSD String&lt;br /&gt;
NOTE: If the USSD session is initiated form SIM card than only the last response from the network is passed to the SIM.&lt;br /&gt;
&lt;br /&gt;
====IMS====&lt;br /&gt;
*Standard TS 131 111&lt;br /&gt;
*Terminal class E + T&lt;br /&gt;
*Events&lt;br /&gt;
**Download IMS Registration&lt;br /&gt;
**Download Incoming IMS Data&lt;br /&gt;
*Parameters&lt;br /&gt;
**IARI&lt;br /&gt;
**IMPU List&lt;br /&gt;
**IMS status code&lt;br /&gt;
&lt;br /&gt;
====Terminal====&lt;br /&gt;
*Standard TS 102 223 + TS 131 111&lt;br /&gt;
*Events&lt;br /&gt;
**Location Status&amp;lt;br&amp;gt;Status: tested&amp;lt;br&amp;gt;Parameters:&lt;br /&gt;
***Location Status TS 102.223 8.27&lt;br /&gt;
***Location Information TS 102.223 8.19&lt;br /&gt;
**Language Selection&lt;br /&gt;
**Profile Download&lt;br /&gt;
**Network Reject&lt;br /&gt;
**Timer expiration&lt;br /&gt;
*Requests&lt;br /&gt;
**Provide Local Information&lt;br /&gt;
**Language Notification&lt;br /&gt;
**Geographical Location Request&amp;lt;br&amp;gt;Terminal Type N&lt;br /&gt;
**More Time&amp;lt;br&amp;gt;Request to terminal for more processing time. &lt;br /&gt;
**Refresh&amp;lt;br&amp;gt;Request to terminal to reinitialize SIM card.&lt;br /&gt;
**Timer Management&amp;lt;br&amp;gt;SIM timers&lt;br /&gt;
&lt;br /&gt;
====Service====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: not tested&lt;br /&gt;
*Terminal class F&lt;br /&gt;
*Requests:&lt;br /&gt;
**Declare Service&lt;br /&gt;
**Search Service&lt;br /&gt;
**Get Service Information&lt;br /&gt;
&lt;br /&gt;
====MMS====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: not tested&lt;br /&gt;
*Terminal class J&lt;br /&gt;
*Requests:&lt;br /&gt;
**Retreive MMS&lt;br /&gt;
**Submit MMS&lt;br /&gt;
**Display MMS&lt;br /&gt;
&lt;br /&gt;
===Card File System===&lt;br /&gt;
&lt;br /&gt;
====USIM File System====&lt;br /&gt;
Extracted from standard TS 131.102.&lt;br /&gt;
*Language Indication&lt;br /&gt;
*IMSI&lt;br /&gt;
*Ciphering and Integrity Keys&lt;br /&gt;
*Ciphering and Integrity Keys for Packet Switched domain&lt;br /&gt;
*User controlled PLMN selector with Access Technology&lt;br /&gt;
*Higher Priority PLMN search period&lt;br /&gt;
*ACM maximum value&lt;br /&gt;
*USIM Service Table&lt;br /&gt;
*Accumulated Call Meter&lt;br /&gt;
*Group Identifier Level 1&lt;br /&gt;
*Group Identifier Level 2&lt;br /&gt;
*Service Provider Name&lt;br /&gt;
*Price per Unit and Currency Table&lt;br /&gt;
*Cell Broadcast Message identifier selection&lt;br /&gt;
*Access Control Class&lt;br /&gt;
*Forbidden PLMNs&lt;br /&gt;
*Location Information&lt;br /&gt;
*Administrative Data&lt;br /&gt;
*Cell Broadcast Message Identifier for Data Download&lt;br /&gt;
*Emergency Call Codes&lt;br /&gt;
*Cell Broadcast Message Identifier Range selection&lt;br /&gt;
*Packet Switched location information&lt;br /&gt;
*Fixed Dialling Numbers&lt;br /&gt;
*Short messages&lt;br /&gt;
*MSISDN&lt;br /&gt;
*Short message service parameters&lt;br /&gt;
*SMS status&lt;br /&gt;
*Service Dialling Numbers&lt;br /&gt;
*Extension2&lt;br /&gt;
*Extension3&lt;br /&gt;
*Short message status reports&lt;br /&gt;
*Incoming Call Information&lt;br /&gt;
*Outgoing Call Information&lt;br /&gt;
*Incoming Call Timer&lt;br /&gt;
*Outgoing Call Timer&lt;br /&gt;
*Extension5&lt;br /&gt;
*Capability Configuration Parameters 2&lt;br /&gt;
*enhanced Multi Level Precedence and Pre-emption&lt;br /&gt;
*Automatic Answer for eMLPP Service&lt;br /&gt;
*Key for hidden phone book entries&lt;br /&gt;
*Barred Dialling Numbers&lt;br /&gt;
*Extension4&lt;br /&gt;
*Comparison Method Information&lt;br /&gt;
*Enabled Services Table&lt;br /&gt;
*Access Point Name Control List&lt;br /&gt;
*Depersonalisation Control Keys&lt;br /&gt;
*Co-operative Network List&lt;br /&gt;
*Initialisation values for Hyperframe number&lt;br /&gt;
*Maximum value of START&lt;br /&gt;
*Operator controlled PLMN selector with Access Technology&lt;br /&gt;
*HPLMN selector with Access Technology&lt;br /&gt;
*Access Rule Reference&lt;br /&gt;
*Network Parameters&lt;br /&gt;
*PLMN Network Name&lt;br /&gt;
*Operator PLMN List&lt;br /&gt;
*Mailbox Dialling Numbers&lt;br /&gt;
*Extension6&lt;br /&gt;
*Mailbox Identifier&lt;br /&gt;
*Message Waiting Indication Status&lt;br /&gt;
*Call Forwarding Indication Status&lt;br /&gt;
*Extension7&lt;br /&gt;
*Service Provider Display Information&lt;br /&gt;
*MMS Notification&lt;br /&gt;
*Extension 8&lt;br /&gt;
*MMS Issuer Connectivity Parameters&lt;br /&gt;
*MMS User Preferences&lt;br /&gt;
*MMS User Connectivity Parameters&lt;br /&gt;
*Network's Indication of Alerting&lt;br /&gt;
*Voice Group Call Service&lt;br /&gt;
*Voice Group Call Service Status&lt;br /&gt;
*Voice Broadcast Service&lt;br /&gt;
*Voice Broadcast Service Status&lt;br /&gt;
&lt;br /&gt;
===Terminal profile===&lt;br /&gt;
====Description====&lt;br /&gt;
The terminal can be interrogated about which functions it supports.&lt;br /&gt;
#First byte (Download):&lt;br /&gt;
##Profile download&lt;br /&gt;
##SMS-PP data download&lt;br /&gt;
##Cell Broadcast data download)&lt;br /&gt;
##Menu selection&lt;br /&gt;
##SMS-PP data download&lt;br /&gt;
##Timer expiration&lt;br /&gt;
##USSD string data object support in Call Control by USIM&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
#Second byte (Other):&lt;br /&gt;
##Command result&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
##Call Control by NAA &lt;br /&gt;
##MO short message control support&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
##UCS2 Entry supported&lt;br /&gt;
##UCS2 Display supported&lt;br /&gt;
##Display Text&lt;br /&gt;
#Third byte (Proactive UICC):&lt;br /&gt;
##DISPLAY TEXT&lt;br /&gt;
##GET INKEY&lt;br /&gt;
##GET INPUT&lt;br /&gt;
##MORE TIME&lt;br /&gt;
##PLAY TONE&lt;br /&gt;
##POLL INTERVAL&lt;br /&gt;
##POLLING OFF&lt;br /&gt;
##REFRESH&lt;br /&gt;
#Fourth byte (Proactive UICC):&lt;br /&gt;
##Proactive UICC: SELECT ITEM&lt;br /&gt;
##Proactive UICC: SEND SHORT MESSAGE with 3GPP-SMS-TPDU&lt;br /&gt;
##Proactive UICC: SEND SS&lt;br /&gt;
##Proactive UICC:SEND USSD&lt;br /&gt;
##Proactive UICC: SET UP CALL&lt;br /&gt;
##Proactive UICC: SET UP MENU&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (MCC, MNC,LAC, Cell ID &amp;amp; IMEI)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (NMR)&lt;br /&gt;
#Fifth byte (Event driven information):&lt;br /&gt;
##Proactive UICC: SET UP EVENT LIST&lt;br /&gt;
##Event: MT call&lt;br /&gt;
##Event: Call connected&lt;br /&gt;
##Event: Call disconnected&lt;br /&gt;
##Event: Location status&lt;br /&gt;
##Event: User activity&lt;br /&gt;
##Event: Idle screen available&lt;br /&gt;
##Event: Card reader status&lt;br /&gt;
#Sixth byte (Event driven information extensions):&lt;br /&gt;
##Language selection&lt;br /&gt;
##Browser Termination&lt;br /&gt;
##Data available&lt;br /&gt;
##Channel status&lt;br /&gt;
##Access Technology Change&lt;br /&gt;
##Display parameters changed&lt;br /&gt;
##Local Connection&lt;br /&gt;
##Network Search Mode Change&lt;br /&gt;
#Seventh byte (Multiple card proactive commands) for class &amp;quot;a&amp;quot;:&lt;br /&gt;
##POWER ON CARD&lt;br /&gt;
##POWER OFF CARD&lt;br /&gt;
##PERFORM CARD APDU&lt;br /&gt;
##GET READER STATUS (Card reader status)&lt;br /&gt;
##GET READER STATUS (Card reader Identifier)&lt;br /&gt;
##RFU&lt;br /&gt;
#Eighth byte (Proactive UICC):&lt;br /&gt;
##Proactive UICC: TIMER MANAGEMENT (start, stop)&lt;br /&gt;
##Proactive UICC: TIMER MANAGEMENT (get current value)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (date, time and time zone)&lt;br /&gt;
##GET INKEY&lt;br /&gt;
##SET UP IDLE MODE TEXT&lt;br /&gt;
##RUN AT COMMAND (i.e. class &amp;quot;b&amp;quot; is supported)&lt;br /&gt;
##SETUP CALL&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
#Ninth byte:&lt;br /&gt;
##DISPLAY TEXT&lt;br /&gt;
##SEND DTMF command&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (language)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION, Timing Advance&lt;br /&gt;
##Proactive UICC: LANGUAGE NOTIFICATION&lt;br /&gt;
##Proactive UICC: LAUNCH BROWSER&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Access Technology)&lt;br /&gt;
#Tenth byte (Soft keys support) for class &amp;quot;d&amp;quot;:&lt;br /&gt;
##Soft keys support for SELECT ITEM&lt;br /&gt;
##Soft Keys support for SET UP MENU&lt;br /&gt;
##RFU&lt;br /&gt;
#Eleventh byte (Soft keys information):&lt;br /&gt;
##Maximum number of soft keys available 'FF' value is reserved for future use&lt;br /&gt;
#Twelfth byte:&lt;br /&gt;
##OPEN CHANNEL&lt;br /&gt;
##CLOSE CHANNEL&lt;br /&gt;
##RECEIVE DATA&lt;br /&gt;
##SEND DATA&lt;br /&gt;
##GET CHANNEL STATUS&lt;br /&gt;
##SERVICE SEARCH&lt;br /&gt;
##GET SERVICE INFORMATION&lt;br /&gt;
##DECLARE SERVICE&lt;br /&gt;
#Thirteenth byte:&lt;br /&gt;
##CSD&lt;br /&gt;
##GPRS&lt;br /&gt;
##Bluetooth&lt;br /&gt;
##IrDA&lt;br /&gt;
##RS232&lt;br /&gt;
##b6,b7,b8 - Number of channels supported by terminal&lt;br /&gt;
#Fourteenth byte (Screen height):&lt;br /&gt;
##b1 - b4 - Number of characters supported down the terminal display as defined in clause 5.3.1&lt;br /&gt;
##No display capability (i.e class &amp;quot;ND&amp;quot; is indicated)&lt;br /&gt;
##No keypad available (i.e. class &amp;quot;NK&amp;quot; is indicated)&lt;br /&gt;
##Screen Sizing Parameters supported as defined inclause 5.3&lt;br /&gt;
#Fifteenth byte (Screen width):&lt;br /&gt;
##b1-b7 - Number of characters supported across the terminal display as defined in clause 5.3.2&lt;br /&gt;
##Variable size fonts&lt;br /&gt;
#Sixteenth byte (Screen effects):&lt;br /&gt;
##Display can be resized as defined in clause 5.3.3&lt;br /&gt;
##Text Wrapping supported as defined in clause 5.3.4&lt;br /&gt;
##Text Scrolling supported as defined in clause 5.3.5&lt;br /&gt;
##Text Attributes supported as defined in clause 5.3.7&lt;br /&gt;
##b5 - RFU&lt;br /&gt;
##b6 - b8 - Width reduction when in a menu as defined in clause 5.3.6&lt;br /&gt;
#Seventeenth byte:&lt;br /&gt;
##TCP, UICC in client mode, remote connection&lt;br /&gt;
##UDP, UICC in client mode, remote connection&lt;br /&gt;
##TCP, UICC in server mode&lt;br /&gt;
##TCP, UICC in client mode, local connection (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##UDP, UICC in client mode, local connection (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
##E-UTRAN (if class &amp;quot;e&amp;quot; issupported))&lt;br /&gt;
##HSDPA (if class &amp;quot;e&amp;quot; is supported))&lt;br /&gt;
#Eighteenth byte:&lt;br /&gt;
##Proactive UICC: DISPLAY TEXT (Variable Time out)&lt;br /&gt;
##Proactive UICC: GET INKEY (help is supported while waiting for immediate response or variable timeout)&lt;br /&gt;
##USB&lt;br /&gt;
##Proactive UICC: GET INKEY (Variable Timeout)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (ESN)&lt;br /&gt;
##Call control on GPRS&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (IMEISV)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Search Mode change)&lt;br /&gt;
#Nineteenth byte (reserved for TIA/EIA-136-C facilities [25]):&lt;br /&gt;
##Reserved by TIA/EIA-136 [25] (Protocol Version support)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twentieth byte (reserved for TIA/EIA/IS-820-A facilities [17]):&lt;br /&gt;
##Reserved by TIA/EIA/IS-820 [17]&lt;br /&gt;
#Twenty-first byte (Extended Launch Browser Capability) for class &amp;quot;c&amp;quot;:&lt;br /&gt;
##WML&lt;br /&gt;
##XHTML&lt;br /&gt;
##HTML&lt;br /&gt;
##CHTML&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-second byte:&lt;br /&gt;
##Support of UTRAN PS with extended parameters&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION(battery state), (i.e. class &amp;quot;g&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PLAY TONE (Melody tones and Themed tones supported)&lt;br /&gt;
##Multi-media Calls in SET UP CALL (if class h supported)&lt;br /&gt;
##Reserved by 3GPP (Toolkit-initiated GBA)&lt;br /&gt;
##Proactive UICC: RETRIEVE MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: SUBMIT MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: DISPLAY MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
#Twenty third byte:&lt;br /&gt;
##Proactive UICC: SET FRAMES (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: GET FRAMES STATUS (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##MMS notification download (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Alpha Identifier in REFRESH command supported by terminal&lt;br /&gt;
##Geographical Location Reporting (if class &amp;quot;n&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (MEID)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (NMR(UTRAN))&lt;br /&gt;
##USSD Data download and application mode&lt;br /&gt;
#Twenty fourth byte for class &amp;quot;i&amp;quot;:&lt;br /&gt;
##b1-b4 - Maximum number of frames supported (including frames created in existing frames)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-fifth byte (Event driven information extensions):&lt;br /&gt;
##Event: Browsing status&lt;br /&gt;
##Event: MMS Transfer status (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Event: Frame Parameters changed (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##Event: I-WLAN Access status (if class &amp;quot;e&amp;quot; is supported)&lt;br /&gt;
##Event Network Rejection&lt;br /&gt;
##Event: HCI connectivity event (i.e. class &amp;quot;m&amp;quot; is supported)&lt;br /&gt;
##Reserved by 3GPP (E-UTRAN support in Event Network Rejection)&lt;br /&gt;
##Multiple access technologies supported in Event&lt;br /&gt;
##Access Technology Change and PROVIDE LOCAL INFORMATION &amp;lt;br&amp;gt;If bit &amp;quot;Multiple access technologies supported&amp;quot; is set to 1, it applies to the Event Access Technology Change if supported and all relevant modes of proactive command PROVIDE  LOCAL INFORMATION that are supported.&lt;br /&gt;
#Twenty-sixth byte (Event driven information extensions):&lt;br /&gt;
##RFU, bit = 0 (for future event indication)&lt;br /&gt;
#Twenty-seventh byte (Event driven information extensions):&lt;br /&gt;
##RFU, bit = 0 (for future event indication)&lt;br /&gt;
#Twenty-eighth byte (Text attributes):&lt;br /&gt;
##Alignment left supported by Terminal&lt;br /&gt;
##Alignment centre supported by Terminal&lt;br /&gt;
##Alignment right supported by Terminal&lt;br /&gt;
##Font size normal supported by Terminal&lt;br /&gt;
##Font size large supported by Terminal&lt;br /&gt;
##Font size small supported by Terminal&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-ninth byte (Text attributes):&lt;br /&gt;
##Style normal supported by Terminal&lt;br /&gt;
##Style bold supported by Terminal&lt;br /&gt;
##Style italic supported by Terminal&lt;br /&gt;
##Style underlined supported by Terminal&lt;br /&gt;
##Style strikethrough supported by Terminal&lt;br /&gt;
##Style text foreground colour supported by Terminal&lt;br /&gt;
##Style text background colour supported by Terminal&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Thirtieth byte:&lt;br /&gt;
##I-WLAN bearer support (if class &amp;quot;e&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (WSID of the current I-WLAN connection)&lt;br /&gt;
##TERMINAL APPLICATIONS (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##Steering of Roaming REFRESH support&lt;br /&gt;
##Proactive UICC: ACTIVATE (i.e class &amp;quot;l&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: GEOGRAPHICAL LOCATION REQUEST (if class &amp;quot;n&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Broadcast Network Information) (i.e. class &amp;quot;o&amp;quot; is supported)&lt;br /&gt;
##Steering of Roaming for I-WLAN REFRESH support&lt;br /&gt;
&lt;br /&gt;
====Values====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center;&amp;quot;&lt;br /&gt;
|Phone Type||B1||B2||B3||B4||B5||B6||B7||B8||B9||B10||B11||B12||B13||B14||B15||B16||B17||B18||B19||B20||B21||B22||B23||B24||B25||B26||B27||B28||B29||B30&lt;br /&gt;
|-&lt;br /&gt;
|Samsung Galaxy Express||ff||ff||ff||ff||7f||9d||00||df||bf||00||00||1f||e2||00||00||00||c3||6b||00||07||00||00||40||00||50||00||00||00||00||08&lt;br /&gt;
|-&lt;br /&gt;
|Samsung Galaxy Note 3||ff||ff||ff||ff||7f||9d||00||df||bf||00||00||1f||e2||00||00||00||c3||6b||00||07||00||00||40||00||50||00||00||00||00||08&lt;br /&gt;
|-&lt;br /&gt;
|HTC One X+||ff||ff||ff||ff||7f||1d||00||df||b7||03||02||1f||22||00||00||00||83||00||00||00||00||00||40||10||00||00||00||00||00||00&lt;br /&gt;
|-&lt;br /&gt;
|IPhone 4||ff||ff||ff||ff||7f||91||00||df||bf||00||00||00||00||00||00||00||00||f0||00||03||00||00||60||00||50||00||00||00||00||00&lt;br /&gt;
|-&lt;br /&gt;
|Nokia E72||ff||ff||ff||ff||7f||1d||00||df||bf||00||00||17||e2||05||0f||00||03||09||00||00||00||00||00||00||00||00||00||00||00||00&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Andrei</name></author>	</entry>

	<entry>
		<id>https://ss7api.null.ro/index.php/SIM_Cards</id>
		<title>SIM Cards</title>
		<link rel="alternate" type="text/html" href="https://ss7api.null.ro/index.php/SIM_Cards"/>
				<updated>2014-03-06T08:58:31Z</updated>
		
		<summary type="html">&lt;p&gt;Andrei: /* User Interface */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
===SIM Events===&lt;br /&gt;
&lt;br /&gt;
====Call Related Events and Requests====&lt;br /&gt;
The following events are received by the SIM card when a call is made.&lt;br /&gt;
*Standard: Details can be found in standard TS 31.111&lt;br /&gt;
*Terminal Class: This events should work in all terminals.&lt;br /&gt;
*Status: Tests were made successfully for Mobile Originating Calls&lt;br /&gt;
*Events:&amp;lt;br&amp;gt;The SIM is notified on the following events:&lt;br /&gt;
**Mobile Originating Call Initiated&lt;br /&gt;
**Mobile Originating SMS Initiated&lt;br /&gt;
**Mobile Originating USSD Initiated&lt;br /&gt;
**Mobile Originating SS Initiated&amp;lt;br&amp;gt;On the events above, the 'address' and 'subaddress' parameters can be altered.&lt;br /&gt;
*Notifications:&amp;lt;br&amp;gt;We can receive notifications for the following events. NOTE: We can not alter the event flow. Eg. We can not keep the call alive if we received call terminated event.&lt;br /&gt;
**Call Connected&lt;br /&gt;
**Call Terminated&lt;br /&gt;
*Requests - We can make the following requests:&lt;br /&gt;
**Set Up Call&lt;br /&gt;
**Send DTMF&lt;br /&gt;
*Parameters:&lt;br /&gt;
**Address&amp;lt;br&amp;gt;The called party address. Details on TS 31.111 chapter 8.1&lt;br /&gt;
**Subaddress&amp;lt;br&amp;gt;The called party subaddress. Details on TS 31.111 chapter  8.3&lt;br /&gt;
&lt;br /&gt;
====Browsing====&lt;br /&gt;
Open a SIM provided URL in phone defaults browser.&lt;br /&gt;
*Standard: Details can be fond in TS 102 223.&lt;br /&gt;
*Terminal: This should work in a class C terminal.&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&amp;lt;br&amp;gt;We are notified when one of the following events occures:&lt;br /&gt;
**Status&amp;lt;br&amp;gt;Received when the browser receives a distant error from the network.&lt;br /&gt;
**Terminated&amp;lt;br&amp;gt;Received when the browser is terminated.&lt;br /&gt;
*Requests:&lt;br /&gt;
**Lunch Browser&amp;lt;br&amp;gt;Ask a terminal to open a browser with the provided URL.&lt;br /&gt;
&lt;br /&gt;
====Access Technology====&lt;br /&gt;
Notification sent from the phone to inform about the access technology 2g/3g&lt;br /&gt;
*Standard Details can be found in TS 102 223&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Changed&amp;lt;br&amp;gt;The access technology has changed from 2g/3g.&lt;br /&gt;
&lt;br /&gt;
====Card Reader====&lt;br /&gt;
Get events and perform actions on an additional card reader, &lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Terminal Class: A&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Status&amp;lt;br&amp;gt;Notification that a card was inserted or removed; or a card reader is available or unavailable.&lt;br /&gt;
*Requests:&lt;br /&gt;
**Power ON Card&amp;lt;br&amp;gt;Start a session with an additional card.&lt;br /&gt;
**Power OFF Card&amp;lt;br&amp;gt;Stop a session with an additional card.&lt;br /&gt;
**Perform Card APDU&amp;lt;br&amp;gt;Send an APDU command to an additional card.&lt;br /&gt;
**Get Reader Status&amp;lt;br&amp;gt;Request to the terminal to provide additional information about additional card readers.&lt;br /&gt;
&lt;br /&gt;
====Data====&lt;br /&gt;
The following events and requests are available for data exchange.&lt;br /&gt;
*Standard: more documentation can be found in TS 102 223&lt;br /&gt;
*Status: In testing but no compatible device found!&lt;br /&gt;
*Terminal class E&lt;br /&gt;
*Events:&lt;br /&gt;
**Data available&amp;lt;br&amp;gt;Notification from the terminal that data has arrived from the network.&lt;br /&gt;
**Channel Status&amp;lt;br&amp;gt;Notification from the terminal that the channel status is changed.&lt;br /&gt;
*Requests&lt;br /&gt;
**Open Channel&amp;lt;br&amp;gt;Request to open a channel.&lt;br /&gt;
**Send Data&amp;lt;br&amp;gt;Request to send data on a open channel.&lt;br /&gt;
**Receive Data&amp;lt;br&amp;gt;Request to receive data on a open channel.&lt;br /&gt;
**Close Channel&amp;lt;br&amp;gt;Request to close a open channel.&lt;br /&gt;
&lt;br /&gt;
====User Interface====&lt;br /&gt;
The following events and request are related to user interface.&lt;br /&gt;
*Standard details can be found in standard TS 102 223&lt;br /&gt;
*Status: Most of them were tested.&lt;br /&gt;
*Events:&lt;br /&gt;
**Display Parameter Change&amp;lt;br&amp;gt;Notification from the terminal when the screen is resized.&lt;br /&gt;
**Frames Information Changed&amp;lt;br&amp;gt;Notification from the terminal when the frames are resized.&amp;lt;br&amp;gt;Requires terminal class I.&lt;br /&gt;
**Idle screen available&amp;lt;br&amp;gt;Notification from the terminal that the screen is idle.&lt;br /&gt;
**User activity&amp;lt;br&amp;gt;Notification from the terminal when the the user is interacting with the terminal.&amp;lt;br&amp;gt;This event is received only once after it was requested.&lt;br /&gt;
**Menu Selection&amp;lt;br&amp;gt;Notification from the terminal when the user has selected a menu item.&lt;br /&gt;
**Menu Selection Help Request&amp;lt;br&amp;gt;Notification from the terminal when the user requested help information on a menu.&lt;br /&gt;
*Requests:&lt;br /&gt;
**Get Input&amp;lt;br&amp;gt;Prompt the user to insert a text.&lt;br /&gt;
**Get InKey&amp;lt;br&amp;gt;Prompt the user to insert a key.&lt;br /&gt;
**Display Text&amp;lt;br&amp;gt;Prompt a text to the user.&lt;br /&gt;
**Set Up Menu&amp;lt;br&amp;gt;Prompt a menu to the user.&lt;br /&gt;
**Select Item&amp;lt;br&amp;gt;Provide a list of options to the user and instruct him to select one.&lt;br /&gt;
**Set Up Idle Mode Text&amp;lt;br&amp;gt;Instruct the terminal to show the provided text when it is in idle mode.&lt;br /&gt;
**Set Frames&amp;lt;br&amp;gt;Set the number of frames in which the terminal should devide its screen.&amp;lt;br&amp;gt;Requires terminal class I&lt;br /&gt;
**Get Frame Status&amp;lt;br&amp;gt;Get the parameters of a frame.&amp;lt;br&amp;gt;Requires terminal class I&lt;br /&gt;
&lt;br /&gt;
====SMS====&lt;br /&gt;
*Standard TS 131 111&lt;br /&gt;
*Status: Not tested yet&lt;br /&gt;
*Events:&lt;br /&gt;
**SMS-PP Data Download unformatted&lt;br /&gt;
**SMS-PP Data Download formatted&lt;br /&gt;
**SMS-CB Data Download formatted&lt;br /&gt;
**SMS-CB Data Download unformatted&lt;br /&gt;
*Requests:&lt;br /&gt;
**Send Short Message&lt;br /&gt;
*Parameters&lt;br /&gt;
**Address&lt;br /&gt;
**SMS TPDU&lt;br /&gt;
&lt;br /&gt;
====SS====&lt;br /&gt;
*Standard TS 131 111&lt;br /&gt;
*Terminal class P for USSD Data Download&lt;br /&gt;
*Status: Send USSD tested&lt;br /&gt;
*Events:&lt;br /&gt;
**USSD Data Download formatted&lt;br /&gt;
**USSD Data Download unformatted&lt;br /&gt;
*Requests:&lt;br /&gt;
**Send SS&lt;br /&gt;
**Send USSD&lt;br /&gt;
*Parameters&lt;br /&gt;
**SS String&lt;br /&gt;
**USSD String&lt;br /&gt;
NOTE: If the USSD session is initiated form SIM card than only the last response from the network is passed to the SIM.&lt;br /&gt;
&lt;br /&gt;
====IMS====&lt;br /&gt;
*Standard TS 131 111&lt;br /&gt;
*Terminal class E + T&lt;br /&gt;
*Events&lt;br /&gt;
**Download IMS Registration&lt;br /&gt;
**Download Incoming IMS Data&lt;br /&gt;
*Parameters&lt;br /&gt;
**IARI&lt;br /&gt;
**IMPU List&lt;br /&gt;
**IMS status code&lt;br /&gt;
&lt;br /&gt;
====Terminal====&lt;br /&gt;
*Standard TS 102 223 + TS 131 111&lt;br /&gt;
*Events&lt;br /&gt;
**Location Status&amp;lt;br&amp;gt;Status: tested&amp;lt;br&amp;gt;Parameters:&lt;br /&gt;
***Location Status TS 102.223 8.27&lt;br /&gt;
***Location Information TS 102.223 8.19&lt;br /&gt;
**Language Selection&lt;br /&gt;
**Profile Download&lt;br /&gt;
**Network Reject&lt;br /&gt;
**Timer expiration&lt;br /&gt;
*Requests&lt;br /&gt;
**Provide Local Information&lt;br /&gt;
**Language Notification&lt;br /&gt;
**Geographical Location Request&amp;lt;br&amp;gt;Terminal Type N&lt;br /&gt;
**More Time&amp;lt;br&amp;gt;Request to terminal for more processing time. &lt;br /&gt;
**Refresh&amp;lt;br&amp;gt;Request to terminal to reinitialize SIM card.&lt;br /&gt;
**Timer Management&amp;lt;br&amp;gt;SIM timers&lt;br /&gt;
&lt;br /&gt;
====Service====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: not tested&lt;br /&gt;
*Terminal class F&lt;br /&gt;
*Requests:&lt;br /&gt;
**Declare Service&lt;br /&gt;
**Search Service&lt;br /&gt;
**Get Service Information&lt;br /&gt;
&lt;br /&gt;
====MMS====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: not tested&lt;br /&gt;
*Terminal class J&lt;br /&gt;
*Requests:&lt;br /&gt;
**Retreive MMS&lt;br /&gt;
**Submit MMS&lt;br /&gt;
**Display MMS&lt;br /&gt;
&lt;br /&gt;
===Card File System===&lt;br /&gt;
&lt;br /&gt;
====USIM File System====&lt;br /&gt;
Extracted from standard TS 131.102.&lt;br /&gt;
*Language Indication&lt;br /&gt;
*IMSI&lt;br /&gt;
*Ciphering and Integrity Keys&lt;br /&gt;
*Ciphering and Integrity Keys for Packet Switched domain&lt;br /&gt;
*User controlled PLMN selector with Access Technology&lt;br /&gt;
*Higher Priority PLMN search period&lt;br /&gt;
*ACM maximum value&lt;br /&gt;
*USIM Service Table&lt;br /&gt;
*Accumulated Call Meter&lt;br /&gt;
*Group Identifier Level 1&lt;br /&gt;
*Group Identifier Level 2&lt;br /&gt;
*Service Provider Name&lt;br /&gt;
*Price per Unit and Currency Table&lt;br /&gt;
*Cell Broadcast Message identifier selection&lt;br /&gt;
*Access Control Class&lt;br /&gt;
*Forbidden PLMNs&lt;br /&gt;
*Location Information&lt;br /&gt;
*Administrative Data&lt;br /&gt;
*Cell Broadcast Message Identifier for Data Download&lt;br /&gt;
*Emergency Call Codes&lt;br /&gt;
*Cell Broadcast Message Identifier Range selection&lt;br /&gt;
*Packet Switched location information&lt;br /&gt;
*Fixed Dialling Numbers&lt;br /&gt;
*Short messages&lt;br /&gt;
*MSISDN&lt;br /&gt;
*Short message service parameters&lt;br /&gt;
*SMS status&lt;br /&gt;
*Service Dialling Numbers&lt;br /&gt;
*Extension2&lt;br /&gt;
*Extension3&lt;br /&gt;
*Short message status reports&lt;br /&gt;
*Incoming Call Information&lt;br /&gt;
*Outgoing Call Information&lt;br /&gt;
*Incoming Call Timer&lt;br /&gt;
*Outgoing Call Timer&lt;br /&gt;
*Extension5&lt;br /&gt;
*Capability Configuration Parameters 2&lt;br /&gt;
*enhanced Multi Level Precedence and Pre-emption&lt;br /&gt;
*Automatic Answer for eMLPP Service&lt;br /&gt;
*Key for hidden phone book entries&lt;br /&gt;
*Barred Dialling Numbers&lt;br /&gt;
*Extension4&lt;br /&gt;
*Comparison Method Information&lt;br /&gt;
*Enabled Services Table&lt;br /&gt;
*Access Point Name Control List&lt;br /&gt;
*Depersonalisation Control Keys&lt;br /&gt;
*Co-operative Network List&lt;br /&gt;
*Initialisation values for Hyperframe number&lt;br /&gt;
*Maximum value of START&lt;br /&gt;
*Operator controlled PLMN selector with Access Technology&lt;br /&gt;
*HPLMN selector with Access Technology&lt;br /&gt;
*Access Rule Reference&lt;br /&gt;
*Network Parameters&lt;br /&gt;
*PLMN Network Name&lt;br /&gt;
*Operator PLMN List&lt;br /&gt;
*Mailbox Dialling Numbers&lt;br /&gt;
*Extension6&lt;br /&gt;
*Mailbox Identifier&lt;br /&gt;
*Message Waiting Indication Status&lt;br /&gt;
*Call Forwarding Indication Status&lt;br /&gt;
*Extension7&lt;br /&gt;
*Service Provider Display Information&lt;br /&gt;
*MMS Notification&lt;br /&gt;
*Extension 8&lt;br /&gt;
*MMS Issuer Connectivity Parameters&lt;br /&gt;
*MMS User Preferences&lt;br /&gt;
*MMS User Connectivity Parameters&lt;br /&gt;
*Network's Indication of Alerting&lt;br /&gt;
*Voice Group Call Service&lt;br /&gt;
*Voice Group Call Service Status&lt;br /&gt;
*Voice Broadcast Service&lt;br /&gt;
*Voice Broadcast Service Status&lt;br /&gt;
&lt;br /&gt;
===Terminal profile===&lt;br /&gt;
====Description====&lt;br /&gt;
The terminal can be interrogated about which functions it supports.&lt;br /&gt;
#First byte (Download):&lt;br /&gt;
##Profile download&lt;br /&gt;
##SMS-PP data download&lt;br /&gt;
##Cell Broadcast data download)&lt;br /&gt;
##Menu selection&lt;br /&gt;
##SMS-PP data download&lt;br /&gt;
##Timer expiration&lt;br /&gt;
##USSD string data object support in Call Control by USIM&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
#Second byte (Other):&lt;br /&gt;
##Command result&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
##Call Control by NAA &lt;br /&gt;
##MO short message control support&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
##UCS2 Entry supported&lt;br /&gt;
##UCS2 Display supported&lt;br /&gt;
##Display Text&lt;br /&gt;
#Third byte (Proactive UICC):&lt;br /&gt;
##DISPLAY TEXT&lt;br /&gt;
##GET INKEY&lt;br /&gt;
##GET INPUT&lt;br /&gt;
##MORE TIME&lt;br /&gt;
##PLAY TONE&lt;br /&gt;
##POLL INTERVAL&lt;br /&gt;
##POLLING OFF&lt;br /&gt;
##REFRESH&lt;br /&gt;
#Fourth byte (Proactive UICC):&lt;br /&gt;
##Proactive UICC: SELECT ITEM&lt;br /&gt;
##Proactive UICC: SEND SHORT MESSAGE with 3GPP-SMS-TPDU&lt;br /&gt;
##Proactive UICC: SEND SS&lt;br /&gt;
##Proactive UICC:SEND USSD&lt;br /&gt;
##Proactive UICC: SET UP CALL&lt;br /&gt;
##Proactive UICC: SET UP MENU&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (MCC, MNC,LAC, Cell ID &amp;amp; IMEI)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (NMR)&lt;br /&gt;
#Fifth byte (Event driven information):&lt;br /&gt;
##Proactive UICC: SET UP EVENT LIST&lt;br /&gt;
##Event: MT call&lt;br /&gt;
##Event: Call connected&lt;br /&gt;
##Event: Call disconnected&lt;br /&gt;
##Event: Location status&lt;br /&gt;
##Event: User activity&lt;br /&gt;
##Event: Idle screen available&lt;br /&gt;
##Event: Card reader status&lt;br /&gt;
#Sixth byte (Event driven information extensions):&lt;br /&gt;
##Language selection&lt;br /&gt;
##Browser Termination&lt;br /&gt;
##Data available&lt;br /&gt;
##Channel status&lt;br /&gt;
##Access Technology Change&lt;br /&gt;
##Display parameters changed&lt;br /&gt;
##Local Connection&lt;br /&gt;
##Network Search Mode Change&lt;br /&gt;
#Seventh byte (Multiple card proactive commands) for class &amp;quot;a&amp;quot;:&lt;br /&gt;
##POWER ON CARD&lt;br /&gt;
##POWER OFF CARD&lt;br /&gt;
##PERFORM CARD APDU&lt;br /&gt;
##GET READER STATUS (Card reader status)&lt;br /&gt;
##GET READER STATUS (Card reader Identifier)&lt;br /&gt;
##RFU&lt;br /&gt;
#Eighth byte (Proactive UICC):&lt;br /&gt;
##Proactive UICC: TIMER MANAGEMENT (start, stop)&lt;br /&gt;
##Proactive UICC: TIMER MANAGEMENT (get current value)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (date, time and time zone)&lt;br /&gt;
##GET INKEY&lt;br /&gt;
##SET UP IDLE MODE TEXT&lt;br /&gt;
##RUN AT COMMAND (i.e. class &amp;quot;b&amp;quot; is supported)&lt;br /&gt;
##SETUP CALL&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
#Ninth byte:&lt;br /&gt;
##DISPLAY TEXT&lt;br /&gt;
##SEND DTMF command&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (language)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION, Timing Advance&lt;br /&gt;
##Proactive UICC: LANGUAGE NOTIFICATION&lt;br /&gt;
##Proactive UICC: LAUNCH BROWSER&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Access Technology)&lt;br /&gt;
#Tenth byte (Soft keys support) for class &amp;quot;d&amp;quot;:&lt;br /&gt;
##Soft keys support for SELECT ITEM&lt;br /&gt;
##Soft Keys support for SET UP MENU&lt;br /&gt;
##RFU&lt;br /&gt;
#Eleventh byte (Soft keys information):&lt;br /&gt;
##Maximum number of soft keys available 'FF' value is reserved for future use&lt;br /&gt;
#Twelfth byte:&lt;br /&gt;
##OPEN CHANNEL&lt;br /&gt;
##CLOSE CHANNEL&lt;br /&gt;
##RECEIVE DATA&lt;br /&gt;
##SEND DATA&lt;br /&gt;
##GET CHANNEL STATUS&lt;br /&gt;
##SERVICE SEARCH&lt;br /&gt;
##GET SERVICE INFORMATION&lt;br /&gt;
##DECLARE SERVICE&lt;br /&gt;
#Thirteenth byte:&lt;br /&gt;
##CSD&lt;br /&gt;
##GPRS&lt;br /&gt;
##Bluetooth&lt;br /&gt;
##IrDA&lt;br /&gt;
##RS232&lt;br /&gt;
##b6,b7,b8 - Number of channels supported by terminal&lt;br /&gt;
#Fourteenth byte (Screen height):&lt;br /&gt;
##b1 - b4 - Number of characters supported down the terminal display as defined in clause 5.3.1&lt;br /&gt;
##No display capability (i.e class &amp;quot;ND&amp;quot; is indicated)&lt;br /&gt;
##No keypad available (i.e. class &amp;quot;NK&amp;quot; is indicated)&lt;br /&gt;
##Screen Sizing Parameters supported as defined inclause 5.3&lt;br /&gt;
#Fifteenth byte (Screen width):&lt;br /&gt;
##b1-b7 - Number of characters supported across the terminal display as defined in clause 5.3.2&lt;br /&gt;
##Variable size fonts&lt;br /&gt;
#Sixteenth byte (Screen effects):&lt;br /&gt;
##Display can be resized as defined in clause 5.3.3&lt;br /&gt;
##Text Wrapping supported as defined in clause 5.3.4&lt;br /&gt;
##Text Scrolling supported as defined in clause 5.3.5&lt;br /&gt;
##Text Attributes supported as defined in clause 5.3.7&lt;br /&gt;
##b5 - RFU&lt;br /&gt;
##b6 - b8 - Width reduction when in a menu as defined in clause 5.3.6&lt;br /&gt;
#Seventeenth byte:&lt;br /&gt;
##TCP, UICC in client mode, remote connection&lt;br /&gt;
##UDP, UICC in client mode, remote connection&lt;br /&gt;
##TCP, UICC in server mode&lt;br /&gt;
##TCP, UICC in client mode, local connection (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##UDP, UICC in client mode, local connection (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
##E-UTRAN (if class &amp;quot;e&amp;quot; issupported))&lt;br /&gt;
##HSDPA (if class &amp;quot;e&amp;quot; is supported))&lt;br /&gt;
#Eighteenth byte:&lt;br /&gt;
##Proactive UICC: DISPLAY TEXT (Variable Time out)&lt;br /&gt;
##Proactive UICC: GET INKEY (help is supported while waiting for immediate response or variable timeout)&lt;br /&gt;
##USB&lt;br /&gt;
##Proactive UICC: GET INKEY (Variable Timeout)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (ESN)&lt;br /&gt;
##Call control on GPRS&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (IMEISV)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Search Mode change)&lt;br /&gt;
#Nineteenth byte (reserved for TIA/EIA-136-C facilities [25]):&lt;br /&gt;
##Reserved by TIA/EIA-136 [25] (Protocol Version support)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twentieth byte (reserved for TIA/EIA/IS-820-A facilities [17]):&lt;br /&gt;
##Reserved by TIA/EIA/IS-820 [17]&lt;br /&gt;
#Twenty-first byte (Extended Launch Browser Capability) for class &amp;quot;c&amp;quot;:&lt;br /&gt;
##WML&lt;br /&gt;
##XHTML&lt;br /&gt;
##HTML&lt;br /&gt;
##CHTML&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-second byte:&lt;br /&gt;
##Support of UTRAN PS with extended parameters&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION(battery state), (i.e. class &amp;quot;g&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PLAY TONE (Melody tones and Themed tones supported)&lt;br /&gt;
##Multi-media Calls in SET UP CALL (if class h supported)&lt;br /&gt;
##Reserved by 3GPP (Toolkit-initiated GBA)&lt;br /&gt;
##Proactive UICC: RETRIEVE MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: SUBMIT MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: DISPLAY MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
#Twenty third byte:&lt;br /&gt;
##Proactive UICC: SET FRAMES (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: GET FRAMES STATUS (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##MMS notification download (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Alpha Identifier in REFRESH command supported by terminal&lt;br /&gt;
##Geographical Location Reporting (if class &amp;quot;n&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (MEID)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (NMR(UTRAN))&lt;br /&gt;
##USSD Data download and application mode&lt;br /&gt;
#Twenty fourth byte for class &amp;quot;i&amp;quot;:&lt;br /&gt;
##b1-b4 - Maximum number of frames supported (including frames created in existing frames)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-fifth byte (Event driven information extensions):&lt;br /&gt;
##Event: Browsing status&lt;br /&gt;
##Event: MMS Transfer status (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Event: Frame Parameters changed (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##Event: I-WLAN Access status (if class &amp;quot;e&amp;quot; is supported)&lt;br /&gt;
##Event Network Rejection&lt;br /&gt;
##Event: HCI connectivity event (i.e. class &amp;quot;m&amp;quot; is supported)&lt;br /&gt;
##Reserved by 3GPP (E-UTRAN support in Event Network Rejection)&lt;br /&gt;
##Multiple access technologies supported in Event&lt;br /&gt;
##Access Technology Change and PROVIDE LOCAL INFORMATION &amp;lt;br&amp;gt;If bit &amp;quot;Multiple access technologies supported&amp;quot; is set to 1, it applies to the Event Access Technology Change if supported and all relevant modes of proactive command PROVIDE  LOCAL INFORMATION that are supported.&lt;br /&gt;
#Twenty-sixth byte (Event driven information extensions):&lt;br /&gt;
##RFU, bit = 0 (for future event indication)&lt;br /&gt;
#Twenty-seventh byte (Event driven information extensions):&lt;br /&gt;
##RFU, bit = 0 (for future event indication)&lt;br /&gt;
#Twenty-eighth byte (Text attributes):&lt;br /&gt;
##Alignment left supported by Terminal&lt;br /&gt;
##Alignment centre supported by Terminal&lt;br /&gt;
##Alignment right supported by Terminal&lt;br /&gt;
##Font size normal supported by Terminal&lt;br /&gt;
##Font size large supported by Terminal&lt;br /&gt;
##Font size small supported by Terminal&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-ninth byte (Text attributes):&lt;br /&gt;
##Style normal supported by Terminal&lt;br /&gt;
##Style bold supported by Terminal&lt;br /&gt;
##Style italic supported by Terminal&lt;br /&gt;
##Style underlined supported by Terminal&lt;br /&gt;
##Style strikethrough supported by Terminal&lt;br /&gt;
##Style text foreground colour supported by Terminal&lt;br /&gt;
##Style text background colour supported by Terminal&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Thirtieth byte:&lt;br /&gt;
##I-WLAN bearer support (if class &amp;quot;e&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (WSID of the current I-WLAN connection)&lt;br /&gt;
##TERMINAL APPLICATIONS (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##Steering of Roaming REFRESH support&lt;br /&gt;
##Proactive UICC: ACTIVATE (i.e class &amp;quot;l&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: GEOGRAPHICAL LOCATION REQUEST (if class &amp;quot;n&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Broadcast Network Information) (i.e. class &amp;quot;o&amp;quot; is supported)&lt;br /&gt;
##Steering of Roaming for I-WLAN REFRESH support&lt;br /&gt;
&lt;br /&gt;
====Values====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center;&amp;quot;&lt;br /&gt;
|Phone Type||B1||B2||B3||B4||B5||B6||B7||B8||B9||B10||B11||B12||B13||B14||B15||B16||B17||B18||B19||B20||B21||B22||B23||B24||B25||B26||B27||B28||B29||B30&lt;br /&gt;
|-&lt;br /&gt;
|Samsung Galaxy Express||ff||ff||ff||ff||7f||9d||00||df||bf||00||00||1f||e2||00||00||00||c3||6b||00||07||00||00||40||00||50||00||00||00||00||08&lt;br /&gt;
|-&lt;br /&gt;
|Samsung Galaxy Note 3||ff||ff||ff||ff||7f||9d||00||df||bf||00||00||1f||e2||00||00||00||c3||6b||00||07||00||00||40||00||50||00||00||00||00||08&lt;br /&gt;
|-&lt;br /&gt;
|HTC One X+||ff||ff||ff||ff||7f||1d||00||df||b7||03||02||1f||22||00||00||00||83||00||00||00||00||00||40||10||00||00||00||00||00||00&lt;br /&gt;
|-&lt;br /&gt;
|IPhone 4||ff||ff||ff||ff||7f||91||00||df||bf||00||00||00||00||00||00||00||00||f0||00||03||00||00||60||00||50||00||00||00||00||00&lt;br /&gt;
|-&lt;br /&gt;
|Nokia E72||ff||ff||ff||ff||7f||1d||00||df||bf||00||00||17||e2||05||0f||00||03||09||00||00||00||00||00||00||00||00||00||00||00||00&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Andrei</name></author>	</entry>

	<entry>
		<id>https://ss7api.null.ro/index.php/SIM_Cards</id>
		<title>SIM Cards</title>
		<link rel="alternate" type="text/html" href="https://ss7api.null.ro/index.php/SIM_Cards"/>
				<updated>2014-03-06T08:29:05Z</updated>
		
		<summary type="html">&lt;p&gt;Andrei: /* Data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
===SIM Events===&lt;br /&gt;
&lt;br /&gt;
====Call Related Events and Requests====&lt;br /&gt;
The following events are received by the SIM card when a call is made.&lt;br /&gt;
*Standard: Details can be found in standard TS 31.111&lt;br /&gt;
*Terminal Class: This events should work in all terminals.&lt;br /&gt;
*Status: Tests were made successfully for Mobile Originating Calls&lt;br /&gt;
*Events:&amp;lt;br&amp;gt;The SIM is notified on the following events:&lt;br /&gt;
**Mobile Originating Call Initiated&lt;br /&gt;
**Mobile Originating SMS Initiated&lt;br /&gt;
**Mobile Originating USSD Initiated&lt;br /&gt;
**Mobile Originating SS Initiated&amp;lt;br&amp;gt;On the events above, the 'address' and 'subaddress' parameters can be altered.&lt;br /&gt;
*Notifications:&amp;lt;br&amp;gt;We can receive notifications for the following events. NOTE: We can not alter the event flow. Eg. We can not keep the call alive if we received call terminated event.&lt;br /&gt;
**Call Connected&lt;br /&gt;
**Call Terminated&lt;br /&gt;
*Requests - We can make the following requests:&lt;br /&gt;
**Set Up Call&lt;br /&gt;
**Send DTMF&lt;br /&gt;
*Parameters:&lt;br /&gt;
**Address&amp;lt;br&amp;gt;The called party address. Details on TS 31.111 chapter 8.1&lt;br /&gt;
**Subaddress&amp;lt;br&amp;gt;The called party subaddress. Details on TS 31.111 chapter  8.3&lt;br /&gt;
&lt;br /&gt;
====Browsing====&lt;br /&gt;
Open a SIM provided URL in phone defaults browser.&lt;br /&gt;
*Standard: Details can be fond in TS 102 223.&lt;br /&gt;
*Terminal: This should work in a class C terminal.&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&amp;lt;br&amp;gt;We are notified when one of the following events occures:&lt;br /&gt;
**Status&amp;lt;br&amp;gt;Received when the browser receives a distant error from the network.&lt;br /&gt;
**Terminated&amp;lt;br&amp;gt;Received when the browser is terminated.&lt;br /&gt;
*Requests:&lt;br /&gt;
**Lunch Browser&amp;lt;br&amp;gt;Ask a terminal to open a browser with the provided URL.&lt;br /&gt;
&lt;br /&gt;
====Access Technology====&lt;br /&gt;
Notification sent from the phone to inform about the access technology 2g/3g&lt;br /&gt;
*Standard Details can be found in TS 102 223&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Changed&amp;lt;br&amp;gt;The access technology has changed from 2g/3g.&lt;br /&gt;
&lt;br /&gt;
====Card Reader====&lt;br /&gt;
Get events and perform actions on an additional card reader, &lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Terminal Class: A&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Status&amp;lt;br&amp;gt;Notification that a card was inserted or removed; or a card reader is available or unavailable.&lt;br /&gt;
*Requests:&lt;br /&gt;
**Power ON Card&amp;lt;br&amp;gt;Start a session with an additional card.&lt;br /&gt;
**Power OFF Card&amp;lt;br&amp;gt;Stop a session with an additional card.&lt;br /&gt;
**Perform Card APDU&amp;lt;br&amp;gt;Send an APDU command to an additional card.&lt;br /&gt;
**Get Reader Status&amp;lt;br&amp;gt;Request to the terminal to provide additional information about additional card readers.&lt;br /&gt;
&lt;br /&gt;
====Data====&lt;br /&gt;
The following events and requests are available for data exchange.&lt;br /&gt;
*Standard: more documentation can be found in TS 102 223&lt;br /&gt;
*Status: In testing but no compatible device found!&lt;br /&gt;
*Terminal class E&lt;br /&gt;
*Events:&lt;br /&gt;
**Data available&amp;lt;br&amp;gt;Notification from the terminal that data has arrived from the network.&lt;br /&gt;
**Channel Status&amp;lt;br&amp;gt;Notification from the terminal that the channel status is changed.&lt;br /&gt;
*Requests&lt;br /&gt;
**Open Channel&amp;lt;br&amp;gt;Request to open a channel.&lt;br /&gt;
**Send Data&amp;lt;br&amp;gt;Request to send data on a open channel.&lt;br /&gt;
**Receive Data&amp;lt;br&amp;gt;Request to receive data on a open channel.&lt;br /&gt;
**Close Channel&amp;lt;br&amp;gt;Request to close a open channel.&lt;br /&gt;
&lt;br /&gt;
====User Interface====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: Most of them tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Display Parameter Change&lt;br /&gt;
**Frames Information Changed&lt;br /&gt;
**Idle screen available&lt;br /&gt;
**User activity&lt;br /&gt;
**Menu Selection&lt;br /&gt;
**Menu Selection Help Request&lt;br /&gt;
*Requests:&lt;br /&gt;
**Get Input&lt;br /&gt;
**Get InKey&lt;br /&gt;
**Display Text&lt;br /&gt;
**Set Up Menu&lt;br /&gt;
**Select Item&lt;br /&gt;
**Set Up Idle Mode Text&lt;br /&gt;
**Set Frames&amp;lt;br&amp;gt;Terminal class I&lt;br /&gt;
**Get Frame Status&amp;lt;br&amp;gt;Terminal class I&lt;br /&gt;
&lt;br /&gt;
====SMS====&lt;br /&gt;
*Standard TS 131 111&lt;br /&gt;
*Status: Not tested yet&lt;br /&gt;
*Events:&lt;br /&gt;
**SMS-PP Data Download unformatted&lt;br /&gt;
**SMS-PP Data Download formatted&lt;br /&gt;
**SMS-CB Data Download formatted&lt;br /&gt;
**SMS-CB Data Download unformatted&lt;br /&gt;
*Requests:&lt;br /&gt;
**Send Short Message&lt;br /&gt;
*Parameters&lt;br /&gt;
**Address&lt;br /&gt;
**SMS TPDU&lt;br /&gt;
&lt;br /&gt;
====SS====&lt;br /&gt;
*Standard TS 131 111&lt;br /&gt;
*Terminal class P for USSD Data Download&lt;br /&gt;
*Status: Send USSD tested&lt;br /&gt;
*Events:&lt;br /&gt;
**USSD Data Download formatted&lt;br /&gt;
**USSD Data Download unformatted&lt;br /&gt;
*Requests:&lt;br /&gt;
**Send SS&lt;br /&gt;
**Send USSD&lt;br /&gt;
*Parameters&lt;br /&gt;
**SS String&lt;br /&gt;
**USSD String&lt;br /&gt;
NOTE: If the USSD session is initiated form SIM card than only the last response from the network is passed to the SIM.&lt;br /&gt;
&lt;br /&gt;
====IMS====&lt;br /&gt;
*Standard TS 131 111&lt;br /&gt;
*Terminal class E + T&lt;br /&gt;
*Events&lt;br /&gt;
**Download IMS Registration&lt;br /&gt;
**Download Incoming IMS Data&lt;br /&gt;
*Parameters&lt;br /&gt;
**IARI&lt;br /&gt;
**IMPU List&lt;br /&gt;
**IMS status code&lt;br /&gt;
&lt;br /&gt;
====Terminal====&lt;br /&gt;
*Standard TS 102 223 + TS 131 111&lt;br /&gt;
*Events&lt;br /&gt;
**Location Status&amp;lt;br&amp;gt;Status: tested&amp;lt;br&amp;gt;Parameters:&lt;br /&gt;
***Location Status TS 102.223 8.27&lt;br /&gt;
***Location Information TS 102.223 8.19&lt;br /&gt;
**Language Selection&lt;br /&gt;
**Profile Download&lt;br /&gt;
**Network Reject&lt;br /&gt;
**Timer expiration&lt;br /&gt;
*Requests&lt;br /&gt;
**Provide Local Information&lt;br /&gt;
**Language Notification&lt;br /&gt;
**Geographical Location Request&amp;lt;br&amp;gt;Terminal Type N&lt;br /&gt;
**More Time&amp;lt;br&amp;gt;Request to terminal for more processing time. &lt;br /&gt;
**Refresh&amp;lt;br&amp;gt;Request to terminal to reinitialize SIM card.&lt;br /&gt;
**Timer Management&amp;lt;br&amp;gt;SIM timers&lt;br /&gt;
&lt;br /&gt;
====Service====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: not tested&lt;br /&gt;
*Terminal class F&lt;br /&gt;
*Requests:&lt;br /&gt;
**Declare Service&lt;br /&gt;
**Search Service&lt;br /&gt;
**Get Service Information&lt;br /&gt;
&lt;br /&gt;
====MMS====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: not tested&lt;br /&gt;
*Terminal class J&lt;br /&gt;
*Requests:&lt;br /&gt;
**Retreive MMS&lt;br /&gt;
**Submit MMS&lt;br /&gt;
**Display MMS&lt;br /&gt;
&lt;br /&gt;
===Card File System===&lt;br /&gt;
&lt;br /&gt;
====USIM File System====&lt;br /&gt;
Extracted from standard TS 131.102.&lt;br /&gt;
*Language Indication&lt;br /&gt;
*IMSI&lt;br /&gt;
*Ciphering and Integrity Keys&lt;br /&gt;
*Ciphering and Integrity Keys for Packet Switched domain&lt;br /&gt;
*User controlled PLMN selector with Access Technology&lt;br /&gt;
*Higher Priority PLMN search period&lt;br /&gt;
*ACM maximum value&lt;br /&gt;
*USIM Service Table&lt;br /&gt;
*Accumulated Call Meter&lt;br /&gt;
*Group Identifier Level 1&lt;br /&gt;
*Group Identifier Level 2&lt;br /&gt;
*Service Provider Name&lt;br /&gt;
*Price per Unit and Currency Table&lt;br /&gt;
*Cell Broadcast Message identifier selection&lt;br /&gt;
*Access Control Class&lt;br /&gt;
*Forbidden PLMNs&lt;br /&gt;
*Location Information&lt;br /&gt;
*Administrative Data&lt;br /&gt;
*Cell Broadcast Message Identifier for Data Download&lt;br /&gt;
*Emergency Call Codes&lt;br /&gt;
*Cell Broadcast Message Identifier Range selection&lt;br /&gt;
*Packet Switched location information&lt;br /&gt;
*Fixed Dialling Numbers&lt;br /&gt;
*Short messages&lt;br /&gt;
*MSISDN&lt;br /&gt;
*Short message service parameters&lt;br /&gt;
*SMS status&lt;br /&gt;
*Service Dialling Numbers&lt;br /&gt;
*Extension2&lt;br /&gt;
*Extension3&lt;br /&gt;
*Short message status reports&lt;br /&gt;
*Incoming Call Information&lt;br /&gt;
*Outgoing Call Information&lt;br /&gt;
*Incoming Call Timer&lt;br /&gt;
*Outgoing Call Timer&lt;br /&gt;
*Extension5&lt;br /&gt;
*Capability Configuration Parameters 2&lt;br /&gt;
*enhanced Multi Level Precedence and Pre-emption&lt;br /&gt;
*Automatic Answer for eMLPP Service&lt;br /&gt;
*Key for hidden phone book entries&lt;br /&gt;
*Barred Dialling Numbers&lt;br /&gt;
*Extension4&lt;br /&gt;
*Comparison Method Information&lt;br /&gt;
*Enabled Services Table&lt;br /&gt;
*Access Point Name Control List&lt;br /&gt;
*Depersonalisation Control Keys&lt;br /&gt;
*Co-operative Network List&lt;br /&gt;
*Initialisation values for Hyperframe number&lt;br /&gt;
*Maximum value of START&lt;br /&gt;
*Operator controlled PLMN selector with Access Technology&lt;br /&gt;
*HPLMN selector with Access Technology&lt;br /&gt;
*Access Rule Reference&lt;br /&gt;
*Network Parameters&lt;br /&gt;
*PLMN Network Name&lt;br /&gt;
*Operator PLMN List&lt;br /&gt;
*Mailbox Dialling Numbers&lt;br /&gt;
*Extension6&lt;br /&gt;
*Mailbox Identifier&lt;br /&gt;
*Message Waiting Indication Status&lt;br /&gt;
*Call Forwarding Indication Status&lt;br /&gt;
*Extension7&lt;br /&gt;
*Service Provider Display Information&lt;br /&gt;
*MMS Notification&lt;br /&gt;
*Extension 8&lt;br /&gt;
*MMS Issuer Connectivity Parameters&lt;br /&gt;
*MMS User Preferences&lt;br /&gt;
*MMS User Connectivity Parameters&lt;br /&gt;
*Network's Indication of Alerting&lt;br /&gt;
*Voice Group Call Service&lt;br /&gt;
*Voice Group Call Service Status&lt;br /&gt;
*Voice Broadcast Service&lt;br /&gt;
*Voice Broadcast Service Status&lt;br /&gt;
&lt;br /&gt;
===Terminal profile===&lt;br /&gt;
====Description====&lt;br /&gt;
The terminal can be interrogated about which functions it supports.&lt;br /&gt;
#First byte (Download):&lt;br /&gt;
##Profile download&lt;br /&gt;
##SMS-PP data download&lt;br /&gt;
##Cell Broadcast data download)&lt;br /&gt;
##Menu selection&lt;br /&gt;
##SMS-PP data download&lt;br /&gt;
##Timer expiration&lt;br /&gt;
##USSD string data object support in Call Control by USIM&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
#Second byte (Other):&lt;br /&gt;
##Command result&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
##Call Control by NAA &lt;br /&gt;
##MO short message control support&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
##UCS2 Entry supported&lt;br /&gt;
##UCS2 Display supported&lt;br /&gt;
##Display Text&lt;br /&gt;
#Third byte (Proactive UICC):&lt;br /&gt;
##DISPLAY TEXT&lt;br /&gt;
##GET INKEY&lt;br /&gt;
##GET INPUT&lt;br /&gt;
##MORE TIME&lt;br /&gt;
##PLAY TONE&lt;br /&gt;
##POLL INTERVAL&lt;br /&gt;
##POLLING OFF&lt;br /&gt;
##REFRESH&lt;br /&gt;
#Fourth byte (Proactive UICC):&lt;br /&gt;
##Proactive UICC: SELECT ITEM&lt;br /&gt;
##Proactive UICC: SEND SHORT MESSAGE with 3GPP-SMS-TPDU&lt;br /&gt;
##Proactive UICC: SEND SS&lt;br /&gt;
##Proactive UICC:SEND USSD&lt;br /&gt;
##Proactive UICC: SET UP CALL&lt;br /&gt;
##Proactive UICC: SET UP MENU&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (MCC, MNC,LAC, Cell ID &amp;amp; IMEI)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (NMR)&lt;br /&gt;
#Fifth byte (Event driven information):&lt;br /&gt;
##Proactive UICC: SET UP EVENT LIST&lt;br /&gt;
##Event: MT call&lt;br /&gt;
##Event: Call connected&lt;br /&gt;
##Event: Call disconnected&lt;br /&gt;
##Event: Location status&lt;br /&gt;
##Event: User activity&lt;br /&gt;
##Event: Idle screen available&lt;br /&gt;
##Event: Card reader status&lt;br /&gt;
#Sixth byte (Event driven information extensions):&lt;br /&gt;
##Language selection&lt;br /&gt;
##Browser Termination&lt;br /&gt;
##Data available&lt;br /&gt;
##Channel status&lt;br /&gt;
##Access Technology Change&lt;br /&gt;
##Display parameters changed&lt;br /&gt;
##Local Connection&lt;br /&gt;
##Network Search Mode Change&lt;br /&gt;
#Seventh byte (Multiple card proactive commands) for class &amp;quot;a&amp;quot;:&lt;br /&gt;
##POWER ON CARD&lt;br /&gt;
##POWER OFF CARD&lt;br /&gt;
##PERFORM CARD APDU&lt;br /&gt;
##GET READER STATUS (Card reader status)&lt;br /&gt;
##GET READER STATUS (Card reader Identifier)&lt;br /&gt;
##RFU&lt;br /&gt;
#Eighth byte (Proactive UICC):&lt;br /&gt;
##Proactive UICC: TIMER MANAGEMENT (start, stop)&lt;br /&gt;
##Proactive UICC: TIMER MANAGEMENT (get current value)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (date, time and time zone)&lt;br /&gt;
##GET INKEY&lt;br /&gt;
##SET UP IDLE MODE TEXT&lt;br /&gt;
##RUN AT COMMAND (i.e. class &amp;quot;b&amp;quot; is supported)&lt;br /&gt;
##SETUP CALL&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
#Ninth byte:&lt;br /&gt;
##DISPLAY TEXT&lt;br /&gt;
##SEND DTMF command&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (language)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION, Timing Advance&lt;br /&gt;
##Proactive UICC: LANGUAGE NOTIFICATION&lt;br /&gt;
##Proactive UICC: LAUNCH BROWSER&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Access Technology)&lt;br /&gt;
#Tenth byte (Soft keys support) for class &amp;quot;d&amp;quot;:&lt;br /&gt;
##Soft keys support for SELECT ITEM&lt;br /&gt;
##Soft Keys support for SET UP MENU&lt;br /&gt;
##RFU&lt;br /&gt;
#Eleventh byte (Soft keys information):&lt;br /&gt;
##Maximum number of soft keys available 'FF' value is reserved for future use&lt;br /&gt;
#Twelfth byte:&lt;br /&gt;
##OPEN CHANNEL&lt;br /&gt;
##CLOSE CHANNEL&lt;br /&gt;
##RECEIVE DATA&lt;br /&gt;
##SEND DATA&lt;br /&gt;
##GET CHANNEL STATUS&lt;br /&gt;
##SERVICE SEARCH&lt;br /&gt;
##GET SERVICE INFORMATION&lt;br /&gt;
##DECLARE SERVICE&lt;br /&gt;
#Thirteenth byte:&lt;br /&gt;
##CSD&lt;br /&gt;
##GPRS&lt;br /&gt;
##Bluetooth&lt;br /&gt;
##IrDA&lt;br /&gt;
##RS232&lt;br /&gt;
##b6,b7,b8 - Number of channels supported by terminal&lt;br /&gt;
#Fourteenth byte (Screen height):&lt;br /&gt;
##b1 - b4 - Number of characters supported down the terminal display as defined in clause 5.3.1&lt;br /&gt;
##No display capability (i.e class &amp;quot;ND&amp;quot; is indicated)&lt;br /&gt;
##No keypad available (i.e. class &amp;quot;NK&amp;quot; is indicated)&lt;br /&gt;
##Screen Sizing Parameters supported as defined inclause 5.3&lt;br /&gt;
#Fifteenth byte (Screen width):&lt;br /&gt;
##b1-b7 - Number of characters supported across the terminal display as defined in clause 5.3.2&lt;br /&gt;
##Variable size fonts&lt;br /&gt;
#Sixteenth byte (Screen effects):&lt;br /&gt;
##Display can be resized as defined in clause 5.3.3&lt;br /&gt;
##Text Wrapping supported as defined in clause 5.3.4&lt;br /&gt;
##Text Scrolling supported as defined in clause 5.3.5&lt;br /&gt;
##Text Attributes supported as defined in clause 5.3.7&lt;br /&gt;
##b5 - RFU&lt;br /&gt;
##b6 - b8 - Width reduction when in a menu as defined in clause 5.3.6&lt;br /&gt;
#Seventeenth byte:&lt;br /&gt;
##TCP, UICC in client mode, remote connection&lt;br /&gt;
##UDP, UICC in client mode, remote connection&lt;br /&gt;
##TCP, UICC in server mode&lt;br /&gt;
##TCP, UICC in client mode, local connection (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##UDP, UICC in client mode, local connection (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
##E-UTRAN (if class &amp;quot;e&amp;quot; issupported))&lt;br /&gt;
##HSDPA (if class &amp;quot;e&amp;quot; is supported))&lt;br /&gt;
#Eighteenth byte:&lt;br /&gt;
##Proactive UICC: DISPLAY TEXT (Variable Time out)&lt;br /&gt;
##Proactive UICC: GET INKEY (help is supported while waiting for immediate response or variable timeout)&lt;br /&gt;
##USB&lt;br /&gt;
##Proactive UICC: GET INKEY (Variable Timeout)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (ESN)&lt;br /&gt;
##Call control on GPRS&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (IMEISV)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Search Mode change)&lt;br /&gt;
#Nineteenth byte (reserved for TIA/EIA-136-C facilities [25]):&lt;br /&gt;
##Reserved by TIA/EIA-136 [25] (Protocol Version support)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twentieth byte (reserved for TIA/EIA/IS-820-A facilities [17]):&lt;br /&gt;
##Reserved by TIA/EIA/IS-820 [17]&lt;br /&gt;
#Twenty-first byte (Extended Launch Browser Capability) for class &amp;quot;c&amp;quot;:&lt;br /&gt;
##WML&lt;br /&gt;
##XHTML&lt;br /&gt;
##HTML&lt;br /&gt;
##CHTML&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-second byte:&lt;br /&gt;
##Support of UTRAN PS with extended parameters&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION(battery state), (i.e. class &amp;quot;g&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PLAY TONE (Melody tones and Themed tones supported)&lt;br /&gt;
##Multi-media Calls in SET UP CALL (if class h supported)&lt;br /&gt;
##Reserved by 3GPP (Toolkit-initiated GBA)&lt;br /&gt;
##Proactive UICC: RETRIEVE MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: SUBMIT MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: DISPLAY MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
#Twenty third byte:&lt;br /&gt;
##Proactive UICC: SET FRAMES (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: GET FRAMES STATUS (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##MMS notification download (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Alpha Identifier in REFRESH command supported by terminal&lt;br /&gt;
##Geographical Location Reporting (if class &amp;quot;n&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (MEID)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (NMR(UTRAN))&lt;br /&gt;
##USSD Data download and application mode&lt;br /&gt;
#Twenty fourth byte for class &amp;quot;i&amp;quot;:&lt;br /&gt;
##b1-b4 - Maximum number of frames supported (including frames created in existing frames)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-fifth byte (Event driven information extensions):&lt;br /&gt;
##Event: Browsing status&lt;br /&gt;
##Event: MMS Transfer status (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Event: Frame Parameters changed (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##Event: I-WLAN Access status (if class &amp;quot;e&amp;quot; is supported)&lt;br /&gt;
##Event Network Rejection&lt;br /&gt;
##Event: HCI connectivity event (i.e. class &amp;quot;m&amp;quot; is supported)&lt;br /&gt;
##Reserved by 3GPP (E-UTRAN support in Event Network Rejection)&lt;br /&gt;
##Multiple access technologies supported in Event&lt;br /&gt;
##Access Technology Change and PROVIDE LOCAL INFORMATION &amp;lt;br&amp;gt;If bit &amp;quot;Multiple access technologies supported&amp;quot; is set to 1, it applies to the Event Access Technology Change if supported and all relevant modes of proactive command PROVIDE  LOCAL INFORMATION that are supported.&lt;br /&gt;
#Twenty-sixth byte (Event driven information extensions):&lt;br /&gt;
##RFU, bit = 0 (for future event indication)&lt;br /&gt;
#Twenty-seventh byte (Event driven information extensions):&lt;br /&gt;
##RFU, bit = 0 (for future event indication)&lt;br /&gt;
#Twenty-eighth byte (Text attributes):&lt;br /&gt;
##Alignment left supported by Terminal&lt;br /&gt;
##Alignment centre supported by Terminal&lt;br /&gt;
##Alignment right supported by Terminal&lt;br /&gt;
##Font size normal supported by Terminal&lt;br /&gt;
##Font size large supported by Terminal&lt;br /&gt;
##Font size small supported by Terminal&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-ninth byte (Text attributes):&lt;br /&gt;
##Style normal supported by Terminal&lt;br /&gt;
##Style bold supported by Terminal&lt;br /&gt;
##Style italic supported by Terminal&lt;br /&gt;
##Style underlined supported by Terminal&lt;br /&gt;
##Style strikethrough supported by Terminal&lt;br /&gt;
##Style text foreground colour supported by Terminal&lt;br /&gt;
##Style text background colour supported by Terminal&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Thirtieth byte:&lt;br /&gt;
##I-WLAN bearer support (if class &amp;quot;e&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (WSID of the current I-WLAN connection)&lt;br /&gt;
##TERMINAL APPLICATIONS (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##Steering of Roaming REFRESH support&lt;br /&gt;
##Proactive UICC: ACTIVATE (i.e class &amp;quot;l&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: GEOGRAPHICAL LOCATION REQUEST (if class &amp;quot;n&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Broadcast Network Information) (i.e. class &amp;quot;o&amp;quot; is supported)&lt;br /&gt;
##Steering of Roaming for I-WLAN REFRESH support&lt;br /&gt;
&lt;br /&gt;
====Values====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center;&amp;quot;&lt;br /&gt;
|Phone Type||B1||B2||B3||B4||B5||B6||B7||B8||B9||B10||B11||B12||B13||B14||B15||B16||B17||B18||B19||B20||B21||B22||B23||B24||B25||B26||B27||B28||B29||B30&lt;br /&gt;
|-&lt;br /&gt;
|Samsung Galaxy Express||ff||ff||ff||ff||7f||9d||00||df||bf||00||00||1f||e2||00||00||00||c3||6b||00||07||00||00||40||00||50||00||00||00||00||08&lt;br /&gt;
|-&lt;br /&gt;
|Samsung Galaxy Note 3||ff||ff||ff||ff||7f||9d||00||df||bf||00||00||1f||e2||00||00||00||c3||6b||00||07||00||00||40||00||50||00||00||00||00||08&lt;br /&gt;
|-&lt;br /&gt;
|HTC One X+||ff||ff||ff||ff||7f||1d||00||df||b7||03||02||1f||22||00||00||00||83||00||00||00||00||00||40||10||00||00||00||00||00||00&lt;br /&gt;
|-&lt;br /&gt;
|IPhone 4||ff||ff||ff||ff||7f||91||00||df||bf||00||00||00||00||00||00||00||00||f0||00||03||00||00||60||00||50||00||00||00||00||00&lt;br /&gt;
|-&lt;br /&gt;
|Nokia E72||ff||ff||ff||ff||7f||1d||00||df||bf||00||00||17||e2||05||0f||00||03||09||00||00||00||00||00||00||00||00||00||00||00||00&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Andrei</name></author>	</entry>

	<entry>
		<id>https://ss7api.null.ro/index.php/SIM_Cards</id>
		<title>SIM Cards</title>
		<link rel="alternate" type="text/html" href="https://ss7api.null.ro/index.php/SIM_Cards"/>
				<updated>2014-03-06T08:24:36Z</updated>
		
		<summary type="html">&lt;p&gt;Andrei: /* Card Reader */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
===SIM Events===&lt;br /&gt;
&lt;br /&gt;
====Call Related Events and Requests====&lt;br /&gt;
The following events are received by the SIM card when a call is made.&lt;br /&gt;
*Standard: Details can be found in standard TS 31.111&lt;br /&gt;
*Terminal Class: This events should work in all terminals.&lt;br /&gt;
*Status: Tests were made successfully for Mobile Originating Calls&lt;br /&gt;
*Events:&amp;lt;br&amp;gt;The SIM is notified on the following events:&lt;br /&gt;
**Mobile Originating Call Initiated&lt;br /&gt;
**Mobile Originating SMS Initiated&lt;br /&gt;
**Mobile Originating USSD Initiated&lt;br /&gt;
**Mobile Originating SS Initiated&amp;lt;br&amp;gt;On the events above, the 'address' and 'subaddress' parameters can be altered.&lt;br /&gt;
*Notifications:&amp;lt;br&amp;gt;We can receive notifications for the following events. NOTE: We can not alter the event flow. Eg. We can not keep the call alive if we received call terminated event.&lt;br /&gt;
**Call Connected&lt;br /&gt;
**Call Terminated&lt;br /&gt;
*Requests - We can make the following requests:&lt;br /&gt;
**Set Up Call&lt;br /&gt;
**Send DTMF&lt;br /&gt;
*Parameters:&lt;br /&gt;
**Address&amp;lt;br&amp;gt;The called party address. Details on TS 31.111 chapter 8.1&lt;br /&gt;
**Subaddress&amp;lt;br&amp;gt;The called party subaddress. Details on TS 31.111 chapter  8.3&lt;br /&gt;
&lt;br /&gt;
====Browsing====&lt;br /&gt;
Open a SIM provided URL in phone defaults browser.&lt;br /&gt;
*Standard: Details can be fond in TS 102 223.&lt;br /&gt;
*Terminal: This should work in a class C terminal.&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&amp;lt;br&amp;gt;We are notified when one of the following events occures:&lt;br /&gt;
**Status&amp;lt;br&amp;gt;Received when the browser receives a distant error from the network.&lt;br /&gt;
**Terminated&amp;lt;br&amp;gt;Received when the browser is terminated.&lt;br /&gt;
*Requests:&lt;br /&gt;
**Lunch Browser&amp;lt;br&amp;gt;Ask a terminal to open a browser with the provided URL.&lt;br /&gt;
&lt;br /&gt;
====Access Technology====&lt;br /&gt;
Notification sent from the phone to inform about the access technology 2g/3g&lt;br /&gt;
*Standard Details can be found in TS 102 223&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Changed&amp;lt;br&amp;gt;The access technology has changed from 2g/3g.&lt;br /&gt;
&lt;br /&gt;
====Card Reader====&lt;br /&gt;
Get events and perform actions on an additional card reader, &lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Terminal Class: A&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Status&amp;lt;br&amp;gt;Notification that a card was inserted or removed; or a card reader is available or unavailable.&lt;br /&gt;
*Requests:&lt;br /&gt;
**Power ON Card&amp;lt;br&amp;gt;Start a session with an additional card.&lt;br /&gt;
**Power OFF Card&amp;lt;br&amp;gt;Stop a session with an additional card.&lt;br /&gt;
**Perform Card APDU&amp;lt;br&amp;gt;Send an APDU command to an additional card.&lt;br /&gt;
**Get Reader Status&amp;lt;br&amp;gt;Request to the terminal to provide additional information about additional card readers.&lt;br /&gt;
&lt;br /&gt;
====Data====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: No compatible device found&lt;br /&gt;
*Terminal class E&lt;br /&gt;
*Events:&lt;br /&gt;
**Data available&lt;br /&gt;
**Channel Status&lt;br /&gt;
*Requests&lt;br /&gt;
**Open Channel&lt;br /&gt;
**Send Data&lt;br /&gt;
**Receive Data&lt;br /&gt;
**Close Channel&lt;br /&gt;
&lt;br /&gt;
====User Interface====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: Most of them tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Display Parameter Change&lt;br /&gt;
**Frames Information Changed&lt;br /&gt;
**Idle screen available&lt;br /&gt;
**User activity&lt;br /&gt;
**Menu Selection&lt;br /&gt;
**Menu Selection Help Request&lt;br /&gt;
*Requests:&lt;br /&gt;
**Get Input&lt;br /&gt;
**Get InKey&lt;br /&gt;
**Display Text&lt;br /&gt;
**Set Up Menu&lt;br /&gt;
**Select Item&lt;br /&gt;
**Set Up Idle Mode Text&lt;br /&gt;
**Set Frames&amp;lt;br&amp;gt;Terminal class I&lt;br /&gt;
**Get Frame Status&amp;lt;br&amp;gt;Terminal class I&lt;br /&gt;
&lt;br /&gt;
====SMS====&lt;br /&gt;
*Standard TS 131 111&lt;br /&gt;
*Status: Not tested yet&lt;br /&gt;
*Events:&lt;br /&gt;
**SMS-PP Data Download unformatted&lt;br /&gt;
**SMS-PP Data Download formatted&lt;br /&gt;
**SMS-CB Data Download formatted&lt;br /&gt;
**SMS-CB Data Download unformatted&lt;br /&gt;
*Requests:&lt;br /&gt;
**Send Short Message&lt;br /&gt;
*Parameters&lt;br /&gt;
**Address&lt;br /&gt;
**SMS TPDU&lt;br /&gt;
&lt;br /&gt;
====SS====&lt;br /&gt;
*Standard TS 131 111&lt;br /&gt;
*Terminal class P for USSD Data Download&lt;br /&gt;
*Status: Send USSD tested&lt;br /&gt;
*Events:&lt;br /&gt;
**USSD Data Download formatted&lt;br /&gt;
**USSD Data Download unformatted&lt;br /&gt;
*Requests:&lt;br /&gt;
**Send SS&lt;br /&gt;
**Send USSD&lt;br /&gt;
*Parameters&lt;br /&gt;
**SS String&lt;br /&gt;
**USSD String&lt;br /&gt;
NOTE: If the USSD session is initiated form SIM card than only the last response from the network is passed to the SIM.&lt;br /&gt;
&lt;br /&gt;
====IMS====&lt;br /&gt;
*Standard TS 131 111&lt;br /&gt;
*Terminal class E + T&lt;br /&gt;
*Events&lt;br /&gt;
**Download IMS Registration&lt;br /&gt;
**Download Incoming IMS Data&lt;br /&gt;
*Parameters&lt;br /&gt;
**IARI&lt;br /&gt;
**IMPU List&lt;br /&gt;
**IMS status code&lt;br /&gt;
&lt;br /&gt;
====Terminal====&lt;br /&gt;
*Standard TS 102 223 + TS 131 111&lt;br /&gt;
*Events&lt;br /&gt;
**Location Status&amp;lt;br&amp;gt;Status: tested&amp;lt;br&amp;gt;Parameters:&lt;br /&gt;
***Location Status TS 102.223 8.27&lt;br /&gt;
***Location Information TS 102.223 8.19&lt;br /&gt;
**Language Selection&lt;br /&gt;
**Profile Download&lt;br /&gt;
**Network Reject&lt;br /&gt;
**Timer expiration&lt;br /&gt;
*Requests&lt;br /&gt;
**Provide Local Information&lt;br /&gt;
**Language Notification&lt;br /&gt;
**Geographical Location Request&amp;lt;br&amp;gt;Terminal Type N&lt;br /&gt;
**More Time&amp;lt;br&amp;gt;Request to terminal for more processing time. &lt;br /&gt;
**Refresh&amp;lt;br&amp;gt;Request to terminal to reinitialize SIM card.&lt;br /&gt;
**Timer Management&amp;lt;br&amp;gt;SIM timers&lt;br /&gt;
&lt;br /&gt;
====Service====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: not tested&lt;br /&gt;
*Terminal class F&lt;br /&gt;
*Requests:&lt;br /&gt;
**Declare Service&lt;br /&gt;
**Search Service&lt;br /&gt;
**Get Service Information&lt;br /&gt;
&lt;br /&gt;
====MMS====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: not tested&lt;br /&gt;
*Terminal class J&lt;br /&gt;
*Requests:&lt;br /&gt;
**Retreive MMS&lt;br /&gt;
**Submit MMS&lt;br /&gt;
**Display MMS&lt;br /&gt;
&lt;br /&gt;
===Card File System===&lt;br /&gt;
&lt;br /&gt;
====USIM File System====&lt;br /&gt;
Extracted from standard TS 131.102.&lt;br /&gt;
*Language Indication&lt;br /&gt;
*IMSI&lt;br /&gt;
*Ciphering and Integrity Keys&lt;br /&gt;
*Ciphering and Integrity Keys for Packet Switched domain&lt;br /&gt;
*User controlled PLMN selector with Access Technology&lt;br /&gt;
*Higher Priority PLMN search period&lt;br /&gt;
*ACM maximum value&lt;br /&gt;
*USIM Service Table&lt;br /&gt;
*Accumulated Call Meter&lt;br /&gt;
*Group Identifier Level 1&lt;br /&gt;
*Group Identifier Level 2&lt;br /&gt;
*Service Provider Name&lt;br /&gt;
*Price per Unit and Currency Table&lt;br /&gt;
*Cell Broadcast Message identifier selection&lt;br /&gt;
*Access Control Class&lt;br /&gt;
*Forbidden PLMNs&lt;br /&gt;
*Location Information&lt;br /&gt;
*Administrative Data&lt;br /&gt;
*Cell Broadcast Message Identifier for Data Download&lt;br /&gt;
*Emergency Call Codes&lt;br /&gt;
*Cell Broadcast Message Identifier Range selection&lt;br /&gt;
*Packet Switched location information&lt;br /&gt;
*Fixed Dialling Numbers&lt;br /&gt;
*Short messages&lt;br /&gt;
*MSISDN&lt;br /&gt;
*Short message service parameters&lt;br /&gt;
*SMS status&lt;br /&gt;
*Service Dialling Numbers&lt;br /&gt;
*Extension2&lt;br /&gt;
*Extension3&lt;br /&gt;
*Short message status reports&lt;br /&gt;
*Incoming Call Information&lt;br /&gt;
*Outgoing Call Information&lt;br /&gt;
*Incoming Call Timer&lt;br /&gt;
*Outgoing Call Timer&lt;br /&gt;
*Extension5&lt;br /&gt;
*Capability Configuration Parameters 2&lt;br /&gt;
*enhanced Multi Level Precedence and Pre-emption&lt;br /&gt;
*Automatic Answer for eMLPP Service&lt;br /&gt;
*Key for hidden phone book entries&lt;br /&gt;
*Barred Dialling Numbers&lt;br /&gt;
*Extension4&lt;br /&gt;
*Comparison Method Information&lt;br /&gt;
*Enabled Services Table&lt;br /&gt;
*Access Point Name Control List&lt;br /&gt;
*Depersonalisation Control Keys&lt;br /&gt;
*Co-operative Network List&lt;br /&gt;
*Initialisation values for Hyperframe number&lt;br /&gt;
*Maximum value of START&lt;br /&gt;
*Operator controlled PLMN selector with Access Technology&lt;br /&gt;
*HPLMN selector with Access Technology&lt;br /&gt;
*Access Rule Reference&lt;br /&gt;
*Network Parameters&lt;br /&gt;
*PLMN Network Name&lt;br /&gt;
*Operator PLMN List&lt;br /&gt;
*Mailbox Dialling Numbers&lt;br /&gt;
*Extension6&lt;br /&gt;
*Mailbox Identifier&lt;br /&gt;
*Message Waiting Indication Status&lt;br /&gt;
*Call Forwarding Indication Status&lt;br /&gt;
*Extension7&lt;br /&gt;
*Service Provider Display Information&lt;br /&gt;
*MMS Notification&lt;br /&gt;
*Extension 8&lt;br /&gt;
*MMS Issuer Connectivity Parameters&lt;br /&gt;
*MMS User Preferences&lt;br /&gt;
*MMS User Connectivity Parameters&lt;br /&gt;
*Network's Indication of Alerting&lt;br /&gt;
*Voice Group Call Service&lt;br /&gt;
*Voice Group Call Service Status&lt;br /&gt;
*Voice Broadcast Service&lt;br /&gt;
*Voice Broadcast Service Status&lt;br /&gt;
&lt;br /&gt;
===Terminal profile===&lt;br /&gt;
====Description====&lt;br /&gt;
The terminal can be interrogated about which functions it supports.&lt;br /&gt;
#First byte (Download):&lt;br /&gt;
##Profile download&lt;br /&gt;
##SMS-PP data download&lt;br /&gt;
##Cell Broadcast data download)&lt;br /&gt;
##Menu selection&lt;br /&gt;
##SMS-PP data download&lt;br /&gt;
##Timer expiration&lt;br /&gt;
##USSD string data object support in Call Control by USIM&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
#Second byte (Other):&lt;br /&gt;
##Command result&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
##Call Control by NAA &lt;br /&gt;
##MO short message control support&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
##UCS2 Entry supported&lt;br /&gt;
##UCS2 Display supported&lt;br /&gt;
##Display Text&lt;br /&gt;
#Third byte (Proactive UICC):&lt;br /&gt;
##DISPLAY TEXT&lt;br /&gt;
##GET INKEY&lt;br /&gt;
##GET INPUT&lt;br /&gt;
##MORE TIME&lt;br /&gt;
##PLAY TONE&lt;br /&gt;
##POLL INTERVAL&lt;br /&gt;
##POLLING OFF&lt;br /&gt;
##REFRESH&lt;br /&gt;
#Fourth byte (Proactive UICC):&lt;br /&gt;
##Proactive UICC: SELECT ITEM&lt;br /&gt;
##Proactive UICC: SEND SHORT MESSAGE with 3GPP-SMS-TPDU&lt;br /&gt;
##Proactive UICC: SEND SS&lt;br /&gt;
##Proactive UICC:SEND USSD&lt;br /&gt;
##Proactive UICC: SET UP CALL&lt;br /&gt;
##Proactive UICC: SET UP MENU&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (MCC, MNC,LAC, Cell ID &amp;amp; IMEI)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (NMR)&lt;br /&gt;
#Fifth byte (Event driven information):&lt;br /&gt;
##Proactive UICC: SET UP EVENT LIST&lt;br /&gt;
##Event: MT call&lt;br /&gt;
##Event: Call connected&lt;br /&gt;
##Event: Call disconnected&lt;br /&gt;
##Event: Location status&lt;br /&gt;
##Event: User activity&lt;br /&gt;
##Event: Idle screen available&lt;br /&gt;
##Event: Card reader status&lt;br /&gt;
#Sixth byte (Event driven information extensions):&lt;br /&gt;
##Language selection&lt;br /&gt;
##Browser Termination&lt;br /&gt;
##Data available&lt;br /&gt;
##Channel status&lt;br /&gt;
##Access Technology Change&lt;br /&gt;
##Display parameters changed&lt;br /&gt;
##Local Connection&lt;br /&gt;
##Network Search Mode Change&lt;br /&gt;
#Seventh byte (Multiple card proactive commands) for class &amp;quot;a&amp;quot;:&lt;br /&gt;
##POWER ON CARD&lt;br /&gt;
##POWER OFF CARD&lt;br /&gt;
##PERFORM CARD APDU&lt;br /&gt;
##GET READER STATUS (Card reader status)&lt;br /&gt;
##GET READER STATUS (Card reader Identifier)&lt;br /&gt;
##RFU&lt;br /&gt;
#Eighth byte (Proactive UICC):&lt;br /&gt;
##Proactive UICC: TIMER MANAGEMENT (start, stop)&lt;br /&gt;
##Proactive UICC: TIMER MANAGEMENT (get current value)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (date, time and time zone)&lt;br /&gt;
##GET INKEY&lt;br /&gt;
##SET UP IDLE MODE TEXT&lt;br /&gt;
##RUN AT COMMAND (i.e. class &amp;quot;b&amp;quot; is supported)&lt;br /&gt;
##SETUP CALL&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
#Ninth byte:&lt;br /&gt;
##DISPLAY TEXT&lt;br /&gt;
##SEND DTMF command&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (language)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION, Timing Advance&lt;br /&gt;
##Proactive UICC: LANGUAGE NOTIFICATION&lt;br /&gt;
##Proactive UICC: LAUNCH BROWSER&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Access Technology)&lt;br /&gt;
#Tenth byte (Soft keys support) for class &amp;quot;d&amp;quot;:&lt;br /&gt;
##Soft keys support for SELECT ITEM&lt;br /&gt;
##Soft Keys support for SET UP MENU&lt;br /&gt;
##RFU&lt;br /&gt;
#Eleventh byte (Soft keys information):&lt;br /&gt;
##Maximum number of soft keys available 'FF' value is reserved for future use&lt;br /&gt;
#Twelfth byte:&lt;br /&gt;
##OPEN CHANNEL&lt;br /&gt;
##CLOSE CHANNEL&lt;br /&gt;
##RECEIVE DATA&lt;br /&gt;
##SEND DATA&lt;br /&gt;
##GET CHANNEL STATUS&lt;br /&gt;
##SERVICE SEARCH&lt;br /&gt;
##GET SERVICE INFORMATION&lt;br /&gt;
##DECLARE SERVICE&lt;br /&gt;
#Thirteenth byte:&lt;br /&gt;
##CSD&lt;br /&gt;
##GPRS&lt;br /&gt;
##Bluetooth&lt;br /&gt;
##IrDA&lt;br /&gt;
##RS232&lt;br /&gt;
##b6,b7,b8 - Number of channels supported by terminal&lt;br /&gt;
#Fourteenth byte (Screen height):&lt;br /&gt;
##b1 - b4 - Number of characters supported down the terminal display as defined in clause 5.3.1&lt;br /&gt;
##No display capability (i.e class &amp;quot;ND&amp;quot; is indicated)&lt;br /&gt;
##No keypad available (i.e. class &amp;quot;NK&amp;quot; is indicated)&lt;br /&gt;
##Screen Sizing Parameters supported as defined inclause 5.3&lt;br /&gt;
#Fifteenth byte (Screen width):&lt;br /&gt;
##b1-b7 - Number of characters supported across the terminal display as defined in clause 5.3.2&lt;br /&gt;
##Variable size fonts&lt;br /&gt;
#Sixteenth byte (Screen effects):&lt;br /&gt;
##Display can be resized as defined in clause 5.3.3&lt;br /&gt;
##Text Wrapping supported as defined in clause 5.3.4&lt;br /&gt;
##Text Scrolling supported as defined in clause 5.3.5&lt;br /&gt;
##Text Attributes supported as defined in clause 5.3.7&lt;br /&gt;
##b5 - RFU&lt;br /&gt;
##b6 - b8 - Width reduction when in a menu as defined in clause 5.3.6&lt;br /&gt;
#Seventeenth byte:&lt;br /&gt;
##TCP, UICC in client mode, remote connection&lt;br /&gt;
##UDP, UICC in client mode, remote connection&lt;br /&gt;
##TCP, UICC in server mode&lt;br /&gt;
##TCP, UICC in client mode, local connection (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##UDP, UICC in client mode, local connection (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
##E-UTRAN (if class &amp;quot;e&amp;quot; issupported))&lt;br /&gt;
##HSDPA (if class &amp;quot;e&amp;quot; is supported))&lt;br /&gt;
#Eighteenth byte:&lt;br /&gt;
##Proactive UICC: DISPLAY TEXT (Variable Time out)&lt;br /&gt;
##Proactive UICC: GET INKEY (help is supported while waiting for immediate response or variable timeout)&lt;br /&gt;
##USB&lt;br /&gt;
##Proactive UICC: GET INKEY (Variable Timeout)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (ESN)&lt;br /&gt;
##Call control on GPRS&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (IMEISV)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Search Mode change)&lt;br /&gt;
#Nineteenth byte (reserved for TIA/EIA-136-C facilities [25]):&lt;br /&gt;
##Reserved by TIA/EIA-136 [25] (Protocol Version support)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twentieth byte (reserved for TIA/EIA/IS-820-A facilities [17]):&lt;br /&gt;
##Reserved by TIA/EIA/IS-820 [17]&lt;br /&gt;
#Twenty-first byte (Extended Launch Browser Capability) for class &amp;quot;c&amp;quot;:&lt;br /&gt;
##WML&lt;br /&gt;
##XHTML&lt;br /&gt;
##HTML&lt;br /&gt;
##CHTML&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-second byte:&lt;br /&gt;
##Support of UTRAN PS with extended parameters&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION(battery state), (i.e. class &amp;quot;g&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PLAY TONE (Melody tones and Themed tones supported)&lt;br /&gt;
##Multi-media Calls in SET UP CALL (if class h supported)&lt;br /&gt;
##Reserved by 3GPP (Toolkit-initiated GBA)&lt;br /&gt;
##Proactive UICC: RETRIEVE MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: SUBMIT MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: DISPLAY MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
#Twenty third byte:&lt;br /&gt;
##Proactive UICC: SET FRAMES (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: GET FRAMES STATUS (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##MMS notification download (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Alpha Identifier in REFRESH command supported by terminal&lt;br /&gt;
##Geographical Location Reporting (if class &amp;quot;n&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (MEID)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (NMR(UTRAN))&lt;br /&gt;
##USSD Data download and application mode&lt;br /&gt;
#Twenty fourth byte for class &amp;quot;i&amp;quot;:&lt;br /&gt;
##b1-b4 - Maximum number of frames supported (including frames created in existing frames)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-fifth byte (Event driven information extensions):&lt;br /&gt;
##Event: Browsing status&lt;br /&gt;
##Event: MMS Transfer status (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Event: Frame Parameters changed (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##Event: I-WLAN Access status (if class &amp;quot;e&amp;quot; is supported)&lt;br /&gt;
##Event Network Rejection&lt;br /&gt;
##Event: HCI connectivity event (i.e. class &amp;quot;m&amp;quot; is supported)&lt;br /&gt;
##Reserved by 3GPP (E-UTRAN support in Event Network Rejection)&lt;br /&gt;
##Multiple access technologies supported in Event&lt;br /&gt;
##Access Technology Change and PROVIDE LOCAL INFORMATION &amp;lt;br&amp;gt;If bit &amp;quot;Multiple access technologies supported&amp;quot; is set to 1, it applies to the Event Access Technology Change if supported and all relevant modes of proactive command PROVIDE  LOCAL INFORMATION that are supported.&lt;br /&gt;
#Twenty-sixth byte (Event driven information extensions):&lt;br /&gt;
##RFU, bit = 0 (for future event indication)&lt;br /&gt;
#Twenty-seventh byte (Event driven information extensions):&lt;br /&gt;
##RFU, bit = 0 (for future event indication)&lt;br /&gt;
#Twenty-eighth byte (Text attributes):&lt;br /&gt;
##Alignment left supported by Terminal&lt;br /&gt;
##Alignment centre supported by Terminal&lt;br /&gt;
##Alignment right supported by Terminal&lt;br /&gt;
##Font size normal supported by Terminal&lt;br /&gt;
##Font size large supported by Terminal&lt;br /&gt;
##Font size small supported by Terminal&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-ninth byte (Text attributes):&lt;br /&gt;
##Style normal supported by Terminal&lt;br /&gt;
##Style bold supported by Terminal&lt;br /&gt;
##Style italic supported by Terminal&lt;br /&gt;
##Style underlined supported by Terminal&lt;br /&gt;
##Style strikethrough supported by Terminal&lt;br /&gt;
##Style text foreground colour supported by Terminal&lt;br /&gt;
##Style text background colour supported by Terminal&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Thirtieth byte:&lt;br /&gt;
##I-WLAN bearer support (if class &amp;quot;e&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (WSID of the current I-WLAN connection)&lt;br /&gt;
##TERMINAL APPLICATIONS (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##Steering of Roaming REFRESH support&lt;br /&gt;
##Proactive UICC: ACTIVATE (i.e class &amp;quot;l&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: GEOGRAPHICAL LOCATION REQUEST (if class &amp;quot;n&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Broadcast Network Information) (i.e. class &amp;quot;o&amp;quot; is supported)&lt;br /&gt;
##Steering of Roaming for I-WLAN REFRESH support&lt;br /&gt;
&lt;br /&gt;
====Values====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center;&amp;quot;&lt;br /&gt;
|Phone Type||B1||B2||B3||B4||B5||B6||B7||B8||B9||B10||B11||B12||B13||B14||B15||B16||B17||B18||B19||B20||B21||B22||B23||B24||B25||B26||B27||B28||B29||B30&lt;br /&gt;
|-&lt;br /&gt;
|Samsung Galaxy Express||ff||ff||ff||ff||7f||9d||00||df||bf||00||00||1f||e2||00||00||00||c3||6b||00||07||00||00||40||00||50||00||00||00||00||08&lt;br /&gt;
|-&lt;br /&gt;
|Samsung Galaxy Note 3||ff||ff||ff||ff||7f||9d||00||df||bf||00||00||1f||e2||00||00||00||c3||6b||00||07||00||00||40||00||50||00||00||00||00||08&lt;br /&gt;
|-&lt;br /&gt;
|HTC One X+||ff||ff||ff||ff||7f||1d||00||df||b7||03||02||1f||22||00||00||00||83||00||00||00||00||00||40||10||00||00||00||00||00||00&lt;br /&gt;
|-&lt;br /&gt;
|IPhone 4||ff||ff||ff||ff||7f||91||00||df||bf||00||00||00||00||00||00||00||00||f0||00||03||00||00||60||00||50||00||00||00||00||00&lt;br /&gt;
|-&lt;br /&gt;
|Nokia E72||ff||ff||ff||ff||7f||1d||00||df||bf||00||00||17||e2||05||0f||00||03||09||00||00||00||00||00||00||00||00||00||00||00||00&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Andrei</name></author>	</entry>

	<entry>
		<id>https://ss7api.null.ro/index.php/SIM_Cards</id>
		<title>SIM Cards</title>
		<link rel="alternate" type="text/html" href="https://ss7api.null.ro/index.php/SIM_Cards"/>
				<updated>2014-03-05T16:26:00Z</updated>
		
		<summary type="html">&lt;p&gt;Andrei: /* Access Technology */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
===SIM Events===&lt;br /&gt;
&lt;br /&gt;
====Call Related Events and Requests====&lt;br /&gt;
The following events are received by the SIM card when a call is made.&lt;br /&gt;
*Standard: Details can be found in standard TS 31.111&lt;br /&gt;
*Terminal Class: This events should work in all terminals.&lt;br /&gt;
*Status: Tests were made successfully for Mobile Originating Calls&lt;br /&gt;
*Events:&amp;lt;br&amp;gt;The SIM is notified on the following events:&lt;br /&gt;
**Mobile Originating Call Initiated&lt;br /&gt;
**Mobile Originating SMS Initiated&lt;br /&gt;
**Mobile Originating USSD Initiated&lt;br /&gt;
**Mobile Originating SS Initiated&amp;lt;br&amp;gt;On the events above, the 'address' and 'subaddress' parameters can be altered.&lt;br /&gt;
*Notifications:&amp;lt;br&amp;gt;We can receive notifications for the following events. NOTE: We can not alter the event flow. Eg. We can not keep the call alive if we received call terminated event.&lt;br /&gt;
**Call Connected&lt;br /&gt;
**Call Terminated&lt;br /&gt;
*Requests - We can make the following requests:&lt;br /&gt;
**Set Up Call&lt;br /&gt;
**Send DTMF&lt;br /&gt;
*Parameters:&lt;br /&gt;
**Address&amp;lt;br&amp;gt;The called party address. Details on TS 31.111 chapter 8.1&lt;br /&gt;
**Subaddress&amp;lt;br&amp;gt;The called party subaddress. Details on TS 31.111 chapter  8.3&lt;br /&gt;
&lt;br /&gt;
====Browsing====&lt;br /&gt;
Open a SIM provided URL in phone defaults browser.&lt;br /&gt;
*Standard: Details can be fond in TS 102 223.&lt;br /&gt;
*Terminal: This should work in a class C terminal.&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&amp;lt;br&amp;gt;We are notified when one of the following events occures:&lt;br /&gt;
**Status&amp;lt;br&amp;gt;Received when the browser receives a distant error from the network.&lt;br /&gt;
**Terminated&amp;lt;br&amp;gt;Received when the browser is terminated.&lt;br /&gt;
*Requests:&lt;br /&gt;
**Lunch Browser&amp;lt;br&amp;gt;Ask a terminal to open a browser with the provided URL.&lt;br /&gt;
&lt;br /&gt;
====Access Technology====&lt;br /&gt;
Notification sent from the phone to inform about the access technology 2g/3g&lt;br /&gt;
*Standard Details can be found in TS 102 223&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Changed&amp;lt;br&amp;gt;The access technology has changed from 2g/3g.&lt;br /&gt;
&lt;br /&gt;
====Card Reader====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Terminal Class: A&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Status&lt;br /&gt;
*Requests:&lt;br /&gt;
**Power ON Card&lt;br /&gt;
**Power OFF Card&lt;br /&gt;
**Perform Card APDU&lt;br /&gt;
**Get Reader Status&lt;br /&gt;
&lt;br /&gt;
====Data====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: No compatible device found&lt;br /&gt;
*Terminal class E&lt;br /&gt;
*Events:&lt;br /&gt;
**Data available&lt;br /&gt;
**Channel Status&lt;br /&gt;
*Requests&lt;br /&gt;
**Open Channel&lt;br /&gt;
**Send Data&lt;br /&gt;
**Receive Data&lt;br /&gt;
**Close Channel&lt;br /&gt;
&lt;br /&gt;
====User Interface====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: Most of them tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Display Parameter Change&lt;br /&gt;
**Frames Information Changed&lt;br /&gt;
**Idle screen available&lt;br /&gt;
**User activity&lt;br /&gt;
**Menu Selection&lt;br /&gt;
**Menu Selection Help Request&lt;br /&gt;
*Requests:&lt;br /&gt;
**Get Input&lt;br /&gt;
**Get InKey&lt;br /&gt;
**Display Text&lt;br /&gt;
**Set Up Menu&lt;br /&gt;
**Select Item&lt;br /&gt;
**Set Up Idle Mode Text&lt;br /&gt;
**Set Frames&amp;lt;br&amp;gt;Terminal class I&lt;br /&gt;
**Get Frame Status&amp;lt;br&amp;gt;Terminal class I&lt;br /&gt;
&lt;br /&gt;
====SMS====&lt;br /&gt;
*Standard TS 131 111&lt;br /&gt;
*Status: Not tested yet&lt;br /&gt;
*Events:&lt;br /&gt;
**SMS-PP Data Download unformatted&lt;br /&gt;
**SMS-PP Data Download formatted&lt;br /&gt;
**SMS-CB Data Download formatted&lt;br /&gt;
**SMS-CB Data Download unformatted&lt;br /&gt;
*Requests:&lt;br /&gt;
**Send Short Message&lt;br /&gt;
*Parameters&lt;br /&gt;
**Address&lt;br /&gt;
**SMS TPDU&lt;br /&gt;
&lt;br /&gt;
====SS====&lt;br /&gt;
*Standard TS 131 111&lt;br /&gt;
*Terminal class P for USSD Data Download&lt;br /&gt;
*Status: Send USSD tested&lt;br /&gt;
*Events:&lt;br /&gt;
**USSD Data Download formatted&lt;br /&gt;
**USSD Data Download unformatted&lt;br /&gt;
*Requests:&lt;br /&gt;
**Send SS&lt;br /&gt;
**Send USSD&lt;br /&gt;
*Parameters&lt;br /&gt;
**SS String&lt;br /&gt;
**USSD String&lt;br /&gt;
NOTE: If the USSD session is initiated form SIM card than only the last response from the network is passed to the SIM.&lt;br /&gt;
&lt;br /&gt;
====IMS====&lt;br /&gt;
*Standard TS 131 111&lt;br /&gt;
*Terminal class E + T&lt;br /&gt;
*Events&lt;br /&gt;
**Download IMS Registration&lt;br /&gt;
**Download Incoming IMS Data&lt;br /&gt;
*Parameters&lt;br /&gt;
**IARI&lt;br /&gt;
**IMPU List&lt;br /&gt;
**IMS status code&lt;br /&gt;
&lt;br /&gt;
====Terminal====&lt;br /&gt;
*Standard TS 102 223 + TS 131 111&lt;br /&gt;
*Events&lt;br /&gt;
**Location Status&amp;lt;br&amp;gt;Status: tested&amp;lt;br&amp;gt;Parameters:&lt;br /&gt;
***Location Status TS 102.223 8.27&lt;br /&gt;
***Location Information TS 102.223 8.19&lt;br /&gt;
**Language Selection&lt;br /&gt;
**Profile Download&lt;br /&gt;
**Network Reject&lt;br /&gt;
**Timer expiration&lt;br /&gt;
*Requests&lt;br /&gt;
**Provide Local Information&lt;br /&gt;
**Language Notification&lt;br /&gt;
**Geographical Location Request&amp;lt;br&amp;gt;Terminal Type N&lt;br /&gt;
**More Time&amp;lt;br&amp;gt;Request to terminal for more processing time. &lt;br /&gt;
**Refresh&amp;lt;br&amp;gt;Request to terminal to reinitialize SIM card.&lt;br /&gt;
**Timer Management&amp;lt;br&amp;gt;SIM timers&lt;br /&gt;
&lt;br /&gt;
====Service====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: not tested&lt;br /&gt;
*Terminal class F&lt;br /&gt;
*Requests:&lt;br /&gt;
**Declare Service&lt;br /&gt;
**Search Service&lt;br /&gt;
**Get Service Information&lt;br /&gt;
&lt;br /&gt;
====MMS====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: not tested&lt;br /&gt;
*Terminal class J&lt;br /&gt;
*Requests:&lt;br /&gt;
**Retreive MMS&lt;br /&gt;
**Submit MMS&lt;br /&gt;
**Display MMS&lt;br /&gt;
&lt;br /&gt;
===Card File System===&lt;br /&gt;
&lt;br /&gt;
====USIM File System====&lt;br /&gt;
Extracted from standard TS 131.102.&lt;br /&gt;
*Language Indication&lt;br /&gt;
*IMSI&lt;br /&gt;
*Ciphering and Integrity Keys&lt;br /&gt;
*Ciphering and Integrity Keys for Packet Switched domain&lt;br /&gt;
*User controlled PLMN selector with Access Technology&lt;br /&gt;
*Higher Priority PLMN search period&lt;br /&gt;
*ACM maximum value&lt;br /&gt;
*USIM Service Table&lt;br /&gt;
*Accumulated Call Meter&lt;br /&gt;
*Group Identifier Level 1&lt;br /&gt;
*Group Identifier Level 2&lt;br /&gt;
*Service Provider Name&lt;br /&gt;
*Price per Unit and Currency Table&lt;br /&gt;
*Cell Broadcast Message identifier selection&lt;br /&gt;
*Access Control Class&lt;br /&gt;
*Forbidden PLMNs&lt;br /&gt;
*Location Information&lt;br /&gt;
*Administrative Data&lt;br /&gt;
*Cell Broadcast Message Identifier for Data Download&lt;br /&gt;
*Emergency Call Codes&lt;br /&gt;
*Cell Broadcast Message Identifier Range selection&lt;br /&gt;
*Packet Switched location information&lt;br /&gt;
*Fixed Dialling Numbers&lt;br /&gt;
*Short messages&lt;br /&gt;
*MSISDN&lt;br /&gt;
*Short message service parameters&lt;br /&gt;
*SMS status&lt;br /&gt;
*Service Dialling Numbers&lt;br /&gt;
*Extension2&lt;br /&gt;
*Extension3&lt;br /&gt;
*Short message status reports&lt;br /&gt;
*Incoming Call Information&lt;br /&gt;
*Outgoing Call Information&lt;br /&gt;
*Incoming Call Timer&lt;br /&gt;
*Outgoing Call Timer&lt;br /&gt;
*Extension5&lt;br /&gt;
*Capability Configuration Parameters 2&lt;br /&gt;
*enhanced Multi Level Precedence and Pre-emption&lt;br /&gt;
*Automatic Answer for eMLPP Service&lt;br /&gt;
*Key for hidden phone book entries&lt;br /&gt;
*Barred Dialling Numbers&lt;br /&gt;
*Extension4&lt;br /&gt;
*Comparison Method Information&lt;br /&gt;
*Enabled Services Table&lt;br /&gt;
*Access Point Name Control List&lt;br /&gt;
*Depersonalisation Control Keys&lt;br /&gt;
*Co-operative Network List&lt;br /&gt;
*Initialisation values for Hyperframe number&lt;br /&gt;
*Maximum value of START&lt;br /&gt;
*Operator controlled PLMN selector with Access Technology&lt;br /&gt;
*HPLMN selector with Access Technology&lt;br /&gt;
*Access Rule Reference&lt;br /&gt;
*Network Parameters&lt;br /&gt;
*PLMN Network Name&lt;br /&gt;
*Operator PLMN List&lt;br /&gt;
*Mailbox Dialling Numbers&lt;br /&gt;
*Extension6&lt;br /&gt;
*Mailbox Identifier&lt;br /&gt;
*Message Waiting Indication Status&lt;br /&gt;
*Call Forwarding Indication Status&lt;br /&gt;
*Extension7&lt;br /&gt;
*Service Provider Display Information&lt;br /&gt;
*MMS Notification&lt;br /&gt;
*Extension 8&lt;br /&gt;
*MMS Issuer Connectivity Parameters&lt;br /&gt;
*MMS User Preferences&lt;br /&gt;
*MMS User Connectivity Parameters&lt;br /&gt;
*Network's Indication of Alerting&lt;br /&gt;
*Voice Group Call Service&lt;br /&gt;
*Voice Group Call Service Status&lt;br /&gt;
*Voice Broadcast Service&lt;br /&gt;
*Voice Broadcast Service Status&lt;br /&gt;
&lt;br /&gt;
===Terminal profile===&lt;br /&gt;
====Description====&lt;br /&gt;
The terminal can be interrogated about which functions it supports.&lt;br /&gt;
#First byte (Download):&lt;br /&gt;
##Profile download&lt;br /&gt;
##SMS-PP data download&lt;br /&gt;
##Cell Broadcast data download)&lt;br /&gt;
##Menu selection&lt;br /&gt;
##SMS-PP data download&lt;br /&gt;
##Timer expiration&lt;br /&gt;
##USSD string data object support in Call Control by USIM&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
#Second byte (Other):&lt;br /&gt;
##Command result&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
##Call Control by NAA &lt;br /&gt;
##MO short message control support&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
##UCS2 Entry supported&lt;br /&gt;
##UCS2 Display supported&lt;br /&gt;
##Display Text&lt;br /&gt;
#Third byte (Proactive UICC):&lt;br /&gt;
##DISPLAY TEXT&lt;br /&gt;
##GET INKEY&lt;br /&gt;
##GET INPUT&lt;br /&gt;
##MORE TIME&lt;br /&gt;
##PLAY TONE&lt;br /&gt;
##POLL INTERVAL&lt;br /&gt;
##POLLING OFF&lt;br /&gt;
##REFRESH&lt;br /&gt;
#Fourth byte (Proactive UICC):&lt;br /&gt;
##Proactive UICC: SELECT ITEM&lt;br /&gt;
##Proactive UICC: SEND SHORT MESSAGE with 3GPP-SMS-TPDU&lt;br /&gt;
##Proactive UICC: SEND SS&lt;br /&gt;
##Proactive UICC:SEND USSD&lt;br /&gt;
##Proactive UICC: SET UP CALL&lt;br /&gt;
##Proactive UICC: SET UP MENU&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (MCC, MNC,LAC, Cell ID &amp;amp; IMEI)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (NMR)&lt;br /&gt;
#Fifth byte (Event driven information):&lt;br /&gt;
##Proactive UICC: SET UP EVENT LIST&lt;br /&gt;
##Event: MT call&lt;br /&gt;
##Event: Call connected&lt;br /&gt;
##Event: Call disconnected&lt;br /&gt;
##Event: Location status&lt;br /&gt;
##Event: User activity&lt;br /&gt;
##Event: Idle screen available&lt;br /&gt;
##Event: Card reader status&lt;br /&gt;
#Sixth byte (Event driven information extensions):&lt;br /&gt;
##Language selection&lt;br /&gt;
##Browser Termination&lt;br /&gt;
##Data available&lt;br /&gt;
##Channel status&lt;br /&gt;
##Access Technology Change&lt;br /&gt;
##Display parameters changed&lt;br /&gt;
##Local Connection&lt;br /&gt;
##Network Search Mode Change&lt;br /&gt;
#Seventh byte (Multiple card proactive commands) for class &amp;quot;a&amp;quot;:&lt;br /&gt;
##POWER ON CARD&lt;br /&gt;
##POWER OFF CARD&lt;br /&gt;
##PERFORM CARD APDU&lt;br /&gt;
##GET READER STATUS (Card reader status)&lt;br /&gt;
##GET READER STATUS (Card reader Identifier)&lt;br /&gt;
##RFU&lt;br /&gt;
#Eighth byte (Proactive UICC):&lt;br /&gt;
##Proactive UICC: TIMER MANAGEMENT (start, stop)&lt;br /&gt;
##Proactive UICC: TIMER MANAGEMENT (get current value)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (date, time and time zone)&lt;br /&gt;
##GET INKEY&lt;br /&gt;
##SET UP IDLE MODE TEXT&lt;br /&gt;
##RUN AT COMMAND (i.e. class &amp;quot;b&amp;quot; is supported)&lt;br /&gt;
##SETUP CALL&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
#Ninth byte:&lt;br /&gt;
##DISPLAY TEXT&lt;br /&gt;
##SEND DTMF command&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (language)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION, Timing Advance&lt;br /&gt;
##Proactive UICC: LANGUAGE NOTIFICATION&lt;br /&gt;
##Proactive UICC: LAUNCH BROWSER&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Access Technology)&lt;br /&gt;
#Tenth byte (Soft keys support) for class &amp;quot;d&amp;quot;:&lt;br /&gt;
##Soft keys support for SELECT ITEM&lt;br /&gt;
##Soft Keys support for SET UP MENU&lt;br /&gt;
##RFU&lt;br /&gt;
#Eleventh byte (Soft keys information):&lt;br /&gt;
##Maximum number of soft keys available 'FF' value is reserved for future use&lt;br /&gt;
#Twelfth byte:&lt;br /&gt;
##OPEN CHANNEL&lt;br /&gt;
##CLOSE CHANNEL&lt;br /&gt;
##RECEIVE DATA&lt;br /&gt;
##SEND DATA&lt;br /&gt;
##GET CHANNEL STATUS&lt;br /&gt;
##SERVICE SEARCH&lt;br /&gt;
##GET SERVICE INFORMATION&lt;br /&gt;
##DECLARE SERVICE&lt;br /&gt;
#Thirteenth byte:&lt;br /&gt;
##CSD&lt;br /&gt;
##GPRS&lt;br /&gt;
##Bluetooth&lt;br /&gt;
##IrDA&lt;br /&gt;
##RS232&lt;br /&gt;
##b6,b7,b8 - Number of channels supported by terminal&lt;br /&gt;
#Fourteenth byte (Screen height):&lt;br /&gt;
##b1 - b4 - Number of characters supported down the terminal display as defined in clause 5.3.1&lt;br /&gt;
##No display capability (i.e class &amp;quot;ND&amp;quot; is indicated)&lt;br /&gt;
##No keypad available (i.e. class &amp;quot;NK&amp;quot; is indicated)&lt;br /&gt;
##Screen Sizing Parameters supported as defined inclause 5.3&lt;br /&gt;
#Fifteenth byte (Screen width):&lt;br /&gt;
##b1-b7 - Number of characters supported across the terminal display as defined in clause 5.3.2&lt;br /&gt;
##Variable size fonts&lt;br /&gt;
#Sixteenth byte (Screen effects):&lt;br /&gt;
##Display can be resized as defined in clause 5.3.3&lt;br /&gt;
##Text Wrapping supported as defined in clause 5.3.4&lt;br /&gt;
##Text Scrolling supported as defined in clause 5.3.5&lt;br /&gt;
##Text Attributes supported as defined in clause 5.3.7&lt;br /&gt;
##b5 - RFU&lt;br /&gt;
##b6 - b8 - Width reduction when in a menu as defined in clause 5.3.6&lt;br /&gt;
#Seventeenth byte:&lt;br /&gt;
##TCP, UICC in client mode, remote connection&lt;br /&gt;
##UDP, UICC in client mode, remote connection&lt;br /&gt;
##TCP, UICC in server mode&lt;br /&gt;
##TCP, UICC in client mode, local connection (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##UDP, UICC in client mode, local connection (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
##E-UTRAN (if class &amp;quot;e&amp;quot; issupported))&lt;br /&gt;
##HSDPA (if class &amp;quot;e&amp;quot; is supported))&lt;br /&gt;
#Eighteenth byte:&lt;br /&gt;
##Proactive UICC: DISPLAY TEXT (Variable Time out)&lt;br /&gt;
##Proactive UICC: GET INKEY (help is supported while waiting for immediate response or variable timeout)&lt;br /&gt;
##USB&lt;br /&gt;
##Proactive UICC: GET INKEY (Variable Timeout)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (ESN)&lt;br /&gt;
##Call control on GPRS&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (IMEISV)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Search Mode change)&lt;br /&gt;
#Nineteenth byte (reserved for TIA/EIA-136-C facilities [25]):&lt;br /&gt;
##Reserved by TIA/EIA-136 [25] (Protocol Version support)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twentieth byte (reserved for TIA/EIA/IS-820-A facilities [17]):&lt;br /&gt;
##Reserved by TIA/EIA/IS-820 [17]&lt;br /&gt;
#Twenty-first byte (Extended Launch Browser Capability) for class &amp;quot;c&amp;quot;:&lt;br /&gt;
##WML&lt;br /&gt;
##XHTML&lt;br /&gt;
##HTML&lt;br /&gt;
##CHTML&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-second byte:&lt;br /&gt;
##Support of UTRAN PS with extended parameters&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION(battery state), (i.e. class &amp;quot;g&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PLAY TONE (Melody tones and Themed tones supported)&lt;br /&gt;
##Multi-media Calls in SET UP CALL (if class h supported)&lt;br /&gt;
##Reserved by 3GPP (Toolkit-initiated GBA)&lt;br /&gt;
##Proactive UICC: RETRIEVE MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: SUBMIT MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: DISPLAY MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
#Twenty third byte:&lt;br /&gt;
##Proactive UICC: SET FRAMES (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: GET FRAMES STATUS (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##MMS notification download (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Alpha Identifier in REFRESH command supported by terminal&lt;br /&gt;
##Geographical Location Reporting (if class &amp;quot;n&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (MEID)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (NMR(UTRAN))&lt;br /&gt;
##USSD Data download and application mode&lt;br /&gt;
#Twenty fourth byte for class &amp;quot;i&amp;quot;:&lt;br /&gt;
##b1-b4 - Maximum number of frames supported (including frames created in existing frames)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-fifth byte (Event driven information extensions):&lt;br /&gt;
##Event: Browsing status&lt;br /&gt;
##Event: MMS Transfer status (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Event: Frame Parameters changed (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##Event: I-WLAN Access status (if class &amp;quot;e&amp;quot; is supported)&lt;br /&gt;
##Event Network Rejection&lt;br /&gt;
##Event: HCI connectivity event (i.e. class &amp;quot;m&amp;quot; is supported)&lt;br /&gt;
##Reserved by 3GPP (E-UTRAN support in Event Network Rejection)&lt;br /&gt;
##Multiple access technologies supported in Event&lt;br /&gt;
##Access Technology Change and PROVIDE LOCAL INFORMATION &amp;lt;br&amp;gt;If bit &amp;quot;Multiple access technologies supported&amp;quot; is set to 1, it applies to the Event Access Technology Change if supported and all relevant modes of proactive command PROVIDE  LOCAL INFORMATION that are supported.&lt;br /&gt;
#Twenty-sixth byte (Event driven information extensions):&lt;br /&gt;
##RFU, bit = 0 (for future event indication)&lt;br /&gt;
#Twenty-seventh byte (Event driven information extensions):&lt;br /&gt;
##RFU, bit = 0 (for future event indication)&lt;br /&gt;
#Twenty-eighth byte (Text attributes):&lt;br /&gt;
##Alignment left supported by Terminal&lt;br /&gt;
##Alignment centre supported by Terminal&lt;br /&gt;
##Alignment right supported by Terminal&lt;br /&gt;
##Font size normal supported by Terminal&lt;br /&gt;
##Font size large supported by Terminal&lt;br /&gt;
##Font size small supported by Terminal&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-ninth byte (Text attributes):&lt;br /&gt;
##Style normal supported by Terminal&lt;br /&gt;
##Style bold supported by Terminal&lt;br /&gt;
##Style italic supported by Terminal&lt;br /&gt;
##Style underlined supported by Terminal&lt;br /&gt;
##Style strikethrough supported by Terminal&lt;br /&gt;
##Style text foreground colour supported by Terminal&lt;br /&gt;
##Style text background colour supported by Terminal&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Thirtieth byte:&lt;br /&gt;
##I-WLAN bearer support (if class &amp;quot;e&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (WSID of the current I-WLAN connection)&lt;br /&gt;
##TERMINAL APPLICATIONS (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##Steering of Roaming REFRESH support&lt;br /&gt;
##Proactive UICC: ACTIVATE (i.e class &amp;quot;l&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: GEOGRAPHICAL LOCATION REQUEST (if class &amp;quot;n&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Broadcast Network Information) (i.e. class &amp;quot;o&amp;quot; is supported)&lt;br /&gt;
##Steering of Roaming for I-WLAN REFRESH support&lt;br /&gt;
&lt;br /&gt;
====Values====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center;&amp;quot;&lt;br /&gt;
|Phone Type||B1||B2||B3||B4||B5||B6||B7||B8||B9||B10||B11||B12||B13||B14||B15||B16||B17||B18||B19||B20||B21||B22||B23||B24||B25||B26||B27||B28||B29||B30&lt;br /&gt;
|-&lt;br /&gt;
|Samsung Galaxy Express||ff||ff||ff||ff||7f||9d||00||df||bf||00||00||1f||e2||00||00||00||c3||6b||00||07||00||00||40||00||50||00||00||00||00||08&lt;br /&gt;
|-&lt;br /&gt;
|Samsung Galaxy Note 3||ff||ff||ff||ff||7f||9d||00||df||bf||00||00||1f||e2||00||00||00||c3||6b||00||07||00||00||40||00||50||00||00||00||00||08&lt;br /&gt;
|-&lt;br /&gt;
|HTC One X+||ff||ff||ff||ff||7f||1d||00||df||b7||03||02||1f||22||00||00||00||83||00||00||00||00||00||40||10||00||00||00||00||00||00&lt;br /&gt;
|-&lt;br /&gt;
|IPhone 4||ff||ff||ff||ff||7f||91||00||df||bf||00||00||00||00||00||00||00||00||f0||00||03||00||00||60||00||50||00||00||00||00||00&lt;br /&gt;
|-&lt;br /&gt;
|Nokia E72||ff||ff||ff||ff||7f||1d||00||df||bf||00||00||17||e2||05||0f||00||03||09||00||00||00||00||00||00||00||00||00||00||00||00&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Andrei</name></author>	</entry>

	<entry>
		<id>https://ss7api.null.ro/index.php/SIM_Cards</id>
		<title>SIM Cards</title>
		<link rel="alternate" type="text/html" href="https://ss7api.null.ro/index.php/SIM_Cards"/>
				<updated>2014-03-05T15:41:52Z</updated>
		
		<summary type="html">&lt;p&gt;Andrei: /* Browsing */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
===SIM Events===&lt;br /&gt;
&lt;br /&gt;
====Call Related Events and Requests====&lt;br /&gt;
The following events are received by the SIM card when a call is made.&lt;br /&gt;
*Standard: Details can be found in standard TS 31.111&lt;br /&gt;
*Terminal Class: This events should work in all terminals.&lt;br /&gt;
*Status: Tests were made successfully for Mobile Originating Calls&lt;br /&gt;
*Events:&amp;lt;br&amp;gt;The SIM is notified on the following events:&lt;br /&gt;
**Mobile Originating Call Initiated&lt;br /&gt;
**Mobile Originating SMS Initiated&lt;br /&gt;
**Mobile Originating USSD Initiated&lt;br /&gt;
**Mobile Originating SS Initiated&amp;lt;br&amp;gt;On the events above, the 'address' and 'subaddress' parameters can be altered.&lt;br /&gt;
*Notifications:&amp;lt;br&amp;gt;We can receive notifications for the following events. NOTE: We can not alter the event flow. Eg. We can not keep the call alive if we received call terminated event.&lt;br /&gt;
**Call Connected&lt;br /&gt;
**Call Terminated&lt;br /&gt;
*Requests - We can make the following requests:&lt;br /&gt;
**Set Up Call&lt;br /&gt;
**Send DTMF&lt;br /&gt;
*Parameters:&lt;br /&gt;
**Address&amp;lt;br&amp;gt;The called party address. Details on TS 31.111 chapter 8.1&lt;br /&gt;
**Subaddress&amp;lt;br&amp;gt;The called party subaddress. Details on TS 31.111 chapter  8.3&lt;br /&gt;
&lt;br /&gt;
====Browsing====&lt;br /&gt;
Open a SIM provided URL in phone defaults browser.&lt;br /&gt;
*Standard: Details can be fond in TS 102 223.&lt;br /&gt;
*Terminal: This should work in a class C terminal.&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&amp;lt;br&amp;gt;We are notified when one of the following events occures:&lt;br /&gt;
**Status&amp;lt;br&amp;gt;Received when the browser receives a distant error from the network.&lt;br /&gt;
**Terminated&amp;lt;br&amp;gt;Received when the browser is terminated.&lt;br /&gt;
*Requests:&lt;br /&gt;
**Lunch Browser&amp;lt;br&amp;gt;Ask a terminal to open a browser with the provided URL.&lt;br /&gt;
&lt;br /&gt;
====Access Technology====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Changed&lt;br /&gt;
&lt;br /&gt;
====Card Reader====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Terminal Class: A&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Status&lt;br /&gt;
*Requests:&lt;br /&gt;
**Power ON Card&lt;br /&gt;
**Power OFF Card&lt;br /&gt;
**Perform Card APDU&lt;br /&gt;
**Get Reader Status&lt;br /&gt;
&lt;br /&gt;
====Data====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: No compatible device found&lt;br /&gt;
*Terminal class E&lt;br /&gt;
*Events:&lt;br /&gt;
**Data available&lt;br /&gt;
**Channel Status&lt;br /&gt;
*Requests&lt;br /&gt;
**Open Channel&lt;br /&gt;
**Send Data&lt;br /&gt;
**Receive Data&lt;br /&gt;
**Close Channel&lt;br /&gt;
&lt;br /&gt;
====User Interface====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: Most of them tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Display Parameter Change&lt;br /&gt;
**Frames Information Changed&lt;br /&gt;
**Idle screen available&lt;br /&gt;
**User activity&lt;br /&gt;
**Menu Selection&lt;br /&gt;
**Menu Selection Help Request&lt;br /&gt;
*Requests:&lt;br /&gt;
**Get Input&lt;br /&gt;
**Get InKey&lt;br /&gt;
**Display Text&lt;br /&gt;
**Set Up Menu&lt;br /&gt;
**Select Item&lt;br /&gt;
**Set Up Idle Mode Text&lt;br /&gt;
**Set Frames&amp;lt;br&amp;gt;Terminal class I&lt;br /&gt;
**Get Frame Status&amp;lt;br&amp;gt;Terminal class I&lt;br /&gt;
&lt;br /&gt;
====SMS====&lt;br /&gt;
*Standard TS 131 111&lt;br /&gt;
*Status: Not tested yet&lt;br /&gt;
*Events:&lt;br /&gt;
**SMS-PP Data Download unformatted&lt;br /&gt;
**SMS-PP Data Download formatted&lt;br /&gt;
**SMS-CB Data Download formatted&lt;br /&gt;
**SMS-CB Data Download unformatted&lt;br /&gt;
*Requests:&lt;br /&gt;
**Send Short Message&lt;br /&gt;
*Parameters&lt;br /&gt;
**Address&lt;br /&gt;
**SMS TPDU&lt;br /&gt;
&lt;br /&gt;
====SS====&lt;br /&gt;
*Standard TS 131 111&lt;br /&gt;
*Terminal class P for USSD Data Download&lt;br /&gt;
*Status: Send USSD tested&lt;br /&gt;
*Events:&lt;br /&gt;
**USSD Data Download formatted&lt;br /&gt;
**USSD Data Download unformatted&lt;br /&gt;
*Requests:&lt;br /&gt;
**Send SS&lt;br /&gt;
**Send USSD&lt;br /&gt;
*Parameters&lt;br /&gt;
**SS String&lt;br /&gt;
**USSD String&lt;br /&gt;
NOTE: If the USSD session is initiated form SIM card than only the last response from the network is passed to the SIM.&lt;br /&gt;
&lt;br /&gt;
====IMS====&lt;br /&gt;
*Standard TS 131 111&lt;br /&gt;
*Terminal class E + T&lt;br /&gt;
*Events&lt;br /&gt;
**Download IMS Registration&lt;br /&gt;
**Download Incoming IMS Data&lt;br /&gt;
*Parameters&lt;br /&gt;
**IARI&lt;br /&gt;
**IMPU List&lt;br /&gt;
**IMS status code&lt;br /&gt;
&lt;br /&gt;
====Terminal====&lt;br /&gt;
*Standard TS 102 223 + TS 131 111&lt;br /&gt;
*Events&lt;br /&gt;
**Location Status&amp;lt;br&amp;gt;Status: tested&amp;lt;br&amp;gt;Parameters:&lt;br /&gt;
***Location Status TS 102.223 8.27&lt;br /&gt;
***Location Information TS 102.223 8.19&lt;br /&gt;
**Language Selection&lt;br /&gt;
**Profile Download&lt;br /&gt;
**Network Reject&lt;br /&gt;
**Timer expiration&lt;br /&gt;
*Requests&lt;br /&gt;
**Provide Local Information&lt;br /&gt;
**Language Notification&lt;br /&gt;
**Geographical Location Request&amp;lt;br&amp;gt;Terminal Type N&lt;br /&gt;
**More Time&amp;lt;br&amp;gt;Request to terminal for more processing time. &lt;br /&gt;
**Refresh&amp;lt;br&amp;gt;Request to terminal to reinitialize SIM card.&lt;br /&gt;
**Timer Management&amp;lt;br&amp;gt;SIM timers&lt;br /&gt;
&lt;br /&gt;
====Service====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: not tested&lt;br /&gt;
*Terminal class F&lt;br /&gt;
*Requests:&lt;br /&gt;
**Declare Service&lt;br /&gt;
**Search Service&lt;br /&gt;
**Get Service Information&lt;br /&gt;
&lt;br /&gt;
====MMS====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: not tested&lt;br /&gt;
*Terminal class J&lt;br /&gt;
*Requests:&lt;br /&gt;
**Retreive MMS&lt;br /&gt;
**Submit MMS&lt;br /&gt;
**Display MMS&lt;br /&gt;
&lt;br /&gt;
===Card File System===&lt;br /&gt;
&lt;br /&gt;
====USIM File System====&lt;br /&gt;
Extracted from standard TS 131.102.&lt;br /&gt;
*Language Indication&lt;br /&gt;
*IMSI&lt;br /&gt;
*Ciphering and Integrity Keys&lt;br /&gt;
*Ciphering and Integrity Keys for Packet Switched domain&lt;br /&gt;
*User controlled PLMN selector with Access Technology&lt;br /&gt;
*Higher Priority PLMN search period&lt;br /&gt;
*ACM maximum value&lt;br /&gt;
*USIM Service Table&lt;br /&gt;
*Accumulated Call Meter&lt;br /&gt;
*Group Identifier Level 1&lt;br /&gt;
*Group Identifier Level 2&lt;br /&gt;
*Service Provider Name&lt;br /&gt;
*Price per Unit and Currency Table&lt;br /&gt;
*Cell Broadcast Message identifier selection&lt;br /&gt;
*Access Control Class&lt;br /&gt;
*Forbidden PLMNs&lt;br /&gt;
*Location Information&lt;br /&gt;
*Administrative Data&lt;br /&gt;
*Cell Broadcast Message Identifier for Data Download&lt;br /&gt;
*Emergency Call Codes&lt;br /&gt;
*Cell Broadcast Message Identifier Range selection&lt;br /&gt;
*Packet Switched location information&lt;br /&gt;
*Fixed Dialling Numbers&lt;br /&gt;
*Short messages&lt;br /&gt;
*MSISDN&lt;br /&gt;
*Short message service parameters&lt;br /&gt;
*SMS status&lt;br /&gt;
*Service Dialling Numbers&lt;br /&gt;
*Extension2&lt;br /&gt;
*Extension3&lt;br /&gt;
*Short message status reports&lt;br /&gt;
*Incoming Call Information&lt;br /&gt;
*Outgoing Call Information&lt;br /&gt;
*Incoming Call Timer&lt;br /&gt;
*Outgoing Call Timer&lt;br /&gt;
*Extension5&lt;br /&gt;
*Capability Configuration Parameters 2&lt;br /&gt;
*enhanced Multi Level Precedence and Pre-emption&lt;br /&gt;
*Automatic Answer for eMLPP Service&lt;br /&gt;
*Key for hidden phone book entries&lt;br /&gt;
*Barred Dialling Numbers&lt;br /&gt;
*Extension4&lt;br /&gt;
*Comparison Method Information&lt;br /&gt;
*Enabled Services Table&lt;br /&gt;
*Access Point Name Control List&lt;br /&gt;
*Depersonalisation Control Keys&lt;br /&gt;
*Co-operative Network List&lt;br /&gt;
*Initialisation values for Hyperframe number&lt;br /&gt;
*Maximum value of START&lt;br /&gt;
*Operator controlled PLMN selector with Access Technology&lt;br /&gt;
*HPLMN selector with Access Technology&lt;br /&gt;
*Access Rule Reference&lt;br /&gt;
*Network Parameters&lt;br /&gt;
*PLMN Network Name&lt;br /&gt;
*Operator PLMN List&lt;br /&gt;
*Mailbox Dialling Numbers&lt;br /&gt;
*Extension6&lt;br /&gt;
*Mailbox Identifier&lt;br /&gt;
*Message Waiting Indication Status&lt;br /&gt;
*Call Forwarding Indication Status&lt;br /&gt;
*Extension7&lt;br /&gt;
*Service Provider Display Information&lt;br /&gt;
*MMS Notification&lt;br /&gt;
*Extension 8&lt;br /&gt;
*MMS Issuer Connectivity Parameters&lt;br /&gt;
*MMS User Preferences&lt;br /&gt;
*MMS User Connectivity Parameters&lt;br /&gt;
*Network's Indication of Alerting&lt;br /&gt;
*Voice Group Call Service&lt;br /&gt;
*Voice Group Call Service Status&lt;br /&gt;
*Voice Broadcast Service&lt;br /&gt;
*Voice Broadcast Service Status&lt;br /&gt;
&lt;br /&gt;
===Terminal profile===&lt;br /&gt;
====Description====&lt;br /&gt;
The terminal can be interrogated about which functions it supports.&lt;br /&gt;
#First byte (Download):&lt;br /&gt;
##Profile download&lt;br /&gt;
##SMS-PP data download&lt;br /&gt;
##Cell Broadcast data download)&lt;br /&gt;
##Menu selection&lt;br /&gt;
##SMS-PP data download&lt;br /&gt;
##Timer expiration&lt;br /&gt;
##USSD string data object support in Call Control by USIM&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
#Second byte (Other):&lt;br /&gt;
##Command result&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
##Call Control by NAA &lt;br /&gt;
##MO short message control support&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
##UCS2 Entry supported&lt;br /&gt;
##UCS2 Display supported&lt;br /&gt;
##Display Text&lt;br /&gt;
#Third byte (Proactive UICC):&lt;br /&gt;
##DISPLAY TEXT&lt;br /&gt;
##GET INKEY&lt;br /&gt;
##GET INPUT&lt;br /&gt;
##MORE TIME&lt;br /&gt;
##PLAY TONE&lt;br /&gt;
##POLL INTERVAL&lt;br /&gt;
##POLLING OFF&lt;br /&gt;
##REFRESH&lt;br /&gt;
#Fourth byte (Proactive UICC):&lt;br /&gt;
##Proactive UICC: SELECT ITEM&lt;br /&gt;
##Proactive UICC: SEND SHORT MESSAGE with 3GPP-SMS-TPDU&lt;br /&gt;
##Proactive UICC: SEND SS&lt;br /&gt;
##Proactive UICC:SEND USSD&lt;br /&gt;
##Proactive UICC: SET UP CALL&lt;br /&gt;
##Proactive UICC: SET UP MENU&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (MCC, MNC,LAC, Cell ID &amp;amp; IMEI)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (NMR)&lt;br /&gt;
#Fifth byte (Event driven information):&lt;br /&gt;
##Proactive UICC: SET UP EVENT LIST&lt;br /&gt;
##Event: MT call&lt;br /&gt;
##Event: Call connected&lt;br /&gt;
##Event: Call disconnected&lt;br /&gt;
##Event: Location status&lt;br /&gt;
##Event: User activity&lt;br /&gt;
##Event: Idle screen available&lt;br /&gt;
##Event: Card reader status&lt;br /&gt;
#Sixth byte (Event driven information extensions):&lt;br /&gt;
##Language selection&lt;br /&gt;
##Browser Termination&lt;br /&gt;
##Data available&lt;br /&gt;
##Channel status&lt;br /&gt;
##Access Technology Change&lt;br /&gt;
##Display parameters changed&lt;br /&gt;
##Local Connection&lt;br /&gt;
##Network Search Mode Change&lt;br /&gt;
#Seventh byte (Multiple card proactive commands) for class &amp;quot;a&amp;quot;:&lt;br /&gt;
##POWER ON CARD&lt;br /&gt;
##POWER OFF CARD&lt;br /&gt;
##PERFORM CARD APDU&lt;br /&gt;
##GET READER STATUS (Card reader status)&lt;br /&gt;
##GET READER STATUS (Card reader Identifier)&lt;br /&gt;
##RFU&lt;br /&gt;
#Eighth byte (Proactive UICC):&lt;br /&gt;
##Proactive UICC: TIMER MANAGEMENT (start, stop)&lt;br /&gt;
##Proactive UICC: TIMER MANAGEMENT (get current value)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (date, time and time zone)&lt;br /&gt;
##GET INKEY&lt;br /&gt;
##SET UP IDLE MODE TEXT&lt;br /&gt;
##RUN AT COMMAND (i.e. class &amp;quot;b&amp;quot; is supported)&lt;br /&gt;
##SETUP CALL&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
#Ninth byte:&lt;br /&gt;
##DISPLAY TEXT&lt;br /&gt;
##SEND DTMF command&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (language)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION, Timing Advance&lt;br /&gt;
##Proactive UICC: LANGUAGE NOTIFICATION&lt;br /&gt;
##Proactive UICC: LAUNCH BROWSER&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Access Technology)&lt;br /&gt;
#Tenth byte (Soft keys support) for class &amp;quot;d&amp;quot;:&lt;br /&gt;
##Soft keys support for SELECT ITEM&lt;br /&gt;
##Soft Keys support for SET UP MENU&lt;br /&gt;
##RFU&lt;br /&gt;
#Eleventh byte (Soft keys information):&lt;br /&gt;
##Maximum number of soft keys available 'FF' value is reserved for future use&lt;br /&gt;
#Twelfth byte:&lt;br /&gt;
##OPEN CHANNEL&lt;br /&gt;
##CLOSE CHANNEL&lt;br /&gt;
##RECEIVE DATA&lt;br /&gt;
##SEND DATA&lt;br /&gt;
##GET CHANNEL STATUS&lt;br /&gt;
##SERVICE SEARCH&lt;br /&gt;
##GET SERVICE INFORMATION&lt;br /&gt;
##DECLARE SERVICE&lt;br /&gt;
#Thirteenth byte:&lt;br /&gt;
##CSD&lt;br /&gt;
##GPRS&lt;br /&gt;
##Bluetooth&lt;br /&gt;
##IrDA&lt;br /&gt;
##RS232&lt;br /&gt;
##b6,b7,b8 - Number of channels supported by terminal&lt;br /&gt;
#Fourteenth byte (Screen height):&lt;br /&gt;
##b1 - b4 - Number of characters supported down the terminal display as defined in clause 5.3.1&lt;br /&gt;
##No display capability (i.e class &amp;quot;ND&amp;quot; is indicated)&lt;br /&gt;
##No keypad available (i.e. class &amp;quot;NK&amp;quot; is indicated)&lt;br /&gt;
##Screen Sizing Parameters supported as defined inclause 5.3&lt;br /&gt;
#Fifteenth byte (Screen width):&lt;br /&gt;
##b1-b7 - Number of characters supported across the terminal display as defined in clause 5.3.2&lt;br /&gt;
##Variable size fonts&lt;br /&gt;
#Sixteenth byte (Screen effects):&lt;br /&gt;
##Display can be resized as defined in clause 5.3.3&lt;br /&gt;
##Text Wrapping supported as defined in clause 5.3.4&lt;br /&gt;
##Text Scrolling supported as defined in clause 5.3.5&lt;br /&gt;
##Text Attributes supported as defined in clause 5.3.7&lt;br /&gt;
##b5 - RFU&lt;br /&gt;
##b6 - b8 - Width reduction when in a menu as defined in clause 5.3.6&lt;br /&gt;
#Seventeenth byte:&lt;br /&gt;
##TCP, UICC in client mode, remote connection&lt;br /&gt;
##UDP, UICC in client mode, remote connection&lt;br /&gt;
##TCP, UICC in server mode&lt;br /&gt;
##TCP, UICC in client mode, local connection (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##UDP, UICC in client mode, local connection (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
##E-UTRAN (if class &amp;quot;e&amp;quot; issupported))&lt;br /&gt;
##HSDPA (if class &amp;quot;e&amp;quot; is supported))&lt;br /&gt;
#Eighteenth byte:&lt;br /&gt;
##Proactive UICC: DISPLAY TEXT (Variable Time out)&lt;br /&gt;
##Proactive UICC: GET INKEY (help is supported while waiting for immediate response or variable timeout)&lt;br /&gt;
##USB&lt;br /&gt;
##Proactive UICC: GET INKEY (Variable Timeout)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (ESN)&lt;br /&gt;
##Call control on GPRS&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (IMEISV)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Search Mode change)&lt;br /&gt;
#Nineteenth byte (reserved for TIA/EIA-136-C facilities [25]):&lt;br /&gt;
##Reserved by TIA/EIA-136 [25] (Protocol Version support)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twentieth byte (reserved for TIA/EIA/IS-820-A facilities [17]):&lt;br /&gt;
##Reserved by TIA/EIA/IS-820 [17]&lt;br /&gt;
#Twenty-first byte (Extended Launch Browser Capability) for class &amp;quot;c&amp;quot;:&lt;br /&gt;
##WML&lt;br /&gt;
##XHTML&lt;br /&gt;
##HTML&lt;br /&gt;
##CHTML&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-second byte:&lt;br /&gt;
##Support of UTRAN PS with extended parameters&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION(battery state), (i.e. class &amp;quot;g&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PLAY TONE (Melody tones and Themed tones supported)&lt;br /&gt;
##Multi-media Calls in SET UP CALL (if class h supported)&lt;br /&gt;
##Reserved by 3GPP (Toolkit-initiated GBA)&lt;br /&gt;
##Proactive UICC: RETRIEVE MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: SUBMIT MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: DISPLAY MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
#Twenty third byte:&lt;br /&gt;
##Proactive UICC: SET FRAMES (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: GET FRAMES STATUS (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##MMS notification download (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Alpha Identifier in REFRESH command supported by terminal&lt;br /&gt;
##Geographical Location Reporting (if class &amp;quot;n&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (MEID)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (NMR(UTRAN))&lt;br /&gt;
##USSD Data download and application mode&lt;br /&gt;
#Twenty fourth byte for class &amp;quot;i&amp;quot;:&lt;br /&gt;
##b1-b4 - Maximum number of frames supported (including frames created in existing frames)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-fifth byte (Event driven information extensions):&lt;br /&gt;
##Event: Browsing status&lt;br /&gt;
##Event: MMS Transfer status (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Event: Frame Parameters changed (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##Event: I-WLAN Access status (if class &amp;quot;e&amp;quot; is supported)&lt;br /&gt;
##Event Network Rejection&lt;br /&gt;
##Event: HCI connectivity event (i.e. class &amp;quot;m&amp;quot; is supported)&lt;br /&gt;
##Reserved by 3GPP (E-UTRAN support in Event Network Rejection)&lt;br /&gt;
##Multiple access technologies supported in Event&lt;br /&gt;
##Access Technology Change and PROVIDE LOCAL INFORMATION &amp;lt;br&amp;gt;If bit &amp;quot;Multiple access technologies supported&amp;quot; is set to 1, it applies to the Event Access Technology Change if supported and all relevant modes of proactive command PROVIDE  LOCAL INFORMATION that are supported.&lt;br /&gt;
#Twenty-sixth byte (Event driven information extensions):&lt;br /&gt;
##RFU, bit = 0 (for future event indication)&lt;br /&gt;
#Twenty-seventh byte (Event driven information extensions):&lt;br /&gt;
##RFU, bit = 0 (for future event indication)&lt;br /&gt;
#Twenty-eighth byte (Text attributes):&lt;br /&gt;
##Alignment left supported by Terminal&lt;br /&gt;
##Alignment centre supported by Terminal&lt;br /&gt;
##Alignment right supported by Terminal&lt;br /&gt;
##Font size normal supported by Terminal&lt;br /&gt;
##Font size large supported by Terminal&lt;br /&gt;
##Font size small supported by Terminal&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-ninth byte (Text attributes):&lt;br /&gt;
##Style normal supported by Terminal&lt;br /&gt;
##Style bold supported by Terminal&lt;br /&gt;
##Style italic supported by Terminal&lt;br /&gt;
##Style underlined supported by Terminal&lt;br /&gt;
##Style strikethrough supported by Terminal&lt;br /&gt;
##Style text foreground colour supported by Terminal&lt;br /&gt;
##Style text background colour supported by Terminal&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Thirtieth byte:&lt;br /&gt;
##I-WLAN bearer support (if class &amp;quot;e&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (WSID of the current I-WLAN connection)&lt;br /&gt;
##TERMINAL APPLICATIONS (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##Steering of Roaming REFRESH support&lt;br /&gt;
##Proactive UICC: ACTIVATE (i.e class &amp;quot;l&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: GEOGRAPHICAL LOCATION REQUEST (if class &amp;quot;n&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Broadcast Network Information) (i.e. class &amp;quot;o&amp;quot; is supported)&lt;br /&gt;
##Steering of Roaming for I-WLAN REFRESH support&lt;br /&gt;
&lt;br /&gt;
====Values====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center;&amp;quot;&lt;br /&gt;
|Phone Type||B1||B2||B3||B4||B5||B6||B7||B8||B9||B10||B11||B12||B13||B14||B15||B16||B17||B18||B19||B20||B21||B22||B23||B24||B25||B26||B27||B28||B29||B30&lt;br /&gt;
|-&lt;br /&gt;
|Samsung Galaxy Express||ff||ff||ff||ff||7f||9d||00||df||bf||00||00||1f||e2||00||00||00||c3||6b||00||07||00||00||40||00||50||00||00||00||00||08&lt;br /&gt;
|-&lt;br /&gt;
|Samsung Galaxy Note 3||ff||ff||ff||ff||7f||9d||00||df||bf||00||00||1f||e2||00||00||00||c3||6b||00||07||00||00||40||00||50||00||00||00||00||08&lt;br /&gt;
|-&lt;br /&gt;
|HTC One X+||ff||ff||ff||ff||7f||1d||00||df||b7||03||02||1f||22||00||00||00||83||00||00||00||00||00||40||10||00||00||00||00||00||00&lt;br /&gt;
|-&lt;br /&gt;
|IPhone 4||ff||ff||ff||ff||7f||91||00||df||bf||00||00||00||00||00||00||00||00||f0||00||03||00||00||60||00||50||00||00||00||00||00&lt;br /&gt;
|-&lt;br /&gt;
|Nokia E72||ff||ff||ff||ff||7f||1d||00||df||bf||00||00||17||e2||05||0f||00||03||09||00||00||00||00||00||00||00||00||00||00||00||00&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Andrei</name></author>	</entry>

	<entry>
		<id>https://ss7api.null.ro/index.php/SIM_Cards</id>
		<title>SIM Cards</title>
		<link rel="alternate" type="text/html" href="https://ss7api.null.ro/index.php/SIM_Cards"/>
				<updated>2014-03-05T15:37:41Z</updated>
		
		<summary type="html">&lt;p&gt;Andrei: /* Browsing */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
===SIM Events===&lt;br /&gt;
&lt;br /&gt;
====Call Related Events and Requests====&lt;br /&gt;
The following events are received by the SIM card when a call is made.&lt;br /&gt;
*Standard: Details can be found in standard TS 31.111&lt;br /&gt;
*Terminal Class: This events should work in all terminals.&lt;br /&gt;
*Status: Tests were made successfully for Mobile Originating Calls&lt;br /&gt;
*Events:&amp;lt;br&amp;gt;The SIM is notified on the following events:&lt;br /&gt;
**Mobile Originating Call Initiated&lt;br /&gt;
**Mobile Originating SMS Initiated&lt;br /&gt;
**Mobile Originating USSD Initiated&lt;br /&gt;
**Mobile Originating SS Initiated&amp;lt;br&amp;gt;On the events above, the 'address' and 'subaddress' parameters can be altered.&lt;br /&gt;
*Notifications:&amp;lt;br&amp;gt;We can receive notifications for the following events. NOTE: We can not alter the event flow. Eg. We can not keep the call alive if we received call terminated event.&lt;br /&gt;
**Call Connected&lt;br /&gt;
**Call Terminated&lt;br /&gt;
*Requests - We can make the following requests:&lt;br /&gt;
**Set Up Call&lt;br /&gt;
**Send DTMF&lt;br /&gt;
*Parameters:&lt;br /&gt;
**Address&amp;lt;br&amp;gt;The called party address. Details on TS 31.111 chapter 8.1&lt;br /&gt;
**Subaddress&amp;lt;br&amp;gt;The called party subaddress. Details on TS 31.111 chapter  8.3&lt;br /&gt;
&lt;br /&gt;
====Browsing====&lt;br /&gt;
Open a SIM provided URL in phone defaults browser.&lt;br /&gt;
*Standard: Details can be fond in TS 102 223.&lt;br /&gt;
*Terminal: This should work in a class C terminal.&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&amp;lt;br&amp;gt;We are notified when one of the following events occures:&lt;br /&gt;
**Status&amp;lt;br&amp;gt;Received when the browser receives a distant error from the network.&lt;br /&gt;
**Terminated&amp;lt;br&amp;gt;Received when the browser is terminated.&lt;br /&gt;
*Requests:&lt;br /&gt;
**Lunch Browser&lt;br /&gt;
&lt;br /&gt;
====Access Technology====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Changed&lt;br /&gt;
&lt;br /&gt;
====Card Reader====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Terminal Class: A&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Status&lt;br /&gt;
*Requests:&lt;br /&gt;
**Power ON Card&lt;br /&gt;
**Power OFF Card&lt;br /&gt;
**Perform Card APDU&lt;br /&gt;
**Get Reader Status&lt;br /&gt;
&lt;br /&gt;
====Data====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: No compatible device found&lt;br /&gt;
*Terminal class E&lt;br /&gt;
*Events:&lt;br /&gt;
**Data available&lt;br /&gt;
**Channel Status&lt;br /&gt;
*Requests&lt;br /&gt;
**Open Channel&lt;br /&gt;
**Send Data&lt;br /&gt;
**Receive Data&lt;br /&gt;
**Close Channel&lt;br /&gt;
&lt;br /&gt;
====User Interface====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: Most of them tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Display Parameter Change&lt;br /&gt;
**Frames Information Changed&lt;br /&gt;
**Idle screen available&lt;br /&gt;
**User activity&lt;br /&gt;
**Menu Selection&lt;br /&gt;
**Menu Selection Help Request&lt;br /&gt;
*Requests:&lt;br /&gt;
**Get Input&lt;br /&gt;
**Get InKey&lt;br /&gt;
**Display Text&lt;br /&gt;
**Set Up Menu&lt;br /&gt;
**Select Item&lt;br /&gt;
**Set Up Idle Mode Text&lt;br /&gt;
**Set Frames&amp;lt;br&amp;gt;Terminal class I&lt;br /&gt;
**Get Frame Status&amp;lt;br&amp;gt;Terminal class I&lt;br /&gt;
&lt;br /&gt;
====SMS====&lt;br /&gt;
*Standard TS 131 111&lt;br /&gt;
*Status: Not tested yet&lt;br /&gt;
*Events:&lt;br /&gt;
**SMS-PP Data Download unformatted&lt;br /&gt;
**SMS-PP Data Download formatted&lt;br /&gt;
**SMS-CB Data Download formatted&lt;br /&gt;
**SMS-CB Data Download unformatted&lt;br /&gt;
*Requests:&lt;br /&gt;
**Send Short Message&lt;br /&gt;
*Parameters&lt;br /&gt;
**Address&lt;br /&gt;
**SMS TPDU&lt;br /&gt;
&lt;br /&gt;
====SS====&lt;br /&gt;
*Standard TS 131 111&lt;br /&gt;
*Terminal class P for USSD Data Download&lt;br /&gt;
*Status: Send USSD tested&lt;br /&gt;
*Events:&lt;br /&gt;
**USSD Data Download formatted&lt;br /&gt;
**USSD Data Download unformatted&lt;br /&gt;
*Requests:&lt;br /&gt;
**Send SS&lt;br /&gt;
**Send USSD&lt;br /&gt;
*Parameters&lt;br /&gt;
**SS String&lt;br /&gt;
**USSD String&lt;br /&gt;
NOTE: If the USSD session is initiated form SIM card than only the last response from the network is passed to the SIM.&lt;br /&gt;
&lt;br /&gt;
====IMS====&lt;br /&gt;
*Standard TS 131 111&lt;br /&gt;
*Terminal class E + T&lt;br /&gt;
*Events&lt;br /&gt;
**Download IMS Registration&lt;br /&gt;
**Download Incoming IMS Data&lt;br /&gt;
*Parameters&lt;br /&gt;
**IARI&lt;br /&gt;
**IMPU List&lt;br /&gt;
**IMS status code&lt;br /&gt;
&lt;br /&gt;
====Terminal====&lt;br /&gt;
*Standard TS 102 223 + TS 131 111&lt;br /&gt;
*Events&lt;br /&gt;
**Location Status&amp;lt;br&amp;gt;Status: tested&amp;lt;br&amp;gt;Parameters:&lt;br /&gt;
***Location Status TS 102.223 8.27&lt;br /&gt;
***Location Information TS 102.223 8.19&lt;br /&gt;
**Language Selection&lt;br /&gt;
**Profile Download&lt;br /&gt;
**Network Reject&lt;br /&gt;
**Timer expiration&lt;br /&gt;
*Requests&lt;br /&gt;
**Provide Local Information&lt;br /&gt;
**Language Notification&lt;br /&gt;
**Geographical Location Request&amp;lt;br&amp;gt;Terminal Type N&lt;br /&gt;
**More Time&amp;lt;br&amp;gt;Request to terminal for more processing time. &lt;br /&gt;
**Refresh&amp;lt;br&amp;gt;Request to terminal to reinitialize SIM card.&lt;br /&gt;
**Timer Management&amp;lt;br&amp;gt;SIM timers&lt;br /&gt;
&lt;br /&gt;
====Service====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: not tested&lt;br /&gt;
*Terminal class F&lt;br /&gt;
*Requests:&lt;br /&gt;
**Declare Service&lt;br /&gt;
**Search Service&lt;br /&gt;
**Get Service Information&lt;br /&gt;
&lt;br /&gt;
====MMS====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: not tested&lt;br /&gt;
*Terminal class J&lt;br /&gt;
*Requests:&lt;br /&gt;
**Retreive MMS&lt;br /&gt;
**Submit MMS&lt;br /&gt;
**Display MMS&lt;br /&gt;
&lt;br /&gt;
===Card File System===&lt;br /&gt;
&lt;br /&gt;
====USIM File System====&lt;br /&gt;
Extracted from standard TS 131.102.&lt;br /&gt;
*Language Indication&lt;br /&gt;
*IMSI&lt;br /&gt;
*Ciphering and Integrity Keys&lt;br /&gt;
*Ciphering and Integrity Keys for Packet Switched domain&lt;br /&gt;
*User controlled PLMN selector with Access Technology&lt;br /&gt;
*Higher Priority PLMN search period&lt;br /&gt;
*ACM maximum value&lt;br /&gt;
*USIM Service Table&lt;br /&gt;
*Accumulated Call Meter&lt;br /&gt;
*Group Identifier Level 1&lt;br /&gt;
*Group Identifier Level 2&lt;br /&gt;
*Service Provider Name&lt;br /&gt;
*Price per Unit and Currency Table&lt;br /&gt;
*Cell Broadcast Message identifier selection&lt;br /&gt;
*Access Control Class&lt;br /&gt;
*Forbidden PLMNs&lt;br /&gt;
*Location Information&lt;br /&gt;
*Administrative Data&lt;br /&gt;
*Cell Broadcast Message Identifier for Data Download&lt;br /&gt;
*Emergency Call Codes&lt;br /&gt;
*Cell Broadcast Message Identifier Range selection&lt;br /&gt;
*Packet Switched location information&lt;br /&gt;
*Fixed Dialling Numbers&lt;br /&gt;
*Short messages&lt;br /&gt;
*MSISDN&lt;br /&gt;
*Short message service parameters&lt;br /&gt;
*SMS status&lt;br /&gt;
*Service Dialling Numbers&lt;br /&gt;
*Extension2&lt;br /&gt;
*Extension3&lt;br /&gt;
*Short message status reports&lt;br /&gt;
*Incoming Call Information&lt;br /&gt;
*Outgoing Call Information&lt;br /&gt;
*Incoming Call Timer&lt;br /&gt;
*Outgoing Call Timer&lt;br /&gt;
*Extension5&lt;br /&gt;
*Capability Configuration Parameters 2&lt;br /&gt;
*enhanced Multi Level Precedence and Pre-emption&lt;br /&gt;
*Automatic Answer for eMLPP Service&lt;br /&gt;
*Key for hidden phone book entries&lt;br /&gt;
*Barred Dialling Numbers&lt;br /&gt;
*Extension4&lt;br /&gt;
*Comparison Method Information&lt;br /&gt;
*Enabled Services Table&lt;br /&gt;
*Access Point Name Control List&lt;br /&gt;
*Depersonalisation Control Keys&lt;br /&gt;
*Co-operative Network List&lt;br /&gt;
*Initialisation values for Hyperframe number&lt;br /&gt;
*Maximum value of START&lt;br /&gt;
*Operator controlled PLMN selector with Access Technology&lt;br /&gt;
*HPLMN selector with Access Technology&lt;br /&gt;
*Access Rule Reference&lt;br /&gt;
*Network Parameters&lt;br /&gt;
*PLMN Network Name&lt;br /&gt;
*Operator PLMN List&lt;br /&gt;
*Mailbox Dialling Numbers&lt;br /&gt;
*Extension6&lt;br /&gt;
*Mailbox Identifier&lt;br /&gt;
*Message Waiting Indication Status&lt;br /&gt;
*Call Forwarding Indication Status&lt;br /&gt;
*Extension7&lt;br /&gt;
*Service Provider Display Information&lt;br /&gt;
*MMS Notification&lt;br /&gt;
*Extension 8&lt;br /&gt;
*MMS Issuer Connectivity Parameters&lt;br /&gt;
*MMS User Preferences&lt;br /&gt;
*MMS User Connectivity Parameters&lt;br /&gt;
*Network's Indication of Alerting&lt;br /&gt;
*Voice Group Call Service&lt;br /&gt;
*Voice Group Call Service Status&lt;br /&gt;
*Voice Broadcast Service&lt;br /&gt;
*Voice Broadcast Service Status&lt;br /&gt;
&lt;br /&gt;
===Terminal profile===&lt;br /&gt;
====Description====&lt;br /&gt;
The terminal can be interrogated about which functions it supports.&lt;br /&gt;
#First byte (Download):&lt;br /&gt;
##Profile download&lt;br /&gt;
##SMS-PP data download&lt;br /&gt;
##Cell Broadcast data download)&lt;br /&gt;
##Menu selection&lt;br /&gt;
##SMS-PP data download&lt;br /&gt;
##Timer expiration&lt;br /&gt;
##USSD string data object support in Call Control by USIM&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
#Second byte (Other):&lt;br /&gt;
##Command result&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
##Call Control by NAA &lt;br /&gt;
##MO short message control support&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
##UCS2 Entry supported&lt;br /&gt;
##UCS2 Display supported&lt;br /&gt;
##Display Text&lt;br /&gt;
#Third byte (Proactive UICC):&lt;br /&gt;
##DISPLAY TEXT&lt;br /&gt;
##GET INKEY&lt;br /&gt;
##GET INPUT&lt;br /&gt;
##MORE TIME&lt;br /&gt;
##PLAY TONE&lt;br /&gt;
##POLL INTERVAL&lt;br /&gt;
##POLLING OFF&lt;br /&gt;
##REFRESH&lt;br /&gt;
#Fourth byte (Proactive UICC):&lt;br /&gt;
##Proactive UICC: SELECT ITEM&lt;br /&gt;
##Proactive UICC: SEND SHORT MESSAGE with 3GPP-SMS-TPDU&lt;br /&gt;
##Proactive UICC: SEND SS&lt;br /&gt;
##Proactive UICC:SEND USSD&lt;br /&gt;
##Proactive UICC: SET UP CALL&lt;br /&gt;
##Proactive UICC: SET UP MENU&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (MCC, MNC,LAC, Cell ID &amp;amp; IMEI)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (NMR)&lt;br /&gt;
#Fifth byte (Event driven information):&lt;br /&gt;
##Proactive UICC: SET UP EVENT LIST&lt;br /&gt;
##Event: MT call&lt;br /&gt;
##Event: Call connected&lt;br /&gt;
##Event: Call disconnected&lt;br /&gt;
##Event: Location status&lt;br /&gt;
##Event: User activity&lt;br /&gt;
##Event: Idle screen available&lt;br /&gt;
##Event: Card reader status&lt;br /&gt;
#Sixth byte (Event driven information extensions):&lt;br /&gt;
##Language selection&lt;br /&gt;
##Browser Termination&lt;br /&gt;
##Data available&lt;br /&gt;
##Channel status&lt;br /&gt;
##Access Technology Change&lt;br /&gt;
##Display parameters changed&lt;br /&gt;
##Local Connection&lt;br /&gt;
##Network Search Mode Change&lt;br /&gt;
#Seventh byte (Multiple card proactive commands) for class &amp;quot;a&amp;quot;:&lt;br /&gt;
##POWER ON CARD&lt;br /&gt;
##POWER OFF CARD&lt;br /&gt;
##PERFORM CARD APDU&lt;br /&gt;
##GET READER STATUS (Card reader status)&lt;br /&gt;
##GET READER STATUS (Card reader Identifier)&lt;br /&gt;
##RFU&lt;br /&gt;
#Eighth byte (Proactive UICC):&lt;br /&gt;
##Proactive UICC: TIMER MANAGEMENT (start, stop)&lt;br /&gt;
##Proactive UICC: TIMER MANAGEMENT (get current value)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (date, time and time zone)&lt;br /&gt;
##GET INKEY&lt;br /&gt;
##SET UP IDLE MODE TEXT&lt;br /&gt;
##RUN AT COMMAND (i.e. class &amp;quot;b&amp;quot; is supported)&lt;br /&gt;
##SETUP CALL&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
#Ninth byte:&lt;br /&gt;
##DISPLAY TEXT&lt;br /&gt;
##SEND DTMF command&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (language)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION, Timing Advance&lt;br /&gt;
##Proactive UICC: LANGUAGE NOTIFICATION&lt;br /&gt;
##Proactive UICC: LAUNCH BROWSER&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Access Technology)&lt;br /&gt;
#Tenth byte (Soft keys support) for class &amp;quot;d&amp;quot;:&lt;br /&gt;
##Soft keys support for SELECT ITEM&lt;br /&gt;
##Soft Keys support for SET UP MENU&lt;br /&gt;
##RFU&lt;br /&gt;
#Eleventh byte (Soft keys information):&lt;br /&gt;
##Maximum number of soft keys available 'FF' value is reserved for future use&lt;br /&gt;
#Twelfth byte:&lt;br /&gt;
##OPEN CHANNEL&lt;br /&gt;
##CLOSE CHANNEL&lt;br /&gt;
##RECEIVE DATA&lt;br /&gt;
##SEND DATA&lt;br /&gt;
##GET CHANNEL STATUS&lt;br /&gt;
##SERVICE SEARCH&lt;br /&gt;
##GET SERVICE INFORMATION&lt;br /&gt;
##DECLARE SERVICE&lt;br /&gt;
#Thirteenth byte:&lt;br /&gt;
##CSD&lt;br /&gt;
##GPRS&lt;br /&gt;
##Bluetooth&lt;br /&gt;
##IrDA&lt;br /&gt;
##RS232&lt;br /&gt;
##b6,b7,b8 - Number of channels supported by terminal&lt;br /&gt;
#Fourteenth byte (Screen height):&lt;br /&gt;
##b1 - b4 - Number of characters supported down the terminal display as defined in clause 5.3.1&lt;br /&gt;
##No display capability (i.e class &amp;quot;ND&amp;quot; is indicated)&lt;br /&gt;
##No keypad available (i.e. class &amp;quot;NK&amp;quot; is indicated)&lt;br /&gt;
##Screen Sizing Parameters supported as defined inclause 5.3&lt;br /&gt;
#Fifteenth byte (Screen width):&lt;br /&gt;
##b1-b7 - Number of characters supported across the terminal display as defined in clause 5.3.2&lt;br /&gt;
##Variable size fonts&lt;br /&gt;
#Sixteenth byte (Screen effects):&lt;br /&gt;
##Display can be resized as defined in clause 5.3.3&lt;br /&gt;
##Text Wrapping supported as defined in clause 5.3.4&lt;br /&gt;
##Text Scrolling supported as defined in clause 5.3.5&lt;br /&gt;
##Text Attributes supported as defined in clause 5.3.7&lt;br /&gt;
##b5 - RFU&lt;br /&gt;
##b6 - b8 - Width reduction when in a menu as defined in clause 5.3.6&lt;br /&gt;
#Seventeenth byte:&lt;br /&gt;
##TCP, UICC in client mode, remote connection&lt;br /&gt;
##UDP, UICC in client mode, remote connection&lt;br /&gt;
##TCP, UICC in server mode&lt;br /&gt;
##TCP, UICC in client mode, local connection (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##UDP, UICC in client mode, local connection (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
##E-UTRAN (if class &amp;quot;e&amp;quot; issupported))&lt;br /&gt;
##HSDPA (if class &amp;quot;e&amp;quot; is supported))&lt;br /&gt;
#Eighteenth byte:&lt;br /&gt;
##Proactive UICC: DISPLAY TEXT (Variable Time out)&lt;br /&gt;
##Proactive UICC: GET INKEY (help is supported while waiting for immediate response or variable timeout)&lt;br /&gt;
##USB&lt;br /&gt;
##Proactive UICC: GET INKEY (Variable Timeout)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (ESN)&lt;br /&gt;
##Call control on GPRS&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (IMEISV)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Search Mode change)&lt;br /&gt;
#Nineteenth byte (reserved for TIA/EIA-136-C facilities [25]):&lt;br /&gt;
##Reserved by TIA/EIA-136 [25] (Protocol Version support)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twentieth byte (reserved for TIA/EIA/IS-820-A facilities [17]):&lt;br /&gt;
##Reserved by TIA/EIA/IS-820 [17]&lt;br /&gt;
#Twenty-first byte (Extended Launch Browser Capability) for class &amp;quot;c&amp;quot;:&lt;br /&gt;
##WML&lt;br /&gt;
##XHTML&lt;br /&gt;
##HTML&lt;br /&gt;
##CHTML&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-second byte:&lt;br /&gt;
##Support of UTRAN PS with extended parameters&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION(battery state), (i.e. class &amp;quot;g&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PLAY TONE (Melody tones and Themed tones supported)&lt;br /&gt;
##Multi-media Calls in SET UP CALL (if class h supported)&lt;br /&gt;
##Reserved by 3GPP (Toolkit-initiated GBA)&lt;br /&gt;
##Proactive UICC: RETRIEVE MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: SUBMIT MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: DISPLAY MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
#Twenty third byte:&lt;br /&gt;
##Proactive UICC: SET FRAMES (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: GET FRAMES STATUS (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##MMS notification download (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Alpha Identifier in REFRESH command supported by terminal&lt;br /&gt;
##Geographical Location Reporting (if class &amp;quot;n&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (MEID)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (NMR(UTRAN))&lt;br /&gt;
##USSD Data download and application mode&lt;br /&gt;
#Twenty fourth byte for class &amp;quot;i&amp;quot;:&lt;br /&gt;
##b1-b4 - Maximum number of frames supported (including frames created in existing frames)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-fifth byte (Event driven information extensions):&lt;br /&gt;
##Event: Browsing status&lt;br /&gt;
##Event: MMS Transfer status (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Event: Frame Parameters changed (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##Event: I-WLAN Access status (if class &amp;quot;e&amp;quot; is supported)&lt;br /&gt;
##Event Network Rejection&lt;br /&gt;
##Event: HCI connectivity event (i.e. class &amp;quot;m&amp;quot; is supported)&lt;br /&gt;
##Reserved by 3GPP (E-UTRAN support in Event Network Rejection)&lt;br /&gt;
##Multiple access technologies supported in Event&lt;br /&gt;
##Access Technology Change and PROVIDE LOCAL INFORMATION &amp;lt;br&amp;gt;If bit &amp;quot;Multiple access technologies supported&amp;quot; is set to 1, it applies to the Event Access Technology Change if supported and all relevant modes of proactive command PROVIDE  LOCAL INFORMATION that are supported.&lt;br /&gt;
#Twenty-sixth byte (Event driven information extensions):&lt;br /&gt;
##RFU, bit = 0 (for future event indication)&lt;br /&gt;
#Twenty-seventh byte (Event driven information extensions):&lt;br /&gt;
##RFU, bit = 0 (for future event indication)&lt;br /&gt;
#Twenty-eighth byte (Text attributes):&lt;br /&gt;
##Alignment left supported by Terminal&lt;br /&gt;
##Alignment centre supported by Terminal&lt;br /&gt;
##Alignment right supported by Terminal&lt;br /&gt;
##Font size normal supported by Terminal&lt;br /&gt;
##Font size large supported by Terminal&lt;br /&gt;
##Font size small supported by Terminal&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-ninth byte (Text attributes):&lt;br /&gt;
##Style normal supported by Terminal&lt;br /&gt;
##Style bold supported by Terminal&lt;br /&gt;
##Style italic supported by Terminal&lt;br /&gt;
##Style underlined supported by Terminal&lt;br /&gt;
##Style strikethrough supported by Terminal&lt;br /&gt;
##Style text foreground colour supported by Terminal&lt;br /&gt;
##Style text background colour supported by Terminal&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Thirtieth byte:&lt;br /&gt;
##I-WLAN bearer support (if class &amp;quot;e&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (WSID of the current I-WLAN connection)&lt;br /&gt;
##TERMINAL APPLICATIONS (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##Steering of Roaming REFRESH support&lt;br /&gt;
##Proactive UICC: ACTIVATE (i.e class &amp;quot;l&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: GEOGRAPHICAL LOCATION REQUEST (if class &amp;quot;n&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Broadcast Network Information) (i.e. class &amp;quot;o&amp;quot; is supported)&lt;br /&gt;
##Steering of Roaming for I-WLAN REFRESH support&lt;br /&gt;
&lt;br /&gt;
====Values====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center;&amp;quot;&lt;br /&gt;
|Phone Type||B1||B2||B3||B4||B5||B6||B7||B8||B9||B10||B11||B12||B13||B14||B15||B16||B17||B18||B19||B20||B21||B22||B23||B24||B25||B26||B27||B28||B29||B30&lt;br /&gt;
|-&lt;br /&gt;
|Samsung Galaxy Express||ff||ff||ff||ff||7f||9d||00||df||bf||00||00||1f||e2||00||00||00||c3||6b||00||07||00||00||40||00||50||00||00||00||00||08&lt;br /&gt;
|-&lt;br /&gt;
|Samsung Galaxy Note 3||ff||ff||ff||ff||7f||9d||00||df||bf||00||00||1f||e2||00||00||00||c3||6b||00||07||00||00||40||00||50||00||00||00||00||08&lt;br /&gt;
|-&lt;br /&gt;
|HTC One X+||ff||ff||ff||ff||7f||1d||00||df||b7||03||02||1f||22||00||00||00||83||00||00||00||00||00||40||10||00||00||00||00||00||00&lt;br /&gt;
|-&lt;br /&gt;
|IPhone 4||ff||ff||ff||ff||7f||91||00||df||bf||00||00||00||00||00||00||00||00||f0||00||03||00||00||60||00||50||00||00||00||00||00&lt;br /&gt;
|-&lt;br /&gt;
|Nokia E72||ff||ff||ff||ff||7f||1d||00||df||bf||00||00||17||e2||05||0f||00||03||09||00||00||00||00||00||00||00||00||00||00||00||00&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Andrei</name></author>	</entry>

	<entry>
		<id>https://ss7api.null.ro/index.php/SIM_Cards</id>
		<title>SIM Cards</title>
		<link rel="alternate" type="text/html" href="https://ss7api.null.ro/index.php/SIM_Cards"/>
				<updated>2014-03-05T15:27:42Z</updated>
		
		<summary type="html">&lt;p&gt;Andrei: /* SIM Events */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
===SIM Events===&lt;br /&gt;
&lt;br /&gt;
====Call Related Events and Requests====&lt;br /&gt;
The following events are received by the SIM card when a call is made.&lt;br /&gt;
*Standard: Details can be found in standard TS 31.111&lt;br /&gt;
*Terminal Class: This events should work in all terminals.&lt;br /&gt;
*Status: Tests were made successfully for Mobile Originating Calls&lt;br /&gt;
*Events:&amp;lt;br&amp;gt;The SIM is notified on the following events:&lt;br /&gt;
**Mobile Originating Call Initiated&lt;br /&gt;
**Mobile Originating SMS Initiated&lt;br /&gt;
**Mobile Originating USSD Initiated&lt;br /&gt;
**Mobile Originating SS Initiated&amp;lt;br&amp;gt;On the events above, the 'address' and 'subaddress' parameters can be altered.&lt;br /&gt;
*Notifications:&amp;lt;br&amp;gt;We can receive notifications for the following events. NOTE: We can not alter the event flow. Eg. We can not keep the call alive if we received call terminated event.&lt;br /&gt;
**Call Connected&lt;br /&gt;
**Call Terminated&lt;br /&gt;
*Requests - We can make the following requests:&lt;br /&gt;
**Set Up Call&lt;br /&gt;
**Send DTMF&lt;br /&gt;
*Parameters:&lt;br /&gt;
**Address&amp;lt;br&amp;gt;The called party address. Details on TS 31.111 chapter 8.1&lt;br /&gt;
**Subaddress&amp;lt;br&amp;gt;The called party subaddress. Details on TS 31.111 chapter  8.3&lt;br /&gt;
&lt;br /&gt;
====Browsing====&lt;br /&gt;
Open a SIM provided URL in phone defaults browser.&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Terminal class C&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Status&lt;br /&gt;
**Terminated&lt;br /&gt;
&lt;br /&gt;
====Access Technology====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Changed&lt;br /&gt;
&lt;br /&gt;
====Card Reader====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Terminal Class: A&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Status&lt;br /&gt;
*Requests:&lt;br /&gt;
**Power ON Card&lt;br /&gt;
**Power OFF Card&lt;br /&gt;
**Perform Card APDU&lt;br /&gt;
**Get Reader Status&lt;br /&gt;
&lt;br /&gt;
====Data====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: No compatible device found&lt;br /&gt;
*Terminal class E&lt;br /&gt;
*Events:&lt;br /&gt;
**Data available&lt;br /&gt;
**Channel Status&lt;br /&gt;
*Requests&lt;br /&gt;
**Open Channel&lt;br /&gt;
**Send Data&lt;br /&gt;
**Receive Data&lt;br /&gt;
**Close Channel&lt;br /&gt;
&lt;br /&gt;
====User Interface====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: Most of them tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Display Parameter Change&lt;br /&gt;
**Frames Information Changed&lt;br /&gt;
**Idle screen available&lt;br /&gt;
**User activity&lt;br /&gt;
**Menu Selection&lt;br /&gt;
**Menu Selection Help Request&lt;br /&gt;
*Requests:&lt;br /&gt;
**Get Input&lt;br /&gt;
**Get InKey&lt;br /&gt;
**Display Text&lt;br /&gt;
**Set Up Menu&lt;br /&gt;
**Select Item&lt;br /&gt;
**Set Up Idle Mode Text&lt;br /&gt;
**Set Frames&amp;lt;br&amp;gt;Terminal class I&lt;br /&gt;
**Get Frame Status&amp;lt;br&amp;gt;Terminal class I&lt;br /&gt;
&lt;br /&gt;
====SMS====&lt;br /&gt;
*Standard TS 131 111&lt;br /&gt;
*Status: Not tested yet&lt;br /&gt;
*Events:&lt;br /&gt;
**SMS-PP Data Download unformatted&lt;br /&gt;
**SMS-PP Data Download formatted&lt;br /&gt;
**SMS-CB Data Download formatted&lt;br /&gt;
**SMS-CB Data Download unformatted&lt;br /&gt;
*Requests:&lt;br /&gt;
**Send Short Message&lt;br /&gt;
*Parameters&lt;br /&gt;
**Address&lt;br /&gt;
**SMS TPDU&lt;br /&gt;
&lt;br /&gt;
====SS====&lt;br /&gt;
*Standard TS 131 111&lt;br /&gt;
*Terminal class P for USSD Data Download&lt;br /&gt;
*Status: Send USSD tested&lt;br /&gt;
*Events:&lt;br /&gt;
**USSD Data Download formatted&lt;br /&gt;
**USSD Data Download unformatted&lt;br /&gt;
*Requests:&lt;br /&gt;
**Send SS&lt;br /&gt;
**Send USSD&lt;br /&gt;
*Parameters&lt;br /&gt;
**SS String&lt;br /&gt;
**USSD String&lt;br /&gt;
NOTE: If the USSD session is initiated form SIM card than only the last response from the network is passed to the SIM.&lt;br /&gt;
&lt;br /&gt;
====IMS====&lt;br /&gt;
*Standard TS 131 111&lt;br /&gt;
*Terminal class E + T&lt;br /&gt;
*Events&lt;br /&gt;
**Download IMS Registration&lt;br /&gt;
**Download Incoming IMS Data&lt;br /&gt;
*Parameters&lt;br /&gt;
**IARI&lt;br /&gt;
**IMPU List&lt;br /&gt;
**IMS status code&lt;br /&gt;
&lt;br /&gt;
====Terminal====&lt;br /&gt;
*Standard TS 102 223 + TS 131 111&lt;br /&gt;
*Events&lt;br /&gt;
**Location Status&amp;lt;br&amp;gt;Status: tested&amp;lt;br&amp;gt;Parameters:&lt;br /&gt;
***Location Status TS 102.223 8.27&lt;br /&gt;
***Location Information TS 102.223 8.19&lt;br /&gt;
**Language Selection&lt;br /&gt;
**Profile Download&lt;br /&gt;
**Network Reject&lt;br /&gt;
**Timer expiration&lt;br /&gt;
*Requests&lt;br /&gt;
**Provide Local Information&lt;br /&gt;
**Language Notification&lt;br /&gt;
**Geographical Location Request&amp;lt;br&amp;gt;Terminal Type N&lt;br /&gt;
**More Time&amp;lt;br&amp;gt;Request to terminal for more processing time. &lt;br /&gt;
**Refresh&amp;lt;br&amp;gt;Request to terminal to reinitialize SIM card.&lt;br /&gt;
**Timer Management&amp;lt;br&amp;gt;SIM timers&lt;br /&gt;
&lt;br /&gt;
====Service====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: not tested&lt;br /&gt;
*Terminal class F&lt;br /&gt;
*Requests:&lt;br /&gt;
**Declare Service&lt;br /&gt;
**Search Service&lt;br /&gt;
**Get Service Information&lt;br /&gt;
&lt;br /&gt;
====MMS====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: not tested&lt;br /&gt;
*Terminal class J&lt;br /&gt;
*Requests:&lt;br /&gt;
**Retreive MMS&lt;br /&gt;
**Submit MMS&lt;br /&gt;
**Display MMS&lt;br /&gt;
&lt;br /&gt;
===Card File System===&lt;br /&gt;
&lt;br /&gt;
====USIM File System====&lt;br /&gt;
Extracted from standard TS 131.102.&lt;br /&gt;
*Language Indication&lt;br /&gt;
*IMSI&lt;br /&gt;
*Ciphering and Integrity Keys&lt;br /&gt;
*Ciphering and Integrity Keys for Packet Switched domain&lt;br /&gt;
*User controlled PLMN selector with Access Technology&lt;br /&gt;
*Higher Priority PLMN search period&lt;br /&gt;
*ACM maximum value&lt;br /&gt;
*USIM Service Table&lt;br /&gt;
*Accumulated Call Meter&lt;br /&gt;
*Group Identifier Level 1&lt;br /&gt;
*Group Identifier Level 2&lt;br /&gt;
*Service Provider Name&lt;br /&gt;
*Price per Unit and Currency Table&lt;br /&gt;
*Cell Broadcast Message identifier selection&lt;br /&gt;
*Access Control Class&lt;br /&gt;
*Forbidden PLMNs&lt;br /&gt;
*Location Information&lt;br /&gt;
*Administrative Data&lt;br /&gt;
*Cell Broadcast Message Identifier for Data Download&lt;br /&gt;
*Emergency Call Codes&lt;br /&gt;
*Cell Broadcast Message Identifier Range selection&lt;br /&gt;
*Packet Switched location information&lt;br /&gt;
*Fixed Dialling Numbers&lt;br /&gt;
*Short messages&lt;br /&gt;
*MSISDN&lt;br /&gt;
*Short message service parameters&lt;br /&gt;
*SMS status&lt;br /&gt;
*Service Dialling Numbers&lt;br /&gt;
*Extension2&lt;br /&gt;
*Extension3&lt;br /&gt;
*Short message status reports&lt;br /&gt;
*Incoming Call Information&lt;br /&gt;
*Outgoing Call Information&lt;br /&gt;
*Incoming Call Timer&lt;br /&gt;
*Outgoing Call Timer&lt;br /&gt;
*Extension5&lt;br /&gt;
*Capability Configuration Parameters 2&lt;br /&gt;
*enhanced Multi Level Precedence and Pre-emption&lt;br /&gt;
*Automatic Answer for eMLPP Service&lt;br /&gt;
*Key for hidden phone book entries&lt;br /&gt;
*Barred Dialling Numbers&lt;br /&gt;
*Extension4&lt;br /&gt;
*Comparison Method Information&lt;br /&gt;
*Enabled Services Table&lt;br /&gt;
*Access Point Name Control List&lt;br /&gt;
*Depersonalisation Control Keys&lt;br /&gt;
*Co-operative Network List&lt;br /&gt;
*Initialisation values for Hyperframe number&lt;br /&gt;
*Maximum value of START&lt;br /&gt;
*Operator controlled PLMN selector with Access Technology&lt;br /&gt;
*HPLMN selector with Access Technology&lt;br /&gt;
*Access Rule Reference&lt;br /&gt;
*Network Parameters&lt;br /&gt;
*PLMN Network Name&lt;br /&gt;
*Operator PLMN List&lt;br /&gt;
*Mailbox Dialling Numbers&lt;br /&gt;
*Extension6&lt;br /&gt;
*Mailbox Identifier&lt;br /&gt;
*Message Waiting Indication Status&lt;br /&gt;
*Call Forwarding Indication Status&lt;br /&gt;
*Extension7&lt;br /&gt;
*Service Provider Display Information&lt;br /&gt;
*MMS Notification&lt;br /&gt;
*Extension 8&lt;br /&gt;
*MMS Issuer Connectivity Parameters&lt;br /&gt;
*MMS User Preferences&lt;br /&gt;
*MMS User Connectivity Parameters&lt;br /&gt;
*Network's Indication of Alerting&lt;br /&gt;
*Voice Group Call Service&lt;br /&gt;
*Voice Group Call Service Status&lt;br /&gt;
*Voice Broadcast Service&lt;br /&gt;
*Voice Broadcast Service Status&lt;br /&gt;
&lt;br /&gt;
===Terminal profile===&lt;br /&gt;
====Description====&lt;br /&gt;
The terminal can be interrogated about which functions it supports.&lt;br /&gt;
#First byte (Download):&lt;br /&gt;
##Profile download&lt;br /&gt;
##SMS-PP data download&lt;br /&gt;
##Cell Broadcast data download)&lt;br /&gt;
##Menu selection&lt;br /&gt;
##SMS-PP data download&lt;br /&gt;
##Timer expiration&lt;br /&gt;
##USSD string data object support in Call Control by USIM&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
#Second byte (Other):&lt;br /&gt;
##Command result&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
##Call Control by NAA &lt;br /&gt;
##MO short message control support&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
##UCS2 Entry supported&lt;br /&gt;
##UCS2 Display supported&lt;br /&gt;
##Display Text&lt;br /&gt;
#Third byte (Proactive UICC):&lt;br /&gt;
##DISPLAY TEXT&lt;br /&gt;
##GET INKEY&lt;br /&gt;
##GET INPUT&lt;br /&gt;
##MORE TIME&lt;br /&gt;
##PLAY TONE&lt;br /&gt;
##POLL INTERVAL&lt;br /&gt;
##POLLING OFF&lt;br /&gt;
##REFRESH&lt;br /&gt;
#Fourth byte (Proactive UICC):&lt;br /&gt;
##Proactive UICC: SELECT ITEM&lt;br /&gt;
##Proactive UICC: SEND SHORT MESSAGE with 3GPP-SMS-TPDU&lt;br /&gt;
##Proactive UICC: SEND SS&lt;br /&gt;
##Proactive UICC:SEND USSD&lt;br /&gt;
##Proactive UICC: SET UP CALL&lt;br /&gt;
##Proactive UICC: SET UP MENU&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (MCC, MNC,LAC, Cell ID &amp;amp; IMEI)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (NMR)&lt;br /&gt;
#Fifth byte (Event driven information):&lt;br /&gt;
##Proactive UICC: SET UP EVENT LIST&lt;br /&gt;
##Event: MT call&lt;br /&gt;
##Event: Call connected&lt;br /&gt;
##Event: Call disconnected&lt;br /&gt;
##Event: Location status&lt;br /&gt;
##Event: User activity&lt;br /&gt;
##Event: Idle screen available&lt;br /&gt;
##Event: Card reader status&lt;br /&gt;
#Sixth byte (Event driven information extensions):&lt;br /&gt;
##Language selection&lt;br /&gt;
##Browser Termination&lt;br /&gt;
##Data available&lt;br /&gt;
##Channel status&lt;br /&gt;
##Access Technology Change&lt;br /&gt;
##Display parameters changed&lt;br /&gt;
##Local Connection&lt;br /&gt;
##Network Search Mode Change&lt;br /&gt;
#Seventh byte (Multiple card proactive commands) for class &amp;quot;a&amp;quot;:&lt;br /&gt;
##POWER ON CARD&lt;br /&gt;
##POWER OFF CARD&lt;br /&gt;
##PERFORM CARD APDU&lt;br /&gt;
##GET READER STATUS (Card reader status)&lt;br /&gt;
##GET READER STATUS (Card reader Identifier)&lt;br /&gt;
##RFU&lt;br /&gt;
#Eighth byte (Proactive UICC):&lt;br /&gt;
##Proactive UICC: TIMER MANAGEMENT (start, stop)&lt;br /&gt;
##Proactive UICC: TIMER MANAGEMENT (get current value)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (date, time and time zone)&lt;br /&gt;
##GET INKEY&lt;br /&gt;
##SET UP IDLE MODE TEXT&lt;br /&gt;
##RUN AT COMMAND (i.e. class &amp;quot;b&amp;quot; is supported)&lt;br /&gt;
##SETUP CALL&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
#Ninth byte:&lt;br /&gt;
##DISPLAY TEXT&lt;br /&gt;
##SEND DTMF command&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (language)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION, Timing Advance&lt;br /&gt;
##Proactive UICC: LANGUAGE NOTIFICATION&lt;br /&gt;
##Proactive UICC: LAUNCH BROWSER&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Access Technology)&lt;br /&gt;
#Tenth byte (Soft keys support) for class &amp;quot;d&amp;quot;:&lt;br /&gt;
##Soft keys support for SELECT ITEM&lt;br /&gt;
##Soft Keys support for SET UP MENU&lt;br /&gt;
##RFU&lt;br /&gt;
#Eleventh byte (Soft keys information):&lt;br /&gt;
##Maximum number of soft keys available 'FF' value is reserved for future use&lt;br /&gt;
#Twelfth byte:&lt;br /&gt;
##OPEN CHANNEL&lt;br /&gt;
##CLOSE CHANNEL&lt;br /&gt;
##RECEIVE DATA&lt;br /&gt;
##SEND DATA&lt;br /&gt;
##GET CHANNEL STATUS&lt;br /&gt;
##SERVICE SEARCH&lt;br /&gt;
##GET SERVICE INFORMATION&lt;br /&gt;
##DECLARE SERVICE&lt;br /&gt;
#Thirteenth byte:&lt;br /&gt;
##CSD&lt;br /&gt;
##GPRS&lt;br /&gt;
##Bluetooth&lt;br /&gt;
##IrDA&lt;br /&gt;
##RS232&lt;br /&gt;
##b6,b7,b8 - Number of channels supported by terminal&lt;br /&gt;
#Fourteenth byte (Screen height):&lt;br /&gt;
##b1 - b4 - Number of characters supported down the terminal display as defined in clause 5.3.1&lt;br /&gt;
##No display capability (i.e class &amp;quot;ND&amp;quot; is indicated)&lt;br /&gt;
##No keypad available (i.e. class &amp;quot;NK&amp;quot; is indicated)&lt;br /&gt;
##Screen Sizing Parameters supported as defined inclause 5.3&lt;br /&gt;
#Fifteenth byte (Screen width):&lt;br /&gt;
##b1-b7 - Number of characters supported across the terminal display as defined in clause 5.3.2&lt;br /&gt;
##Variable size fonts&lt;br /&gt;
#Sixteenth byte (Screen effects):&lt;br /&gt;
##Display can be resized as defined in clause 5.3.3&lt;br /&gt;
##Text Wrapping supported as defined in clause 5.3.4&lt;br /&gt;
##Text Scrolling supported as defined in clause 5.3.5&lt;br /&gt;
##Text Attributes supported as defined in clause 5.3.7&lt;br /&gt;
##b5 - RFU&lt;br /&gt;
##b6 - b8 - Width reduction when in a menu as defined in clause 5.3.6&lt;br /&gt;
#Seventeenth byte:&lt;br /&gt;
##TCP, UICC in client mode, remote connection&lt;br /&gt;
##UDP, UICC in client mode, remote connection&lt;br /&gt;
##TCP, UICC in server mode&lt;br /&gt;
##TCP, UICC in client mode, local connection (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##UDP, UICC in client mode, local connection (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
##E-UTRAN (if class &amp;quot;e&amp;quot; issupported))&lt;br /&gt;
##HSDPA (if class &amp;quot;e&amp;quot; is supported))&lt;br /&gt;
#Eighteenth byte:&lt;br /&gt;
##Proactive UICC: DISPLAY TEXT (Variable Time out)&lt;br /&gt;
##Proactive UICC: GET INKEY (help is supported while waiting for immediate response or variable timeout)&lt;br /&gt;
##USB&lt;br /&gt;
##Proactive UICC: GET INKEY (Variable Timeout)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (ESN)&lt;br /&gt;
##Call control on GPRS&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (IMEISV)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Search Mode change)&lt;br /&gt;
#Nineteenth byte (reserved for TIA/EIA-136-C facilities [25]):&lt;br /&gt;
##Reserved by TIA/EIA-136 [25] (Protocol Version support)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twentieth byte (reserved for TIA/EIA/IS-820-A facilities [17]):&lt;br /&gt;
##Reserved by TIA/EIA/IS-820 [17]&lt;br /&gt;
#Twenty-first byte (Extended Launch Browser Capability) for class &amp;quot;c&amp;quot;:&lt;br /&gt;
##WML&lt;br /&gt;
##XHTML&lt;br /&gt;
##HTML&lt;br /&gt;
##CHTML&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-second byte:&lt;br /&gt;
##Support of UTRAN PS with extended parameters&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION(battery state), (i.e. class &amp;quot;g&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PLAY TONE (Melody tones and Themed tones supported)&lt;br /&gt;
##Multi-media Calls in SET UP CALL (if class h supported)&lt;br /&gt;
##Reserved by 3GPP (Toolkit-initiated GBA)&lt;br /&gt;
##Proactive UICC: RETRIEVE MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: SUBMIT MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: DISPLAY MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
#Twenty third byte:&lt;br /&gt;
##Proactive UICC: SET FRAMES (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: GET FRAMES STATUS (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##MMS notification download (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Alpha Identifier in REFRESH command supported by terminal&lt;br /&gt;
##Geographical Location Reporting (if class &amp;quot;n&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (MEID)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (NMR(UTRAN))&lt;br /&gt;
##USSD Data download and application mode&lt;br /&gt;
#Twenty fourth byte for class &amp;quot;i&amp;quot;:&lt;br /&gt;
##b1-b4 - Maximum number of frames supported (including frames created in existing frames)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-fifth byte (Event driven information extensions):&lt;br /&gt;
##Event: Browsing status&lt;br /&gt;
##Event: MMS Transfer status (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Event: Frame Parameters changed (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##Event: I-WLAN Access status (if class &amp;quot;e&amp;quot; is supported)&lt;br /&gt;
##Event Network Rejection&lt;br /&gt;
##Event: HCI connectivity event (i.e. class &amp;quot;m&amp;quot; is supported)&lt;br /&gt;
##Reserved by 3GPP (E-UTRAN support in Event Network Rejection)&lt;br /&gt;
##Multiple access technologies supported in Event&lt;br /&gt;
##Access Technology Change and PROVIDE LOCAL INFORMATION &amp;lt;br&amp;gt;If bit &amp;quot;Multiple access technologies supported&amp;quot; is set to 1, it applies to the Event Access Technology Change if supported and all relevant modes of proactive command PROVIDE  LOCAL INFORMATION that are supported.&lt;br /&gt;
#Twenty-sixth byte (Event driven information extensions):&lt;br /&gt;
##RFU, bit = 0 (for future event indication)&lt;br /&gt;
#Twenty-seventh byte (Event driven information extensions):&lt;br /&gt;
##RFU, bit = 0 (for future event indication)&lt;br /&gt;
#Twenty-eighth byte (Text attributes):&lt;br /&gt;
##Alignment left supported by Terminal&lt;br /&gt;
##Alignment centre supported by Terminal&lt;br /&gt;
##Alignment right supported by Terminal&lt;br /&gt;
##Font size normal supported by Terminal&lt;br /&gt;
##Font size large supported by Terminal&lt;br /&gt;
##Font size small supported by Terminal&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-ninth byte (Text attributes):&lt;br /&gt;
##Style normal supported by Terminal&lt;br /&gt;
##Style bold supported by Terminal&lt;br /&gt;
##Style italic supported by Terminal&lt;br /&gt;
##Style underlined supported by Terminal&lt;br /&gt;
##Style strikethrough supported by Terminal&lt;br /&gt;
##Style text foreground colour supported by Terminal&lt;br /&gt;
##Style text background colour supported by Terminal&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Thirtieth byte:&lt;br /&gt;
##I-WLAN bearer support (if class &amp;quot;e&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (WSID of the current I-WLAN connection)&lt;br /&gt;
##TERMINAL APPLICATIONS (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##Steering of Roaming REFRESH support&lt;br /&gt;
##Proactive UICC: ACTIVATE (i.e class &amp;quot;l&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: GEOGRAPHICAL LOCATION REQUEST (if class &amp;quot;n&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Broadcast Network Information) (i.e. class &amp;quot;o&amp;quot; is supported)&lt;br /&gt;
##Steering of Roaming for I-WLAN REFRESH support&lt;br /&gt;
&lt;br /&gt;
====Values====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center;&amp;quot;&lt;br /&gt;
|Phone Type||B1||B2||B3||B4||B5||B6||B7||B8||B9||B10||B11||B12||B13||B14||B15||B16||B17||B18||B19||B20||B21||B22||B23||B24||B25||B26||B27||B28||B29||B30&lt;br /&gt;
|-&lt;br /&gt;
|Samsung Galaxy Express||ff||ff||ff||ff||7f||9d||00||df||bf||00||00||1f||e2||00||00||00||c3||6b||00||07||00||00||40||00||50||00||00||00||00||08&lt;br /&gt;
|-&lt;br /&gt;
|Samsung Galaxy Note 3||ff||ff||ff||ff||7f||9d||00||df||bf||00||00||1f||e2||00||00||00||c3||6b||00||07||00||00||40||00||50||00||00||00||00||08&lt;br /&gt;
|-&lt;br /&gt;
|HTC One X+||ff||ff||ff||ff||7f||1d||00||df||b7||03||02||1f||22||00||00||00||83||00||00||00||00||00||40||10||00||00||00||00||00||00&lt;br /&gt;
|-&lt;br /&gt;
|IPhone 4||ff||ff||ff||ff||7f||91||00||df||bf||00||00||00||00||00||00||00||00||f0||00||03||00||00||60||00||50||00||00||00||00||00&lt;br /&gt;
|-&lt;br /&gt;
|Nokia E72||ff||ff||ff||ff||7f||1d||00||df||bf||00||00||17||e2||05||0f||00||03||09||00||00||00||00||00||00||00||00||00||00||00||00&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Andrei</name></author>	</entry>

	<entry>
		<id>https://ss7api.null.ro/index.php/SIM_Cards</id>
		<title>SIM Cards</title>
		<link rel="alternate" type="text/html" href="https://ss7api.null.ro/index.php/SIM_Cards"/>
				<updated>2014-03-05T15:16:37Z</updated>
		
		<summary type="html">&lt;p&gt;Andrei: /* Browsing */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
===SIM Events===&lt;br /&gt;
&lt;br /&gt;
====Call====&lt;br /&gt;
Call related events and requests.&lt;br /&gt;
*Standard: Details can be found in standard TS 31.111&lt;br /&gt;
*Terminal Class: This events should work in all terminals.&lt;br /&gt;
*Status: Tests were made successfully for Mobile Originating Calls&lt;br /&gt;
*Events:&amp;lt;br&amp;gt;The SIM is notified on the following events:&lt;br /&gt;
**Mobile Originating Call Initiated&lt;br /&gt;
**Mobile Originating SMS Initiated&lt;br /&gt;
**Mobile Originating USSD Initiated&lt;br /&gt;
**Mobile Originating SS Initiated&amp;lt;br&amp;gt;On the events above, the 'address' and 'subaddress' parameters can be altered.&lt;br /&gt;
*Notifications:&amp;lt;br&amp;gt;We can receive notifications for the following events. NOTE: We can not alter the event flow. Eg. We can not keep the call alive if we received call terminated event.&lt;br /&gt;
**Call Connected&lt;br /&gt;
**Call Terminated&lt;br /&gt;
*Requests - We can make the following requests:&lt;br /&gt;
**Set Up Call&lt;br /&gt;
**Send DTMF&lt;br /&gt;
*Parameters:&lt;br /&gt;
**Address&amp;lt;br&amp;gt;The called party address. Details on TS 31.111 chapter 8.1&lt;br /&gt;
**Subaddress&amp;lt;br&amp;gt;The called party subaddress. Details on TS 31.111 chapter  8.3&lt;br /&gt;
&lt;br /&gt;
====Browsing====&lt;br /&gt;
Open a SIM provided URL in phone defaults browser.&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Terminal class C&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Status&lt;br /&gt;
**Terminated&lt;br /&gt;
&lt;br /&gt;
====Access Technology====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Changed&lt;br /&gt;
&lt;br /&gt;
====Card Reader====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Terminal Class: A&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Status&lt;br /&gt;
*Requests:&lt;br /&gt;
**Power ON Card&lt;br /&gt;
**Power OFF Card&lt;br /&gt;
**Perform Card APDU&lt;br /&gt;
**Get Reader Status&lt;br /&gt;
&lt;br /&gt;
====Data====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: No compatible device found&lt;br /&gt;
*Terminal class E&lt;br /&gt;
*Events:&lt;br /&gt;
**Data available&lt;br /&gt;
**Channel Status&lt;br /&gt;
*Requests&lt;br /&gt;
**Open Channel&lt;br /&gt;
**Send Data&lt;br /&gt;
**Receive Data&lt;br /&gt;
**Close Channel&lt;br /&gt;
&lt;br /&gt;
====User Interface====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: Most of them tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Display Parameter Change&lt;br /&gt;
**Frames Information Changed&lt;br /&gt;
**Idle screen available&lt;br /&gt;
**User activity&lt;br /&gt;
**Menu Selection&lt;br /&gt;
**Menu Selection Help Request&lt;br /&gt;
*Requests:&lt;br /&gt;
**Get Input&lt;br /&gt;
**Get InKey&lt;br /&gt;
**Display Text&lt;br /&gt;
**Set Up Menu&lt;br /&gt;
**Select Item&lt;br /&gt;
**Set Up Idle Mode Text&lt;br /&gt;
**Set Frames&amp;lt;br&amp;gt;Terminal class I&lt;br /&gt;
**Get Frame Status&amp;lt;br&amp;gt;Terminal class I&lt;br /&gt;
&lt;br /&gt;
====SMS====&lt;br /&gt;
*Standard TS 131 111&lt;br /&gt;
*Status: Not tested yet&lt;br /&gt;
*Events:&lt;br /&gt;
**SMS-PP Data Download unformatted&lt;br /&gt;
**SMS-PP Data Download formatted&lt;br /&gt;
**SMS-CB Data Download formatted&lt;br /&gt;
**SMS-CB Data Download unformatted&lt;br /&gt;
*Requests:&lt;br /&gt;
**Send Short Message&lt;br /&gt;
*Parameters&lt;br /&gt;
**Address&lt;br /&gt;
**SMS TPDU&lt;br /&gt;
&lt;br /&gt;
====SS====&lt;br /&gt;
*Standard TS 131 111&lt;br /&gt;
*Terminal class P for USSD Data Download&lt;br /&gt;
*Status: Send USSD tested&lt;br /&gt;
*Events:&lt;br /&gt;
**USSD Data Download formatted&lt;br /&gt;
**USSD Data Download unformatted&lt;br /&gt;
*Requests:&lt;br /&gt;
**Send SS&lt;br /&gt;
**Send USSD&lt;br /&gt;
*Parameters&lt;br /&gt;
**SS String&lt;br /&gt;
**USSD String&lt;br /&gt;
NOTE: If the USSD session is initiated form SIM card than only the last response from the network is passed to the SIM.&lt;br /&gt;
&lt;br /&gt;
====IMS====&lt;br /&gt;
*Standard TS 131 111&lt;br /&gt;
*Terminal class E + T&lt;br /&gt;
*Events&lt;br /&gt;
**Download IMS Registration&lt;br /&gt;
**Download Incoming IMS Data&lt;br /&gt;
*Parameters&lt;br /&gt;
**IARI&lt;br /&gt;
**IMPU List&lt;br /&gt;
**IMS status code&lt;br /&gt;
&lt;br /&gt;
====Terminal====&lt;br /&gt;
*Standard TS 102 223 + TS 131 111&lt;br /&gt;
*Events&lt;br /&gt;
**Location Status&amp;lt;br&amp;gt;Status: tested&amp;lt;br&amp;gt;Parameters:&lt;br /&gt;
***Location Status TS 102.223 8.27&lt;br /&gt;
***Location Information TS 102.223 8.19&lt;br /&gt;
**Language Selection&lt;br /&gt;
**Profile Download&lt;br /&gt;
**Network Reject&lt;br /&gt;
**Timer expiration&lt;br /&gt;
*Requests&lt;br /&gt;
**Provide Local Information&lt;br /&gt;
**Language Notification&lt;br /&gt;
**Geographical Location Request&amp;lt;br&amp;gt;Terminal Type N&lt;br /&gt;
**More Time&amp;lt;br&amp;gt;Request to terminal for more processing time. &lt;br /&gt;
**Refresh&amp;lt;br&amp;gt;Request to terminal to reinitialize SIM card.&lt;br /&gt;
**Timer Management&amp;lt;br&amp;gt;SIM timers&lt;br /&gt;
&lt;br /&gt;
====Service====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: not tested&lt;br /&gt;
*Terminal class F&lt;br /&gt;
*Requests:&lt;br /&gt;
**Declare Service&lt;br /&gt;
**Search Service&lt;br /&gt;
**Get Service Information&lt;br /&gt;
&lt;br /&gt;
====MMS====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: not tested&lt;br /&gt;
*Terminal class J&lt;br /&gt;
*Requests:&lt;br /&gt;
**Retreive MMS&lt;br /&gt;
**Submit MMS&lt;br /&gt;
**Display MMS&lt;br /&gt;
&lt;br /&gt;
===Card File System===&lt;br /&gt;
&lt;br /&gt;
====USIM File System====&lt;br /&gt;
Extracted from standard TS 131.102.&lt;br /&gt;
*Language Indication&lt;br /&gt;
*IMSI&lt;br /&gt;
*Ciphering and Integrity Keys&lt;br /&gt;
*Ciphering and Integrity Keys for Packet Switched domain&lt;br /&gt;
*User controlled PLMN selector with Access Technology&lt;br /&gt;
*Higher Priority PLMN search period&lt;br /&gt;
*ACM maximum value&lt;br /&gt;
*USIM Service Table&lt;br /&gt;
*Accumulated Call Meter&lt;br /&gt;
*Group Identifier Level 1&lt;br /&gt;
*Group Identifier Level 2&lt;br /&gt;
*Service Provider Name&lt;br /&gt;
*Price per Unit and Currency Table&lt;br /&gt;
*Cell Broadcast Message identifier selection&lt;br /&gt;
*Access Control Class&lt;br /&gt;
*Forbidden PLMNs&lt;br /&gt;
*Location Information&lt;br /&gt;
*Administrative Data&lt;br /&gt;
*Cell Broadcast Message Identifier for Data Download&lt;br /&gt;
*Emergency Call Codes&lt;br /&gt;
*Cell Broadcast Message Identifier Range selection&lt;br /&gt;
*Packet Switched location information&lt;br /&gt;
*Fixed Dialling Numbers&lt;br /&gt;
*Short messages&lt;br /&gt;
*MSISDN&lt;br /&gt;
*Short message service parameters&lt;br /&gt;
*SMS status&lt;br /&gt;
*Service Dialling Numbers&lt;br /&gt;
*Extension2&lt;br /&gt;
*Extension3&lt;br /&gt;
*Short message status reports&lt;br /&gt;
*Incoming Call Information&lt;br /&gt;
*Outgoing Call Information&lt;br /&gt;
*Incoming Call Timer&lt;br /&gt;
*Outgoing Call Timer&lt;br /&gt;
*Extension5&lt;br /&gt;
*Capability Configuration Parameters 2&lt;br /&gt;
*enhanced Multi Level Precedence and Pre-emption&lt;br /&gt;
*Automatic Answer for eMLPP Service&lt;br /&gt;
*Key for hidden phone book entries&lt;br /&gt;
*Barred Dialling Numbers&lt;br /&gt;
*Extension4&lt;br /&gt;
*Comparison Method Information&lt;br /&gt;
*Enabled Services Table&lt;br /&gt;
*Access Point Name Control List&lt;br /&gt;
*Depersonalisation Control Keys&lt;br /&gt;
*Co-operative Network List&lt;br /&gt;
*Initialisation values for Hyperframe number&lt;br /&gt;
*Maximum value of START&lt;br /&gt;
*Operator controlled PLMN selector with Access Technology&lt;br /&gt;
*HPLMN selector with Access Technology&lt;br /&gt;
*Access Rule Reference&lt;br /&gt;
*Network Parameters&lt;br /&gt;
*PLMN Network Name&lt;br /&gt;
*Operator PLMN List&lt;br /&gt;
*Mailbox Dialling Numbers&lt;br /&gt;
*Extension6&lt;br /&gt;
*Mailbox Identifier&lt;br /&gt;
*Message Waiting Indication Status&lt;br /&gt;
*Call Forwarding Indication Status&lt;br /&gt;
*Extension7&lt;br /&gt;
*Service Provider Display Information&lt;br /&gt;
*MMS Notification&lt;br /&gt;
*Extension 8&lt;br /&gt;
*MMS Issuer Connectivity Parameters&lt;br /&gt;
*MMS User Preferences&lt;br /&gt;
*MMS User Connectivity Parameters&lt;br /&gt;
*Network's Indication of Alerting&lt;br /&gt;
*Voice Group Call Service&lt;br /&gt;
*Voice Group Call Service Status&lt;br /&gt;
*Voice Broadcast Service&lt;br /&gt;
*Voice Broadcast Service Status&lt;br /&gt;
&lt;br /&gt;
===Terminal profile===&lt;br /&gt;
====Description====&lt;br /&gt;
The terminal can be interrogated about which functions it supports.&lt;br /&gt;
#First byte (Download):&lt;br /&gt;
##Profile download&lt;br /&gt;
##SMS-PP data download&lt;br /&gt;
##Cell Broadcast data download)&lt;br /&gt;
##Menu selection&lt;br /&gt;
##SMS-PP data download&lt;br /&gt;
##Timer expiration&lt;br /&gt;
##USSD string data object support in Call Control by USIM&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
#Second byte (Other):&lt;br /&gt;
##Command result&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
##Call Control by NAA &lt;br /&gt;
##MO short message control support&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
##UCS2 Entry supported&lt;br /&gt;
##UCS2 Display supported&lt;br /&gt;
##Display Text&lt;br /&gt;
#Third byte (Proactive UICC):&lt;br /&gt;
##DISPLAY TEXT&lt;br /&gt;
##GET INKEY&lt;br /&gt;
##GET INPUT&lt;br /&gt;
##MORE TIME&lt;br /&gt;
##PLAY TONE&lt;br /&gt;
##POLL INTERVAL&lt;br /&gt;
##POLLING OFF&lt;br /&gt;
##REFRESH&lt;br /&gt;
#Fourth byte (Proactive UICC):&lt;br /&gt;
##Proactive UICC: SELECT ITEM&lt;br /&gt;
##Proactive UICC: SEND SHORT MESSAGE with 3GPP-SMS-TPDU&lt;br /&gt;
##Proactive UICC: SEND SS&lt;br /&gt;
##Proactive UICC:SEND USSD&lt;br /&gt;
##Proactive UICC: SET UP CALL&lt;br /&gt;
##Proactive UICC: SET UP MENU&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (MCC, MNC,LAC, Cell ID &amp;amp; IMEI)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (NMR)&lt;br /&gt;
#Fifth byte (Event driven information):&lt;br /&gt;
##Proactive UICC: SET UP EVENT LIST&lt;br /&gt;
##Event: MT call&lt;br /&gt;
##Event: Call connected&lt;br /&gt;
##Event: Call disconnected&lt;br /&gt;
##Event: Location status&lt;br /&gt;
##Event: User activity&lt;br /&gt;
##Event: Idle screen available&lt;br /&gt;
##Event: Card reader status&lt;br /&gt;
#Sixth byte (Event driven information extensions):&lt;br /&gt;
##Language selection&lt;br /&gt;
##Browser Termination&lt;br /&gt;
##Data available&lt;br /&gt;
##Channel status&lt;br /&gt;
##Access Technology Change&lt;br /&gt;
##Display parameters changed&lt;br /&gt;
##Local Connection&lt;br /&gt;
##Network Search Mode Change&lt;br /&gt;
#Seventh byte (Multiple card proactive commands) for class &amp;quot;a&amp;quot;:&lt;br /&gt;
##POWER ON CARD&lt;br /&gt;
##POWER OFF CARD&lt;br /&gt;
##PERFORM CARD APDU&lt;br /&gt;
##GET READER STATUS (Card reader status)&lt;br /&gt;
##GET READER STATUS (Card reader Identifier)&lt;br /&gt;
##RFU&lt;br /&gt;
#Eighth byte (Proactive UICC):&lt;br /&gt;
##Proactive UICC: TIMER MANAGEMENT (start, stop)&lt;br /&gt;
##Proactive UICC: TIMER MANAGEMENT (get current value)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (date, time and time zone)&lt;br /&gt;
##GET INKEY&lt;br /&gt;
##SET UP IDLE MODE TEXT&lt;br /&gt;
##RUN AT COMMAND (i.e. class &amp;quot;b&amp;quot; is supported)&lt;br /&gt;
##SETUP CALL&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
#Ninth byte:&lt;br /&gt;
##DISPLAY TEXT&lt;br /&gt;
##SEND DTMF command&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (language)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION, Timing Advance&lt;br /&gt;
##Proactive UICC: LANGUAGE NOTIFICATION&lt;br /&gt;
##Proactive UICC: LAUNCH BROWSER&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Access Technology)&lt;br /&gt;
#Tenth byte (Soft keys support) for class &amp;quot;d&amp;quot;:&lt;br /&gt;
##Soft keys support for SELECT ITEM&lt;br /&gt;
##Soft Keys support for SET UP MENU&lt;br /&gt;
##RFU&lt;br /&gt;
#Eleventh byte (Soft keys information):&lt;br /&gt;
##Maximum number of soft keys available 'FF' value is reserved for future use&lt;br /&gt;
#Twelfth byte:&lt;br /&gt;
##OPEN CHANNEL&lt;br /&gt;
##CLOSE CHANNEL&lt;br /&gt;
##RECEIVE DATA&lt;br /&gt;
##SEND DATA&lt;br /&gt;
##GET CHANNEL STATUS&lt;br /&gt;
##SERVICE SEARCH&lt;br /&gt;
##GET SERVICE INFORMATION&lt;br /&gt;
##DECLARE SERVICE&lt;br /&gt;
#Thirteenth byte:&lt;br /&gt;
##CSD&lt;br /&gt;
##GPRS&lt;br /&gt;
##Bluetooth&lt;br /&gt;
##IrDA&lt;br /&gt;
##RS232&lt;br /&gt;
##b6,b7,b8 - Number of channels supported by terminal&lt;br /&gt;
#Fourteenth byte (Screen height):&lt;br /&gt;
##b1 - b4 - Number of characters supported down the terminal display as defined in clause 5.3.1&lt;br /&gt;
##No display capability (i.e class &amp;quot;ND&amp;quot; is indicated)&lt;br /&gt;
##No keypad available (i.e. class &amp;quot;NK&amp;quot; is indicated)&lt;br /&gt;
##Screen Sizing Parameters supported as defined inclause 5.3&lt;br /&gt;
#Fifteenth byte (Screen width):&lt;br /&gt;
##b1-b7 - Number of characters supported across the terminal display as defined in clause 5.3.2&lt;br /&gt;
##Variable size fonts&lt;br /&gt;
#Sixteenth byte (Screen effects):&lt;br /&gt;
##Display can be resized as defined in clause 5.3.3&lt;br /&gt;
##Text Wrapping supported as defined in clause 5.3.4&lt;br /&gt;
##Text Scrolling supported as defined in clause 5.3.5&lt;br /&gt;
##Text Attributes supported as defined in clause 5.3.7&lt;br /&gt;
##b5 - RFU&lt;br /&gt;
##b6 - b8 - Width reduction when in a menu as defined in clause 5.3.6&lt;br /&gt;
#Seventeenth byte:&lt;br /&gt;
##TCP, UICC in client mode, remote connection&lt;br /&gt;
##UDP, UICC in client mode, remote connection&lt;br /&gt;
##TCP, UICC in server mode&lt;br /&gt;
##TCP, UICC in client mode, local connection (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##UDP, UICC in client mode, local connection (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
##E-UTRAN (if class &amp;quot;e&amp;quot; issupported))&lt;br /&gt;
##HSDPA (if class &amp;quot;e&amp;quot; is supported))&lt;br /&gt;
#Eighteenth byte:&lt;br /&gt;
##Proactive UICC: DISPLAY TEXT (Variable Time out)&lt;br /&gt;
##Proactive UICC: GET INKEY (help is supported while waiting for immediate response or variable timeout)&lt;br /&gt;
##USB&lt;br /&gt;
##Proactive UICC: GET INKEY (Variable Timeout)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (ESN)&lt;br /&gt;
##Call control on GPRS&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (IMEISV)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Search Mode change)&lt;br /&gt;
#Nineteenth byte (reserved for TIA/EIA-136-C facilities [25]):&lt;br /&gt;
##Reserved by TIA/EIA-136 [25] (Protocol Version support)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twentieth byte (reserved for TIA/EIA/IS-820-A facilities [17]):&lt;br /&gt;
##Reserved by TIA/EIA/IS-820 [17]&lt;br /&gt;
#Twenty-first byte (Extended Launch Browser Capability) for class &amp;quot;c&amp;quot;:&lt;br /&gt;
##WML&lt;br /&gt;
##XHTML&lt;br /&gt;
##HTML&lt;br /&gt;
##CHTML&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-second byte:&lt;br /&gt;
##Support of UTRAN PS with extended parameters&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION(battery state), (i.e. class &amp;quot;g&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PLAY TONE (Melody tones and Themed tones supported)&lt;br /&gt;
##Multi-media Calls in SET UP CALL (if class h supported)&lt;br /&gt;
##Reserved by 3GPP (Toolkit-initiated GBA)&lt;br /&gt;
##Proactive UICC: RETRIEVE MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: SUBMIT MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: DISPLAY MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
#Twenty third byte:&lt;br /&gt;
##Proactive UICC: SET FRAMES (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: GET FRAMES STATUS (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##MMS notification download (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Alpha Identifier in REFRESH command supported by terminal&lt;br /&gt;
##Geographical Location Reporting (if class &amp;quot;n&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (MEID)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (NMR(UTRAN))&lt;br /&gt;
##USSD Data download and application mode&lt;br /&gt;
#Twenty fourth byte for class &amp;quot;i&amp;quot;:&lt;br /&gt;
##b1-b4 - Maximum number of frames supported (including frames created in existing frames)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-fifth byte (Event driven information extensions):&lt;br /&gt;
##Event: Browsing status&lt;br /&gt;
##Event: MMS Transfer status (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Event: Frame Parameters changed (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##Event: I-WLAN Access status (if class &amp;quot;e&amp;quot; is supported)&lt;br /&gt;
##Event Network Rejection&lt;br /&gt;
##Event: HCI connectivity event (i.e. class &amp;quot;m&amp;quot; is supported)&lt;br /&gt;
##Reserved by 3GPP (E-UTRAN support in Event Network Rejection)&lt;br /&gt;
##Multiple access technologies supported in Event&lt;br /&gt;
##Access Technology Change and PROVIDE LOCAL INFORMATION &amp;lt;br&amp;gt;If bit &amp;quot;Multiple access technologies supported&amp;quot; is set to 1, it applies to the Event Access Technology Change if supported and all relevant modes of proactive command PROVIDE  LOCAL INFORMATION that are supported.&lt;br /&gt;
#Twenty-sixth byte (Event driven information extensions):&lt;br /&gt;
##RFU, bit = 0 (for future event indication)&lt;br /&gt;
#Twenty-seventh byte (Event driven information extensions):&lt;br /&gt;
##RFU, bit = 0 (for future event indication)&lt;br /&gt;
#Twenty-eighth byte (Text attributes):&lt;br /&gt;
##Alignment left supported by Terminal&lt;br /&gt;
##Alignment centre supported by Terminal&lt;br /&gt;
##Alignment right supported by Terminal&lt;br /&gt;
##Font size normal supported by Terminal&lt;br /&gt;
##Font size large supported by Terminal&lt;br /&gt;
##Font size small supported by Terminal&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-ninth byte (Text attributes):&lt;br /&gt;
##Style normal supported by Terminal&lt;br /&gt;
##Style bold supported by Terminal&lt;br /&gt;
##Style italic supported by Terminal&lt;br /&gt;
##Style underlined supported by Terminal&lt;br /&gt;
##Style strikethrough supported by Terminal&lt;br /&gt;
##Style text foreground colour supported by Terminal&lt;br /&gt;
##Style text background colour supported by Terminal&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Thirtieth byte:&lt;br /&gt;
##I-WLAN bearer support (if class &amp;quot;e&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (WSID of the current I-WLAN connection)&lt;br /&gt;
##TERMINAL APPLICATIONS (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##Steering of Roaming REFRESH support&lt;br /&gt;
##Proactive UICC: ACTIVATE (i.e class &amp;quot;l&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: GEOGRAPHICAL LOCATION REQUEST (if class &amp;quot;n&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Broadcast Network Information) (i.e. class &amp;quot;o&amp;quot; is supported)&lt;br /&gt;
##Steering of Roaming for I-WLAN REFRESH support&lt;br /&gt;
&lt;br /&gt;
====Values====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center;&amp;quot;&lt;br /&gt;
|Phone Type||B1||B2||B3||B4||B5||B6||B7||B8||B9||B10||B11||B12||B13||B14||B15||B16||B17||B18||B19||B20||B21||B22||B23||B24||B25||B26||B27||B28||B29||B30&lt;br /&gt;
|-&lt;br /&gt;
|Samsung Galaxy Express||ff||ff||ff||ff||7f||9d||00||df||bf||00||00||1f||e2||00||00||00||c3||6b||00||07||00||00||40||00||50||00||00||00||00||08&lt;br /&gt;
|-&lt;br /&gt;
|Samsung Galaxy Note 3||ff||ff||ff||ff||7f||9d||00||df||bf||00||00||1f||e2||00||00||00||c3||6b||00||07||00||00||40||00||50||00||00||00||00||08&lt;br /&gt;
|-&lt;br /&gt;
|HTC One X+||ff||ff||ff||ff||7f||1d||00||df||b7||03||02||1f||22||00||00||00||83||00||00||00||00||00||40||10||00||00||00||00||00||00&lt;br /&gt;
|-&lt;br /&gt;
|IPhone 4||ff||ff||ff||ff||7f||91||00||df||bf||00||00||00||00||00||00||00||00||f0||00||03||00||00||60||00||50||00||00||00||00||00&lt;br /&gt;
|-&lt;br /&gt;
|Nokia E72||ff||ff||ff||ff||7f||1d||00||df||bf||00||00||17||e2||05||0f||00||03||09||00||00||00||00||00||00||00||00||00||00||00||00&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Andrei</name></author>	</entry>

	<entry>
		<id>https://ss7api.null.ro/index.php/SIM_Cards</id>
		<title>SIM Cards</title>
		<link rel="alternate" type="text/html" href="https://ss7api.null.ro/index.php/SIM_Cards"/>
				<updated>2014-03-05T15:07:57Z</updated>
		
		<summary type="html">&lt;p&gt;Andrei: /* Call */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
===SIM Events===&lt;br /&gt;
&lt;br /&gt;
====Call====&lt;br /&gt;
Call related events and requests.&lt;br /&gt;
*Standard: Details can be found in standard TS 31.111&lt;br /&gt;
*Terminal Class: This events should work in all terminals.&lt;br /&gt;
*Status: Tests were made successfully for Mobile Originating Calls&lt;br /&gt;
*Events:&amp;lt;br&amp;gt;The SIM is notified on the following events:&lt;br /&gt;
**Mobile Originating Call Initiated&lt;br /&gt;
**Mobile Originating SMS Initiated&lt;br /&gt;
**Mobile Originating USSD Initiated&lt;br /&gt;
**Mobile Originating SS Initiated&amp;lt;br&amp;gt;On the events above, the 'address' and 'subaddress' parameters can be altered.&lt;br /&gt;
*Notifications:&amp;lt;br&amp;gt;We can receive notifications for the following events. NOTE: We can not alter the event flow. Eg. We can not keep the call alive if we received call terminated event.&lt;br /&gt;
**Call Connected&lt;br /&gt;
**Call Terminated&lt;br /&gt;
*Requests - We can make the following requests:&lt;br /&gt;
**Set Up Call&lt;br /&gt;
**Send DTMF&lt;br /&gt;
*Parameters:&lt;br /&gt;
**Address&amp;lt;br&amp;gt;The called party address. Details on TS 31.111 chapter 8.1&lt;br /&gt;
**Subaddress&amp;lt;br&amp;gt;The called party subaddress. Details on TS 31.111 chapter  8.3&lt;br /&gt;
&lt;br /&gt;
====Browsing====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Terminal class C&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Status&lt;br /&gt;
**Terminated&lt;br /&gt;
&lt;br /&gt;
====Access Technology====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Changed&lt;br /&gt;
&lt;br /&gt;
====Card Reader====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Terminal Class: A&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Status&lt;br /&gt;
*Requests:&lt;br /&gt;
**Power ON Card&lt;br /&gt;
**Power OFF Card&lt;br /&gt;
**Perform Card APDU&lt;br /&gt;
**Get Reader Status&lt;br /&gt;
&lt;br /&gt;
====Data====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: No compatible device found&lt;br /&gt;
*Terminal class E&lt;br /&gt;
*Events:&lt;br /&gt;
**Data available&lt;br /&gt;
**Channel Status&lt;br /&gt;
*Requests&lt;br /&gt;
**Open Channel&lt;br /&gt;
**Send Data&lt;br /&gt;
**Receive Data&lt;br /&gt;
**Close Channel&lt;br /&gt;
&lt;br /&gt;
====User Interface====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: Most of them tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Display Parameter Change&lt;br /&gt;
**Frames Information Changed&lt;br /&gt;
**Idle screen available&lt;br /&gt;
**User activity&lt;br /&gt;
**Menu Selection&lt;br /&gt;
**Menu Selection Help Request&lt;br /&gt;
*Requests:&lt;br /&gt;
**Get Input&lt;br /&gt;
**Get InKey&lt;br /&gt;
**Display Text&lt;br /&gt;
**Set Up Menu&lt;br /&gt;
**Select Item&lt;br /&gt;
**Set Up Idle Mode Text&lt;br /&gt;
**Set Frames&amp;lt;br&amp;gt;Terminal class I&lt;br /&gt;
**Get Frame Status&amp;lt;br&amp;gt;Terminal class I&lt;br /&gt;
&lt;br /&gt;
====SMS====&lt;br /&gt;
*Standard TS 131 111&lt;br /&gt;
*Status: Not tested yet&lt;br /&gt;
*Events:&lt;br /&gt;
**SMS-PP Data Download unformatted&lt;br /&gt;
**SMS-PP Data Download formatted&lt;br /&gt;
**SMS-CB Data Download formatted&lt;br /&gt;
**SMS-CB Data Download unformatted&lt;br /&gt;
*Requests:&lt;br /&gt;
**Send Short Message&lt;br /&gt;
*Parameters&lt;br /&gt;
**Address&lt;br /&gt;
**SMS TPDU&lt;br /&gt;
&lt;br /&gt;
====SS====&lt;br /&gt;
*Standard TS 131 111&lt;br /&gt;
*Terminal class P for USSD Data Download&lt;br /&gt;
*Status: Send USSD tested&lt;br /&gt;
*Events:&lt;br /&gt;
**USSD Data Download formatted&lt;br /&gt;
**USSD Data Download unformatted&lt;br /&gt;
*Requests:&lt;br /&gt;
**Send SS&lt;br /&gt;
**Send USSD&lt;br /&gt;
*Parameters&lt;br /&gt;
**SS String&lt;br /&gt;
**USSD String&lt;br /&gt;
NOTE: If the USSD session is initiated form SIM card than only the last response from the network is passed to the SIM.&lt;br /&gt;
&lt;br /&gt;
====IMS====&lt;br /&gt;
*Standard TS 131 111&lt;br /&gt;
*Terminal class E + T&lt;br /&gt;
*Events&lt;br /&gt;
**Download IMS Registration&lt;br /&gt;
**Download Incoming IMS Data&lt;br /&gt;
*Parameters&lt;br /&gt;
**IARI&lt;br /&gt;
**IMPU List&lt;br /&gt;
**IMS status code&lt;br /&gt;
&lt;br /&gt;
====Terminal====&lt;br /&gt;
*Standard TS 102 223 + TS 131 111&lt;br /&gt;
*Events&lt;br /&gt;
**Location Status&amp;lt;br&amp;gt;Status: tested&amp;lt;br&amp;gt;Parameters:&lt;br /&gt;
***Location Status TS 102.223 8.27&lt;br /&gt;
***Location Information TS 102.223 8.19&lt;br /&gt;
**Language Selection&lt;br /&gt;
**Profile Download&lt;br /&gt;
**Network Reject&lt;br /&gt;
**Timer expiration&lt;br /&gt;
*Requests&lt;br /&gt;
**Provide Local Information&lt;br /&gt;
**Language Notification&lt;br /&gt;
**Geographical Location Request&amp;lt;br&amp;gt;Terminal Type N&lt;br /&gt;
**More Time&amp;lt;br&amp;gt;Request to terminal for more processing time. &lt;br /&gt;
**Refresh&amp;lt;br&amp;gt;Request to terminal to reinitialize SIM card.&lt;br /&gt;
**Timer Management&amp;lt;br&amp;gt;SIM timers&lt;br /&gt;
&lt;br /&gt;
====Service====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: not tested&lt;br /&gt;
*Terminal class F&lt;br /&gt;
*Requests:&lt;br /&gt;
**Declare Service&lt;br /&gt;
**Search Service&lt;br /&gt;
**Get Service Information&lt;br /&gt;
&lt;br /&gt;
====MMS====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: not tested&lt;br /&gt;
*Terminal class J&lt;br /&gt;
*Requests:&lt;br /&gt;
**Retreive MMS&lt;br /&gt;
**Submit MMS&lt;br /&gt;
**Display MMS&lt;br /&gt;
&lt;br /&gt;
===Card File System===&lt;br /&gt;
&lt;br /&gt;
====USIM File System====&lt;br /&gt;
Extracted from standard TS 131.102.&lt;br /&gt;
*Language Indication&lt;br /&gt;
*IMSI&lt;br /&gt;
*Ciphering and Integrity Keys&lt;br /&gt;
*Ciphering and Integrity Keys for Packet Switched domain&lt;br /&gt;
*User controlled PLMN selector with Access Technology&lt;br /&gt;
*Higher Priority PLMN search period&lt;br /&gt;
*ACM maximum value&lt;br /&gt;
*USIM Service Table&lt;br /&gt;
*Accumulated Call Meter&lt;br /&gt;
*Group Identifier Level 1&lt;br /&gt;
*Group Identifier Level 2&lt;br /&gt;
*Service Provider Name&lt;br /&gt;
*Price per Unit and Currency Table&lt;br /&gt;
*Cell Broadcast Message identifier selection&lt;br /&gt;
*Access Control Class&lt;br /&gt;
*Forbidden PLMNs&lt;br /&gt;
*Location Information&lt;br /&gt;
*Administrative Data&lt;br /&gt;
*Cell Broadcast Message Identifier for Data Download&lt;br /&gt;
*Emergency Call Codes&lt;br /&gt;
*Cell Broadcast Message Identifier Range selection&lt;br /&gt;
*Packet Switched location information&lt;br /&gt;
*Fixed Dialling Numbers&lt;br /&gt;
*Short messages&lt;br /&gt;
*MSISDN&lt;br /&gt;
*Short message service parameters&lt;br /&gt;
*SMS status&lt;br /&gt;
*Service Dialling Numbers&lt;br /&gt;
*Extension2&lt;br /&gt;
*Extension3&lt;br /&gt;
*Short message status reports&lt;br /&gt;
*Incoming Call Information&lt;br /&gt;
*Outgoing Call Information&lt;br /&gt;
*Incoming Call Timer&lt;br /&gt;
*Outgoing Call Timer&lt;br /&gt;
*Extension5&lt;br /&gt;
*Capability Configuration Parameters 2&lt;br /&gt;
*enhanced Multi Level Precedence and Pre-emption&lt;br /&gt;
*Automatic Answer for eMLPP Service&lt;br /&gt;
*Key for hidden phone book entries&lt;br /&gt;
*Barred Dialling Numbers&lt;br /&gt;
*Extension4&lt;br /&gt;
*Comparison Method Information&lt;br /&gt;
*Enabled Services Table&lt;br /&gt;
*Access Point Name Control List&lt;br /&gt;
*Depersonalisation Control Keys&lt;br /&gt;
*Co-operative Network List&lt;br /&gt;
*Initialisation values for Hyperframe number&lt;br /&gt;
*Maximum value of START&lt;br /&gt;
*Operator controlled PLMN selector with Access Technology&lt;br /&gt;
*HPLMN selector with Access Technology&lt;br /&gt;
*Access Rule Reference&lt;br /&gt;
*Network Parameters&lt;br /&gt;
*PLMN Network Name&lt;br /&gt;
*Operator PLMN List&lt;br /&gt;
*Mailbox Dialling Numbers&lt;br /&gt;
*Extension6&lt;br /&gt;
*Mailbox Identifier&lt;br /&gt;
*Message Waiting Indication Status&lt;br /&gt;
*Call Forwarding Indication Status&lt;br /&gt;
*Extension7&lt;br /&gt;
*Service Provider Display Information&lt;br /&gt;
*MMS Notification&lt;br /&gt;
*Extension 8&lt;br /&gt;
*MMS Issuer Connectivity Parameters&lt;br /&gt;
*MMS User Preferences&lt;br /&gt;
*MMS User Connectivity Parameters&lt;br /&gt;
*Network's Indication of Alerting&lt;br /&gt;
*Voice Group Call Service&lt;br /&gt;
*Voice Group Call Service Status&lt;br /&gt;
*Voice Broadcast Service&lt;br /&gt;
*Voice Broadcast Service Status&lt;br /&gt;
&lt;br /&gt;
===Terminal profile===&lt;br /&gt;
====Description====&lt;br /&gt;
The terminal can be interrogated about which functions it supports.&lt;br /&gt;
#First byte (Download):&lt;br /&gt;
##Profile download&lt;br /&gt;
##SMS-PP data download&lt;br /&gt;
##Cell Broadcast data download)&lt;br /&gt;
##Menu selection&lt;br /&gt;
##SMS-PP data download&lt;br /&gt;
##Timer expiration&lt;br /&gt;
##USSD string data object support in Call Control by USIM&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
#Second byte (Other):&lt;br /&gt;
##Command result&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
##Call Control by NAA &lt;br /&gt;
##MO short message control support&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
##UCS2 Entry supported&lt;br /&gt;
##UCS2 Display supported&lt;br /&gt;
##Display Text&lt;br /&gt;
#Third byte (Proactive UICC):&lt;br /&gt;
##DISPLAY TEXT&lt;br /&gt;
##GET INKEY&lt;br /&gt;
##GET INPUT&lt;br /&gt;
##MORE TIME&lt;br /&gt;
##PLAY TONE&lt;br /&gt;
##POLL INTERVAL&lt;br /&gt;
##POLLING OFF&lt;br /&gt;
##REFRESH&lt;br /&gt;
#Fourth byte (Proactive UICC):&lt;br /&gt;
##Proactive UICC: SELECT ITEM&lt;br /&gt;
##Proactive UICC: SEND SHORT MESSAGE with 3GPP-SMS-TPDU&lt;br /&gt;
##Proactive UICC: SEND SS&lt;br /&gt;
##Proactive UICC:SEND USSD&lt;br /&gt;
##Proactive UICC: SET UP CALL&lt;br /&gt;
##Proactive UICC: SET UP MENU&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (MCC, MNC,LAC, Cell ID &amp;amp; IMEI)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (NMR)&lt;br /&gt;
#Fifth byte (Event driven information):&lt;br /&gt;
##Proactive UICC: SET UP EVENT LIST&lt;br /&gt;
##Event: MT call&lt;br /&gt;
##Event: Call connected&lt;br /&gt;
##Event: Call disconnected&lt;br /&gt;
##Event: Location status&lt;br /&gt;
##Event: User activity&lt;br /&gt;
##Event: Idle screen available&lt;br /&gt;
##Event: Card reader status&lt;br /&gt;
#Sixth byte (Event driven information extensions):&lt;br /&gt;
##Language selection&lt;br /&gt;
##Browser Termination&lt;br /&gt;
##Data available&lt;br /&gt;
##Channel status&lt;br /&gt;
##Access Technology Change&lt;br /&gt;
##Display parameters changed&lt;br /&gt;
##Local Connection&lt;br /&gt;
##Network Search Mode Change&lt;br /&gt;
#Seventh byte (Multiple card proactive commands) for class &amp;quot;a&amp;quot;:&lt;br /&gt;
##POWER ON CARD&lt;br /&gt;
##POWER OFF CARD&lt;br /&gt;
##PERFORM CARD APDU&lt;br /&gt;
##GET READER STATUS (Card reader status)&lt;br /&gt;
##GET READER STATUS (Card reader Identifier)&lt;br /&gt;
##RFU&lt;br /&gt;
#Eighth byte (Proactive UICC):&lt;br /&gt;
##Proactive UICC: TIMER MANAGEMENT (start, stop)&lt;br /&gt;
##Proactive UICC: TIMER MANAGEMENT (get current value)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (date, time and time zone)&lt;br /&gt;
##GET INKEY&lt;br /&gt;
##SET UP IDLE MODE TEXT&lt;br /&gt;
##RUN AT COMMAND (i.e. class &amp;quot;b&amp;quot; is supported)&lt;br /&gt;
##SETUP CALL&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
#Ninth byte:&lt;br /&gt;
##DISPLAY TEXT&lt;br /&gt;
##SEND DTMF command&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (language)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION, Timing Advance&lt;br /&gt;
##Proactive UICC: LANGUAGE NOTIFICATION&lt;br /&gt;
##Proactive UICC: LAUNCH BROWSER&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Access Technology)&lt;br /&gt;
#Tenth byte (Soft keys support) for class &amp;quot;d&amp;quot;:&lt;br /&gt;
##Soft keys support for SELECT ITEM&lt;br /&gt;
##Soft Keys support for SET UP MENU&lt;br /&gt;
##RFU&lt;br /&gt;
#Eleventh byte (Soft keys information):&lt;br /&gt;
##Maximum number of soft keys available 'FF' value is reserved for future use&lt;br /&gt;
#Twelfth byte:&lt;br /&gt;
##OPEN CHANNEL&lt;br /&gt;
##CLOSE CHANNEL&lt;br /&gt;
##RECEIVE DATA&lt;br /&gt;
##SEND DATA&lt;br /&gt;
##GET CHANNEL STATUS&lt;br /&gt;
##SERVICE SEARCH&lt;br /&gt;
##GET SERVICE INFORMATION&lt;br /&gt;
##DECLARE SERVICE&lt;br /&gt;
#Thirteenth byte:&lt;br /&gt;
##CSD&lt;br /&gt;
##GPRS&lt;br /&gt;
##Bluetooth&lt;br /&gt;
##IrDA&lt;br /&gt;
##RS232&lt;br /&gt;
##b6,b7,b8 - Number of channels supported by terminal&lt;br /&gt;
#Fourteenth byte (Screen height):&lt;br /&gt;
##b1 - b4 - Number of characters supported down the terminal display as defined in clause 5.3.1&lt;br /&gt;
##No display capability (i.e class &amp;quot;ND&amp;quot; is indicated)&lt;br /&gt;
##No keypad available (i.e. class &amp;quot;NK&amp;quot; is indicated)&lt;br /&gt;
##Screen Sizing Parameters supported as defined inclause 5.3&lt;br /&gt;
#Fifteenth byte (Screen width):&lt;br /&gt;
##b1-b7 - Number of characters supported across the terminal display as defined in clause 5.3.2&lt;br /&gt;
##Variable size fonts&lt;br /&gt;
#Sixteenth byte (Screen effects):&lt;br /&gt;
##Display can be resized as defined in clause 5.3.3&lt;br /&gt;
##Text Wrapping supported as defined in clause 5.3.4&lt;br /&gt;
##Text Scrolling supported as defined in clause 5.3.5&lt;br /&gt;
##Text Attributes supported as defined in clause 5.3.7&lt;br /&gt;
##b5 - RFU&lt;br /&gt;
##b6 - b8 - Width reduction when in a menu as defined in clause 5.3.6&lt;br /&gt;
#Seventeenth byte:&lt;br /&gt;
##TCP, UICC in client mode, remote connection&lt;br /&gt;
##UDP, UICC in client mode, remote connection&lt;br /&gt;
##TCP, UICC in server mode&lt;br /&gt;
##TCP, UICC in client mode, local connection (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##UDP, UICC in client mode, local connection (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
##E-UTRAN (if class &amp;quot;e&amp;quot; issupported))&lt;br /&gt;
##HSDPA (if class &amp;quot;e&amp;quot; is supported))&lt;br /&gt;
#Eighteenth byte:&lt;br /&gt;
##Proactive UICC: DISPLAY TEXT (Variable Time out)&lt;br /&gt;
##Proactive UICC: GET INKEY (help is supported while waiting for immediate response or variable timeout)&lt;br /&gt;
##USB&lt;br /&gt;
##Proactive UICC: GET INKEY (Variable Timeout)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (ESN)&lt;br /&gt;
##Call control on GPRS&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (IMEISV)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Search Mode change)&lt;br /&gt;
#Nineteenth byte (reserved for TIA/EIA-136-C facilities [25]):&lt;br /&gt;
##Reserved by TIA/EIA-136 [25] (Protocol Version support)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twentieth byte (reserved for TIA/EIA/IS-820-A facilities [17]):&lt;br /&gt;
##Reserved by TIA/EIA/IS-820 [17]&lt;br /&gt;
#Twenty-first byte (Extended Launch Browser Capability) for class &amp;quot;c&amp;quot;:&lt;br /&gt;
##WML&lt;br /&gt;
##XHTML&lt;br /&gt;
##HTML&lt;br /&gt;
##CHTML&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-second byte:&lt;br /&gt;
##Support of UTRAN PS with extended parameters&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION(battery state), (i.e. class &amp;quot;g&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PLAY TONE (Melody tones and Themed tones supported)&lt;br /&gt;
##Multi-media Calls in SET UP CALL (if class h supported)&lt;br /&gt;
##Reserved by 3GPP (Toolkit-initiated GBA)&lt;br /&gt;
##Proactive UICC: RETRIEVE MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: SUBMIT MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: DISPLAY MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
#Twenty third byte:&lt;br /&gt;
##Proactive UICC: SET FRAMES (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: GET FRAMES STATUS (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##MMS notification download (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Alpha Identifier in REFRESH command supported by terminal&lt;br /&gt;
##Geographical Location Reporting (if class &amp;quot;n&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (MEID)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (NMR(UTRAN))&lt;br /&gt;
##USSD Data download and application mode&lt;br /&gt;
#Twenty fourth byte for class &amp;quot;i&amp;quot;:&lt;br /&gt;
##b1-b4 - Maximum number of frames supported (including frames created in existing frames)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-fifth byte (Event driven information extensions):&lt;br /&gt;
##Event: Browsing status&lt;br /&gt;
##Event: MMS Transfer status (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Event: Frame Parameters changed (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##Event: I-WLAN Access status (if class &amp;quot;e&amp;quot; is supported)&lt;br /&gt;
##Event Network Rejection&lt;br /&gt;
##Event: HCI connectivity event (i.e. class &amp;quot;m&amp;quot; is supported)&lt;br /&gt;
##Reserved by 3GPP (E-UTRAN support in Event Network Rejection)&lt;br /&gt;
##Multiple access technologies supported in Event&lt;br /&gt;
##Access Technology Change and PROVIDE LOCAL INFORMATION &amp;lt;br&amp;gt;If bit &amp;quot;Multiple access technologies supported&amp;quot; is set to 1, it applies to the Event Access Technology Change if supported and all relevant modes of proactive command PROVIDE  LOCAL INFORMATION that are supported.&lt;br /&gt;
#Twenty-sixth byte (Event driven information extensions):&lt;br /&gt;
##RFU, bit = 0 (for future event indication)&lt;br /&gt;
#Twenty-seventh byte (Event driven information extensions):&lt;br /&gt;
##RFU, bit = 0 (for future event indication)&lt;br /&gt;
#Twenty-eighth byte (Text attributes):&lt;br /&gt;
##Alignment left supported by Terminal&lt;br /&gt;
##Alignment centre supported by Terminal&lt;br /&gt;
##Alignment right supported by Terminal&lt;br /&gt;
##Font size normal supported by Terminal&lt;br /&gt;
##Font size large supported by Terminal&lt;br /&gt;
##Font size small supported by Terminal&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-ninth byte (Text attributes):&lt;br /&gt;
##Style normal supported by Terminal&lt;br /&gt;
##Style bold supported by Terminal&lt;br /&gt;
##Style italic supported by Terminal&lt;br /&gt;
##Style underlined supported by Terminal&lt;br /&gt;
##Style strikethrough supported by Terminal&lt;br /&gt;
##Style text foreground colour supported by Terminal&lt;br /&gt;
##Style text background colour supported by Terminal&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Thirtieth byte:&lt;br /&gt;
##I-WLAN bearer support (if class &amp;quot;e&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (WSID of the current I-WLAN connection)&lt;br /&gt;
##TERMINAL APPLICATIONS (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##Steering of Roaming REFRESH support&lt;br /&gt;
##Proactive UICC: ACTIVATE (i.e class &amp;quot;l&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: GEOGRAPHICAL LOCATION REQUEST (if class &amp;quot;n&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Broadcast Network Information) (i.e. class &amp;quot;o&amp;quot; is supported)&lt;br /&gt;
##Steering of Roaming for I-WLAN REFRESH support&lt;br /&gt;
&lt;br /&gt;
====Values====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center;&amp;quot;&lt;br /&gt;
|Phone Type||B1||B2||B3||B4||B5||B6||B7||B8||B9||B10||B11||B12||B13||B14||B15||B16||B17||B18||B19||B20||B21||B22||B23||B24||B25||B26||B27||B28||B29||B30&lt;br /&gt;
|-&lt;br /&gt;
|Samsung Galaxy Express||ff||ff||ff||ff||7f||9d||00||df||bf||00||00||1f||e2||00||00||00||c3||6b||00||07||00||00||40||00||50||00||00||00||00||08&lt;br /&gt;
|-&lt;br /&gt;
|Samsung Galaxy Note 3||ff||ff||ff||ff||7f||9d||00||df||bf||00||00||1f||e2||00||00||00||c3||6b||00||07||00||00||40||00||50||00||00||00||00||08&lt;br /&gt;
|-&lt;br /&gt;
|HTC One X+||ff||ff||ff||ff||7f||1d||00||df||b7||03||02||1f||22||00||00||00||83||00||00||00||00||00||40||10||00||00||00||00||00||00&lt;br /&gt;
|-&lt;br /&gt;
|IPhone 4||ff||ff||ff||ff||7f||91||00||df||bf||00||00||00||00||00||00||00||00||f0||00||03||00||00||60||00||50||00||00||00||00||00&lt;br /&gt;
|-&lt;br /&gt;
|Nokia E72||ff||ff||ff||ff||7f||1d||00||df||bf||00||00||17||e2||05||0f||00||03||09||00||00||00||00||00||00||00||00||00||00||00||00&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Andrei</name></author>	</entry>

	<entry>
		<id>https://ss7api.null.ro/index.php/SIM_Cards</id>
		<title>SIM Cards</title>
		<link rel="alternate" type="text/html" href="https://ss7api.null.ro/index.php/SIM_Cards"/>
				<updated>2014-03-05T15:07:33Z</updated>
		
		<summary type="html">&lt;p&gt;Andrei: /* Call */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
===SIM Events===&lt;br /&gt;
&lt;br /&gt;
====Call====&lt;br /&gt;
Call related events and requests.&lt;br /&gt;
*Standard: Details can be found in standard TS 31.111&lt;br /&gt;
*Terminal Class: This events should work in all terminals.&lt;br /&gt;
*Status: Tests were made successfully for Mobile Originating Calls&lt;br /&gt;
*Events:&amp;lt;br&amp;gt;The SIM is notified on the following events:&lt;br /&gt;
**Mobile Originating Call Initiated&lt;br /&gt;
**Mobile Originating SMS Initiated&lt;br /&gt;
**Mobile Originating USSD Initiated&lt;br /&gt;
**Mobile Originating SS Initiated&amp;lt;br&amp;gt;On the events above, the 'address' and 'subaddress' parameters can be altered.&lt;br /&gt;
*Notifications:&amp;lt;br&amp;gt;We can receive notifications for the following events. NOTE: We can not alter the event flow. Eg. We can not keep the call alive if we recwived call terminated event.&lt;br /&gt;
**Call Connected&lt;br /&gt;
**Call Terminated&lt;br /&gt;
*Requests - We can make the following requests:&lt;br /&gt;
**Set Up Call&lt;br /&gt;
**Send DTMF&lt;br /&gt;
*Parameters:&lt;br /&gt;
**Address&amp;lt;br&amp;gt;The called party address. Details on TS 31.111 chapter 8.1&lt;br /&gt;
**Subaddress&amp;lt;br&amp;gt;The called party subaddress. Details on TS 31.111 chapter  8.3&lt;br /&gt;
&lt;br /&gt;
====Browsing====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Terminal class C&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Status&lt;br /&gt;
**Terminated&lt;br /&gt;
&lt;br /&gt;
====Access Technology====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Changed&lt;br /&gt;
&lt;br /&gt;
====Card Reader====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Terminal Class: A&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Status&lt;br /&gt;
*Requests:&lt;br /&gt;
**Power ON Card&lt;br /&gt;
**Power OFF Card&lt;br /&gt;
**Perform Card APDU&lt;br /&gt;
**Get Reader Status&lt;br /&gt;
&lt;br /&gt;
====Data====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: No compatible device found&lt;br /&gt;
*Terminal class E&lt;br /&gt;
*Events:&lt;br /&gt;
**Data available&lt;br /&gt;
**Channel Status&lt;br /&gt;
*Requests&lt;br /&gt;
**Open Channel&lt;br /&gt;
**Send Data&lt;br /&gt;
**Receive Data&lt;br /&gt;
**Close Channel&lt;br /&gt;
&lt;br /&gt;
====User Interface====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: Most of them tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Display Parameter Change&lt;br /&gt;
**Frames Information Changed&lt;br /&gt;
**Idle screen available&lt;br /&gt;
**User activity&lt;br /&gt;
**Menu Selection&lt;br /&gt;
**Menu Selection Help Request&lt;br /&gt;
*Requests:&lt;br /&gt;
**Get Input&lt;br /&gt;
**Get InKey&lt;br /&gt;
**Display Text&lt;br /&gt;
**Set Up Menu&lt;br /&gt;
**Select Item&lt;br /&gt;
**Set Up Idle Mode Text&lt;br /&gt;
**Set Frames&amp;lt;br&amp;gt;Terminal class I&lt;br /&gt;
**Get Frame Status&amp;lt;br&amp;gt;Terminal class I&lt;br /&gt;
&lt;br /&gt;
====SMS====&lt;br /&gt;
*Standard TS 131 111&lt;br /&gt;
*Status: Not tested yet&lt;br /&gt;
*Events:&lt;br /&gt;
**SMS-PP Data Download unformatted&lt;br /&gt;
**SMS-PP Data Download formatted&lt;br /&gt;
**SMS-CB Data Download formatted&lt;br /&gt;
**SMS-CB Data Download unformatted&lt;br /&gt;
*Requests:&lt;br /&gt;
**Send Short Message&lt;br /&gt;
*Parameters&lt;br /&gt;
**Address&lt;br /&gt;
**SMS TPDU&lt;br /&gt;
&lt;br /&gt;
====SS====&lt;br /&gt;
*Standard TS 131 111&lt;br /&gt;
*Terminal class P for USSD Data Download&lt;br /&gt;
*Status: Send USSD tested&lt;br /&gt;
*Events:&lt;br /&gt;
**USSD Data Download formatted&lt;br /&gt;
**USSD Data Download unformatted&lt;br /&gt;
*Requests:&lt;br /&gt;
**Send SS&lt;br /&gt;
**Send USSD&lt;br /&gt;
*Parameters&lt;br /&gt;
**SS String&lt;br /&gt;
**USSD String&lt;br /&gt;
NOTE: If the USSD session is initiated form SIM card than only the last response from the network is passed to the SIM.&lt;br /&gt;
&lt;br /&gt;
====IMS====&lt;br /&gt;
*Standard TS 131 111&lt;br /&gt;
*Terminal class E + T&lt;br /&gt;
*Events&lt;br /&gt;
**Download IMS Registration&lt;br /&gt;
**Download Incoming IMS Data&lt;br /&gt;
*Parameters&lt;br /&gt;
**IARI&lt;br /&gt;
**IMPU List&lt;br /&gt;
**IMS status code&lt;br /&gt;
&lt;br /&gt;
====Terminal====&lt;br /&gt;
*Standard TS 102 223 + TS 131 111&lt;br /&gt;
*Events&lt;br /&gt;
**Location Status&amp;lt;br&amp;gt;Status: tested&amp;lt;br&amp;gt;Parameters:&lt;br /&gt;
***Location Status TS 102.223 8.27&lt;br /&gt;
***Location Information TS 102.223 8.19&lt;br /&gt;
**Language Selection&lt;br /&gt;
**Profile Download&lt;br /&gt;
**Network Reject&lt;br /&gt;
**Timer expiration&lt;br /&gt;
*Requests&lt;br /&gt;
**Provide Local Information&lt;br /&gt;
**Language Notification&lt;br /&gt;
**Geographical Location Request&amp;lt;br&amp;gt;Terminal Type N&lt;br /&gt;
**More Time&amp;lt;br&amp;gt;Request to terminal for more processing time. &lt;br /&gt;
**Refresh&amp;lt;br&amp;gt;Request to terminal to reinitialize SIM card.&lt;br /&gt;
**Timer Management&amp;lt;br&amp;gt;SIM timers&lt;br /&gt;
&lt;br /&gt;
====Service====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: not tested&lt;br /&gt;
*Terminal class F&lt;br /&gt;
*Requests:&lt;br /&gt;
**Declare Service&lt;br /&gt;
**Search Service&lt;br /&gt;
**Get Service Information&lt;br /&gt;
&lt;br /&gt;
====MMS====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: not tested&lt;br /&gt;
*Terminal class J&lt;br /&gt;
*Requests:&lt;br /&gt;
**Retreive MMS&lt;br /&gt;
**Submit MMS&lt;br /&gt;
**Display MMS&lt;br /&gt;
&lt;br /&gt;
===Card File System===&lt;br /&gt;
&lt;br /&gt;
====USIM File System====&lt;br /&gt;
Extracted from standard TS 131.102.&lt;br /&gt;
*Language Indication&lt;br /&gt;
*IMSI&lt;br /&gt;
*Ciphering and Integrity Keys&lt;br /&gt;
*Ciphering and Integrity Keys for Packet Switched domain&lt;br /&gt;
*User controlled PLMN selector with Access Technology&lt;br /&gt;
*Higher Priority PLMN search period&lt;br /&gt;
*ACM maximum value&lt;br /&gt;
*USIM Service Table&lt;br /&gt;
*Accumulated Call Meter&lt;br /&gt;
*Group Identifier Level 1&lt;br /&gt;
*Group Identifier Level 2&lt;br /&gt;
*Service Provider Name&lt;br /&gt;
*Price per Unit and Currency Table&lt;br /&gt;
*Cell Broadcast Message identifier selection&lt;br /&gt;
*Access Control Class&lt;br /&gt;
*Forbidden PLMNs&lt;br /&gt;
*Location Information&lt;br /&gt;
*Administrative Data&lt;br /&gt;
*Cell Broadcast Message Identifier for Data Download&lt;br /&gt;
*Emergency Call Codes&lt;br /&gt;
*Cell Broadcast Message Identifier Range selection&lt;br /&gt;
*Packet Switched location information&lt;br /&gt;
*Fixed Dialling Numbers&lt;br /&gt;
*Short messages&lt;br /&gt;
*MSISDN&lt;br /&gt;
*Short message service parameters&lt;br /&gt;
*SMS status&lt;br /&gt;
*Service Dialling Numbers&lt;br /&gt;
*Extension2&lt;br /&gt;
*Extension3&lt;br /&gt;
*Short message status reports&lt;br /&gt;
*Incoming Call Information&lt;br /&gt;
*Outgoing Call Information&lt;br /&gt;
*Incoming Call Timer&lt;br /&gt;
*Outgoing Call Timer&lt;br /&gt;
*Extension5&lt;br /&gt;
*Capability Configuration Parameters 2&lt;br /&gt;
*enhanced Multi Level Precedence and Pre-emption&lt;br /&gt;
*Automatic Answer for eMLPP Service&lt;br /&gt;
*Key for hidden phone book entries&lt;br /&gt;
*Barred Dialling Numbers&lt;br /&gt;
*Extension4&lt;br /&gt;
*Comparison Method Information&lt;br /&gt;
*Enabled Services Table&lt;br /&gt;
*Access Point Name Control List&lt;br /&gt;
*Depersonalisation Control Keys&lt;br /&gt;
*Co-operative Network List&lt;br /&gt;
*Initialisation values for Hyperframe number&lt;br /&gt;
*Maximum value of START&lt;br /&gt;
*Operator controlled PLMN selector with Access Technology&lt;br /&gt;
*HPLMN selector with Access Technology&lt;br /&gt;
*Access Rule Reference&lt;br /&gt;
*Network Parameters&lt;br /&gt;
*PLMN Network Name&lt;br /&gt;
*Operator PLMN List&lt;br /&gt;
*Mailbox Dialling Numbers&lt;br /&gt;
*Extension6&lt;br /&gt;
*Mailbox Identifier&lt;br /&gt;
*Message Waiting Indication Status&lt;br /&gt;
*Call Forwarding Indication Status&lt;br /&gt;
*Extension7&lt;br /&gt;
*Service Provider Display Information&lt;br /&gt;
*MMS Notification&lt;br /&gt;
*Extension 8&lt;br /&gt;
*MMS Issuer Connectivity Parameters&lt;br /&gt;
*MMS User Preferences&lt;br /&gt;
*MMS User Connectivity Parameters&lt;br /&gt;
*Network's Indication of Alerting&lt;br /&gt;
*Voice Group Call Service&lt;br /&gt;
*Voice Group Call Service Status&lt;br /&gt;
*Voice Broadcast Service&lt;br /&gt;
*Voice Broadcast Service Status&lt;br /&gt;
&lt;br /&gt;
===Terminal profile===&lt;br /&gt;
====Description====&lt;br /&gt;
The terminal can be interrogated about which functions it supports.&lt;br /&gt;
#First byte (Download):&lt;br /&gt;
##Profile download&lt;br /&gt;
##SMS-PP data download&lt;br /&gt;
##Cell Broadcast data download)&lt;br /&gt;
##Menu selection&lt;br /&gt;
##SMS-PP data download&lt;br /&gt;
##Timer expiration&lt;br /&gt;
##USSD string data object support in Call Control by USIM&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
#Second byte (Other):&lt;br /&gt;
##Command result&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
##Call Control by NAA &lt;br /&gt;
##MO short message control support&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
##UCS2 Entry supported&lt;br /&gt;
##UCS2 Display supported&lt;br /&gt;
##Display Text&lt;br /&gt;
#Third byte (Proactive UICC):&lt;br /&gt;
##DISPLAY TEXT&lt;br /&gt;
##GET INKEY&lt;br /&gt;
##GET INPUT&lt;br /&gt;
##MORE TIME&lt;br /&gt;
##PLAY TONE&lt;br /&gt;
##POLL INTERVAL&lt;br /&gt;
##POLLING OFF&lt;br /&gt;
##REFRESH&lt;br /&gt;
#Fourth byte (Proactive UICC):&lt;br /&gt;
##Proactive UICC: SELECT ITEM&lt;br /&gt;
##Proactive UICC: SEND SHORT MESSAGE with 3GPP-SMS-TPDU&lt;br /&gt;
##Proactive UICC: SEND SS&lt;br /&gt;
##Proactive UICC:SEND USSD&lt;br /&gt;
##Proactive UICC: SET UP CALL&lt;br /&gt;
##Proactive UICC: SET UP MENU&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (MCC, MNC,LAC, Cell ID &amp;amp; IMEI)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (NMR)&lt;br /&gt;
#Fifth byte (Event driven information):&lt;br /&gt;
##Proactive UICC: SET UP EVENT LIST&lt;br /&gt;
##Event: MT call&lt;br /&gt;
##Event: Call connected&lt;br /&gt;
##Event: Call disconnected&lt;br /&gt;
##Event: Location status&lt;br /&gt;
##Event: User activity&lt;br /&gt;
##Event: Idle screen available&lt;br /&gt;
##Event: Card reader status&lt;br /&gt;
#Sixth byte (Event driven information extensions):&lt;br /&gt;
##Language selection&lt;br /&gt;
##Browser Termination&lt;br /&gt;
##Data available&lt;br /&gt;
##Channel status&lt;br /&gt;
##Access Technology Change&lt;br /&gt;
##Display parameters changed&lt;br /&gt;
##Local Connection&lt;br /&gt;
##Network Search Mode Change&lt;br /&gt;
#Seventh byte (Multiple card proactive commands) for class &amp;quot;a&amp;quot;:&lt;br /&gt;
##POWER ON CARD&lt;br /&gt;
##POWER OFF CARD&lt;br /&gt;
##PERFORM CARD APDU&lt;br /&gt;
##GET READER STATUS (Card reader status)&lt;br /&gt;
##GET READER STATUS (Card reader Identifier)&lt;br /&gt;
##RFU&lt;br /&gt;
#Eighth byte (Proactive UICC):&lt;br /&gt;
##Proactive UICC: TIMER MANAGEMENT (start, stop)&lt;br /&gt;
##Proactive UICC: TIMER MANAGEMENT (get current value)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (date, time and time zone)&lt;br /&gt;
##GET INKEY&lt;br /&gt;
##SET UP IDLE MODE TEXT&lt;br /&gt;
##RUN AT COMMAND (i.e. class &amp;quot;b&amp;quot; is supported)&lt;br /&gt;
##SETUP CALL&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
#Ninth byte:&lt;br /&gt;
##DISPLAY TEXT&lt;br /&gt;
##SEND DTMF command&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (language)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION, Timing Advance&lt;br /&gt;
##Proactive UICC: LANGUAGE NOTIFICATION&lt;br /&gt;
##Proactive UICC: LAUNCH BROWSER&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Access Technology)&lt;br /&gt;
#Tenth byte (Soft keys support) for class &amp;quot;d&amp;quot;:&lt;br /&gt;
##Soft keys support for SELECT ITEM&lt;br /&gt;
##Soft Keys support for SET UP MENU&lt;br /&gt;
##RFU&lt;br /&gt;
#Eleventh byte (Soft keys information):&lt;br /&gt;
##Maximum number of soft keys available 'FF' value is reserved for future use&lt;br /&gt;
#Twelfth byte:&lt;br /&gt;
##OPEN CHANNEL&lt;br /&gt;
##CLOSE CHANNEL&lt;br /&gt;
##RECEIVE DATA&lt;br /&gt;
##SEND DATA&lt;br /&gt;
##GET CHANNEL STATUS&lt;br /&gt;
##SERVICE SEARCH&lt;br /&gt;
##GET SERVICE INFORMATION&lt;br /&gt;
##DECLARE SERVICE&lt;br /&gt;
#Thirteenth byte:&lt;br /&gt;
##CSD&lt;br /&gt;
##GPRS&lt;br /&gt;
##Bluetooth&lt;br /&gt;
##IrDA&lt;br /&gt;
##RS232&lt;br /&gt;
##b6,b7,b8 - Number of channels supported by terminal&lt;br /&gt;
#Fourteenth byte (Screen height):&lt;br /&gt;
##b1 - b4 - Number of characters supported down the terminal display as defined in clause 5.3.1&lt;br /&gt;
##No display capability (i.e class &amp;quot;ND&amp;quot; is indicated)&lt;br /&gt;
##No keypad available (i.e. class &amp;quot;NK&amp;quot; is indicated)&lt;br /&gt;
##Screen Sizing Parameters supported as defined inclause 5.3&lt;br /&gt;
#Fifteenth byte (Screen width):&lt;br /&gt;
##b1-b7 - Number of characters supported across the terminal display as defined in clause 5.3.2&lt;br /&gt;
##Variable size fonts&lt;br /&gt;
#Sixteenth byte (Screen effects):&lt;br /&gt;
##Display can be resized as defined in clause 5.3.3&lt;br /&gt;
##Text Wrapping supported as defined in clause 5.3.4&lt;br /&gt;
##Text Scrolling supported as defined in clause 5.3.5&lt;br /&gt;
##Text Attributes supported as defined in clause 5.3.7&lt;br /&gt;
##b5 - RFU&lt;br /&gt;
##b6 - b8 - Width reduction when in a menu as defined in clause 5.3.6&lt;br /&gt;
#Seventeenth byte:&lt;br /&gt;
##TCP, UICC in client mode, remote connection&lt;br /&gt;
##UDP, UICC in client mode, remote connection&lt;br /&gt;
##TCP, UICC in server mode&lt;br /&gt;
##TCP, UICC in client mode, local connection (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##UDP, UICC in client mode, local connection (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
##E-UTRAN (if class &amp;quot;e&amp;quot; issupported))&lt;br /&gt;
##HSDPA (if class &amp;quot;e&amp;quot; is supported))&lt;br /&gt;
#Eighteenth byte:&lt;br /&gt;
##Proactive UICC: DISPLAY TEXT (Variable Time out)&lt;br /&gt;
##Proactive UICC: GET INKEY (help is supported while waiting for immediate response or variable timeout)&lt;br /&gt;
##USB&lt;br /&gt;
##Proactive UICC: GET INKEY (Variable Timeout)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (ESN)&lt;br /&gt;
##Call control on GPRS&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (IMEISV)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Search Mode change)&lt;br /&gt;
#Nineteenth byte (reserved for TIA/EIA-136-C facilities [25]):&lt;br /&gt;
##Reserved by TIA/EIA-136 [25] (Protocol Version support)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twentieth byte (reserved for TIA/EIA/IS-820-A facilities [17]):&lt;br /&gt;
##Reserved by TIA/EIA/IS-820 [17]&lt;br /&gt;
#Twenty-first byte (Extended Launch Browser Capability) for class &amp;quot;c&amp;quot;:&lt;br /&gt;
##WML&lt;br /&gt;
##XHTML&lt;br /&gt;
##HTML&lt;br /&gt;
##CHTML&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-second byte:&lt;br /&gt;
##Support of UTRAN PS with extended parameters&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION(battery state), (i.e. class &amp;quot;g&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PLAY TONE (Melody tones and Themed tones supported)&lt;br /&gt;
##Multi-media Calls in SET UP CALL (if class h supported)&lt;br /&gt;
##Reserved by 3GPP (Toolkit-initiated GBA)&lt;br /&gt;
##Proactive UICC: RETRIEVE MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: SUBMIT MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: DISPLAY MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
#Twenty third byte:&lt;br /&gt;
##Proactive UICC: SET FRAMES (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: GET FRAMES STATUS (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##MMS notification download (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Alpha Identifier in REFRESH command supported by terminal&lt;br /&gt;
##Geographical Location Reporting (if class &amp;quot;n&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (MEID)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (NMR(UTRAN))&lt;br /&gt;
##USSD Data download and application mode&lt;br /&gt;
#Twenty fourth byte for class &amp;quot;i&amp;quot;:&lt;br /&gt;
##b1-b4 - Maximum number of frames supported (including frames created in existing frames)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-fifth byte (Event driven information extensions):&lt;br /&gt;
##Event: Browsing status&lt;br /&gt;
##Event: MMS Transfer status (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Event: Frame Parameters changed (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##Event: I-WLAN Access status (if class &amp;quot;e&amp;quot; is supported)&lt;br /&gt;
##Event Network Rejection&lt;br /&gt;
##Event: HCI connectivity event (i.e. class &amp;quot;m&amp;quot; is supported)&lt;br /&gt;
##Reserved by 3GPP (E-UTRAN support in Event Network Rejection)&lt;br /&gt;
##Multiple access technologies supported in Event&lt;br /&gt;
##Access Technology Change and PROVIDE LOCAL INFORMATION &amp;lt;br&amp;gt;If bit &amp;quot;Multiple access technologies supported&amp;quot; is set to 1, it applies to the Event Access Technology Change if supported and all relevant modes of proactive command PROVIDE  LOCAL INFORMATION that are supported.&lt;br /&gt;
#Twenty-sixth byte (Event driven information extensions):&lt;br /&gt;
##RFU, bit = 0 (for future event indication)&lt;br /&gt;
#Twenty-seventh byte (Event driven information extensions):&lt;br /&gt;
##RFU, bit = 0 (for future event indication)&lt;br /&gt;
#Twenty-eighth byte (Text attributes):&lt;br /&gt;
##Alignment left supported by Terminal&lt;br /&gt;
##Alignment centre supported by Terminal&lt;br /&gt;
##Alignment right supported by Terminal&lt;br /&gt;
##Font size normal supported by Terminal&lt;br /&gt;
##Font size large supported by Terminal&lt;br /&gt;
##Font size small supported by Terminal&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-ninth byte (Text attributes):&lt;br /&gt;
##Style normal supported by Terminal&lt;br /&gt;
##Style bold supported by Terminal&lt;br /&gt;
##Style italic supported by Terminal&lt;br /&gt;
##Style underlined supported by Terminal&lt;br /&gt;
##Style strikethrough supported by Terminal&lt;br /&gt;
##Style text foreground colour supported by Terminal&lt;br /&gt;
##Style text background colour supported by Terminal&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Thirtieth byte:&lt;br /&gt;
##I-WLAN bearer support (if class &amp;quot;e&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (WSID of the current I-WLAN connection)&lt;br /&gt;
##TERMINAL APPLICATIONS (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##Steering of Roaming REFRESH support&lt;br /&gt;
##Proactive UICC: ACTIVATE (i.e class &amp;quot;l&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: GEOGRAPHICAL LOCATION REQUEST (if class &amp;quot;n&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Broadcast Network Information) (i.e. class &amp;quot;o&amp;quot; is supported)&lt;br /&gt;
##Steering of Roaming for I-WLAN REFRESH support&lt;br /&gt;
&lt;br /&gt;
====Values====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center;&amp;quot;&lt;br /&gt;
|Phone Type||B1||B2||B3||B4||B5||B6||B7||B8||B9||B10||B11||B12||B13||B14||B15||B16||B17||B18||B19||B20||B21||B22||B23||B24||B25||B26||B27||B28||B29||B30&lt;br /&gt;
|-&lt;br /&gt;
|Samsung Galaxy Express||ff||ff||ff||ff||7f||9d||00||df||bf||00||00||1f||e2||00||00||00||c3||6b||00||07||00||00||40||00||50||00||00||00||00||08&lt;br /&gt;
|-&lt;br /&gt;
|Samsung Galaxy Note 3||ff||ff||ff||ff||7f||9d||00||df||bf||00||00||1f||e2||00||00||00||c3||6b||00||07||00||00||40||00||50||00||00||00||00||08&lt;br /&gt;
|-&lt;br /&gt;
|HTC One X+||ff||ff||ff||ff||7f||1d||00||df||b7||03||02||1f||22||00||00||00||83||00||00||00||00||00||40||10||00||00||00||00||00||00&lt;br /&gt;
|-&lt;br /&gt;
|IPhone 4||ff||ff||ff||ff||7f||91||00||df||bf||00||00||00||00||00||00||00||00||f0||00||03||00||00||60||00||50||00||00||00||00||00&lt;br /&gt;
|-&lt;br /&gt;
|Nokia E72||ff||ff||ff||ff||7f||1d||00||df||bf||00||00||17||e2||05||0f||00||03||09||00||00||00||00||00||00||00||00||00||00||00||00&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Andrei</name></author>	</entry>

	<entry>
		<id>https://ss7api.null.ro/index.php/SIM_Cards</id>
		<title>SIM Cards</title>
		<link rel="alternate" type="text/html" href="https://ss7api.null.ro/index.php/SIM_Cards"/>
				<updated>2014-03-05T15:05:53Z</updated>
		
		<summary type="html">&lt;p&gt;Andrei: Created page with &amp;quot; ===SIM Events===  ====Call==== Call related events and requests. *Standard: Details can be found in standard TS 31.111 *Terminal Class: This events should work in all termina...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
===SIM Events===&lt;br /&gt;
&lt;br /&gt;
====Call====&lt;br /&gt;
Call related events and requests.&lt;br /&gt;
*Standard: Details can be found in standard TS 31.111&lt;br /&gt;
*Terminal Class: This events should work in all terminals.&lt;br /&gt;
*Status: Tests were made successfully for Mobile Originating Calls&lt;br /&gt;
*Events:&amp;lt;br&amp;gt;On the following events the 'address' and 'subaddress' parameters can be altered.&lt;br /&gt;
**Mobile Originating Call Initiated&lt;br /&gt;
**Mobile Originating SMS Initiated&lt;br /&gt;
**Mobile Originating USSD Initiated&lt;br /&gt;
**Mobile Originating SS Initiated&lt;br /&gt;
*Notifications:&amp;lt;br&amp;gt;We can receive notifications for the following events. NOTE: We can not alter the event flow. Eg. We can not keep the call alive if we recwived call terminated event.&lt;br /&gt;
**Call Connected&lt;br /&gt;
**Call Terminated&lt;br /&gt;
*Requests - We can make the following requests:&lt;br /&gt;
**Set Up Call&lt;br /&gt;
**Send DTMF&lt;br /&gt;
*Parameters:&lt;br /&gt;
**Address&amp;lt;br&amp;gt;The called party address. Details on TS 31.111 chapter 8.1&lt;br /&gt;
**Subaddress&amp;lt;br&amp;gt;The called party subaddress. Details on TS 31.111 chapter  8.3&lt;br /&gt;
&lt;br /&gt;
====Browsing====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Terminal class C&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Status&lt;br /&gt;
**Terminated&lt;br /&gt;
&lt;br /&gt;
====Access Technology====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Changed&lt;br /&gt;
&lt;br /&gt;
====Card Reader====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Terminal Class: A&lt;br /&gt;
*Status: Not Tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Status&lt;br /&gt;
*Requests:&lt;br /&gt;
**Power ON Card&lt;br /&gt;
**Power OFF Card&lt;br /&gt;
**Perform Card APDU&lt;br /&gt;
**Get Reader Status&lt;br /&gt;
&lt;br /&gt;
====Data====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: No compatible device found&lt;br /&gt;
*Terminal class E&lt;br /&gt;
*Events:&lt;br /&gt;
**Data available&lt;br /&gt;
**Channel Status&lt;br /&gt;
*Requests&lt;br /&gt;
**Open Channel&lt;br /&gt;
**Send Data&lt;br /&gt;
**Receive Data&lt;br /&gt;
**Close Channel&lt;br /&gt;
&lt;br /&gt;
====User Interface====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: Most of them tested&lt;br /&gt;
*Events:&lt;br /&gt;
**Display Parameter Change&lt;br /&gt;
**Frames Information Changed&lt;br /&gt;
**Idle screen available&lt;br /&gt;
**User activity&lt;br /&gt;
**Menu Selection&lt;br /&gt;
**Menu Selection Help Request&lt;br /&gt;
*Requests:&lt;br /&gt;
**Get Input&lt;br /&gt;
**Get InKey&lt;br /&gt;
**Display Text&lt;br /&gt;
**Set Up Menu&lt;br /&gt;
**Select Item&lt;br /&gt;
**Set Up Idle Mode Text&lt;br /&gt;
**Set Frames&amp;lt;br&amp;gt;Terminal class I&lt;br /&gt;
**Get Frame Status&amp;lt;br&amp;gt;Terminal class I&lt;br /&gt;
&lt;br /&gt;
====SMS====&lt;br /&gt;
*Standard TS 131 111&lt;br /&gt;
*Status: Not tested yet&lt;br /&gt;
*Events:&lt;br /&gt;
**SMS-PP Data Download unformatted&lt;br /&gt;
**SMS-PP Data Download formatted&lt;br /&gt;
**SMS-CB Data Download formatted&lt;br /&gt;
**SMS-CB Data Download unformatted&lt;br /&gt;
*Requests:&lt;br /&gt;
**Send Short Message&lt;br /&gt;
*Parameters&lt;br /&gt;
**Address&lt;br /&gt;
**SMS TPDU&lt;br /&gt;
&lt;br /&gt;
====SS====&lt;br /&gt;
*Standard TS 131 111&lt;br /&gt;
*Terminal class P for USSD Data Download&lt;br /&gt;
*Status: Send USSD tested&lt;br /&gt;
*Events:&lt;br /&gt;
**USSD Data Download formatted&lt;br /&gt;
**USSD Data Download unformatted&lt;br /&gt;
*Requests:&lt;br /&gt;
**Send SS&lt;br /&gt;
**Send USSD&lt;br /&gt;
*Parameters&lt;br /&gt;
**SS String&lt;br /&gt;
**USSD String&lt;br /&gt;
NOTE: If the USSD session is initiated form SIM card than only the last response from the network is passed to the SIM.&lt;br /&gt;
&lt;br /&gt;
====IMS====&lt;br /&gt;
*Standard TS 131 111&lt;br /&gt;
*Terminal class E + T&lt;br /&gt;
*Events&lt;br /&gt;
**Download IMS Registration&lt;br /&gt;
**Download Incoming IMS Data&lt;br /&gt;
*Parameters&lt;br /&gt;
**IARI&lt;br /&gt;
**IMPU List&lt;br /&gt;
**IMS status code&lt;br /&gt;
&lt;br /&gt;
====Terminal====&lt;br /&gt;
*Standard TS 102 223 + TS 131 111&lt;br /&gt;
*Events&lt;br /&gt;
**Location Status&amp;lt;br&amp;gt;Status: tested&amp;lt;br&amp;gt;Parameters:&lt;br /&gt;
***Location Status TS 102.223 8.27&lt;br /&gt;
***Location Information TS 102.223 8.19&lt;br /&gt;
**Language Selection&lt;br /&gt;
**Profile Download&lt;br /&gt;
**Network Reject&lt;br /&gt;
**Timer expiration&lt;br /&gt;
*Requests&lt;br /&gt;
**Provide Local Information&lt;br /&gt;
**Language Notification&lt;br /&gt;
**Geographical Location Request&amp;lt;br&amp;gt;Terminal Type N&lt;br /&gt;
**More Time&amp;lt;br&amp;gt;Request to terminal for more processing time. &lt;br /&gt;
**Refresh&amp;lt;br&amp;gt;Request to terminal to reinitialize SIM card.&lt;br /&gt;
**Timer Management&amp;lt;br&amp;gt;SIM timers&lt;br /&gt;
&lt;br /&gt;
====Service====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: not tested&lt;br /&gt;
*Terminal class F&lt;br /&gt;
*Requests:&lt;br /&gt;
**Declare Service&lt;br /&gt;
**Search Service&lt;br /&gt;
**Get Service Information&lt;br /&gt;
&lt;br /&gt;
====MMS====&lt;br /&gt;
*Standard TS 102 223&lt;br /&gt;
*Status: not tested&lt;br /&gt;
*Terminal class J&lt;br /&gt;
*Requests:&lt;br /&gt;
**Retreive MMS&lt;br /&gt;
**Submit MMS&lt;br /&gt;
**Display MMS&lt;br /&gt;
&lt;br /&gt;
===Card File System===&lt;br /&gt;
&lt;br /&gt;
====USIM File System====&lt;br /&gt;
Extracted from standard TS 131.102.&lt;br /&gt;
*Language Indication&lt;br /&gt;
*IMSI&lt;br /&gt;
*Ciphering and Integrity Keys&lt;br /&gt;
*Ciphering and Integrity Keys for Packet Switched domain&lt;br /&gt;
*User controlled PLMN selector with Access Technology&lt;br /&gt;
*Higher Priority PLMN search period&lt;br /&gt;
*ACM maximum value&lt;br /&gt;
*USIM Service Table&lt;br /&gt;
*Accumulated Call Meter&lt;br /&gt;
*Group Identifier Level 1&lt;br /&gt;
*Group Identifier Level 2&lt;br /&gt;
*Service Provider Name&lt;br /&gt;
*Price per Unit and Currency Table&lt;br /&gt;
*Cell Broadcast Message identifier selection&lt;br /&gt;
*Access Control Class&lt;br /&gt;
*Forbidden PLMNs&lt;br /&gt;
*Location Information&lt;br /&gt;
*Administrative Data&lt;br /&gt;
*Cell Broadcast Message Identifier for Data Download&lt;br /&gt;
*Emergency Call Codes&lt;br /&gt;
*Cell Broadcast Message Identifier Range selection&lt;br /&gt;
*Packet Switched location information&lt;br /&gt;
*Fixed Dialling Numbers&lt;br /&gt;
*Short messages&lt;br /&gt;
*MSISDN&lt;br /&gt;
*Short message service parameters&lt;br /&gt;
*SMS status&lt;br /&gt;
*Service Dialling Numbers&lt;br /&gt;
*Extension2&lt;br /&gt;
*Extension3&lt;br /&gt;
*Short message status reports&lt;br /&gt;
*Incoming Call Information&lt;br /&gt;
*Outgoing Call Information&lt;br /&gt;
*Incoming Call Timer&lt;br /&gt;
*Outgoing Call Timer&lt;br /&gt;
*Extension5&lt;br /&gt;
*Capability Configuration Parameters 2&lt;br /&gt;
*enhanced Multi Level Precedence and Pre-emption&lt;br /&gt;
*Automatic Answer for eMLPP Service&lt;br /&gt;
*Key for hidden phone book entries&lt;br /&gt;
*Barred Dialling Numbers&lt;br /&gt;
*Extension4&lt;br /&gt;
*Comparison Method Information&lt;br /&gt;
*Enabled Services Table&lt;br /&gt;
*Access Point Name Control List&lt;br /&gt;
*Depersonalisation Control Keys&lt;br /&gt;
*Co-operative Network List&lt;br /&gt;
*Initialisation values for Hyperframe number&lt;br /&gt;
*Maximum value of START&lt;br /&gt;
*Operator controlled PLMN selector with Access Technology&lt;br /&gt;
*HPLMN selector with Access Technology&lt;br /&gt;
*Access Rule Reference&lt;br /&gt;
*Network Parameters&lt;br /&gt;
*PLMN Network Name&lt;br /&gt;
*Operator PLMN List&lt;br /&gt;
*Mailbox Dialling Numbers&lt;br /&gt;
*Extension6&lt;br /&gt;
*Mailbox Identifier&lt;br /&gt;
*Message Waiting Indication Status&lt;br /&gt;
*Call Forwarding Indication Status&lt;br /&gt;
*Extension7&lt;br /&gt;
*Service Provider Display Information&lt;br /&gt;
*MMS Notification&lt;br /&gt;
*Extension 8&lt;br /&gt;
*MMS Issuer Connectivity Parameters&lt;br /&gt;
*MMS User Preferences&lt;br /&gt;
*MMS User Connectivity Parameters&lt;br /&gt;
*Network's Indication of Alerting&lt;br /&gt;
*Voice Group Call Service&lt;br /&gt;
*Voice Group Call Service Status&lt;br /&gt;
*Voice Broadcast Service&lt;br /&gt;
*Voice Broadcast Service Status&lt;br /&gt;
&lt;br /&gt;
===Terminal profile===&lt;br /&gt;
====Description====&lt;br /&gt;
The terminal can be interrogated about which functions it supports.&lt;br /&gt;
#First byte (Download):&lt;br /&gt;
##Profile download&lt;br /&gt;
##SMS-PP data download&lt;br /&gt;
##Cell Broadcast data download)&lt;br /&gt;
##Menu selection&lt;br /&gt;
##SMS-PP data download&lt;br /&gt;
##Timer expiration&lt;br /&gt;
##USSD string data object support in Call Control by USIM&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
#Second byte (Other):&lt;br /&gt;
##Command result&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
##Call Control by NAA &lt;br /&gt;
##MO short message control support&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
##UCS2 Entry supported&lt;br /&gt;
##UCS2 Display supported&lt;br /&gt;
##Display Text&lt;br /&gt;
#Third byte (Proactive UICC):&lt;br /&gt;
##DISPLAY TEXT&lt;br /&gt;
##GET INKEY&lt;br /&gt;
##GET INPUT&lt;br /&gt;
##MORE TIME&lt;br /&gt;
##PLAY TONE&lt;br /&gt;
##POLL INTERVAL&lt;br /&gt;
##POLLING OFF&lt;br /&gt;
##REFRESH&lt;br /&gt;
#Fourth byte (Proactive UICC):&lt;br /&gt;
##Proactive UICC: SELECT ITEM&lt;br /&gt;
##Proactive UICC: SEND SHORT MESSAGE with 3GPP-SMS-TPDU&lt;br /&gt;
##Proactive UICC: SEND SS&lt;br /&gt;
##Proactive UICC:SEND USSD&lt;br /&gt;
##Proactive UICC: SET UP CALL&lt;br /&gt;
##Proactive UICC: SET UP MENU&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (MCC, MNC,LAC, Cell ID &amp;amp; IMEI)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (NMR)&lt;br /&gt;
#Fifth byte (Event driven information):&lt;br /&gt;
##Proactive UICC: SET UP EVENT LIST&lt;br /&gt;
##Event: MT call&lt;br /&gt;
##Event: Call connected&lt;br /&gt;
##Event: Call disconnected&lt;br /&gt;
##Event: Location status&lt;br /&gt;
##Event: User activity&lt;br /&gt;
##Event: Idle screen available&lt;br /&gt;
##Event: Card reader status&lt;br /&gt;
#Sixth byte (Event driven information extensions):&lt;br /&gt;
##Language selection&lt;br /&gt;
##Browser Termination&lt;br /&gt;
##Data available&lt;br /&gt;
##Channel status&lt;br /&gt;
##Access Technology Change&lt;br /&gt;
##Display parameters changed&lt;br /&gt;
##Local Connection&lt;br /&gt;
##Network Search Mode Change&lt;br /&gt;
#Seventh byte (Multiple card proactive commands) for class &amp;quot;a&amp;quot;:&lt;br /&gt;
##POWER ON CARD&lt;br /&gt;
##POWER OFF CARD&lt;br /&gt;
##PERFORM CARD APDU&lt;br /&gt;
##GET READER STATUS (Card reader status)&lt;br /&gt;
##GET READER STATUS (Card reader Identifier)&lt;br /&gt;
##RFU&lt;br /&gt;
#Eighth byte (Proactive UICC):&lt;br /&gt;
##Proactive UICC: TIMER MANAGEMENT (start, stop)&lt;br /&gt;
##Proactive UICC: TIMER MANAGEMENT (get current value)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (date, time and time zone)&lt;br /&gt;
##GET INKEY&lt;br /&gt;
##SET UP IDLE MODE TEXT&lt;br /&gt;
##RUN AT COMMAND (i.e. class &amp;quot;b&amp;quot; is supported)&lt;br /&gt;
##SETUP CALL&lt;br /&gt;
##Call Control by NAA&lt;br /&gt;
#Ninth byte:&lt;br /&gt;
##DISPLAY TEXT&lt;br /&gt;
##SEND DTMF command&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (language)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION, Timing Advance&lt;br /&gt;
##Proactive UICC: LANGUAGE NOTIFICATION&lt;br /&gt;
##Proactive UICC: LAUNCH BROWSER&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Access Technology)&lt;br /&gt;
#Tenth byte (Soft keys support) for class &amp;quot;d&amp;quot;:&lt;br /&gt;
##Soft keys support for SELECT ITEM&lt;br /&gt;
##Soft Keys support for SET UP MENU&lt;br /&gt;
##RFU&lt;br /&gt;
#Eleventh byte (Soft keys information):&lt;br /&gt;
##Maximum number of soft keys available 'FF' value is reserved for future use&lt;br /&gt;
#Twelfth byte:&lt;br /&gt;
##OPEN CHANNEL&lt;br /&gt;
##CLOSE CHANNEL&lt;br /&gt;
##RECEIVE DATA&lt;br /&gt;
##SEND DATA&lt;br /&gt;
##GET CHANNEL STATUS&lt;br /&gt;
##SERVICE SEARCH&lt;br /&gt;
##GET SERVICE INFORMATION&lt;br /&gt;
##DECLARE SERVICE&lt;br /&gt;
#Thirteenth byte:&lt;br /&gt;
##CSD&lt;br /&gt;
##GPRS&lt;br /&gt;
##Bluetooth&lt;br /&gt;
##IrDA&lt;br /&gt;
##RS232&lt;br /&gt;
##b6,b7,b8 - Number of channels supported by terminal&lt;br /&gt;
#Fourteenth byte (Screen height):&lt;br /&gt;
##b1 - b4 - Number of characters supported down the terminal display as defined in clause 5.3.1&lt;br /&gt;
##No display capability (i.e class &amp;quot;ND&amp;quot; is indicated)&lt;br /&gt;
##No keypad available (i.e. class &amp;quot;NK&amp;quot; is indicated)&lt;br /&gt;
##Screen Sizing Parameters supported as defined inclause 5.3&lt;br /&gt;
#Fifteenth byte (Screen width):&lt;br /&gt;
##b1-b7 - Number of characters supported across the terminal display as defined in clause 5.3.2&lt;br /&gt;
##Variable size fonts&lt;br /&gt;
#Sixteenth byte (Screen effects):&lt;br /&gt;
##Display can be resized as defined in clause 5.3.3&lt;br /&gt;
##Text Wrapping supported as defined in clause 5.3.4&lt;br /&gt;
##Text Scrolling supported as defined in clause 5.3.5&lt;br /&gt;
##Text Attributes supported as defined in clause 5.3.7&lt;br /&gt;
##b5 - RFU&lt;br /&gt;
##b6 - b8 - Width reduction when in a menu as defined in clause 5.3.6&lt;br /&gt;
#Seventeenth byte:&lt;br /&gt;
##TCP, UICC in client mode, remote connection&lt;br /&gt;
##UDP, UICC in client mode, remote connection&lt;br /&gt;
##TCP, UICC in server mode&lt;br /&gt;
##TCP, UICC in client mode, local connection (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##UDP, UICC in client mode, local connection (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
##E-UTRAN (if class &amp;quot;e&amp;quot; issupported))&lt;br /&gt;
##HSDPA (if class &amp;quot;e&amp;quot; is supported))&lt;br /&gt;
#Eighteenth byte:&lt;br /&gt;
##Proactive UICC: DISPLAY TEXT (Variable Time out)&lt;br /&gt;
##Proactive UICC: GET INKEY (help is supported while waiting for immediate response or variable timeout)&lt;br /&gt;
##USB&lt;br /&gt;
##Proactive UICC: GET INKEY (Variable Timeout)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (ESN)&lt;br /&gt;
##Call control on GPRS&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (IMEISV)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Search Mode change)&lt;br /&gt;
#Nineteenth byte (reserved for TIA/EIA-136-C facilities [25]):&lt;br /&gt;
##Reserved by TIA/EIA-136 [25] (Protocol Version support)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twentieth byte (reserved for TIA/EIA/IS-820-A facilities [17]):&lt;br /&gt;
##Reserved by TIA/EIA/IS-820 [17]&lt;br /&gt;
#Twenty-first byte (Extended Launch Browser Capability) for class &amp;quot;c&amp;quot;:&lt;br /&gt;
##WML&lt;br /&gt;
##XHTML&lt;br /&gt;
##HTML&lt;br /&gt;
##CHTML&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-second byte:&lt;br /&gt;
##Support of UTRAN PS with extended parameters&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION(battery state), (i.e. class &amp;quot;g&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PLAY TONE (Melody tones and Themed tones supported)&lt;br /&gt;
##Multi-media Calls in SET UP CALL (if class h supported)&lt;br /&gt;
##Reserved by 3GPP (Toolkit-initiated GBA)&lt;br /&gt;
##Proactive UICC: RETRIEVE MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: SUBMIT MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: DISPLAY MULTIMEDIA MESSAGE (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
#Twenty third byte:&lt;br /&gt;
##Proactive UICC: SET FRAMES (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: GET FRAMES STATUS (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##MMS notification download (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Alpha Identifier in REFRESH command supported by terminal&lt;br /&gt;
##Geographical Location Reporting (if class &amp;quot;n&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (MEID)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (NMR(UTRAN))&lt;br /&gt;
##USSD Data download and application mode&lt;br /&gt;
#Twenty fourth byte for class &amp;quot;i&amp;quot;:&lt;br /&gt;
##b1-b4 - Maximum number of frames supported (including frames created in existing frames)&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-fifth byte (Event driven information extensions):&lt;br /&gt;
##Event: Browsing status&lt;br /&gt;
##Event: MMS Transfer status (if class &amp;quot;j&amp;quot; is supported)&lt;br /&gt;
##Event: Frame Parameters changed (i.e. class &amp;quot;i&amp;quot; is supported)&lt;br /&gt;
##Event: I-WLAN Access status (if class &amp;quot;e&amp;quot; is supported)&lt;br /&gt;
##Event Network Rejection&lt;br /&gt;
##Event: HCI connectivity event (i.e. class &amp;quot;m&amp;quot; is supported)&lt;br /&gt;
##Reserved by 3GPP (E-UTRAN support in Event Network Rejection)&lt;br /&gt;
##Multiple access technologies supported in Event&lt;br /&gt;
##Access Technology Change and PROVIDE LOCAL INFORMATION &amp;lt;br&amp;gt;If bit &amp;quot;Multiple access technologies supported&amp;quot; is set to 1, it applies to the Event Access Technology Change if supported and all relevant modes of proactive command PROVIDE  LOCAL INFORMATION that are supported.&lt;br /&gt;
#Twenty-sixth byte (Event driven information extensions):&lt;br /&gt;
##RFU, bit = 0 (for future event indication)&lt;br /&gt;
#Twenty-seventh byte (Event driven information extensions):&lt;br /&gt;
##RFU, bit = 0 (for future event indication)&lt;br /&gt;
#Twenty-eighth byte (Text attributes):&lt;br /&gt;
##Alignment left supported by Terminal&lt;br /&gt;
##Alignment centre supported by Terminal&lt;br /&gt;
##Alignment right supported by Terminal&lt;br /&gt;
##Font size normal supported by Terminal&lt;br /&gt;
##Font size large supported by Terminal&lt;br /&gt;
##Font size small supported by Terminal&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Twenty-ninth byte (Text attributes):&lt;br /&gt;
##Style normal supported by Terminal&lt;br /&gt;
##Style bold supported by Terminal&lt;br /&gt;
##Style italic supported by Terminal&lt;br /&gt;
##Style underlined supported by Terminal&lt;br /&gt;
##Style strikethrough supported by Terminal&lt;br /&gt;
##Style text foreground colour supported by Terminal&lt;br /&gt;
##Style text background colour supported by Terminal&lt;br /&gt;
##RFU, bit = 0&lt;br /&gt;
#Thirtieth byte:&lt;br /&gt;
##I-WLAN bearer support (if class &amp;quot;e&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (WSID of the current I-WLAN connection)&lt;br /&gt;
##TERMINAL APPLICATIONS (i.e. class &amp;quot;k&amp;quot; is supported)&lt;br /&gt;
##Steering of Roaming REFRESH support&lt;br /&gt;
##Proactive UICC: ACTIVATE (i.e class &amp;quot;l&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: GEOGRAPHICAL LOCATION REQUEST (if class &amp;quot;n&amp;quot; is supported)&lt;br /&gt;
##Proactive UICC: PROVIDE LOCAL INFORMATION (Broadcast Network Information) (i.e. class &amp;quot;o&amp;quot; is supported)&lt;br /&gt;
##Steering of Roaming for I-WLAN REFRESH support&lt;br /&gt;
&lt;br /&gt;
====Values====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center;&amp;quot;&lt;br /&gt;
|Phone Type||B1||B2||B3||B4||B5||B6||B7||B8||B9||B10||B11||B12||B13||B14||B15||B16||B17||B18||B19||B20||B21||B22||B23||B24||B25||B26||B27||B28||B29||B30&lt;br /&gt;
|-&lt;br /&gt;
|Samsung Galaxy Express||ff||ff||ff||ff||7f||9d||00||df||bf||00||00||1f||e2||00||00||00||c3||6b||00||07||00||00||40||00||50||00||00||00||00||08&lt;br /&gt;
|-&lt;br /&gt;
|Samsung Galaxy Note 3||ff||ff||ff||ff||7f||9d||00||df||bf||00||00||1f||e2||00||00||00||c3||6b||00||07||00||00||40||00||50||00||00||00||00||08&lt;br /&gt;
|-&lt;br /&gt;
|HTC One X+||ff||ff||ff||ff||7f||1d||00||df||b7||03||02||1f||22||00||00||00||83||00||00||00||00||00||40||10||00||00||00||00||00||00&lt;br /&gt;
|-&lt;br /&gt;
|IPhone 4||ff||ff||ff||ff||7f||91||00||df||bf||00||00||00||00||00||00||00||00||f0||00||03||00||00||60||00||50||00||00||00||00||00&lt;br /&gt;
|-&lt;br /&gt;
|Nokia E72||ff||ff||ff||ff||7f||1d||00||df||bf||00||00||17||e2||05||0f||00||03||09||00||00||00||00||00||00||00||00||00||00||00||00&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Andrei</name></author>	</entry>

	<entry>
		<id>https://ss7api.null.ro/index.php/MediaWiki:Sidebar</id>
		<title>MediaWiki:Sidebar</title>
		<link rel="alternate" type="text/html" href="https://ss7api.null.ro/index.php/MediaWiki:Sidebar"/>
				<updated>2014-03-05T14:45:45Z</updated>
		
		<summary type="html">&lt;p&gt;Andrei: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
*XML Interface&lt;br /&gt;
** Introduction|Introduction&lt;br /&gt;
** Connection|Connection&lt;br /&gt;
** Common features|Common features&lt;br /&gt;
** Transport|Transport&lt;br /&gt;
** Application|Application&lt;br /&gt;
** Components|Components&lt;br /&gt;
** Operation codes|Operation codes&lt;br /&gt;
** Error codes|Error codes&lt;br /&gt;
** Latency determination|Latency determination&lt;br /&gt;
&lt;br /&gt;
*MAP and CAMEL operations&lt;br /&gt;
** Authentication and security|Authentication and security&lt;br /&gt;
** HLR functions|HLR functions&lt;br /&gt;
** SMS functions|SMS functions&lt;br /&gt;
** CAMEL operations|CAMEL operations&lt;br /&gt;
&lt;br /&gt;
*Examples&lt;br /&gt;
** CRBT logic|CRBT logic&lt;br /&gt;
** CAMEL proxy|CAMEL proxy&lt;br /&gt;
** MSC simulator|MSC simulator&lt;br /&gt;
** USSD GW|USSD GW&lt;br /&gt;
** SIM Cards|SIM Cards&lt;br /&gt;
&lt;br /&gt;
*Resources&lt;br /&gt;
** Standards|Standards&lt;br /&gt;
&lt;br /&gt;
* navigation&lt;br /&gt;
** mainpage|mainpage-description&lt;br /&gt;
** recentchanges-url|recentchanges&lt;br /&gt;
&lt;br /&gt;
* SEARCH&lt;br /&gt;
* TOOLBOX&lt;br /&gt;
* LANGUAGES&lt;/div&gt;</summary>
		<author><name>Andrei</name></author>	</entry>

	<entry>
		<id>https://ss7api.null.ro/index.php/USSD_GW</id>
		<title>USSD GW</title>
		<link rel="alternate" type="text/html" href="https://ss7api.null.ro/index.php/USSD_GW"/>
				<updated>2014-01-15T13:57:47Z</updated>
		
		<summary type="html">&lt;p&gt;Andrei: /* SMPP custom parameters */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is an implementation an USSD gateway acting as a MAP Service Control Function (gsmSCF) and as a HLR at the same time. When communicating with a HLR or VLR, the YATE USSD GW acts as a gsmSCF. When communicating with a gsmSCF, the YATE USSDGW acts as a HLR.&lt;br /&gt;
The functionality of the USSD GW allows:&lt;br /&gt;
* redirecting of USSD requests arriving either from user side or gsmSCF side to a SMPP client where they can be altered.&lt;br /&gt;
* acting as a proxy for requests that need not be handled by SMPP clients or when the SMPP handling fails&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== MAP USSD description ==&lt;br /&gt;
&lt;br /&gt;
In versions 2 and 3 of the GSM MAP protocol there are 3 operations used for USSD operations:&lt;br /&gt;
* processUnstructedSS-Request&lt;br /&gt;
* unstructuredSS-Request&lt;br /&gt;
* unstrusturedSS-Notify&lt;br /&gt;
&lt;br /&gt;
The are 2 scenarios for USSD operations:&lt;br /&gt;
* mobile initiated USSD requests&lt;br /&gt;
* network initiated USSD requests&lt;br /&gt;
&lt;br /&gt;
A TCAP dialog used by USSD is always terminated by the network side.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Mobile initiated USSD requests ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Mobile initiated USSD requests are USSD requests started by the mobile subscriber.  &lt;br /&gt;
&lt;br /&gt;
A USSD request is started when receiving a TCAP BEGIN message containing the ''processUnstructedSS-Request'' Invoke operation. The request can be handled by the VLR, HLR or a gsmSCF. If the VLR does not handle the request, it will transmit it to the HLR. The HLR can either handle it itself or it can transmit it to a gsmSCF for handling.&lt;br /&gt;
&lt;br /&gt;
At this point, the network can either send a response to the request immediately or request additional information. In the first case, the handler of the request will send a TCAP End with ''processUnstructuredSS-Request'' ResultLast containing the result for the request. &lt;br /&gt;
In the latter case, the network will send a TCAP CONTINUE with ''unstructuredSS-Request'' Invoke operation. The response of the mobile subscriber to this request will be passed to the network in a TCAP CONTINUE with ''unstructuredSS-Request'' ResultLast component. At this point, if the network decides that it has enough information for providing the response to the user, it will send a TCAP END with ''processUnstructuredSS-Request'' ResultLast. Otherwise, it can request further information through another ''unstructuredSS-Request'' Invoke operation.&lt;br /&gt;
&lt;br /&gt;
=== Network initiated USSD requests ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Network initiated USSD requests are USSD requests started by the network towards a certain subscriber.&lt;br /&gt;
&lt;br /&gt;
Requests made by the network can be of one of two types:&lt;br /&gt;
* user interaction requests&lt;br /&gt;
* network notification requests.&lt;br /&gt;
&lt;br /&gt;
User interaction requests are USSD requests that the network makes in which it requires some type of information back from the mobile subscriber. These are started by the network through a TCAP BEGIN containing an ''unstructuredSS-Request'' Invoke. The answer from the mobile subscriber will be received in a TCAP CONTINUE containing an ''unstructuredSS-Request'' ResultLast. If the network still wants to request further information, it will repeat the process. Otherwise, it will send a TCAP END to close the TCAP dialog.&lt;br /&gt;
&lt;br /&gt;
Network notification requests are USSD requests in which the network only sends a notification to the user. This is achieved by sending a TCAP BEGIN message containing a ''unstructuredSS-Notify'' Invoke. The mobile subscriber side will only respond with a TCAP CONTINUE containing an empty ''unstructuredSS-Notify'' in order to signal that the notification was received. The network will close the TCAP dialog through TCAP END.&lt;br /&gt;
&lt;br /&gt;
=== MAP USSD parameters ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following list describe common parameters used across all MAP USSD operations:&lt;br /&gt;
* ''destinationReference'': this parameter will contain either an MSISDN or an IMSI. In the case of mobile originated USSD request, this will identify the user which made the request. In the case of network initiated requests, it will identify the mobile user to be contacted for this request.&lt;br /&gt;
* ''ussd-String'': for ''processUnstructuredSS-Request'' Invoke it contains the dialed USSD code, for the result it would probably contain a message from the network detailing the result of the request. For ''unstructuredSS-Request'' Invoke it will contain a message asking for the user to choose some option and for the result it will contain the option chosen by the user. In the case of ''unstructuredSS-Notify'', this parameter will only be present in the Invoke.&lt;br /&gt;
* ''ussd-DataCodingScheme'': this is a parameter which specifies in which way the ''ussd-String'' parameter is encoded and it is present whenever ''ussd-String'' is present. E.g., this parameter would indicate if the ''ussd-String'' is encoded using GSM7bit encoding or UCS2.&lt;br /&gt;
&lt;br /&gt;
== SMPP USSD description ==&lt;br /&gt;
&lt;br /&gt;
'''TO DO'''&lt;br /&gt;
&lt;br /&gt;
== System description ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== System design ===&lt;br /&gt;
&lt;br /&gt;
In order to provide the specified functionality, the system makes use of the following YATE components:&lt;br /&gt;
* the SS7 stack  present in YATE &lt;br /&gt;
* the camel_map module which decodes/encodes MAP messages coming from the SS7 network to/from internal YATE messages containing MAP operations in XML form. Together with the SS7 layer this provides MAP connectivity with HLR/gsmSCF.&lt;br /&gt;
* the ussd_map module which takes internal MAP messsages decoded by the camel_map moduled and translates them to internal USSD messages. This module acts as gsmSCF towards a HLR and as a HLR towards a gsmSCF.&lt;br /&gt;
* the SMPP stack present in YATE (ysmpp module) which is able to catch internal USSD messages and transmit them over SMPP. It also translates SMPP messages into internal USSD messages.&lt;br /&gt;
* requests for new USSD sessions will go through routing to decide who should handle the request.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following sections detail the behaviour of the system in the different USSD scenarios.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Mobile originated USSD handling ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A user initiated USSD session is handled according to the following schema:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:user_initiated_ussd.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# HLR sends a ''processUnstructuredSS-Request (Invoke)'' for code *100#. camel_map decodes the ''ussd-String'' into ''ussd-Text=*100#''.&lt;br /&gt;
# the ussd_map module (gsmSCF side) processes the request received from the HLR and emits a ''call.route'' message with ''called=*100#''.&lt;br /&gt;
# After ussd_map module successfully dispatched the call.route message, it generates a ''ussd.execute'' message with the ''callto'' parameter set to the value returned from routing. ussd_map dispatches the ''ussd.execute'' message.&lt;br /&gt;
# The ysmpp module catches the ''ussd.execute'' message and if the ''callto'' param value starts with ''ysmppserver/'' and with it it builds a ''deliver_sm'' message that it will send  it to the target specified in ''callto'' parameter after the module prefix ''ysmppserver/''.&lt;br /&gt;
# The ysmpp module receives and process the received ''submit_sm'' message.&lt;br /&gt;
# The ysmpp module will send a ''call.route'' message with the ''called=*100#''.&lt;br /&gt;
# The ysmpp module emits a ''ussd.execute'' message with ''callto=retvalue from call.route'' message.&lt;br /&gt;
# The ussd_map module (HLR part) processes the ussd.execute message and if it is the target of the message, meaning that ''callto'' starts with ''ussd_map/''. From that message it will build a map.message that it will send to the gsmSCF as a ''processUnstructuresSS-Request (Invoke)'' MAP message.&amp;lt;br&amp;gt;'''NOTE:''' From here on, the gsmSCF could handle the request in one of  two distinguished cases: one where the gsmSCF requires interaction with the mobile subscriber and one where the gsmSCF just needs to respond to the user request. The following steps detail the former case.&amp;lt;br&amp;gt;&lt;br /&gt;
# gsmSCF sends an ''unstructuredSS-Request (Invoke)'' to  request further information.&lt;br /&gt;
# The ussd_map module (HLR part) processes the ''unstructuredSS-Request (Invoke)'' message and emits an ''ussd.update'' message.&lt;br /&gt;
# The ysmpp module receives the ''ussd.update'' message and confirms to the SMPP client that the message sent in step 5 was processed.&lt;br /&gt;
# The SMPP client should confirm the processing of the SMPP message sent in step 4.&lt;br /&gt;
# The ysmpp module sends a ''deliver_sm'' message to the SMPP client with the menu received in ''ussd.update'' message.&lt;br /&gt;
# The SMPP client should send a ''submit_sm'' message with the received menu.&lt;br /&gt;
# The ysmpp module receives the ''submit_sm'' message from SMPP client and emits a ''ussd.update'' message.&lt;br /&gt;
# The ussd_map module (SCF part) process the ''ussd.update'' message and sends an ''unstructuredSS-Request (Invoke)'' towards the HLR.&amp;lt;br&amp;gt;The time in which the mobile subscribers responds can be quite long.&amp;lt;br&amp;gt;&lt;br /&gt;
# The HLR sends  ''unstructuredSS-Request (ResultLast)'' to USSD gateway when receiving the response from the mobile subscriber.&lt;br /&gt;
# The ussd_map module (SCF part) processes the message and emits a ''ussd.update'' message.&lt;br /&gt;
# ysmpp module processes the ''ussd.update'' message and sends ''submit_sm rsp'' to SMPP client to confirm the reception of the message sent on step 14.&lt;br /&gt;
# The SMPP client should send a ''deliver_sm rsp'' to confirm the message received on step 13.&lt;br /&gt;
# The ysmpp module will send a deliver_sm message to SMPP clients which will contain user's response.&lt;br /&gt;
# The SMPP client should send a ''submit_sm'' message to SMPP server which will contain the message received on step 21.&lt;br /&gt;
# The ysmpp module receives the ''submit_sm'' message and emits a ''ussd.update'' message.&lt;br /&gt;
# The ussd_map module (HLR part) receives the ''ussd.update'' message and sends the ''unstructuredSS-Request (ResultLast)'' to gsmSCF.&amp;lt;br&amp;gt;'''NOTE:''' Steps between 9 and 24 can be repeated.&amp;lt;br&amp;gt;&lt;br /&gt;
# The gsmSCF sends ''processUnstructuredSS-Request (ResultLast)''  for the initial user request.&lt;br /&gt;
# The ussd_map module (HLR part) processes the ''processUnstructuredSS-Request (ResultLast)'' and sends a ''ussd.finalize'' message.&lt;br /&gt;
# The ysmpp module receives the ''ussd.finalize'' message and sends a ''submit_sm rsp'' for the message received on point 22 or 5.&lt;br /&gt;
# The SMPP client should send a ''deliver_sm rsp'' for the message received on point 21 or 4.&lt;br /&gt;
# The ysmpp module sends a ''deliver sm + last message indication'' to SMPP client.&lt;br /&gt;
# The SMPP client should send a ''submit sm + last message indication'' to SMPP server.&lt;br /&gt;
# ysmpp module receives ''submit_sm'' message and sends a ''ussd.finalize'' message.&lt;br /&gt;
# ysmpp module sends ''submit_sm rsp'' to confirm the message received on step 31.&lt;br /&gt;
# SMPP client should send a ''deliver_sm rsp'' to confirm the message received on step 29.&lt;br /&gt;
# The ussd_map module (SCF part) processes the ''ussd.finalize'' message and sends ''processUnstructuredSS-Request (ResultLast)''.&lt;br /&gt;
&lt;br /&gt;
==== Network initiated USSD Request ====&lt;br /&gt;
&lt;br /&gt;
A network initiated USSD session is handled as described in the following figure:&lt;br /&gt;
&lt;br /&gt;
[[File:network_initiated_ussd.png]]&lt;br /&gt;
&lt;br /&gt;
# gsmSCF sends''unstructuredSS-Request (Invoke)'' to USSD Gateway (HLR part) to present a menu for MSISDN 0015559191.&lt;br /&gt;
# The ussd_map module (HLR part) processes the ''unstructuredSS-Request (Invoke)'' message and emits a ''call.route'' message with called=0015559191. &lt;br /&gt;
# After ussd_map module successfully dispatched the call.route message, it generates a ''ussd.execute'' message with ''callto'' set to the route returned in the return value of the ''call.route'' message and dispatches an ''ussd.execute'' message.&lt;br /&gt;
# The ysmpp module catches the ''ussd.execute'' message and if the ''callto'' param value starts with ''ysmppserver/'' and with it it builds a ''deliver_sm'' message that it will then send to the target specified in the ''callto'&amp;quot; parameter after the ''ysmppserver'' module prefix.&lt;br /&gt;
# The SMPP client should send a ''submit_sm'' message towards SMPP server.&lt;br /&gt;
# The SMPP server processes the received ''submit_sm'' message and dispatches a ''call.route'' message.&lt;br /&gt;
# After successfully dispatching of ''call.route'' message the SMPP server will dispatch a ''call.execute'' message.&lt;br /&gt;
# The ussd_map module (SCF part) process the ''ussd.execute'' message and sends an ''unstructuredSS-Request (Invoke)'' towards the HLR.&amp;lt;br&amp;gt;The time to receiving a response from the user after gsmSCF has requested user interaction could be possibly quite long.&amp;lt;br&amp;gt;&lt;br /&gt;
# The HLR sends  ''unstructuredSS-Request (ResultLast)'' to USSD gateway &lt;br /&gt;
# The ussd_map module (SCF part) processes the message and emits a ''ussd.update'' message.&lt;br /&gt;
# ysmpp module processes the ''ussd.update'' message and sends ''submit_sm rsp'' to SMPP client to confirm the reception of the message sent on step 5.&lt;br /&gt;
# The SMPP client should send a ''deliver_sm rsp'' to confirm the message received on step 4.&lt;br /&gt;
# The ysmpp module will send a deliver_sm message to SMPP clients which will contain user's response.&lt;br /&gt;
# The SMPP client should send a ''submit_sm'' message to SMPP server which will contain the message received on step 13.&lt;br /&gt;
# The ysmpp module receives the ''submit_sm'' message and emits a ''ussd.update'' message.&lt;br /&gt;
# The ussd_map module (HLR part) receives the ''ussd.update'' message and sends the ''unstructuredSS-Request (ResultLast)'' to gsmSCF.&amp;lt;br&amp;gt;'''NOTE:''' Steps between 1 and 16 can be repeated.&amp;lt;br&amp;gt;&lt;br /&gt;
# The gsmSCF sends ''TCAP END'' in order to finish the USSD session.&lt;br /&gt;
# The ussd_map module (HLR part) processes the ''TCAP END'' and sends a ''ussd.finalize'' message.&lt;br /&gt;
# The ysmpp module receives the ''ussd.finalize'' message and sends a ''submit_sm rsp'' for the message received on point 14.&lt;br /&gt;
# The SMPP client should send a ''deliver_sm rsp'' for the message received on point 13.&lt;br /&gt;
# The ysmpp module sends a ''deliver sm + last message indication'' to SMPP client.&lt;br /&gt;
# The SMPP client should send a ''submit sm + last message indication'' to SMPP server.&lt;br /&gt;
# ysmpp module sends ''submit_sm rsp'' to confirm the message received on step 22.&lt;br /&gt;
# SMPP client should send a ''deliver_sm rsp'' to confirm the message received on step 21.&lt;br /&gt;
# ysmpp module receives ''submit_sm'' message and sends a ''ussd.finalize'' message.&lt;br /&gt;
# The ussd_map module (SCF part) processes the ''ussd.finalize'' message and sends ''END''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Fallback/Proxy mode ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following images detail scenarios where the USSD GW is instructed to do failover.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:user_initiated_failover.png]]&lt;br /&gt;
&lt;br /&gt;
The picture above details a failover scenario for when an HLR sends ''processUnstructuredSS-Request (Invoke)'' (1).&lt;br /&gt;
&lt;br /&gt;
'''NOTES:''' &lt;br /&gt;
* The read circles in the above picture represent points in handling where a fallback decision can be made.&lt;br /&gt;
* A fallback decision can be made only if in all previous fallback decision points the necessity for failover was determined to be false.&lt;br /&gt;
* '''U1''' and '''U2''' represent SMPP message responses.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Decision points where ''ussd_map'' will determine the need for failover:&lt;br /&gt;
*'''E1''': Routing procedure does not return a valid route (''call.route''  returns with false or an error) or routing decision indicates a failover route (routing return a route starting with prefix ''ussd_map/'')&lt;br /&gt;
*'''E2''': ''ussd.execute'' message fails to be processed (in this case by the ysmpp module)&lt;br /&gt;
*'''E3''': SMPP server received an SMPP error for ''deliver_sm'' message. &lt;br /&gt;
*'''E4''': SMPP client received an SMPP error for ''submit_sm'' message.&lt;br /&gt;
*'''E5''': The ''call.route'' message  emitted by ''ysmpp'' does not return a valid route (''call.route''  returns with false or an error).&lt;br /&gt;
*'''E6''': ''ussd.execute'' message fails to be processed (in this case by the ussd_map module).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Network initiated USSD session fallback.&lt;br /&gt;
&lt;br /&gt;
[[File:network_initiated_failover.png]]&lt;br /&gt;
&lt;br /&gt;
The picture above details a failover scenario for when a gsmSCF sends a &amp;quot;unstructuredSS-Request/unstructuredSS-Notify (Invoke)'' (1).&lt;br /&gt;
&lt;br /&gt;
'''NOTES:'''&lt;br /&gt;
* The read circles in the above picture represent points in handling where a fallback decision can be made.&lt;br /&gt;
* A fallback decision can be made only if in all previous fallback decision points the necessity for failover was determined to be false.&lt;br /&gt;
* '''U1''' and '''U2''' represent SMPP message responses.&lt;br /&gt;
&lt;br /&gt;
Decision points where ''ussd_map'' will determine the need for failover:&lt;br /&gt;
*'''E1''': Routing procedure does not return a valid route (''call.route''  returns with false or an error) or routing decision indicates a failover route (routing return a route starting with prefix ''ussd_map/'')&lt;br /&gt;
*'''E2''': ''ussd.execute'' message fails to be processed (in this case by the ysmpp module)&lt;br /&gt;
*'''E3''': SMPP server received an SMPP error for ''deliver_sm'' message.&lt;br /&gt;
*'''E4''': SMPP client received an SMPP error for ''submit_sm'' message.&lt;br /&gt;
*'''E5''': The ''call.route'' message  emitted by ''ysmpp'' does not return a valid route (''call.route''  returns with false or an error).&lt;br /&gt;
*'''E6''': ''ussd.execute'' message fails to be processed (in this case by the ussd_map module).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The SMPP USSD gateway will also be bypassed when the ''ussd_map'' module is configured to do failover for all requests.&lt;br /&gt;
&lt;br /&gt;
Any type of SMPP error received either in the result for the ''ussd.execute'' or in the first message back from SMPP that does not have a mapping on MAP will lead to the ''ussd_map'' module doing failover. Errors that would generate a failover are errors like timeout, session ended abnormally, unknown errors, congestion errors.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once ''ussd_map'' decides that failover should be done, it will use the original received message  from the HLR (MO case)/gsmSCF (MT case) and it will only alter the called address to be the one of the gsmSCF/HLR set for the failover.. The calling address will remain the one received from HLR/gsmSCF, the idea being that for the first message we want to pretend that we are the original gsmSCF/HLR. When the receiving end of this message will want to respond, it will use the calling address from the message. Seeing that the ''ussd_map'' module set it to the original calller's address, further messages exchanged in that dialog between HLR and gsmSCF will not pass through USSD GW again.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Internal message API ====&lt;br /&gt;
&lt;br /&gt;
This section documents the YATE messages used internally by the USSD GW.&lt;br /&gt;
&lt;br /&gt;
===== call.route =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This message is used by ussd_map and ysmpp module to determine a destination where a new USSD session should be sent for further processing.&lt;br /&gt;
&lt;br /&gt;
This message is sent by either ''ussd_map'' module or ''ysmpp'' module when receiving a request for a new USSD session on MAP for ''ussd_map'' or on SMPP for ''ysmpp''.&lt;br /&gt;
''ussd_map'' will only send this message if default routing is not enabled from configuration.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
* id:&lt;br /&gt;
** type: string&lt;br /&gt;
** Identifier for the USSD session used by the dispatcher of the message.&lt;br /&gt;
* called:&lt;br /&gt;
** type: string&lt;br /&gt;
** It specifies the value on which destination is determined. For a MO USSD session, this parameter will contain the decoded USSD string (USSD request code). For a MT USSD sessions, this parameter will contain the destination MSISDN.&lt;br /&gt;
* callednumtype:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies type (NAI) of the called parameter. It is used only when called is a MSISDN&lt;br /&gt;
* callednumplan:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** Numbering plan for the number specified by the called parameter.  It is used only when called is a MSISDN.&lt;br /&gt;
* caller:&lt;br /&gt;
** type: string:&lt;br /&gt;
** Identifies the caller in this USSD session. For MO USSD it can be the MSISDN (if present) . ''ussd_map'' will set the the calling party address GT in this parameter for MT case or if MSISDN is not specified for MO case.&lt;br /&gt;
* callernumtype:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies type (NAI) of the caller parameter.&lt;br /&gt;
* callernumplan:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** Numbering plan for the number specified by the caller parameter.&lt;br /&gt;
* operation_type:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** The type of USSD operation that fired this message.&lt;br /&gt;
* text_encoding:&lt;br /&gt;
** type: hexified string&lt;br /&gt;
** The MAP USSD data coding scheme&lt;br /&gt;
* text_encoded:&lt;br /&gt;
** type: hexified string&lt;br /&gt;
** The encoded USSD string&lt;br /&gt;
* text:&lt;br /&gt;
** type: string&lt;br /&gt;
** The decoded USSD string conforming to the USSD data coding scheme.&lt;br /&gt;
* imsi:&lt;br /&gt;
** type: string&lt;br /&gt;
** IMSI value if available.&lt;br /&gt;
* hlr:&lt;br /&gt;
** type: string&lt;br /&gt;
** It specifies the HLR GTT if that information was available.&lt;br /&gt;
* hlr.nature:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies HLR GTT nature  (NAI)&lt;br /&gt;
* hlr.plan:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies HLR GTT numbering plan&lt;br /&gt;
* vlr:&lt;br /&gt;
** type: string&lt;br /&gt;
** It specifies the VLR GTT if that information was available.&lt;br /&gt;
* vlr.nature:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies VLR GTT nature  (NAI)&lt;br /&gt;
* vlr.plan:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies VLR GTT numbering plan&lt;br /&gt;
* gsmscf:&lt;br /&gt;
** type: string&lt;br /&gt;
** It specifies the gsmSCF GTT if that information was available.&lt;br /&gt;
* gsmscf.nature:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies gsmSCF GTT nature  (NAI)&lt;br /&gt;
* gsmscf.plan:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies gsmSCF GTT numbering plan&lt;br /&gt;
* destination_reference:&lt;br /&gt;
** type: string&lt;br /&gt;
** MSISDN or IMSI specified in the DestinationReference TCAP MAP parameter.&lt;br /&gt;
* destination_reference.nature:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies DestinationReference nature  (NAI)&lt;br /&gt;
* destination_reference.plan:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies DestinationReference numbering plan&lt;br /&gt;
* msisdn:&lt;br /&gt;
** type: string&lt;br /&gt;
** MSISDN &lt;br /&gt;
* alert_pattern:&lt;br /&gt;
** type: string&lt;br /&gt;
** Alert Pattern parameter as received in the USSD MAP message.&lt;br /&gt;
* module&lt;br /&gt;
** type: string &lt;br /&gt;
** Name of the module which requested routing&lt;br /&gt;
* application&lt;br /&gt;
** type: string&lt;br /&gt;
** Name of the ussd_map application which sent this routing request&lt;br /&gt;
* route_type&lt;br /&gt;
** type: keyword, value: ussd &lt;br /&gt;
** Specifies routing type, in this case it'll be USSD routing&lt;br /&gt;
* smpp_session_id&lt;br /&gt;
** type: string&lt;br /&gt;
** TODO&lt;br /&gt;
* smpp_system_id&lt;br /&gt;
** type: string&lt;br /&gt;
** TODO&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* The  hlr/vlr address represents:&lt;br /&gt;
** the address from which the message was received (if it can be determined) for MO USSD session.&lt;br /&gt;
** the address where the message should be sent for MT USSD session.&lt;br /&gt;
&lt;br /&gt;
Returned parameters:&lt;br /&gt;
* if the message was processed, the return value of the message indicates the destination of the subsequent ''ussd.execute'' message.&lt;br /&gt;
* if the message was not processed or it returned with error (signaled by the return value being either &amp;quot;-&amp;quot; or &amp;quot;error&amp;quot;)&lt;br /&gt;
** ''ussd_map'' will do failover&lt;br /&gt;
** ysmpp will close the SMPP session, indicating an error either set by the call.route or either set to the default unknown error indication.&lt;br /&gt;
&lt;br /&gt;
===== ussd.execute =====&lt;br /&gt;
&lt;br /&gt;
This message is used to begin a new USSD session:&lt;br /&gt;
* on SMPP, if the message is directed to the ''ysmpp'' module&lt;br /&gt;
* on MAP if the message is directed to the ''ussd_map'' module&lt;br /&gt;
&lt;br /&gt;
This message is sent by either ''ussd_map'' module or ''ysmpp'' module after successful routing stage. In case of the ''ussd_map'' module, this is message is sent if the routing stage did not indicate failover necessity.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
* callto:  &lt;br /&gt;
** type : string&lt;br /&gt;
** It specifies the target module to process the message. The string should start with  'ysmppserver/' for the  ''ysmpp&amp;quot; module and with ''ussd_map/'' for the ''ussd_map'' module.&lt;br /&gt;
* id:&lt;br /&gt;
** type: string&lt;br /&gt;
** Identifier for the USSD session used by the dispatcher of the message.&lt;br /&gt;
* called:&lt;br /&gt;
** type: string&lt;br /&gt;
** It specifies the value on which destination is determined. For a MO USSD session, this parameter will contain the decoded USSD string (USSD request code). For a MT USSD sessions, this parameter will contain the destination MSISDN.&lt;br /&gt;
* callednumtype:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies type (NAI) of the called parameter. It is used only when called is a MSISDN&lt;br /&gt;
* callednumplan:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** Numbering plan for the number specified by the called parameter.  It is used only when called is a MSISDN.&lt;br /&gt;
* caller:&lt;br /&gt;
** type: string:&lt;br /&gt;
** Identifies the caller in this USSD session. For MO USSD it can be the MSISDN (if present) . ''ussd_map'' will set the the calling party address GT in this parameter for MT case or if MSISDN is not specified for MO case.&lt;br /&gt;
* callernumtype:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies type (NAI) of the caller parameter.&lt;br /&gt;
* callernumplan:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** Numbering plan for the number specified by the caller parameter.&lt;br /&gt;
* operation_type:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** The type of USSD operation that fired this message.&lt;br /&gt;
* text_encoding:&lt;br /&gt;
** type: hexified string&lt;br /&gt;
** The MAP USSD data coding scheme&lt;br /&gt;
* text_encoded:&lt;br /&gt;
** type: hexified string&lt;br /&gt;
** The encoded USSD string&lt;br /&gt;
* text:&lt;br /&gt;
** type: string&lt;br /&gt;
** The decoded USSD string conforming to the USSD data coding scheme.&lt;br /&gt;
* imsi:&lt;br /&gt;
** type: string&lt;br /&gt;
** IMSI value if available.&lt;br /&gt;
* hlr:&lt;br /&gt;
** type: string&lt;br /&gt;
** It specifies the HLR GTT if that information was available.&lt;br /&gt;
* hlr.nature:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies HLR GTT nature  (NAI)&lt;br /&gt;
* hlr.plan:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies HLR GTT numbering plan&lt;br /&gt;
* vlr:&lt;br /&gt;
** type: string&lt;br /&gt;
** It specifies the VLR GTT if that information was available.&lt;br /&gt;
* vlr.nature:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies VLR GTT nature  (NAI)&lt;br /&gt;
* vlr.plan:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies VLR GTT numbering plan&lt;br /&gt;
* gsmscf:&lt;br /&gt;
** type: string&lt;br /&gt;
** It specifies the gsmSCF GTT if that information was available.&lt;br /&gt;
* gsmscf.nature:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies gsmSCF GTT nature  (NAI)&lt;br /&gt;
* gsmscf.plan:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies gsmSCF GTT numbering plan&lt;br /&gt;
* destination_reference:&lt;br /&gt;
** type: string&lt;br /&gt;
** MSISDN or IMSI specified in the DestinationReference TCAP MAP parameter.&lt;br /&gt;
* destination_reference.nature:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies DestinationReference nature  (NAI)&lt;br /&gt;
* destination_reference.plan:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies DestinationReference numbering plan&lt;br /&gt;
* msisdn:&lt;br /&gt;
** type: string&lt;br /&gt;
** MSISDN &lt;br /&gt;
* alert_pattern:&lt;br /&gt;
** type: string&lt;br /&gt;
** Alert Pattern parameter as received in the USSD MAP message.&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* The  hlr/vlr address represents:&lt;br /&gt;
** the address from which the message was received (if it can be determined) for MO USSD session.&lt;br /&gt;
** the address where the message should be sent for MT USSD session.&lt;br /&gt;
&lt;br /&gt;
Returned parameters:&lt;br /&gt;
* peerid:&lt;br /&gt;
** type: string&lt;br /&gt;
** Identifier assigned for this USSD session by the entity that processed this message.&lt;br /&gt;
* error:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** Error returned if the message was not processed.&lt;br /&gt;
&lt;br /&gt;
Processing of this message will return failure:&lt;br /&gt;
* if the message will not be processed&lt;br /&gt;
* if the 'id' parameter is missing.&lt;br /&gt;
* in case of processing error &lt;br /&gt;
* in case of congestion&lt;br /&gt;
&lt;br /&gt;
===== ussd.update =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This message is used for transmitting USSD messages during a USSD session. This type of message will be used after the initial stage of creating the session through ''ussd.execute'' has succeeded.&lt;br /&gt;
&lt;br /&gt;
When receiving this message:&lt;br /&gt;
* the ''ussd_map'' module will generate a TCAP CONTINUE message &lt;br /&gt;
* the ''ysmpp'' module will generate a SMPP ''deliver_sm'' if it acts as a server (as in the case of the USSD GW) or ''submit_sm'' if it acts as a SMPP client.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
* id:&lt;br /&gt;
** type: string&lt;br /&gt;
** USSD session identifier of the sending side of the message&lt;br /&gt;
* peerid:&lt;br /&gt;
** type: string&lt;br /&gt;
** USSD session identifier for the module that should process this message&lt;br /&gt;
* operation_type:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** The type of operation that fired this message. &lt;br /&gt;
* text_encoding:&lt;br /&gt;
** type: hexified string&lt;br /&gt;
** The MAP USSD data coding scheme&lt;br /&gt;
* text_encoded:&lt;br /&gt;
** type: hexified string&lt;br /&gt;
** The encoded USSD string&lt;br /&gt;
* text:&lt;br /&gt;
** type: string&lt;br /&gt;
** The decoded USSD string conforming to the USSD data coding scheme.&lt;br /&gt;
* error:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** Error received from one the USSD session endpoints. It might be a MAP error when HLR/gsmSCF/ failed to process a request or SMPP error when the SMPP client failed to process a request.&lt;br /&gt;
&lt;br /&gt;
Returned parameters:&lt;br /&gt;
* error:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** Error code if this message failed to be processed.&lt;br /&gt;
&lt;br /&gt;
Points of failure:&lt;br /&gt;
* The USSD session specified by peerid parameter cannot be found by the processing side.&lt;br /&gt;
* Processing of this message will be refused if it is received after a ''ussd.finalize'' message.&lt;br /&gt;
* Processing of this message will return an error if there are mandatory parameters missing of if the parameters specify a values not allowed in the context of the USSD session (e.g., sending a ''processUnstructuredSS-Request inside a ''ussd.update'' message)&lt;br /&gt;
&lt;br /&gt;
===== ussd.finalize =====&lt;br /&gt;
&lt;br /&gt;
This message is used to signal the termination of the USSD session. Successful processing of this message means that the USSD session was terminated and is no longer available. &lt;br /&gt;
&lt;br /&gt;
When receiving this message:&lt;br /&gt;
* the ''ussd_map'' module will generate a TCAP END/ABORT message depending upon the parameters received. A message containing an error that does not map to a MAP error will generate a TCAP ABORT.&lt;br /&gt;
* the ''ysmpp'' module will generate a SMPP ''deliver_sm'' if it acts as a server (as in the case of the USSD GW) or ''submit_sm'' if it acts as a SMPP client, a message that will usually contain a last message indication.&lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
* id:&lt;br /&gt;
** type: string&lt;br /&gt;
** USSD session identifier of the sending side of the message&lt;br /&gt;
* peerid:&lt;br /&gt;
** type: string&lt;br /&gt;
** USSD session identifier for the module that should process this message&lt;br /&gt;
* operation_type:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** The type of operation that fired this message. &lt;br /&gt;
* text_encoding:&lt;br /&gt;
** type: hexified string&lt;br /&gt;
** The MAP USSD data coding scheme&lt;br /&gt;
* text_encoded:&lt;br /&gt;
** type: hexified string&lt;br /&gt;
** The encoded USSD string&lt;br /&gt;
* text:&lt;br /&gt;
** type: string&lt;br /&gt;
** The decoded USSD string conforming to the USSD data coding scheme.&lt;br /&gt;
* error:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** Error received from one the USSD session endpoints. It might be a MAP error when HLR/gsmSCF/ failed to process a request or SMPP error when the SMPP client failed to process a request.&lt;br /&gt;
&lt;br /&gt;
Returned parameters:&lt;br /&gt;
* error:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** Error code if this message failed to be processed.&lt;br /&gt;
&lt;br /&gt;
Points of failure:&lt;br /&gt;
* The USSD session specified by 'peerid parameter cannot be found by the processing side.&lt;br /&gt;
* Processing of this message will return an error if there are mandatory parameters missing of if the parameters specify a value not allowed in the context of the USSD session&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Keyword values =====&lt;br /&gt;
&lt;br /&gt;
This section details acceptable values for parameters listed as having type ''keyword''.&lt;br /&gt;
&lt;br /&gt;
* '''hlr.nature/vlr.nature/gsmscf.nature/destination_reference.nature'''&lt;br /&gt;
** unknown&lt;br /&gt;
** international&lt;br /&gt;
** national&lt;br /&gt;
** network-specific&lt;br /&gt;
** subscriber&lt;br /&gt;
** abbreviated&lt;br /&gt;
&lt;br /&gt;
* '''hlr.plan/vlr.plan/gsmscf.plan/destination_reference.plan'''&lt;br /&gt;
** unknown&lt;br /&gt;
** isdn&lt;br /&gt;
** data&lt;br /&gt;
** telex&lt;br /&gt;
** land-mobile&lt;br /&gt;
** national&lt;br /&gt;
** private&lt;br /&gt;
&lt;br /&gt;
* '''operation_type'''&lt;br /&gt;
** pssd: mapping of MAP v1 USSD operation ''processUnstructuredSS-Data'' and of SMPP operation ''PSSD''. &lt;br /&gt;
** pssr: mapping of MAP v2 USSD operation ''processUnstructuredSS-Request'' and of SMPP operation ''PSSR''.&lt;br /&gt;
** ussr: mapping of MAP v2 USSD operation ''unstructuredSS-Request'' and of SMPP operation ''USSR&amp;quot;.&lt;br /&gt;
** ussn: mapping of MAP v2 USSD operation ''unstructuredSS-Notify'' and of SMPP operation ''USSN''.&lt;br /&gt;
&lt;br /&gt;
* '''error'''&lt;br /&gt;
** invalid_logic:  error reported when required processing does not follow USSD rules (e.g., MT request starting with ''processUnstructuredSS-Requests'')&lt;br /&gt;
** system_failure: error mapping for MAP error ''systemFailure''.&lt;br /&gt;
** data_missing: error mapping for  MAP error ''dataMissing''.&lt;br /&gt;
** unexpected_data: error mapping for MAP error ''unexpectedDataValue''.&lt;br /&gt;
** unknown_alphabet: error mapping for MAP error ''unknownAlphabet''.&lt;br /&gt;
** absent_subscriber: error mapping for MAP error ''absentSubscriber''.&lt;br /&gt;
** illegal_subscriber: error mapping for MAP error ''illegalSubscriber''.&lt;br /&gt;
** illegal_equipment: error mapping for MAP error ''illegalEquipment''.&lt;br /&gt;
** ussd_busy: error mapping for MAP error ''ussd-Busy''.&lt;br /&gt;
** call_barred: error mapping for MAP error ''callBarred''.&lt;br /&gt;
** network_failure: error signaling message transmission failure due to  connectivity issues either on the SS7 side or SMPP side.&lt;br /&gt;
** timeout_expired: error signaling a  request timeout occurrence.&lt;br /&gt;
** ussd_sess_end_abnormally: error signaling USSD session termination due to an unknown cause. Mapping for this error implies a TCAP Abort either being generated of received. &lt;br /&gt;
** unknown_error: error specified when there is no available mapping for an errror from SMPP to MAP or vice versa.&lt;br /&gt;
** throttling_error: error signaling that a message failed to be processed due to processing side being in congestion state.&lt;br /&gt;
** protocol_error: SMPP generic error. This error is put whenever there is a SMPP specific error that cannot be mapped into one of the other errors.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== SMPP custom parameters ====&lt;br /&gt;
&lt;br /&gt;
* 0x1502 =&amp;gt; IMSI;&lt;br /&gt;
* 0x1503 =&amp;gt; VLR Type of Number;&lt;br /&gt;
* 0x1504 =&amp;gt; VLR Numbering Plan Indicator;&lt;br /&gt;
* 0x1505 =&amp;gt; VLR address;&lt;br /&gt;
* 0x1506 =&amp;gt; GSM SCF Type of Number;&lt;br /&gt;
* 0x1507 =&amp;gt; GSM SCF Numbering Plan Indicator;&lt;br /&gt;
* 0x1508 =&amp;gt; GSM_SCF address;&lt;br /&gt;
* 0x1509 =&amp;gt; Destination Reference Type of Number;&lt;br /&gt;
* 0x150a =&amp;gt; Destination Reference Numbering Plan Indicator;&lt;br /&gt;
* 0x150b =&amp;gt; Destination Reference;&lt;br /&gt;
* 0x150c =&amp;gt; MSISDN&lt;br /&gt;
* 0x150d =&amp;gt; Alerting Pattern&lt;br /&gt;
* 0x1800 =&amp;gt; HLR Type of Number;&lt;br /&gt;
* 0x1801 =&amp;gt; HLR Numbering Plan Indicator;&lt;br /&gt;
* 0x1802 =&amp;gt; HLR address.&lt;br /&gt;
&lt;br /&gt;
=== Configuration ===&lt;br /&gt;
&lt;br /&gt;
==== ysigchan module ====&lt;br /&gt;
&lt;br /&gt;
In order to have MAP connectivity, TCAP instances must be configured in ''ysigchan.conf'': &lt;br /&gt;
&lt;br /&gt;
 ; Example of a SS7 Transaction Capabilities Application Part&lt;br /&gt;
 ; This component is created when encountering a section of this kind&lt;br /&gt;
 ;[ss7tcap]&lt;br /&gt;
 ; type: keyword: identifies the component as a SS7 Transfer Capabilities Application Part&lt;br /&gt;
 ; type = ss7-tcap-ansi for ANSI TCAP&lt;br /&gt;
 ; type = ss7-tcap-itu for ITU TCAP&lt;br /&gt;
 ;type=&lt;br /&gt;
 &lt;br /&gt;
 ; local_SSN: local SubSystem Number. Mandatory&lt;br /&gt;
 ;local_SSN=&lt;br /&gt;
 &lt;br /&gt;
 ; default_remote_SSN: remote SubSystem Number to provide to SCCP if the application does not provide one&lt;br /&gt;
 ;default_remote_SSN=&lt;br /&gt;
  &lt;br /&gt;
 ; default_remote_pointcode: remote Point Code to provide to SCCP if the application does not provide one&lt;br /&gt;
 ;default_remote_pointcode=&lt;br /&gt;
 &lt;br /&gt;
 ; pointcodetype: remote Point Code type. See above documentation for available types&lt;br /&gt;
 ;pointcodetype=&lt;br /&gt;
 &lt;br /&gt;
 ; sccp: Name of the SCCP component to create and be used by this TCAP&lt;br /&gt;
 ; A section with the name given here must exist in order to configure the SCCP level&lt;br /&gt;
 ;sccp=&lt;br /&gt;
 &lt;br /&gt;
 ; default_hopcounter: HopCounter provided to SCCP if the application does not provide one&lt;br /&gt;
 ; Values range 1-15, 0 or boolean false disables, boolean true sets to 15&lt;br /&gt;
 ; A non-zero value will force using XUDT or LUDT instead of UDT messages&lt;br /&gt;
 ;default_hopcounter=false&lt;br /&gt;
 &lt;br /&gt;
 ; transact_timeout: Time in seconds to timeout a TCAP transaction after no more activity was registered on it&lt;br /&gt;
 ; NOTE: Values below 15 seconds will be ignored and the timer will assume the default value.&lt;br /&gt;
 ; Defaults to 300 seconds&lt;br /&gt;
 ;transact_timeout=300&lt;br /&gt;
 &lt;br /&gt;
 ; max_timeout_checks: integer: Maximum number of timeout checks done on a transaction without starting the transaction&lt;br /&gt;
 ;  timer before forcefully starting the transaction timer&lt;br /&gt;
 ; Defaults to 10&lt;br /&gt;
 ;max_timeout_checks=10 &lt;br /&gt;
 &lt;br /&gt;
 ; timeout_check: Time interval in milliseconds to check for timeouts.&lt;br /&gt;
 ; Default to 100 ms&lt;br /&gt;
 ;timeout_check=100 &lt;br /&gt;
 &lt;br /&gt;
 ; floodevents: int: How many queued incoming TCAP messages trigger a congestion warning and the drop mechanism&lt;br /&gt;
 ;  for Unidirectional/Begin/QueryWithPermission/QueryWithoutPermission messages.&lt;br /&gt;
 ;  Exit from congestion will take place when there are less the floodevents/4 messages in the queue&lt;br /&gt;
 ; NOTE! Setting this parameter to 0 will disable the congestion warning and protection. Setting it to one will &lt;br /&gt;
 ;  be overriden and floodevents will be set to 2.&lt;br /&gt;
 ;floodevents=1000&lt;br /&gt;
 &lt;br /&gt;
 ;print-messages: Boolean to enable/disable printing of decoding/encoding of TCAP messages&lt;br /&gt;
 ; This option applies on reload&lt;br /&gt;
 ;print-messages=false&lt;br /&gt;
 &lt;br /&gt;
 ;extended-debug: Boolean to enable/disable printing of the step-by-step decoding/encoding of TCAP messages&lt;br /&gt;
 ; This option applies on reload. print-messages must be true.&lt;br /&gt;
 ;extended-debug=false&lt;br /&gt;
 &lt;br /&gt;
 ;track_id: string: Shared engine variable name used by this TCAP to obtain a unique tracking ID&lt;br /&gt;
 ; If not set, TCAP transaction will not have a tracking ID&lt;br /&gt;
 ;track_id=&lt;br /&gt;
 &lt;br /&gt;
 ;track_id_base: string: Optional string with which to prefix the tracking ID&lt;br /&gt;
 ; This setting has no effect if track_id is not set&lt;br /&gt;
 ;track_id_base=&lt;br /&gt;
 &lt;br /&gt;
 ; hash_list_size: integer: Size of HashList used for keeping the list of current transactions&lt;br /&gt;
 ;hash_list_size=17&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Configuration Example'''&lt;br /&gt;
&lt;br /&gt;
 [tcap-scf]                                                                                                                                   &lt;br /&gt;
 ;enable=no                                                                                                                                   &lt;br /&gt;
 type=ss7-tcap-itu                                                                                                                            &lt;br /&gt;
 sccp=sccp                                                                                                                                    &lt;br /&gt;
 local_SSN=147                                                                                                                                &lt;br /&gt;
 pointcodetype=ITU                                                                                                                           &lt;br /&gt;
 print-messages=false                                                                                                                         &lt;br /&gt;
 extended-debug=false                                                                                                                         &lt;br /&gt;
 transact_timeout=600                                                                                                                         &lt;br /&gt;
 floodevents=1000                                                                                                                             &lt;br /&gt;
 track_id=ussdgw                                                                                                                              &lt;br /&gt;
 track_id_base=ussdgw/                                                                                                                        &lt;br /&gt;
                                                                                                                                             &lt;br /&gt;
 [tcap-hlr]                                                                                                                                   &lt;br /&gt;
 ;enable=no                                                                                                                                   &lt;br /&gt;
 type=ss7-tcap-itu                                                                                                                            &lt;br /&gt;
 sccp=sccp                                                                                                                                    &lt;br /&gt;
 local_SSN=7                                                                                                                                  &lt;br /&gt;
 pointcodetype=ITU                                                                                                                           &lt;br /&gt;
 print-messages=false                                                                                                                         &lt;br /&gt;
 extended-debug=false                                                                                                                         &lt;br /&gt;
 transact_timeout=600                                                                                                                         &lt;br /&gt;
 track_id=ussdgw                                                                                                                              &lt;br /&gt;
 track_id_base=ussdgw/  &lt;br /&gt;
&lt;br /&gt;
Further configuration for SS7 connectivity is required (SCCP, MTP3, etc.).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== camel_map module ====&lt;br /&gt;
&lt;br /&gt;
In order to allow communication over MAP through SS7, sections configurating application should exist for each role of the ussd_map module (gsmSCF/HLR). A ''camel_map.conf'' section configuring an application looks like this:&lt;br /&gt;
&lt;br /&gt;
 ;[local appName]&lt;br /&gt;
 ; This section configures a local application which transmits the XML messages as internal Yate messages&lt;br /&gt;
 &lt;br /&gt;
 ; translator: string: name of translator to be used by this application.&lt;br /&gt;
 ; Must be one one the [tcap ...] sections configured in the camel_map.conf file.&lt;br /&gt;
 ;translator=&lt;br /&gt;
  &lt;br /&gt;
 ; capabilities: string: List of capabilities separated by commas which this application supports&lt;br /&gt;
 ;capabilities=&lt;br /&gt;
  &lt;br /&gt;
 ; export_xml_as: string: Specify in which way the XML will be passed along into a Yate message&lt;br /&gt;
 ; Allowed values are:&lt;br /&gt;
 ;  - string: pass the XML as a string&lt;br /&gt;
 ;  - object: pass the XML as an object&lt;br /&gt;
 ;  - both: pass the XML as a string and object&lt;br /&gt;
 ;export_xml_as=object&lt;br /&gt;
  &lt;br /&gt;
 ; enable: bool: Enable this application&lt;br /&gt;
 ;enable=yes&lt;br /&gt;
&lt;br /&gt;
The translator setting refers to a section of the type defined below which configures atachement to a TCAP instance&lt;br /&gt;
&lt;br /&gt;
 ;[tcap map]&lt;br /&gt;
 ; This section configures a TCAP User MAP/CAMEL protocol translator&lt;br /&gt;
 &lt;br /&gt;
 ; enable: bool: Enable this translator&lt;br /&gt;
 ;enable=yes&lt;br /&gt;
 &lt;br /&gt;
 ; type: string: Type of TCAP User &lt;br /&gt;
 ; Allowed values are MAP or CAMEL&lt;br /&gt;
 ;type=MAP&lt;br /&gt;
 &lt;br /&gt;
 ; host: IP address: Address on which the TCP listener should bind on for XML communication&lt;br /&gt;
 ;host=127.0.0.1 &lt;br /&gt;
 &lt;br /&gt;
 ; port: integer: Port on which the TCP listener should bind on for XML communication&lt;br /&gt;
 ; Note: setting port to 0 will disable the listener, so it will not accept TCP applications&lt;br /&gt;
 ;port=5555&lt;br /&gt;
 &lt;br /&gt;
 ; tcap: string: Name of TCAP to which this TCAP user should attach itself to for the SS7 communication&lt;br /&gt;
 ;tcap=&lt;br /&gt;
 &lt;br /&gt;
 ; add-encoding: bool: Always add encoding attribute to XML elements for decoded parameters&lt;br /&gt;
 ;add-encoding=default from [general]&lt;br /&gt;
 &lt;br /&gt;
 ; add-timestamp: bool: Add to XML timestamps used for estimating application latency&lt;br /&gt;
 ;add-timestamp=default from [general] &lt;br /&gt;
 &lt;br /&gt;
 ; print-messages: bool: Debug option to print TCAP and XML messages. This option is applicable on reload.&lt;br /&gt;
 ;print-messages=false&lt;br /&gt;
 &lt;br /&gt;
 ; ussd-string: string: Specifies what the ussd-String parameter will contain as data&lt;br /&gt;
 ; Allowed values are:&lt;br /&gt;
 ;  - octets: ussd-String will contain the octets as they were received&lt;br /&gt;
 ;  - text: ussd-String will contain the GSM7Bit decoded text&lt;br /&gt;
 ; This can be overriden in application sections&lt;br /&gt;
 ;ussd-string=text&lt;br /&gt;
 &lt;br /&gt;
 ; ussd-decode: string: Specifies what ussd-String parameters should be decoded into text&lt;br /&gt;
 ; Allowed values are:&lt;br /&gt;
 ;  - none: ussd-String parameters will never be decoded into text&lt;br /&gt;
 ;  - first: ussd-String in a TCAP Begin message will be decoded into text&lt;br /&gt;
 ;  - all: all ussd-String parameters will be decoded into text&lt;br /&gt;
 ; This can be overriden in application sections&lt;br /&gt;
 ;ussd-decode=all&lt;br /&gt;
 &lt;br /&gt;
 ; hash_list_size: integer: Size of HashList used for mapping of TCAP transactions to applications&lt;br /&gt;
 ;hash_list_size=17&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For load sharing (especially in cases of high loads), you can configure multiple applications using the same translator.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Configuration Example'''&lt;br /&gt;
&lt;br /&gt;
The example below configures 2 applications acting as a gsmSCF, each one attached to the TCAP instance with gsmSCF SSN, and 2 applications as HLR, each one attached to the TCAP instance with HLR SSN 6:&lt;br /&gt;
&lt;br /&gt;
 [tcap scf]                                                                                                                                   &lt;br /&gt;
 ;enable=no                                                                                                                                   &lt;br /&gt;
 tcap=tcap-scf                                                                                                                                &lt;br /&gt;
 host=0.0.0.0                                                                                                                                 &lt;br /&gt;
 port=0                                                                                                                                       &lt;br /&gt;
 type=MAP                                                                                                                                     &lt;br /&gt;
 print-messages=false                                                                                                                         &lt;br /&gt;
 add-encoding=false                                                                                                                           &lt;br /&gt;
                                                                                                                                             &lt;br /&gt;
 [tcap hlr]                                                                                                                                   &lt;br /&gt;
 ;enable=no                                                                                                                                   &lt;br /&gt;
 tcap=tcap-hlr                                                                                                                                &lt;br /&gt;
 host=0.0.0.0                                                                                                                                 &lt;br /&gt;
 port=0                                                                                                                                       &lt;br /&gt;
 type=MAP                                                                                                                                     &lt;br /&gt;
 print-messages=false                                                                                                                         &lt;br /&gt;
 add-encoding=false   &lt;br /&gt;
 &lt;br /&gt;
 [local ussdSCF1]                                                                                                                             &lt;br /&gt;
 translator=scf                                                                                                                               &lt;br /&gt;
 capabilities=USSD                                                                                                                            &lt;br /&gt;
 export_xml_as=object                                                                                                                         &lt;br /&gt;
 ussd-string=octets                                                                                                                           &lt;br /&gt;
 ussd-decode=first                                                                                                                            &lt;br /&gt;
                                                                                                                                             &lt;br /&gt;
 [local ussdSCF2]                                                                                                                             &lt;br /&gt;
 translator=scf                                                                                                                               &lt;br /&gt;
 capabilities=USSD                                                                                                                            &lt;br /&gt;
 export_xml_as=object                                                                                                                         &lt;br /&gt;
 ussd-string=octets                                                                                                                           &lt;br /&gt;
 ussd-decode=first               &lt;br /&gt;
 &lt;br /&gt;
 [local ussdHLR1]&lt;br /&gt;
 translator=hlr                                                                                                                               &lt;br /&gt;
 capabilities=USSD                                                                                                                            &lt;br /&gt;
 export_xml_as=object                                                                                                                         &lt;br /&gt;
 ussd-string=octets                                                                                                                           &lt;br /&gt;
 ussd-decode=first                                                                                                                            &lt;br /&gt;
 &lt;br /&gt;
 [local ussdHLR2]                                                                                                                             &lt;br /&gt;
 translator=hlr                                                                                                                               &lt;br /&gt;
 capabilities=USSD                                                                                                                            &lt;br /&gt;
 export_xml_as=object                                                                                                                         &lt;br /&gt;
 ussd-string=octets                                                                                                                           &lt;br /&gt;
 ussd-decode=first&lt;br /&gt;
&lt;br /&gt;
==== ussd_map module ====&lt;br /&gt;
&lt;br /&gt;
The module is configured through ''ussd_map.conf''. The configuration file sets timeout parameters and processing threads parameters in the ''general'' section:&lt;br /&gt;
&lt;br /&gt;
 [general]&lt;br /&gt;
 &lt;br /&gt;
 ; hash_list_size: integer: Size of HashList for keeping dialogs&lt;br /&gt;
 ;hash_list_size=17&lt;br /&gt;
 &lt;br /&gt;
 ; component_ttl: integer: Component time to live in milliseconds&lt;br /&gt;
 ; Minimum allowed value is 1000&lt;br /&gt;
 ; Defaults to 600000 (10 minutes)&lt;br /&gt;
 ;component_ttl=600000&lt;br /&gt;
 &lt;br /&gt;
 ; dialog_idle_ttl: integer: Dialog idle (nothing sent/received) time to live in milliseconds&lt;br /&gt;
 ; Minimum allowed value is 1000&lt;br /&gt;
 ; It can be set to 0 to keep it alive until the remote party terminates the dialog&lt;br /&gt;
 ; Defaults to 86400000 (1 day)&lt;br /&gt;
 ;dialog_idle_ttl=86400000&lt;br /&gt;
&lt;br /&gt;
 ; dialog_ended_ttl: integer: Ended dialog time to live in milliseconds&lt;br /&gt;
 ; Minimum allowed value is 1000.&lt;br /&gt;
 ; It can be set to 0 to remove the dialog after termination&lt;br /&gt;
 ; Defaults to 0&lt;br /&gt;
 ;dialog_ended_ttl=0&lt;br /&gt;
 &lt;br /&gt;
 ; dispatcher_maxthreads: integer: Maximum number of message dispatch threads to use&lt;br /&gt;
 ; Minimum value is 1 for use of dispatching threads.&lt;br /&gt;
 ; NOTE: if the value is set to 0, the module will enqueue the messages into YATE's engine.&lt;br /&gt;
 ;dispatcher_maxthreads=0&lt;br /&gt;
&lt;br /&gt;
 ; dispatcher_minthreads: integer: Minimum number of message dispatch threads to use&lt;br /&gt;
 ; Minimum value is 1 for use of dispatching threads.&lt;br /&gt;
 ;dispatcher_minthreads=1&lt;br /&gt;
&lt;br /&gt;
 ;dispatcher_priority: string: Default priority of message dispatch threads&lt;br /&gt;
 ;dispatcher_priority=normal&lt;br /&gt;
&lt;br /&gt;
 ; floodevents: integer: Threshold for signaling congestion when the number of messages waiting to be dispatched exceeds it.&lt;br /&gt;
 ; When entering congestion, all new MAP dialogs and USSD sessions will be refused.&lt;br /&gt;
 ; 0 disables the mechanism&lt;br /&gt;
 ;floodevents=0&lt;br /&gt;
&lt;br /&gt;
 ; congestion_exit_factor: double: Factor used to calculate the exit congestion threshold&lt;br /&gt;
 ; NOTE: if the factor results in a exit congestion threshold of 0 or greater than floodevents, &lt;br /&gt;
 ; the setting will be overriden and the exit congestion threshold will be set to 1.&lt;br /&gt;
 ;congestion_exit_factor=0.5&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Timeout settings should be correlated with timeout settings in TCAP and SMPP, each having its own timeout mechanism.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Gateway applications which do the MAP &amp;lt;-&amp;gt; USSD translation are configured through section like the one below:&lt;br /&gt;
&lt;br /&gt;
 [appName]&lt;br /&gt;
 ; section name is the name of the camel_map application, it must correspond to a [local appName] section in camel_map &lt;br /&gt;
&lt;br /&gt;
 ; enable: boolean: Enable this application&lt;br /&gt;
 ; Defaults to yes&lt;br /&gt;
 ;enable=yes&lt;br /&gt;
 &lt;br /&gt;
 ; type: string: Type of MAP &amp;lt;-&amp;gt; USSD translator: &lt;br /&gt;
 ;  - SCF means that is the part that receives new dialogs from the HLR (user initiated USSD)&lt;br /&gt;
 ;  - HLR is the part that receives new dialogs from gsmSCF (network initiated USSD)&lt;br /&gt;
 ; This setting cannot be changed on reload.&lt;br /&gt;
 ;type=&lt;br /&gt;
 &lt;br /&gt;
 ; export_xml_as: string: Specify in which way the XML will be passed along into &lt;br /&gt;
 ;export_xml_as=object&lt;br /&gt;
  &lt;br /&gt;
 ; print_msg: boolean: Print sent/received messages to output&lt;br /&gt;
 ;print_msg=no&lt;br /&gt;
  &lt;br /&gt;
 ; print_xml: boolean: Print sent/received XML data to output&lt;br /&gt;
 ;print_xml=no&lt;br /&gt;
 &lt;br /&gt;
 ; local_addr. : prefix: Parameters prefixed with this set the local SCCP address of this application &lt;br /&gt;
 ; Meaningful values are:&lt;br /&gt;
 ; local_addr.CallingPartyAddress.route=&lt;br /&gt;
 ; local_addr.CallingPartyAddress.ssn=&lt;br /&gt;
 ; local_addr.CallingPartyAddress.pointcode=&lt;br /&gt;
 ; local_addr.CallingPartyAddress.gt=&lt;br /&gt;
 ; local_addr.CallingPartyAddress.gt.nature=&lt;br /&gt;
 ; local_addr.CallingPartyAddress.gt.plan=&lt;br /&gt;
 ; local_addr.CallingPartyAddress.gt.translation=&lt;br /&gt;
 ; local_addr.CallingPartyAddress.gt.encoding= &lt;br /&gt;
 &lt;br /&gt;
 ; default_routing: bool : Do routing to default address for all messages&lt;br /&gt;
 ; default_routing=no&lt;br /&gt;
 &lt;br /&gt;
 ; default_addr. : prefix: parameters prefixed with this will be used as the default SCCP called address&lt;br /&gt;
 ; Meaningful values are:&lt;br /&gt;
 ; default_addr.application=&lt;br /&gt;
 ; default_addr.CalledPartyAddress.route=&lt;br /&gt;
 ; default_addr.CalledPartyAddress.ssn=&lt;br /&gt;
 ; default_addr.CalledPartyAddress.pointcode=&lt;br /&gt;
 ; default_addr.CalledPartyAddress.gt=&lt;br /&gt;
 ; default_addr.CalledPartyAddress.gt.nature=&lt;br /&gt;
 ; default_addr.CalledPartyAddress.gt.translation=&lt;br /&gt;
 ; default_addr.CalledPartyAddress.gt.encoding=&lt;br /&gt;
 &lt;br /&gt;
 ; hlr_ssn: integer: The SSN expected in the calling address from a HLR.&lt;br /&gt;
 ; This setting has significance only for SCF type applications&lt;br /&gt;
 ;hlr_ssn=6&lt;br /&gt;
 &lt;br /&gt;
 ; vlr_ssn: integer: The SSN expected in the calling address from a VLR.&lt;br /&gt;
 ; This setting has significance only for SCF type applications&lt;br /&gt;
 ;vlr_ssn=7&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Each section should have its own equivalent in ''camel_map.conf''.&lt;br /&gt;
In the USSD GW scenario, at least tho applications are needed, one acting as SCF, one as HLR. For load sharing multiple gsmSCF and HLR applications can be configured (see the configuration example below).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Configuration Example'''&lt;br /&gt;
&lt;br /&gt;
The example below configures 2 gsmSCF applications and 2 HLR applications, each one corresponding with a application section in the ''camel_map.conf'' example:&lt;br /&gt;
&lt;br /&gt;
 [general]                                                                                                                                    &lt;br /&gt;
                                                                                                                                             &lt;br /&gt;
 component_ttl=600000                                                                                                                         &lt;br /&gt;
 dialog_ended_ttl=0                                                                                                                           &lt;br /&gt;
 dispatcher_maxthreads=10                                                                                                                     &lt;br /&gt;
 dispatcher_minthreads=5                                                                                                                      &lt;br /&gt;
 ;dispatcher_priority=normal                                                                                                                  &lt;br /&gt;
 floodevents=1000                                                                                                                             &lt;br /&gt;
                                                                                                                                              &lt;br /&gt;
 [ussdSCF1]                                                                                                                                   &lt;br /&gt;
 ;enable=no                                                                                                                                   &lt;br /&gt;
 type=SCF                                                                                                                                     &lt;br /&gt;
 export_xml_as=object                                                                                                                         &lt;br /&gt;
 print_msg=no                                                                                                                                 &lt;br /&gt;
 print_xml=no                                                                                                                                 &lt;br /&gt;
                                                                                                                                             &lt;br /&gt;
 local_addr.CallingPartyAddress.route=gt                                                                                                      &lt;br /&gt;
 local_addr.CallingPartyAddress.gt=8828723                                                                                                    &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.nature=international                                                                                       &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.plan=isdn                                                                                                  &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.translation=0                                                                                              &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.encoding=bcd                                                                                               &lt;br /&gt;
                                                                                                                                             &lt;br /&gt;
 default_routing=no                                                                                                                           &lt;br /&gt;
 default_addr.application=ussdHLR                                                                                                              &lt;br /&gt;
 default_addr.CalledPartyAddress.route=gt                                                                                                     &lt;br /&gt;
 default_addr.CalledPartyAddress.gt=8820723                                                                                                   &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.nature=international                                                                                      &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.plan=isdn                                                                                                 &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.translation=0                                                                                             &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.encoding=bcd &lt;br /&gt;
&lt;br /&gt;
 [ussdSCF2]                                                                                                                                   &lt;br /&gt;
 ;enable=no                                                                                                                                   &lt;br /&gt;
 type=SCF                                                                                                                                     &lt;br /&gt;
 export_xml_as=object                                                                                                                         &lt;br /&gt;
 print_msg=no                                                                                                                                 &lt;br /&gt;
 print_xml=no                                                                                                                                 &lt;br /&gt;
                                                                                                                                             &lt;br /&gt;
 local_addr.CallingPartyAddress.route=gt                                                                                                      &lt;br /&gt;
 local_addr.CallingPartyAddress.gt=8828723                                                                                                    &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.nature=international                                                                                       &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.plan=isdn                                                                                                  &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.translation=0                                                                                              &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.encoding=bcd                                                                                               &lt;br /&gt;
                                                                                                                                             &lt;br /&gt;
 default_routing=no                                                                                                                           &lt;br /&gt;
 default_addr.application=ussdHLR                                                                                                              &lt;br /&gt;
 default_addr.CalledPartyAddress.route=gt                                                                                                     &lt;br /&gt;
 default_addr.CalledPartyAddress.gt=8820723                                                                                                   &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.nature=international                                                                                      &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.plan=isdn                                                                                                 &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.translation=0                                                                                             &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.encoding=bcd &lt;br /&gt;
 &lt;br /&gt;
 [ussdHLR1]                                                                                                                                   &lt;br /&gt;
 ;enable=no                                                                                                                                   &lt;br /&gt;
 type=HLR                                                                                                                                     &lt;br /&gt;
 print_msg=no                                                                                                                                 &lt;br /&gt;
 print_xml=no                                                                                                                                 &lt;br /&gt;
 export_xml_as=object                                                                                                                         &lt;br /&gt;
                                                                                                                         &lt;br /&gt;
 local_addr.CallingPartyAddress.route=gt                                                                                                      &lt;br /&gt;
 local_addr.CallingPartyAddress.gt=8828723                                                                                                    &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.nature=international                                                                                       &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.plan=isdn                                                                                                  &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.translation=0                                                                                              &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.encoding=bcd                                                                                               &lt;br /&gt;
                                                                                                                                             &lt;br /&gt;
 default_routing=no                                                                                                                           &lt;br /&gt;
 default_addr.application=ussdSCF                                                                                                             &lt;br /&gt;
 default_addr.CalledPartyAddress.route=gt                                                                                                     &lt;br /&gt;
 default_addr.CalledPartyAddress.gt=8820457                                                                                                   &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.nature=international                                                                                      &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.plan=isdn                                                                                                 &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.translation=0                                                                                             &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.encoding=bcd                                                                                              &lt;br /&gt;
                                                   &lt;br /&gt;
 [ussdHLR2]                                                                                                                                   &lt;br /&gt;
 ;enable=no                                                                                                                                   &lt;br /&gt;
 type=HLR                                                                                                                                     &lt;br /&gt;
 print_msg=no                                                                                                                                 &lt;br /&gt;
 print_xml=no                                                                                                                                 &lt;br /&gt;
 export_xml_as=object                                                                                                                         &lt;br /&gt;
                                                                                                                                             &lt;br /&gt;
 local_addr.CallingPartyAddress.route=gt                                                                                                      &lt;br /&gt;
 local_addr.CallingPartyAddress.gt=8828723                                                                                                    &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.nature=international                                                                                       &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.plan=isdn                                                                                                  &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.translation=0                                                                                              &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.encoding=bcd                                                                                               &lt;br /&gt;
                                                                                                                                              &lt;br /&gt;
 default_routing=no                                                                                                                           &lt;br /&gt;
 default_addr.application=ussdSCF                                                                                                             &lt;br /&gt;
 default_addr.CalledPartyAddress.route=gt                                                                                                     &lt;br /&gt;
 default_addr.CalledPartyAddress.gt=8820457                                                                                                   &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.nature=international                                                                                      &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.plan=isdn                                                                                                 &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.translation=0                                                                                             &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.encoding=bcd&lt;br /&gt;
&lt;br /&gt;
==== ysmpp module ====&lt;br /&gt;
&lt;br /&gt;
TODO - configuration explanations&lt;br /&gt;
&lt;br /&gt;
'''Configuration Example''''&lt;br /&gt;
&lt;br /&gt;
 [general]                                                                                                                                    &lt;br /&gt;
 server=smpp-server                                                                                                                           &lt;br /&gt;
 track_id=ussdgw                                                                                                                              &lt;br /&gt;
 track_id_base=ussdgw/                                                                                                                        &lt;br /&gt;
                                                                                                                                              &lt;br /&gt;
 [smpp-server]                                                                                                                                &lt;br /&gt;
 enable=true                                                                                                                                  &lt;br /&gt;
 session_responseinterval=600000                                                                                                              &lt;br /&gt;
 sessionset_process_max=1                                                                                                                     &lt;br /&gt;
 codec_warndefaults=false                                                                                                                     &lt;br /&gt;
 print-messages=no                                                                                                                            &lt;br /&gt;
                                                                                                                                            &lt;br /&gt;
 [listenerserver server]                                                                                                                      &lt;br /&gt;
 ;enable=yes                                                                                                                                  &lt;br /&gt;
 addr=0.0.0.0                                                                                                                                 &lt;br /&gt;
 port=12345    &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
=== Monitoring ===&lt;br /&gt;
&lt;br /&gt;
This section details comands through which the state of the USSD GW can be monitored.&lt;br /&gt;
&lt;br /&gt;
==== ussd_map module ====&lt;br /&gt;
&lt;br /&gt;
* '''Congestion state monitoring'''&lt;br /&gt;
&lt;br /&gt;
The ''ussd_map'' module will generate an alarm when entering/exiting a congestion state. If SNMP support is enabled, this will generate a trap on SNMP.&lt;br /&gt;
The congestion status is also reported in the ''state'' entry in the result of the module status command.&lt;br /&gt;
&lt;br /&gt;
* '''Module status'''&lt;br /&gt;
&lt;br /&gt;
The module reports its status through the following command in the YATE telnet console:&lt;br /&gt;
&lt;br /&gt;
 status ussd_map&lt;br /&gt;
&lt;br /&gt;
The command will print the following information:&lt;br /&gt;
&lt;br /&gt;
 workers=count_of_dispatching_threads,messages=count_msg,dialogs=count_of_dialogs,state=normal,count=count_of_applications;format=Type | CurrentDlgs| MAPCreated | UssdCreated |DefaultRouted | MAPSent | MapRecv | USSDSent | USSDRecv | MAPAbort | USSDAbort | BuiltAbort | MAPTimeouts | USSDTimeouts&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
* workers: current number of used dispatching threads from the maximum configured pool (e.g., 3/10 means 3 threads are used of a pool of 10)&lt;br /&gt;
* messages: count of messages waiting on the dispatching queue of the engine&lt;br /&gt;
* dialogs: total number of USSD sessions currently handled by all applications&lt;br /&gt;
* state of the engine: normal/congestion&lt;br /&gt;
* count: number of applications acting either as gsmSCF, either as HLR&lt;br /&gt;
* format: name of the application for which the following data is reported:&lt;br /&gt;
** Type: role of the application: SCF (communicates with real HLR), HLR (communicates with real gsmSCF)&lt;br /&gt;
** CurrentDlgs: number of current MAP dialogs handled by this application&lt;br /&gt;
** MAPCreated: number of sessions (dialogs) started by the MAP side&lt;br /&gt;
** UssdCreated: number of sessions (dialogs) started by the SMPP side&lt;br /&gt;
** DefaultRouted: number of dialogs for which failover took place&lt;br /&gt;
** MAPSent: number of MAP messages sent to gsmSCF/HLR. It doesn't count the ones sent via failover routing.&lt;br /&gt;
** MAPRecv: number of MAP messages received from gsmSCF/HLR&lt;br /&gt;
** USSDSent: number of sent ussd.execute/ussd.update/ussd.finalize messages towards the SMPP side.&lt;br /&gt;
** USSDRecv: number of received ussd.execute/ussd.update/usdd.notify messages from SMPP side.&lt;br /&gt;
** MAPAbort: number of dialog aborts generated by MAP side&lt;br /&gt;
** USSDAbort: number of dialog aborts generated by USSD side&lt;br /&gt;
** BuiltAbort: number of dialog aborts generated by the ussd_map module (e.g., not having a ussd.update message processed by anyone will cause ussd_map to generate session abort)&lt;br /&gt;
** MAPTimeouts: number of dialog timeouts generated by MAP side&lt;br /&gt;
** USSDTimeouts: number of timeouts reported by USSD side&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Module control commands'''&lt;br /&gt;
&lt;br /&gt;
The module offers the following control commands through the telnet console:&lt;br /&gt;
* ''control ussd_map appName print-msg [yes|no|verbose]'' : enable printing of received/sent map./ussd./messages.&lt;br /&gt;
* ''control ussd_map appName print-xml [yes|no|verbose]'' : enable printing of received/sent XMLs.&lt;br /&gt;
* ''control ussd_map appName export-xml-as [string|object|both]'' : change the way XML is set in the internal messages&lt;br /&gt;
* ''control ussd_map start_stats'' : begin gathering data for statistics&lt;br /&gt;
* ''control ussd_map stop_stats'' : stop gathering data for statistics&lt;br /&gt;
* ''control usdd_map stats'' : print statistic data per engine and each application in part. Data contains number of MAP messages handled per second, number of USSD messages handled per second, maximum number of current dialogs, number of timeouts and number of aborts.&lt;br /&gt;
&lt;br /&gt;
==== ysmpp module ====&lt;br /&gt;
&lt;br /&gt;
The ysmpp module provides the following options for status command:&lt;br /&gt;
&lt;br /&gt;
'NOTE' the module_name can take the following values: smppserver or smppclient.&lt;br /&gt;
&lt;br /&gt;
* status module_name listeners&lt;br /&gt;
Prints the module listeners status in format: Address|Status|Reason.&lt;br /&gt;
&lt;br /&gt;
* status module_name sessions&lt;br /&gt;
Prints the status of the sessions in format: Id|State|BindMode|SystemId|IpAddress:Port|Congested|Incoming Queue|Outgoing Queue;&lt;br /&gt;
&lt;br /&gt;
** Id: The ID of the SMPP session. Can be used for routing.&lt;br /&gt;
** State: The state of the SMPP session.&lt;br /&gt;
** BindMode: The mode in which the session was bound. (Send/Recv/SendRecv)&lt;br /&gt;
** SystemId: The id with which the session has been authenticated. Can be used in routing.&lt;br /&gt;
** IpAddress:Port: The Ip Address and port of the remote end of the session.&lt;br /&gt;
** Congested: True if this session is in congestion state.&lt;br /&gt;
** Incoming Queue: The number of messages not processed in the incoming queue.&lt;br /&gt;
** Outgoing Queue: The number of messages not processed in the outgoing queue.&lt;br /&gt;
&lt;br /&gt;
*status module_name ussd overview&lt;br /&gt;
Prints the stats of the USSD sessions in format: Total|Active|Average Duration|Total Sent|Total Received|AverageTrafficPerSecond|EndedWithErrors|CongestionRefused&lt;br /&gt;
&lt;br /&gt;
** Total: the number of USSD sessions created since the starting of the program.&lt;br /&gt;
** Active: the number of USSD sessions currently active.&lt;br /&gt;
** Average Duration: average duration of a ussd session.&lt;br /&gt;
** Total Sent: total number of SMPP messages sent for USSD sessions.&lt;br /&gt;
** Total Received: total number of SMPP messages received for USSD sessions.&lt;br /&gt;
** AverageTrafficPerSecond: average traffic per second for USSD sessions.&lt;br /&gt;
** EndedWithErrors: the number of USSD sessions that ended with error.&lt;br /&gt;
** CongestionRefused: the number of USSD sessions refused because the server was overloaded.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* Mobile Application Part (MAP) specification: ETSI TE 129 002&lt;/div&gt;</summary>
		<author><name>Andrei</name></author>	</entry>

	<entry>
		<id>https://ss7api.null.ro/index.php/USSD_GW</id>
		<title>USSD GW</title>
		<link rel="alternate" type="text/html" href="https://ss7api.null.ro/index.php/USSD_GW"/>
				<updated>2014-01-15T13:57:10Z</updated>
		
		<summary type="html">&lt;p&gt;Andrei: /* SMPP custom parameters */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is an implementation an USSD gateway acting as a MAP Service Control Function (gsmSCF) and as a HLR at the same time. When communicating with a HLR or VLR, the YATE USSD GW acts as a gsmSCF. When communicating with a gsmSCF, the YATE USSDGW acts as a HLR.&lt;br /&gt;
The functionality of the USSD GW allows:&lt;br /&gt;
* redirecting of USSD requests arriving either from user side or gsmSCF side to a SMPP client where they can be altered.&lt;br /&gt;
* acting as a proxy for requests that need not be handled by SMPP clients or when the SMPP handling fails&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== MAP USSD description ==&lt;br /&gt;
&lt;br /&gt;
In versions 2 and 3 of the GSM MAP protocol there are 3 operations used for USSD operations:&lt;br /&gt;
* processUnstructedSS-Request&lt;br /&gt;
* unstructuredSS-Request&lt;br /&gt;
* unstrusturedSS-Notify&lt;br /&gt;
&lt;br /&gt;
The are 2 scenarios for USSD operations:&lt;br /&gt;
* mobile initiated USSD requests&lt;br /&gt;
* network initiated USSD requests&lt;br /&gt;
&lt;br /&gt;
A TCAP dialog used by USSD is always terminated by the network side.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Mobile initiated USSD requests ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Mobile initiated USSD requests are USSD requests started by the mobile subscriber.  &lt;br /&gt;
&lt;br /&gt;
A USSD request is started when receiving a TCAP BEGIN message containing the ''processUnstructedSS-Request'' Invoke operation. The request can be handled by the VLR, HLR or a gsmSCF. If the VLR does not handle the request, it will transmit it to the HLR. The HLR can either handle it itself or it can transmit it to a gsmSCF for handling.&lt;br /&gt;
&lt;br /&gt;
At this point, the network can either send a response to the request immediately or request additional information. In the first case, the handler of the request will send a TCAP End with ''processUnstructuredSS-Request'' ResultLast containing the result for the request. &lt;br /&gt;
In the latter case, the network will send a TCAP CONTINUE with ''unstructuredSS-Request'' Invoke operation. The response of the mobile subscriber to this request will be passed to the network in a TCAP CONTINUE with ''unstructuredSS-Request'' ResultLast component. At this point, if the network decides that it has enough information for providing the response to the user, it will send a TCAP END with ''processUnstructuredSS-Request'' ResultLast. Otherwise, it can request further information through another ''unstructuredSS-Request'' Invoke operation.&lt;br /&gt;
&lt;br /&gt;
=== Network initiated USSD requests ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Network initiated USSD requests are USSD requests started by the network towards a certain subscriber.&lt;br /&gt;
&lt;br /&gt;
Requests made by the network can be of one of two types:&lt;br /&gt;
* user interaction requests&lt;br /&gt;
* network notification requests.&lt;br /&gt;
&lt;br /&gt;
User interaction requests are USSD requests that the network makes in which it requires some type of information back from the mobile subscriber. These are started by the network through a TCAP BEGIN containing an ''unstructuredSS-Request'' Invoke. The answer from the mobile subscriber will be received in a TCAP CONTINUE containing an ''unstructuredSS-Request'' ResultLast. If the network still wants to request further information, it will repeat the process. Otherwise, it will send a TCAP END to close the TCAP dialog.&lt;br /&gt;
&lt;br /&gt;
Network notification requests are USSD requests in which the network only sends a notification to the user. This is achieved by sending a TCAP BEGIN message containing a ''unstructuredSS-Notify'' Invoke. The mobile subscriber side will only respond with a TCAP CONTINUE containing an empty ''unstructuredSS-Notify'' in order to signal that the notification was received. The network will close the TCAP dialog through TCAP END.&lt;br /&gt;
&lt;br /&gt;
=== MAP USSD parameters ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following list describe common parameters used across all MAP USSD operations:&lt;br /&gt;
* ''destinationReference'': this parameter will contain either an MSISDN or an IMSI. In the case of mobile originated USSD request, this will identify the user which made the request. In the case of network initiated requests, it will identify the mobile user to be contacted for this request.&lt;br /&gt;
* ''ussd-String'': for ''processUnstructuredSS-Request'' Invoke it contains the dialed USSD code, for the result it would probably contain a message from the network detailing the result of the request. For ''unstructuredSS-Request'' Invoke it will contain a message asking for the user to choose some option and for the result it will contain the option chosen by the user. In the case of ''unstructuredSS-Notify'', this parameter will only be present in the Invoke.&lt;br /&gt;
* ''ussd-DataCodingScheme'': this is a parameter which specifies in which way the ''ussd-String'' parameter is encoded and it is present whenever ''ussd-String'' is present. E.g., this parameter would indicate if the ''ussd-String'' is encoded using GSM7bit encoding or UCS2.&lt;br /&gt;
&lt;br /&gt;
== SMPP USSD description ==&lt;br /&gt;
&lt;br /&gt;
'''TO DO'''&lt;br /&gt;
&lt;br /&gt;
== System description ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== System design ===&lt;br /&gt;
&lt;br /&gt;
In order to provide the specified functionality, the system makes use of the following YATE components:&lt;br /&gt;
* the SS7 stack  present in YATE &lt;br /&gt;
* the camel_map module which decodes/encodes MAP messages coming from the SS7 network to/from internal YATE messages containing MAP operations in XML form. Together with the SS7 layer this provides MAP connectivity with HLR/gsmSCF.&lt;br /&gt;
* the ussd_map module which takes internal MAP messsages decoded by the camel_map moduled and translates them to internal USSD messages. This module acts as gsmSCF towards a HLR and as a HLR towards a gsmSCF.&lt;br /&gt;
* the SMPP stack present in YATE (ysmpp module) which is able to catch internal USSD messages and transmit them over SMPP. It also translates SMPP messages into internal USSD messages.&lt;br /&gt;
* requests for new USSD sessions will go through routing to decide who should handle the request.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following sections detail the behaviour of the system in the different USSD scenarios.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Mobile originated USSD handling ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A user initiated USSD session is handled according to the following schema:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:user_initiated_ussd.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# HLR sends a ''processUnstructuredSS-Request (Invoke)'' for code *100#. camel_map decodes the ''ussd-String'' into ''ussd-Text=*100#''.&lt;br /&gt;
# the ussd_map module (gsmSCF side) processes the request received from the HLR and emits a ''call.route'' message with ''called=*100#''.&lt;br /&gt;
# After ussd_map module successfully dispatched the call.route message, it generates a ''ussd.execute'' message with the ''callto'' parameter set to the value returned from routing. ussd_map dispatches the ''ussd.execute'' message.&lt;br /&gt;
# The ysmpp module catches the ''ussd.execute'' message and if the ''callto'' param value starts with ''ysmppserver/'' and with it it builds a ''deliver_sm'' message that it will send  it to the target specified in ''callto'' parameter after the module prefix ''ysmppserver/''.&lt;br /&gt;
# The ysmpp module receives and process the received ''submit_sm'' message.&lt;br /&gt;
# The ysmpp module will send a ''call.route'' message with the ''called=*100#''.&lt;br /&gt;
# The ysmpp module emits a ''ussd.execute'' message with ''callto=retvalue from call.route'' message.&lt;br /&gt;
# The ussd_map module (HLR part) processes the ussd.execute message and if it is the target of the message, meaning that ''callto'' starts with ''ussd_map/''. From that message it will build a map.message that it will send to the gsmSCF as a ''processUnstructuresSS-Request (Invoke)'' MAP message.&amp;lt;br&amp;gt;'''NOTE:''' From here on, the gsmSCF could handle the request in one of  two distinguished cases: one where the gsmSCF requires interaction with the mobile subscriber and one where the gsmSCF just needs to respond to the user request. The following steps detail the former case.&amp;lt;br&amp;gt;&lt;br /&gt;
# gsmSCF sends an ''unstructuredSS-Request (Invoke)'' to  request further information.&lt;br /&gt;
# The ussd_map module (HLR part) processes the ''unstructuredSS-Request (Invoke)'' message and emits an ''ussd.update'' message.&lt;br /&gt;
# The ysmpp module receives the ''ussd.update'' message and confirms to the SMPP client that the message sent in step 5 was processed.&lt;br /&gt;
# The SMPP client should confirm the processing of the SMPP message sent in step 4.&lt;br /&gt;
# The ysmpp module sends a ''deliver_sm'' message to the SMPP client with the menu received in ''ussd.update'' message.&lt;br /&gt;
# The SMPP client should send a ''submit_sm'' message with the received menu.&lt;br /&gt;
# The ysmpp module receives the ''submit_sm'' message from SMPP client and emits a ''ussd.update'' message.&lt;br /&gt;
# The ussd_map module (SCF part) process the ''ussd.update'' message and sends an ''unstructuredSS-Request (Invoke)'' towards the HLR.&amp;lt;br&amp;gt;The time in which the mobile subscribers responds can be quite long.&amp;lt;br&amp;gt;&lt;br /&gt;
# The HLR sends  ''unstructuredSS-Request (ResultLast)'' to USSD gateway when receiving the response from the mobile subscriber.&lt;br /&gt;
# The ussd_map module (SCF part) processes the message and emits a ''ussd.update'' message.&lt;br /&gt;
# ysmpp module processes the ''ussd.update'' message and sends ''submit_sm rsp'' to SMPP client to confirm the reception of the message sent on step 14.&lt;br /&gt;
# The SMPP client should send a ''deliver_sm rsp'' to confirm the message received on step 13.&lt;br /&gt;
# The ysmpp module will send a deliver_sm message to SMPP clients which will contain user's response.&lt;br /&gt;
# The SMPP client should send a ''submit_sm'' message to SMPP server which will contain the message received on step 21.&lt;br /&gt;
# The ysmpp module receives the ''submit_sm'' message and emits a ''ussd.update'' message.&lt;br /&gt;
# The ussd_map module (HLR part) receives the ''ussd.update'' message and sends the ''unstructuredSS-Request (ResultLast)'' to gsmSCF.&amp;lt;br&amp;gt;'''NOTE:''' Steps between 9 and 24 can be repeated.&amp;lt;br&amp;gt;&lt;br /&gt;
# The gsmSCF sends ''processUnstructuredSS-Request (ResultLast)''  for the initial user request.&lt;br /&gt;
# The ussd_map module (HLR part) processes the ''processUnstructuredSS-Request (ResultLast)'' and sends a ''ussd.finalize'' message.&lt;br /&gt;
# The ysmpp module receives the ''ussd.finalize'' message and sends a ''submit_sm rsp'' for the message received on point 22 or 5.&lt;br /&gt;
# The SMPP client should send a ''deliver_sm rsp'' for the message received on point 21 or 4.&lt;br /&gt;
# The ysmpp module sends a ''deliver sm + last message indication'' to SMPP client.&lt;br /&gt;
# The SMPP client should send a ''submit sm + last message indication'' to SMPP server.&lt;br /&gt;
# ysmpp module receives ''submit_sm'' message and sends a ''ussd.finalize'' message.&lt;br /&gt;
# ysmpp module sends ''submit_sm rsp'' to confirm the message received on step 31.&lt;br /&gt;
# SMPP client should send a ''deliver_sm rsp'' to confirm the message received on step 29.&lt;br /&gt;
# The ussd_map module (SCF part) processes the ''ussd.finalize'' message and sends ''processUnstructuredSS-Request (ResultLast)''.&lt;br /&gt;
&lt;br /&gt;
==== Network initiated USSD Request ====&lt;br /&gt;
&lt;br /&gt;
A network initiated USSD session is handled as described in the following figure:&lt;br /&gt;
&lt;br /&gt;
[[File:network_initiated_ussd.png]]&lt;br /&gt;
&lt;br /&gt;
# gsmSCF sends''unstructuredSS-Request (Invoke)'' to USSD Gateway (HLR part) to present a menu for MSISDN 0015559191.&lt;br /&gt;
# The ussd_map module (HLR part) processes the ''unstructuredSS-Request (Invoke)'' message and emits a ''call.route'' message with called=0015559191. &lt;br /&gt;
# After ussd_map module successfully dispatched the call.route message, it generates a ''ussd.execute'' message with ''callto'' set to the route returned in the return value of the ''call.route'' message and dispatches an ''ussd.execute'' message.&lt;br /&gt;
# The ysmpp module catches the ''ussd.execute'' message and if the ''callto'' param value starts with ''ysmppserver/'' and with it it builds a ''deliver_sm'' message that it will then send to the target specified in the ''callto'&amp;quot; parameter after the ''ysmppserver'' module prefix.&lt;br /&gt;
# The SMPP client should send a ''submit_sm'' message towards SMPP server.&lt;br /&gt;
# The SMPP server processes the received ''submit_sm'' message and dispatches a ''call.route'' message.&lt;br /&gt;
# After successfully dispatching of ''call.route'' message the SMPP server will dispatch a ''call.execute'' message.&lt;br /&gt;
# The ussd_map module (SCF part) process the ''ussd.execute'' message and sends an ''unstructuredSS-Request (Invoke)'' towards the HLR.&amp;lt;br&amp;gt;The time to receiving a response from the user after gsmSCF has requested user interaction could be possibly quite long.&amp;lt;br&amp;gt;&lt;br /&gt;
# The HLR sends  ''unstructuredSS-Request (ResultLast)'' to USSD gateway &lt;br /&gt;
# The ussd_map module (SCF part) processes the message and emits a ''ussd.update'' message.&lt;br /&gt;
# ysmpp module processes the ''ussd.update'' message and sends ''submit_sm rsp'' to SMPP client to confirm the reception of the message sent on step 5.&lt;br /&gt;
# The SMPP client should send a ''deliver_sm rsp'' to confirm the message received on step 4.&lt;br /&gt;
# The ysmpp module will send a deliver_sm message to SMPP clients which will contain user's response.&lt;br /&gt;
# The SMPP client should send a ''submit_sm'' message to SMPP server which will contain the message received on step 13.&lt;br /&gt;
# The ysmpp module receives the ''submit_sm'' message and emits a ''ussd.update'' message.&lt;br /&gt;
# The ussd_map module (HLR part) receives the ''ussd.update'' message and sends the ''unstructuredSS-Request (ResultLast)'' to gsmSCF.&amp;lt;br&amp;gt;'''NOTE:''' Steps between 1 and 16 can be repeated.&amp;lt;br&amp;gt;&lt;br /&gt;
# The gsmSCF sends ''TCAP END'' in order to finish the USSD session.&lt;br /&gt;
# The ussd_map module (HLR part) processes the ''TCAP END'' and sends a ''ussd.finalize'' message.&lt;br /&gt;
# The ysmpp module receives the ''ussd.finalize'' message and sends a ''submit_sm rsp'' for the message received on point 14.&lt;br /&gt;
# The SMPP client should send a ''deliver_sm rsp'' for the message received on point 13.&lt;br /&gt;
# The ysmpp module sends a ''deliver sm + last message indication'' to SMPP client.&lt;br /&gt;
# The SMPP client should send a ''submit sm + last message indication'' to SMPP server.&lt;br /&gt;
# ysmpp module sends ''submit_sm rsp'' to confirm the message received on step 22.&lt;br /&gt;
# SMPP client should send a ''deliver_sm rsp'' to confirm the message received on step 21.&lt;br /&gt;
# ysmpp module receives ''submit_sm'' message and sends a ''ussd.finalize'' message.&lt;br /&gt;
# The ussd_map module (SCF part) processes the ''ussd.finalize'' message and sends ''END''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Fallback/Proxy mode ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following images detail scenarios where the USSD GW is instructed to do failover.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:user_initiated_failover.png]]&lt;br /&gt;
&lt;br /&gt;
The picture above details a failover scenario for when an HLR sends ''processUnstructuredSS-Request (Invoke)'' (1).&lt;br /&gt;
&lt;br /&gt;
'''NOTES:''' &lt;br /&gt;
* The read circles in the above picture represent points in handling where a fallback decision can be made.&lt;br /&gt;
* A fallback decision can be made only if in all previous fallback decision points the necessity for failover was determined to be false.&lt;br /&gt;
* '''U1''' and '''U2''' represent SMPP message responses.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Decision points where ''ussd_map'' will determine the need for failover:&lt;br /&gt;
*'''E1''': Routing procedure does not return a valid route (''call.route''  returns with false or an error) or routing decision indicates a failover route (routing return a route starting with prefix ''ussd_map/'')&lt;br /&gt;
*'''E2''': ''ussd.execute'' message fails to be processed (in this case by the ysmpp module)&lt;br /&gt;
*'''E3''': SMPP server received an SMPP error for ''deliver_sm'' message. &lt;br /&gt;
*'''E4''': SMPP client received an SMPP error for ''submit_sm'' message.&lt;br /&gt;
*'''E5''': The ''call.route'' message  emitted by ''ysmpp'' does not return a valid route (''call.route''  returns with false or an error).&lt;br /&gt;
*'''E6''': ''ussd.execute'' message fails to be processed (in this case by the ussd_map module).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Network initiated USSD session fallback.&lt;br /&gt;
&lt;br /&gt;
[[File:network_initiated_failover.png]]&lt;br /&gt;
&lt;br /&gt;
The picture above details a failover scenario for when a gsmSCF sends a &amp;quot;unstructuredSS-Request/unstructuredSS-Notify (Invoke)'' (1).&lt;br /&gt;
&lt;br /&gt;
'''NOTES:'''&lt;br /&gt;
* The read circles in the above picture represent points in handling where a fallback decision can be made.&lt;br /&gt;
* A fallback decision can be made only if in all previous fallback decision points the necessity for failover was determined to be false.&lt;br /&gt;
* '''U1''' and '''U2''' represent SMPP message responses.&lt;br /&gt;
&lt;br /&gt;
Decision points where ''ussd_map'' will determine the need for failover:&lt;br /&gt;
*'''E1''': Routing procedure does not return a valid route (''call.route''  returns with false or an error) or routing decision indicates a failover route (routing return a route starting with prefix ''ussd_map/'')&lt;br /&gt;
*'''E2''': ''ussd.execute'' message fails to be processed (in this case by the ysmpp module)&lt;br /&gt;
*'''E3''': SMPP server received an SMPP error for ''deliver_sm'' message.&lt;br /&gt;
*'''E4''': SMPP client received an SMPP error for ''submit_sm'' message.&lt;br /&gt;
*'''E5''': The ''call.route'' message  emitted by ''ysmpp'' does not return a valid route (''call.route''  returns with false or an error).&lt;br /&gt;
*'''E6''': ''ussd.execute'' message fails to be processed (in this case by the ussd_map module).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The SMPP USSD gateway will also be bypassed when the ''ussd_map'' module is configured to do failover for all requests.&lt;br /&gt;
&lt;br /&gt;
Any type of SMPP error received either in the result for the ''ussd.execute'' or in the first message back from SMPP that does not have a mapping on MAP will lead to the ''ussd_map'' module doing failover. Errors that would generate a failover are errors like timeout, session ended abnormally, unknown errors, congestion errors.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once ''ussd_map'' decides that failover should be done, it will use the original received message  from the HLR (MO case)/gsmSCF (MT case) and it will only alter the called address to be the one of the gsmSCF/HLR set for the failover.. The calling address will remain the one received from HLR/gsmSCF, the idea being that for the first message we want to pretend that we are the original gsmSCF/HLR. When the receiving end of this message will want to respond, it will use the calling address from the message. Seeing that the ''ussd_map'' module set it to the original calller's address, further messages exchanged in that dialog between HLR and gsmSCF will not pass through USSD GW again.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Internal message API ====&lt;br /&gt;
&lt;br /&gt;
This section documents the YATE messages used internally by the USSD GW.&lt;br /&gt;
&lt;br /&gt;
===== call.route =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This message is used by ussd_map and ysmpp module to determine a destination where a new USSD session should be sent for further processing.&lt;br /&gt;
&lt;br /&gt;
This message is sent by either ''ussd_map'' module or ''ysmpp'' module when receiving a request for a new USSD session on MAP for ''ussd_map'' or on SMPP for ''ysmpp''.&lt;br /&gt;
''ussd_map'' will only send this message if default routing is not enabled from configuration.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
* id:&lt;br /&gt;
** type: string&lt;br /&gt;
** Identifier for the USSD session used by the dispatcher of the message.&lt;br /&gt;
* called:&lt;br /&gt;
** type: string&lt;br /&gt;
** It specifies the value on which destination is determined. For a MO USSD session, this parameter will contain the decoded USSD string (USSD request code). For a MT USSD sessions, this parameter will contain the destination MSISDN.&lt;br /&gt;
* callednumtype:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies type (NAI) of the called parameter. It is used only when called is a MSISDN&lt;br /&gt;
* callednumplan:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** Numbering plan for the number specified by the called parameter.  It is used only when called is a MSISDN.&lt;br /&gt;
* caller:&lt;br /&gt;
** type: string:&lt;br /&gt;
** Identifies the caller in this USSD session. For MO USSD it can be the MSISDN (if present) . ''ussd_map'' will set the the calling party address GT in this parameter for MT case or if MSISDN is not specified for MO case.&lt;br /&gt;
* callernumtype:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies type (NAI) of the caller parameter.&lt;br /&gt;
* callernumplan:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** Numbering plan for the number specified by the caller parameter.&lt;br /&gt;
* operation_type:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** The type of USSD operation that fired this message.&lt;br /&gt;
* text_encoding:&lt;br /&gt;
** type: hexified string&lt;br /&gt;
** The MAP USSD data coding scheme&lt;br /&gt;
* text_encoded:&lt;br /&gt;
** type: hexified string&lt;br /&gt;
** The encoded USSD string&lt;br /&gt;
* text:&lt;br /&gt;
** type: string&lt;br /&gt;
** The decoded USSD string conforming to the USSD data coding scheme.&lt;br /&gt;
* imsi:&lt;br /&gt;
** type: string&lt;br /&gt;
** IMSI value if available.&lt;br /&gt;
* hlr:&lt;br /&gt;
** type: string&lt;br /&gt;
** It specifies the HLR GTT if that information was available.&lt;br /&gt;
* hlr.nature:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies HLR GTT nature  (NAI)&lt;br /&gt;
* hlr.plan:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies HLR GTT numbering plan&lt;br /&gt;
* vlr:&lt;br /&gt;
** type: string&lt;br /&gt;
** It specifies the VLR GTT if that information was available.&lt;br /&gt;
* vlr.nature:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies VLR GTT nature  (NAI)&lt;br /&gt;
* vlr.plan:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies VLR GTT numbering plan&lt;br /&gt;
* gsmscf:&lt;br /&gt;
** type: string&lt;br /&gt;
** It specifies the gsmSCF GTT if that information was available.&lt;br /&gt;
* gsmscf.nature:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies gsmSCF GTT nature  (NAI)&lt;br /&gt;
* gsmscf.plan:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies gsmSCF GTT numbering plan&lt;br /&gt;
* destination_reference:&lt;br /&gt;
** type: string&lt;br /&gt;
** MSISDN or IMSI specified in the DestinationReference TCAP MAP parameter.&lt;br /&gt;
* destination_reference.nature:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies DestinationReference nature  (NAI)&lt;br /&gt;
* destination_reference.plan:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies DestinationReference numbering plan&lt;br /&gt;
* msisdn:&lt;br /&gt;
** type: string&lt;br /&gt;
** MSISDN &lt;br /&gt;
* alert_pattern:&lt;br /&gt;
** type: string&lt;br /&gt;
** Alert Pattern parameter as received in the USSD MAP message.&lt;br /&gt;
* module&lt;br /&gt;
** type: string &lt;br /&gt;
** Name of the module which requested routing&lt;br /&gt;
* application&lt;br /&gt;
** type: string&lt;br /&gt;
** Name of the ussd_map application which sent this routing request&lt;br /&gt;
* route_type&lt;br /&gt;
** type: keyword, value: ussd &lt;br /&gt;
** Specifies routing type, in this case it'll be USSD routing&lt;br /&gt;
* smpp_session_id&lt;br /&gt;
** type: string&lt;br /&gt;
** TODO&lt;br /&gt;
* smpp_system_id&lt;br /&gt;
** type: string&lt;br /&gt;
** TODO&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* The  hlr/vlr address represents:&lt;br /&gt;
** the address from which the message was received (if it can be determined) for MO USSD session.&lt;br /&gt;
** the address where the message should be sent for MT USSD session.&lt;br /&gt;
&lt;br /&gt;
Returned parameters:&lt;br /&gt;
* if the message was processed, the return value of the message indicates the destination of the subsequent ''ussd.execute'' message.&lt;br /&gt;
* if the message was not processed or it returned with error (signaled by the return value being either &amp;quot;-&amp;quot; or &amp;quot;error&amp;quot;)&lt;br /&gt;
** ''ussd_map'' will do failover&lt;br /&gt;
** ysmpp will close the SMPP session, indicating an error either set by the call.route or either set to the default unknown error indication.&lt;br /&gt;
&lt;br /&gt;
===== ussd.execute =====&lt;br /&gt;
&lt;br /&gt;
This message is used to begin a new USSD session:&lt;br /&gt;
* on SMPP, if the message is directed to the ''ysmpp'' module&lt;br /&gt;
* on MAP if the message is directed to the ''ussd_map'' module&lt;br /&gt;
&lt;br /&gt;
This message is sent by either ''ussd_map'' module or ''ysmpp'' module after successful routing stage. In case of the ''ussd_map'' module, this is message is sent if the routing stage did not indicate failover necessity.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
* callto:  &lt;br /&gt;
** type : string&lt;br /&gt;
** It specifies the target module to process the message. The string should start with  'ysmppserver/' for the  ''ysmpp&amp;quot; module and with ''ussd_map/'' for the ''ussd_map'' module.&lt;br /&gt;
* id:&lt;br /&gt;
** type: string&lt;br /&gt;
** Identifier for the USSD session used by the dispatcher of the message.&lt;br /&gt;
* called:&lt;br /&gt;
** type: string&lt;br /&gt;
** It specifies the value on which destination is determined. For a MO USSD session, this parameter will contain the decoded USSD string (USSD request code). For a MT USSD sessions, this parameter will contain the destination MSISDN.&lt;br /&gt;
* callednumtype:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies type (NAI) of the called parameter. It is used only when called is a MSISDN&lt;br /&gt;
* callednumplan:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** Numbering plan for the number specified by the called parameter.  It is used only when called is a MSISDN.&lt;br /&gt;
* caller:&lt;br /&gt;
** type: string:&lt;br /&gt;
** Identifies the caller in this USSD session. For MO USSD it can be the MSISDN (if present) . ''ussd_map'' will set the the calling party address GT in this parameter for MT case or if MSISDN is not specified for MO case.&lt;br /&gt;
* callernumtype:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies type (NAI) of the caller parameter.&lt;br /&gt;
* callernumplan:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** Numbering plan for the number specified by the caller parameter.&lt;br /&gt;
* operation_type:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** The type of USSD operation that fired this message.&lt;br /&gt;
* text_encoding:&lt;br /&gt;
** type: hexified string&lt;br /&gt;
** The MAP USSD data coding scheme&lt;br /&gt;
* text_encoded:&lt;br /&gt;
** type: hexified string&lt;br /&gt;
** The encoded USSD string&lt;br /&gt;
* text:&lt;br /&gt;
** type: string&lt;br /&gt;
** The decoded USSD string conforming to the USSD data coding scheme.&lt;br /&gt;
* imsi:&lt;br /&gt;
** type: string&lt;br /&gt;
** IMSI value if available.&lt;br /&gt;
* hlr:&lt;br /&gt;
** type: string&lt;br /&gt;
** It specifies the HLR GTT if that information was available.&lt;br /&gt;
* hlr.nature:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies HLR GTT nature  (NAI)&lt;br /&gt;
* hlr.plan:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies HLR GTT numbering plan&lt;br /&gt;
* vlr:&lt;br /&gt;
** type: string&lt;br /&gt;
** It specifies the VLR GTT if that information was available.&lt;br /&gt;
* vlr.nature:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies VLR GTT nature  (NAI)&lt;br /&gt;
* vlr.plan:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies VLR GTT numbering plan&lt;br /&gt;
* gsmscf:&lt;br /&gt;
** type: string&lt;br /&gt;
** It specifies the gsmSCF GTT if that information was available.&lt;br /&gt;
* gsmscf.nature:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies gsmSCF GTT nature  (NAI)&lt;br /&gt;
* gsmscf.plan:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies gsmSCF GTT numbering plan&lt;br /&gt;
* destination_reference:&lt;br /&gt;
** type: string&lt;br /&gt;
** MSISDN or IMSI specified in the DestinationReference TCAP MAP parameter.&lt;br /&gt;
* destination_reference.nature:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies DestinationReference nature  (NAI)&lt;br /&gt;
* destination_reference.plan:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies DestinationReference numbering plan&lt;br /&gt;
* msisdn:&lt;br /&gt;
** type: string&lt;br /&gt;
** MSISDN &lt;br /&gt;
* alert_pattern:&lt;br /&gt;
** type: string&lt;br /&gt;
** Alert Pattern parameter as received in the USSD MAP message.&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* The  hlr/vlr address represents:&lt;br /&gt;
** the address from which the message was received (if it can be determined) for MO USSD session.&lt;br /&gt;
** the address where the message should be sent for MT USSD session.&lt;br /&gt;
&lt;br /&gt;
Returned parameters:&lt;br /&gt;
* peerid:&lt;br /&gt;
** type: string&lt;br /&gt;
** Identifier assigned for this USSD session by the entity that processed this message.&lt;br /&gt;
* error:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** Error returned if the message was not processed.&lt;br /&gt;
&lt;br /&gt;
Processing of this message will return failure:&lt;br /&gt;
* if the message will not be processed&lt;br /&gt;
* if the 'id' parameter is missing.&lt;br /&gt;
* in case of processing error &lt;br /&gt;
* in case of congestion&lt;br /&gt;
&lt;br /&gt;
===== ussd.update =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This message is used for transmitting USSD messages during a USSD session. This type of message will be used after the initial stage of creating the session through ''ussd.execute'' has succeeded.&lt;br /&gt;
&lt;br /&gt;
When receiving this message:&lt;br /&gt;
* the ''ussd_map'' module will generate a TCAP CONTINUE message &lt;br /&gt;
* the ''ysmpp'' module will generate a SMPP ''deliver_sm'' if it acts as a server (as in the case of the USSD GW) or ''submit_sm'' if it acts as a SMPP client.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
* id:&lt;br /&gt;
** type: string&lt;br /&gt;
** USSD session identifier of the sending side of the message&lt;br /&gt;
* peerid:&lt;br /&gt;
** type: string&lt;br /&gt;
** USSD session identifier for the module that should process this message&lt;br /&gt;
* operation_type:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** The type of operation that fired this message. &lt;br /&gt;
* text_encoding:&lt;br /&gt;
** type: hexified string&lt;br /&gt;
** The MAP USSD data coding scheme&lt;br /&gt;
* text_encoded:&lt;br /&gt;
** type: hexified string&lt;br /&gt;
** The encoded USSD string&lt;br /&gt;
* text:&lt;br /&gt;
** type: string&lt;br /&gt;
** The decoded USSD string conforming to the USSD data coding scheme.&lt;br /&gt;
* error:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** Error received from one the USSD session endpoints. It might be a MAP error when HLR/gsmSCF/ failed to process a request or SMPP error when the SMPP client failed to process a request.&lt;br /&gt;
&lt;br /&gt;
Returned parameters:&lt;br /&gt;
* error:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** Error code if this message failed to be processed.&lt;br /&gt;
&lt;br /&gt;
Points of failure:&lt;br /&gt;
* The USSD session specified by peerid parameter cannot be found by the processing side.&lt;br /&gt;
* Processing of this message will be refused if it is received after a ''ussd.finalize'' message.&lt;br /&gt;
* Processing of this message will return an error if there are mandatory parameters missing of if the parameters specify a values not allowed in the context of the USSD session (e.g., sending a ''processUnstructuredSS-Request inside a ''ussd.update'' message)&lt;br /&gt;
&lt;br /&gt;
===== ussd.finalize =====&lt;br /&gt;
&lt;br /&gt;
This message is used to signal the termination of the USSD session. Successful processing of this message means that the USSD session was terminated and is no longer available. &lt;br /&gt;
&lt;br /&gt;
When receiving this message:&lt;br /&gt;
* the ''ussd_map'' module will generate a TCAP END/ABORT message depending upon the parameters received. A message containing an error that does not map to a MAP error will generate a TCAP ABORT.&lt;br /&gt;
* the ''ysmpp'' module will generate a SMPP ''deliver_sm'' if it acts as a server (as in the case of the USSD GW) or ''submit_sm'' if it acts as a SMPP client, a message that will usually contain a last message indication.&lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
* id:&lt;br /&gt;
** type: string&lt;br /&gt;
** USSD session identifier of the sending side of the message&lt;br /&gt;
* peerid:&lt;br /&gt;
** type: string&lt;br /&gt;
** USSD session identifier for the module that should process this message&lt;br /&gt;
* operation_type:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** The type of operation that fired this message. &lt;br /&gt;
* text_encoding:&lt;br /&gt;
** type: hexified string&lt;br /&gt;
** The MAP USSD data coding scheme&lt;br /&gt;
* text_encoded:&lt;br /&gt;
** type: hexified string&lt;br /&gt;
** The encoded USSD string&lt;br /&gt;
* text:&lt;br /&gt;
** type: string&lt;br /&gt;
** The decoded USSD string conforming to the USSD data coding scheme.&lt;br /&gt;
* error:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** Error received from one the USSD session endpoints. It might be a MAP error when HLR/gsmSCF/ failed to process a request or SMPP error when the SMPP client failed to process a request.&lt;br /&gt;
&lt;br /&gt;
Returned parameters:&lt;br /&gt;
* error:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** Error code if this message failed to be processed.&lt;br /&gt;
&lt;br /&gt;
Points of failure:&lt;br /&gt;
* The USSD session specified by 'peerid parameter cannot be found by the processing side.&lt;br /&gt;
* Processing of this message will return an error if there are mandatory parameters missing of if the parameters specify a value not allowed in the context of the USSD session&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Keyword values =====&lt;br /&gt;
&lt;br /&gt;
This section details acceptable values for parameters listed as having type ''keyword''.&lt;br /&gt;
&lt;br /&gt;
* '''hlr.nature/vlr.nature/gsmscf.nature/destination_reference.nature'''&lt;br /&gt;
** unknown&lt;br /&gt;
** international&lt;br /&gt;
** national&lt;br /&gt;
** network-specific&lt;br /&gt;
** subscriber&lt;br /&gt;
** abbreviated&lt;br /&gt;
&lt;br /&gt;
* '''hlr.plan/vlr.plan/gsmscf.plan/destination_reference.plan'''&lt;br /&gt;
** unknown&lt;br /&gt;
** isdn&lt;br /&gt;
** data&lt;br /&gt;
** telex&lt;br /&gt;
** land-mobile&lt;br /&gt;
** national&lt;br /&gt;
** private&lt;br /&gt;
&lt;br /&gt;
* '''operation_type'''&lt;br /&gt;
** pssd: mapping of MAP v1 USSD operation ''processUnstructuredSS-Data'' and of SMPP operation ''PSSD''. &lt;br /&gt;
** pssr: mapping of MAP v2 USSD operation ''processUnstructuredSS-Request'' and of SMPP operation ''PSSR''.&lt;br /&gt;
** ussr: mapping of MAP v2 USSD operation ''unstructuredSS-Request'' and of SMPP operation ''USSR&amp;quot;.&lt;br /&gt;
** ussn: mapping of MAP v2 USSD operation ''unstructuredSS-Notify'' and of SMPP operation ''USSN''.&lt;br /&gt;
&lt;br /&gt;
* '''error'''&lt;br /&gt;
** invalid_logic:  error reported when required processing does not follow USSD rules (e.g., MT request starting with ''processUnstructuredSS-Requests'')&lt;br /&gt;
** system_failure: error mapping for MAP error ''systemFailure''.&lt;br /&gt;
** data_missing: error mapping for  MAP error ''dataMissing''.&lt;br /&gt;
** unexpected_data: error mapping for MAP error ''unexpectedDataValue''.&lt;br /&gt;
** unknown_alphabet: error mapping for MAP error ''unknownAlphabet''.&lt;br /&gt;
** absent_subscriber: error mapping for MAP error ''absentSubscriber''.&lt;br /&gt;
** illegal_subscriber: error mapping for MAP error ''illegalSubscriber''.&lt;br /&gt;
** illegal_equipment: error mapping for MAP error ''illegalEquipment''.&lt;br /&gt;
** ussd_busy: error mapping for MAP error ''ussd-Busy''.&lt;br /&gt;
** call_barred: error mapping for MAP error ''callBarred''.&lt;br /&gt;
** network_failure: error signaling message transmission failure due to  connectivity issues either on the SS7 side or SMPP side.&lt;br /&gt;
** timeout_expired: error signaling a  request timeout occurrence.&lt;br /&gt;
** ussd_sess_end_abnormally: error signaling USSD session termination due to an unknown cause. Mapping for this error implies a TCAP Abort either being generated of received. &lt;br /&gt;
** unknown_error: error specified when there is no available mapping for an errror from SMPP to MAP or vice versa.&lt;br /&gt;
** throttling_error: error signaling that a message failed to be processed due to processing side being in congestion state.&lt;br /&gt;
** protocol_error: SMPP generic error. This error is put whenever there is a SMPP specific error that cannot be mapped into one of the other errors.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== SMPP custom parameters ====&lt;br /&gt;
&lt;br /&gt;
* 1502 =&amp;gt; IMSI;&lt;br /&gt;
* 1503 =&amp;gt; VLR Type of Number;&lt;br /&gt;
* 1504 =&amp;gt; VLR Numbering Plan Indicator;&lt;br /&gt;
* 1505 =&amp;gt; VLR address;&lt;br /&gt;
* 1506 =&amp;gt; GSM SCF Type of Number;&lt;br /&gt;
* 1507 =&amp;gt; GSM SCF Numbering Plan Indicator;&lt;br /&gt;
* 1508 =&amp;gt; GSM_SCF address;&lt;br /&gt;
* 1509 =&amp;gt; Destination Reference Type of Number;&lt;br /&gt;
* 150a =&amp;gt; Destination Reference Numbering Plan Indicator;&lt;br /&gt;
* 150b =&amp;gt; Destination Reference;&lt;br /&gt;
* 150c =&amp;gt; MSISDN&lt;br /&gt;
* 150d =&amp;gt; Alerting Pattern&lt;br /&gt;
* 1800 =&amp;gt; HLR Type of Number;&lt;br /&gt;
* 1801 =&amp;gt; HLR Numbering Plan Indicator;&lt;br /&gt;
* 1802 =&amp;gt; HLR address.&lt;br /&gt;
&lt;br /&gt;
=== Configuration ===&lt;br /&gt;
&lt;br /&gt;
==== ysigchan module ====&lt;br /&gt;
&lt;br /&gt;
In order to have MAP connectivity, TCAP instances must be configured in ''ysigchan.conf'': &lt;br /&gt;
&lt;br /&gt;
 ; Example of a SS7 Transaction Capabilities Application Part&lt;br /&gt;
 ; This component is created when encountering a section of this kind&lt;br /&gt;
 ;[ss7tcap]&lt;br /&gt;
 ; type: keyword: identifies the component as a SS7 Transfer Capabilities Application Part&lt;br /&gt;
 ; type = ss7-tcap-ansi for ANSI TCAP&lt;br /&gt;
 ; type = ss7-tcap-itu for ITU TCAP&lt;br /&gt;
 ;type=&lt;br /&gt;
 &lt;br /&gt;
 ; local_SSN: local SubSystem Number. Mandatory&lt;br /&gt;
 ;local_SSN=&lt;br /&gt;
 &lt;br /&gt;
 ; default_remote_SSN: remote SubSystem Number to provide to SCCP if the application does not provide one&lt;br /&gt;
 ;default_remote_SSN=&lt;br /&gt;
  &lt;br /&gt;
 ; default_remote_pointcode: remote Point Code to provide to SCCP if the application does not provide one&lt;br /&gt;
 ;default_remote_pointcode=&lt;br /&gt;
 &lt;br /&gt;
 ; pointcodetype: remote Point Code type. See above documentation for available types&lt;br /&gt;
 ;pointcodetype=&lt;br /&gt;
 &lt;br /&gt;
 ; sccp: Name of the SCCP component to create and be used by this TCAP&lt;br /&gt;
 ; A section with the name given here must exist in order to configure the SCCP level&lt;br /&gt;
 ;sccp=&lt;br /&gt;
 &lt;br /&gt;
 ; default_hopcounter: HopCounter provided to SCCP if the application does not provide one&lt;br /&gt;
 ; Values range 1-15, 0 or boolean false disables, boolean true sets to 15&lt;br /&gt;
 ; A non-zero value will force using XUDT or LUDT instead of UDT messages&lt;br /&gt;
 ;default_hopcounter=false&lt;br /&gt;
 &lt;br /&gt;
 ; transact_timeout: Time in seconds to timeout a TCAP transaction after no more activity was registered on it&lt;br /&gt;
 ; NOTE: Values below 15 seconds will be ignored and the timer will assume the default value.&lt;br /&gt;
 ; Defaults to 300 seconds&lt;br /&gt;
 ;transact_timeout=300&lt;br /&gt;
 &lt;br /&gt;
 ; max_timeout_checks: integer: Maximum number of timeout checks done on a transaction without starting the transaction&lt;br /&gt;
 ;  timer before forcefully starting the transaction timer&lt;br /&gt;
 ; Defaults to 10&lt;br /&gt;
 ;max_timeout_checks=10 &lt;br /&gt;
 &lt;br /&gt;
 ; timeout_check: Time interval in milliseconds to check for timeouts.&lt;br /&gt;
 ; Default to 100 ms&lt;br /&gt;
 ;timeout_check=100 &lt;br /&gt;
 &lt;br /&gt;
 ; floodevents: int: How many queued incoming TCAP messages trigger a congestion warning and the drop mechanism&lt;br /&gt;
 ;  for Unidirectional/Begin/QueryWithPermission/QueryWithoutPermission messages.&lt;br /&gt;
 ;  Exit from congestion will take place when there are less the floodevents/4 messages in the queue&lt;br /&gt;
 ; NOTE! Setting this parameter to 0 will disable the congestion warning and protection. Setting it to one will &lt;br /&gt;
 ;  be overriden and floodevents will be set to 2.&lt;br /&gt;
 ;floodevents=1000&lt;br /&gt;
 &lt;br /&gt;
 ;print-messages: Boolean to enable/disable printing of decoding/encoding of TCAP messages&lt;br /&gt;
 ; This option applies on reload&lt;br /&gt;
 ;print-messages=false&lt;br /&gt;
 &lt;br /&gt;
 ;extended-debug: Boolean to enable/disable printing of the step-by-step decoding/encoding of TCAP messages&lt;br /&gt;
 ; This option applies on reload. print-messages must be true.&lt;br /&gt;
 ;extended-debug=false&lt;br /&gt;
 &lt;br /&gt;
 ;track_id: string: Shared engine variable name used by this TCAP to obtain a unique tracking ID&lt;br /&gt;
 ; If not set, TCAP transaction will not have a tracking ID&lt;br /&gt;
 ;track_id=&lt;br /&gt;
 &lt;br /&gt;
 ;track_id_base: string: Optional string with which to prefix the tracking ID&lt;br /&gt;
 ; This setting has no effect if track_id is not set&lt;br /&gt;
 ;track_id_base=&lt;br /&gt;
 &lt;br /&gt;
 ; hash_list_size: integer: Size of HashList used for keeping the list of current transactions&lt;br /&gt;
 ;hash_list_size=17&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Configuration Example'''&lt;br /&gt;
&lt;br /&gt;
 [tcap-scf]                                                                                                                                   &lt;br /&gt;
 ;enable=no                                                                                                                                   &lt;br /&gt;
 type=ss7-tcap-itu                                                                                                                            &lt;br /&gt;
 sccp=sccp                                                                                                                                    &lt;br /&gt;
 local_SSN=147                                                                                                                                &lt;br /&gt;
 pointcodetype=ITU                                                                                                                           &lt;br /&gt;
 print-messages=false                                                                                                                         &lt;br /&gt;
 extended-debug=false                                                                                                                         &lt;br /&gt;
 transact_timeout=600                                                                                                                         &lt;br /&gt;
 floodevents=1000                                                                                                                             &lt;br /&gt;
 track_id=ussdgw                                                                                                                              &lt;br /&gt;
 track_id_base=ussdgw/                                                                                                                        &lt;br /&gt;
                                                                                                                                             &lt;br /&gt;
 [tcap-hlr]                                                                                                                                   &lt;br /&gt;
 ;enable=no                                                                                                                                   &lt;br /&gt;
 type=ss7-tcap-itu                                                                                                                            &lt;br /&gt;
 sccp=sccp                                                                                                                                    &lt;br /&gt;
 local_SSN=7                                                                                                                                  &lt;br /&gt;
 pointcodetype=ITU                                                                                                                           &lt;br /&gt;
 print-messages=false                                                                                                                         &lt;br /&gt;
 extended-debug=false                                                                                                                         &lt;br /&gt;
 transact_timeout=600                                                                                                                         &lt;br /&gt;
 track_id=ussdgw                                                                                                                              &lt;br /&gt;
 track_id_base=ussdgw/  &lt;br /&gt;
&lt;br /&gt;
Further configuration for SS7 connectivity is required (SCCP, MTP3, etc.).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== camel_map module ====&lt;br /&gt;
&lt;br /&gt;
In order to allow communication over MAP through SS7, sections configurating application should exist for each role of the ussd_map module (gsmSCF/HLR). A ''camel_map.conf'' section configuring an application looks like this:&lt;br /&gt;
&lt;br /&gt;
 ;[local appName]&lt;br /&gt;
 ; This section configures a local application which transmits the XML messages as internal Yate messages&lt;br /&gt;
 &lt;br /&gt;
 ; translator: string: name of translator to be used by this application.&lt;br /&gt;
 ; Must be one one the [tcap ...] sections configured in the camel_map.conf file.&lt;br /&gt;
 ;translator=&lt;br /&gt;
  &lt;br /&gt;
 ; capabilities: string: List of capabilities separated by commas which this application supports&lt;br /&gt;
 ;capabilities=&lt;br /&gt;
  &lt;br /&gt;
 ; export_xml_as: string: Specify in which way the XML will be passed along into a Yate message&lt;br /&gt;
 ; Allowed values are:&lt;br /&gt;
 ;  - string: pass the XML as a string&lt;br /&gt;
 ;  - object: pass the XML as an object&lt;br /&gt;
 ;  - both: pass the XML as a string and object&lt;br /&gt;
 ;export_xml_as=object&lt;br /&gt;
  &lt;br /&gt;
 ; enable: bool: Enable this application&lt;br /&gt;
 ;enable=yes&lt;br /&gt;
&lt;br /&gt;
The translator setting refers to a section of the type defined below which configures atachement to a TCAP instance&lt;br /&gt;
&lt;br /&gt;
 ;[tcap map]&lt;br /&gt;
 ; This section configures a TCAP User MAP/CAMEL protocol translator&lt;br /&gt;
 &lt;br /&gt;
 ; enable: bool: Enable this translator&lt;br /&gt;
 ;enable=yes&lt;br /&gt;
 &lt;br /&gt;
 ; type: string: Type of TCAP User &lt;br /&gt;
 ; Allowed values are MAP or CAMEL&lt;br /&gt;
 ;type=MAP&lt;br /&gt;
 &lt;br /&gt;
 ; host: IP address: Address on which the TCP listener should bind on for XML communication&lt;br /&gt;
 ;host=127.0.0.1 &lt;br /&gt;
 &lt;br /&gt;
 ; port: integer: Port on which the TCP listener should bind on for XML communication&lt;br /&gt;
 ; Note: setting port to 0 will disable the listener, so it will not accept TCP applications&lt;br /&gt;
 ;port=5555&lt;br /&gt;
 &lt;br /&gt;
 ; tcap: string: Name of TCAP to which this TCAP user should attach itself to for the SS7 communication&lt;br /&gt;
 ;tcap=&lt;br /&gt;
 &lt;br /&gt;
 ; add-encoding: bool: Always add encoding attribute to XML elements for decoded parameters&lt;br /&gt;
 ;add-encoding=default from [general]&lt;br /&gt;
 &lt;br /&gt;
 ; add-timestamp: bool: Add to XML timestamps used for estimating application latency&lt;br /&gt;
 ;add-timestamp=default from [general] &lt;br /&gt;
 &lt;br /&gt;
 ; print-messages: bool: Debug option to print TCAP and XML messages. This option is applicable on reload.&lt;br /&gt;
 ;print-messages=false&lt;br /&gt;
 &lt;br /&gt;
 ; ussd-string: string: Specifies what the ussd-String parameter will contain as data&lt;br /&gt;
 ; Allowed values are:&lt;br /&gt;
 ;  - octets: ussd-String will contain the octets as they were received&lt;br /&gt;
 ;  - text: ussd-String will contain the GSM7Bit decoded text&lt;br /&gt;
 ; This can be overriden in application sections&lt;br /&gt;
 ;ussd-string=text&lt;br /&gt;
 &lt;br /&gt;
 ; ussd-decode: string: Specifies what ussd-String parameters should be decoded into text&lt;br /&gt;
 ; Allowed values are:&lt;br /&gt;
 ;  - none: ussd-String parameters will never be decoded into text&lt;br /&gt;
 ;  - first: ussd-String in a TCAP Begin message will be decoded into text&lt;br /&gt;
 ;  - all: all ussd-String parameters will be decoded into text&lt;br /&gt;
 ; This can be overriden in application sections&lt;br /&gt;
 ;ussd-decode=all&lt;br /&gt;
 &lt;br /&gt;
 ; hash_list_size: integer: Size of HashList used for mapping of TCAP transactions to applications&lt;br /&gt;
 ;hash_list_size=17&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For load sharing (especially in cases of high loads), you can configure multiple applications using the same translator.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Configuration Example'''&lt;br /&gt;
&lt;br /&gt;
The example below configures 2 applications acting as a gsmSCF, each one attached to the TCAP instance with gsmSCF SSN, and 2 applications as HLR, each one attached to the TCAP instance with HLR SSN 6:&lt;br /&gt;
&lt;br /&gt;
 [tcap scf]                                                                                                                                   &lt;br /&gt;
 ;enable=no                                                                                                                                   &lt;br /&gt;
 tcap=tcap-scf                                                                                                                                &lt;br /&gt;
 host=0.0.0.0                                                                                                                                 &lt;br /&gt;
 port=0                                                                                                                                       &lt;br /&gt;
 type=MAP                                                                                                                                     &lt;br /&gt;
 print-messages=false                                                                                                                         &lt;br /&gt;
 add-encoding=false                                                                                                                           &lt;br /&gt;
                                                                                                                                             &lt;br /&gt;
 [tcap hlr]                                                                                                                                   &lt;br /&gt;
 ;enable=no                                                                                                                                   &lt;br /&gt;
 tcap=tcap-hlr                                                                                                                                &lt;br /&gt;
 host=0.0.0.0                                                                                                                                 &lt;br /&gt;
 port=0                                                                                                                                       &lt;br /&gt;
 type=MAP                                                                                                                                     &lt;br /&gt;
 print-messages=false                                                                                                                         &lt;br /&gt;
 add-encoding=false   &lt;br /&gt;
 &lt;br /&gt;
 [local ussdSCF1]                                                                                                                             &lt;br /&gt;
 translator=scf                                                                                                                               &lt;br /&gt;
 capabilities=USSD                                                                                                                            &lt;br /&gt;
 export_xml_as=object                                                                                                                         &lt;br /&gt;
 ussd-string=octets                                                                                                                           &lt;br /&gt;
 ussd-decode=first                                                                                                                            &lt;br /&gt;
                                                                                                                                             &lt;br /&gt;
 [local ussdSCF2]                                                                                                                             &lt;br /&gt;
 translator=scf                                                                                                                               &lt;br /&gt;
 capabilities=USSD                                                                                                                            &lt;br /&gt;
 export_xml_as=object                                                                                                                         &lt;br /&gt;
 ussd-string=octets                                                                                                                           &lt;br /&gt;
 ussd-decode=first               &lt;br /&gt;
 &lt;br /&gt;
 [local ussdHLR1]&lt;br /&gt;
 translator=hlr                                                                                                                               &lt;br /&gt;
 capabilities=USSD                                                                                                                            &lt;br /&gt;
 export_xml_as=object                                                                                                                         &lt;br /&gt;
 ussd-string=octets                                                                                                                           &lt;br /&gt;
 ussd-decode=first                                                                                                                            &lt;br /&gt;
 &lt;br /&gt;
 [local ussdHLR2]                                                                                                                             &lt;br /&gt;
 translator=hlr                                                                                                                               &lt;br /&gt;
 capabilities=USSD                                                                                                                            &lt;br /&gt;
 export_xml_as=object                                                                                                                         &lt;br /&gt;
 ussd-string=octets                                                                                                                           &lt;br /&gt;
 ussd-decode=first&lt;br /&gt;
&lt;br /&gt;
==== ussd_map module ====&lt;br /&gt;
&lt;br /&gt;
The module is configured through ''ussd_map.conf''. The configuration file sets timeout parameters and processing threads parameters in the ''general'' section:&lt;br /&gt;
&lt;br /&gt;
 [general]&lt;br /&gt;
 &lt;br /&gt;
 ; hash_list_size: integer: Size of HashList for keeping dialogs&lt;br /&gt;
 ;hash_list_size=17&lt;br /&gt;
 &lt;br /&gt;
 ; component_ttl: integer: Component time to live in milliseconds&lt;br /&gt;
 ; Minimum allowed value is 1000&lt;br /&gt;
 ; Defaults to 600000 (10 minutes)&lt;br /&gt;
 ;component_ttl=600000&lt;br /&gt;
 &lt;br /&gt;
 ; dialog_idle_ttl: integer: Dialog idle (nothing sent/received) time to live in milliseconds&lt;br /&gt;
 ; Minimum allowed value is 1000&lt;br /&gt;
 ; It can be set to 0 to keep it alive until the remote party terminates the dialog&lt;br /&gt;
 ; Defaults to 86400000 (1 day)&lt;br /&gt;
 ;dialog_idle_ttl=86400000&lt;br /&gt;
&lt;br /&gt;
 ; dialog_ended_ttl: integer: Ended dialog time to live in milliseconds&lt;br /&gt;
 ; Minimum allowed value is 1000.&lt;br /&gt;
 ; It can be set to 0 to remove the dialog after termination&lt;br /&gt;
 ; Defaults to 0&lt;br /&gt;
 ;dialog_ended_ttl=0&lt;br /&gt;
 &lt;br /&gt;
 ; dispatcher_maxthreads: integer: Maximum number of message dispatch threads to use&lt;br /&gt;
 ; Minimum value is 1 for use of dispatching threads.&lt;br /&gt;
 ; NOTE: if the value is set to 0, the module will enqueue the messages into YATE's engine.&lt;br /&gt;
 ;dispatcher_maxthreads=0&lt;br /&gt;
&lt;br /&gt;
 ; dispatcher_minthreads: integer: Minimum number of message dispatch threads to use&lt;br /&gt;
 ; Minimum value is 1 for use of dispatching threads.&lt;br /&gt;
 ;dispatcher_minthreads=1&lt;br /&gt;
&lt;br /&gt;
 ;dispatcher_priority: string: Default priority of message dispatch threads&lt;br /&gt;
 ;dispatcher_priority=normal&lt;br /&gt;
&lt;br /&gt;
 ; floodevents: integer: Threshold for signaling congestion when the number of messages waiting to be dispatched exceeds it.&lt;br /&gt;
 ; When entering congestion, all new MAP dialogs and USSD sessions will be refused.&lt;br /&gt;
 ; 0 disables the mechanism&lt;br /&gt;
 ;floodevents=0&lt;br /&gt;
&lt;br /&gt;
 ; congestion_exit_factor: double: Factor used to calculate the exit congestion threshold&lt;br /&gt;
 ; NOTE: if the factor results in a exit congestion threshold of 0 or greater than floodevents, &lt;br /&gt;
 ; the setting will be overriden and the exit congestion threshold will be set to 1.&lt;br /&gt;
 ;congestion_exit_factor=0.5&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Timeout settings should be correlated with timeout settings in TCAP and SMPP, each having its own timeout mechanism.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Gateway applications which do the MAP &amp;lt;-&amp;gt; USSD translation are configured through section like the one below:&lt;br /&gt;
&lt;br /&gt;
 [appName]&lt;br /&gt;
 ; section name is the name of the camel_map application, it must correspond to a [local appName] section in camel_map &lt;br /&gt;
&lt;br /&gt;
 ; enable: boolean: Enable this application&lt;br /&gt;
 ; Defaults to yes&lt;br /&gt;
 ;enable=yes&lt;br /&gt;
 &lt;br /&gt;
 ; type: string: Type of MAP &amp;lt;-&amp;gt; USSD translator: &lt;br /&gt;
 ;  - SCF means that is the part that receives new dialogs from the HLR (user initiated USSD)&lt;br /&gt;
 ;  - HLR is the part that receives new dialogs from gsmSCF (network initiated USSD)&lt;br /&gt;
 ; This setting cannot be changed on reload.&lt;br /&gt;
 ;type=&lt;br /&gt;
 &lt;br /&gt;
 ; export_xml_as: string: Specify in which way the XML will be passed along into &lt;br /&gt;
 ;export_xml_as=object&lt;br /&gt;
  &lt;br /&gt;
 ; print_msg: boolean: Print sent/received messages to output&lt;br /&gt;
 ;print_msg=no&lt;br /&gt;
  &lt;br /&gt;
 ; print_xml: boolean: Print sent/received XML data to output&lt;br /&gt;
 ;print_xml=no&lt;br /&gt;
 &lt;br /&gt;
 ; local_addr. : prefix: Parameters prefixed with this set the local SCCP address of this application &lt;br /&gt;
 ; Meaningful values are:&lt;br /&gt;
 ; local_addr.CallingPartyAddress.route=&lt;br /&gt;
 ; local_addr.CallingPartyAddress.ssn=&lt;br /&gt;
 ; local_addr.CallingPartyAddress.pointcode=&lt;br /&gt;
 ; local_addr.CallingPartyAddress.gt=&lt;br /&gt;
 ; local_addr.CallingPartyAddress.gt.nature=&lt;br /&gt;
 ; local_addr.CallingPartyAddress.gt.plan=&lt;br /&gt;
 ; local_addr.CallingPartyAddress.gt.translation=&lt;br /&gt;
 ; local_addr.CallingPartyAddress.gt.encoding= &lt;br /&gt;
 &lt;br /&gt;
 ; default_routing: bool : Do routing to default address for all messages&lt;br /&gt;
 ; default_routing=no&lt;br /&gt;
 &lt;br /&gt;
 ; default_addr. : prefix: parameters prefixed with this will be used as the default SCCP called address&lt;br /&gt;
 ; Meaningful values are:&lt;br /&gt;
 ; default_addr.application=&lt;br /&gt;
 ; default_addr.CalledPartyAddress.route=&lt;br /&gt;
 ; default_addr.CalledPartyAddress.ssn=&lt;br /&gt;
 ; default_addr.CalledPartyAddress.pointcode=&lt;br /&gt;
 ; default_addr.CalledPartyAddress.gt=&lt;br /&gt;
 ; default_addr.CalledPartyAddress.gt.nature=&lt;br /&gt;
 ; default_addr.CalledPartyAddress.gt.translation=&lt;br /&gt;
 ; default_addr.CalledPartyAddress.gt.encoding=&lt;br /&gt;
 &lt;br /&gt;
 ; hlr_ssn: integer: The SSN expected in the calling address from a HLR.&lt;br /&gt;
 ; This setting has significance only for SCF type applications&lt;br /&gt;
 ;hlr_ssn=6&lt;br /&gt;
 &lt;br /&gt;
 ; vlr_ssn: integer: The SSN expected in the calling address from a VLR.&lt;br /&gt;
 ; This setting has significance only for SCF type applications&lt;br /&gt;
 ;vlr_ssn=7&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Each section should have its own equivalent in ''camel_map.conf''.&lt;br /&gt;
In the USSD GW scenario, at least tho applications are needed, one acting as SCF, one as HLR. For load sharing multiple gsmSCF and HLR applications can be configured (see the configuration example below).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Configuration Example'''&lt;br /&gt;
&lt;br /&gt;
The example below configures 2 gsmSCF applications and 2 HLR applications, each one corresponding with a application section in the ''camel_map.conf'' example:&lt;br /&gt;
&lt;br /&gt;
 [general]                                                                                                                                    &lt;br /&gt;
                                                                                                                                             &lt;br /&gt;
 component_ttl=600000                                                                                                                         &lt;br /&gt;
 dialog_ended_ttl=0                                                                                                                           &lt;br /&gt;
 dispatcher_maxthreads=10                                                                                                                     &lt;br /&gt;
 dispatcher_minthreads=5                                                                                                                      &lt;br /&gt;
 ;dispatcher_priority=normal                                                                                                                  &lt;br /&gt;
 floodevents=1000                                                                                                                             &lt;br /&gt;
                                                                                                                                              &lt;br /&gt;
 [ussdSCF1]                                                                                                                                   &lt;br /&gt;
 ;enable=no                                                                                                                                   &lt;br /&gt;
 type=SCF                                                                                                                                     &lt;br /&gt;
 export_xml_as=object                                                                                                                         &lt;br /&gt;
 print_msg=no                                                                                                                                 &lt;br /&gt;
 print_xml=no                                                                                                                                 &lt;br /&gt;
                                                                                                                                             &lt;br /&gt;
 local_addr.CallingPartyAddress.route=gt                                                                                                      &lt;br /&gt;
 local_addr.CallingPartyAddress.gt=8828723                                                                                                    &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.nature=international                                                                                       &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.plan=isdn                                                                                                  &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.translation=0                                                                                              &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.encoding=bcd                                                                                               &lt;br /&gt;
                                                                                                                                             &lt;br /&gt;
 default_routing=no                                                                                                                           &lt;br /&gt;
 default_addr.application=ussdHLR                                                                                                              &lt;br /&gt;
 default_addr.CalledPartyAddress.route=gt                                                                                                     &lt;br /&gt;
 default_addr.CalledPartyAddress.gt=8820723                                                                                                   &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.nature=international                                                                                      &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.plan=isdn                                                                                                 &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.translation=0                                                                                             &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.encoding=bcd &lt;br /&gt;
&lt;br /&gt;
 [ussdSCF2]                                                                                                                                   &lt;br /&gt;
 ;enable=no                                                                                                                                   &lt;br /&gt;
 type=SCF                                                                                                                                     &lt;br /&gt;
 export_xml_as=object                                                                                                                         &lt;br /&gt;
 print_msg=no                                                                                                                                 &lt;br /&gt;
 print_xml=no                                                                                                                                 &lt;br /&gt;
                                                                                                                                             &lt;br /&gt;
 local_addr.CallingPartyAddress.route=gt                                                                                                      &lt;br /&gt;
 local_addr.CallingPartyAddress.gt=8828723                                                                                                    &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.nature=international                                                                                       &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.plan=isdn                                                                                                  &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.translation=0                                                                                              &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.encoding=bcd                                                                                               &lt;br /&gt;
                                                                                                                                             &lt;br /&gt;
 default_routing=no                                                                                                                           &lt;br /&gt;
 default_addr.application=ussdHLR                                                                                                              &lt;br /&gt;
 default_addr.CalledPartyAddress.route=gt                                                                                                     &lt;br /&gt;
 default_addr.CalledPartyAddress.gt=8820723                                                                                                   &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.nature=international                                                                                      &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.plan=isdn                                                                                                 &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.translation=0                                                                                             &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.encoding=bcd &lt;br /&gt;
 &lt;br /&gt;
 [ussdHLR1]                                                                                                                                   &lt;br /&gt;
 ;enable=no                                                                                                                                   &lt;br /&gt;
 type=HLR                                                                                                                                     &lt;br /&gt;
 print_msg=no                                                                                                                                 &lt;br /&gt;
 print_xml=no                                                                                                                                 &lt;br /&gt;
 export_xml_as=object                                                                                                                         &lt;br /&gt;
                                                                                                                         &lt;br /&gt;
 local_addr.CallingPartyAddress.route=gt                                                                                                      &lt;br /&gt;
 local_addr.CallingPartyAddress.gt=8828723                                                                                                    &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.nature=international                                                                                       &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.plan=isdn                                                                                                  &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.translation=0                                                                                              &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.encoding=bcd                                                                                               &lt;br /&gt;
                                                                                                                                             &lt;br /&gt;
 default_routing=no                                                                                                                           &lt;br /&gt;
 default_addr.application=ussdSCF                                                                                                             &lt;br /&gt;
 default_addr.CalledPartyAddress.route=gt                                                                                                     &lt;br /&gt;
 default_addr.CalledPartyAddress.gt=8820457                                                                                                   &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.nature=international                                                                                      &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.plan=isdn                                                                                                 &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.translation=0                                                                                             &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.encoding=bcd                                                                                              &lt;br /&gt;
                                                   &lt;br /&gt;
 [ussdHLR2]                                                                                                                                   &lt;br /&gt;
 ;enable=no                                                                                                                                   &lt;br /&gt;
 type=HLR                                                                                                                                     &lt;br /&gt;
 print_msg=no                                                                                                                                 &lt;br /&gt;
 print_xml=no                                                                                                                                 &lt;br /&gt;
 export_xml_as=object                                                                                                                         &lt;br /&gt;
                                                                                                                                             &lt;br /&gt;
 local_addr.CallingPartyAddress.route=gt                                                                                                      &lt;br /&gt;
 local_addr.CallingPartyAddress.gt=8828723                                                                                                    &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.nature=international                                                                                       &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.plan=isdn                                                                                                  &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.translation=0                                                                                              &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.encoding=bcd                                                                                               &lt;br /&gt;
                                                                                                                                              &lt;br /&gt;
 default_routing=no                                                                                                                           &lt;br /&gt;
 default_addr.application=ussdSCF                                                                                                             &lt;br /&gt;
 default_addr.CalledPartyAddress.route=gt                                                                                                     &lt;br /&gt;
 default_addr.CalledPartyAddress.gt=8820457                                                                                                   &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.nature=international                                                                                      &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.plan=isdn                                                                                                 &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.translation=0                                                                                             &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.encoding=bcd&lt;br /&gt;
&lt;br /&gt;
==== ysmpp module ====&lt;br /&gt;
&lt;br /&gt;
TODO - configuration explanations&lt;br /&gt;
&lt;br /&gt;
'''Configuration Example''''&lt;br /&gt;
&lt;br /&gt;
 [general]                                                                                                                                    &lt;br /&gt;
 server=smpp-server                                                                                                                           &lt;br /&gt;
 track_id=ussdgw                                                                                                                              &lt;br /&gt;
 track_id_base=ussdgw/                                                                                                                        &lt;br /&gt;
                                                                                                                                              &lt;br /&gt;
 [smpp-server]                                                                                                                                &lt;br /&gt;
 enable=true                                                                                                                                  &lt;br /&gt;
 session_responseinterval=600000                                                                                                              &lt;br /&gt;
 sessionset_process_max=1                                                                                                                     &lt;br /&gt;
 codec_warndefaults=false                                                                                                                     &lt;br /&gt;
 print-messages=no                                                                                                                            &lt;br /&gt;
                                                                                                                                            &lt;br /&gt;
 [listenerserver server]                                                                                                                      &lt;br /&gt;
 ;enable=yes                                                                                                                                  &lt;br /&gt;
 addr=0.0.0.0                                                                                                                                 &lt;br /&gt;
 port=12345    &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
=== Monitoring ===&lt;br /&gt;
&lt;br /&gt;
This section details comands through which the state of the USSD GW can be monitored.&lt;br /&gt;
&lt;br /&gt;
==== ussd_map module ====&lt;br /&gt;
&lt;br /&gt;
* '''Congestion state monitoring'''&lt;br /&gt;
&lt;br /&gt;
The ''ussd_map'' module will generate an alarm when entering/exiting a congestion state. If SNMP support is enabled, this will generate a trap on SNMP.&lt;br /&gt;
The congestion status is also reported in the ''state'' entry in the result of the module status command.&lt;br /&gt;
&lt;br /&gt;
* '''Module status'''&lt;br /&gt;
&lt;br /&gt;
The module reports its status through the following command in the YATE telnet console:&lt;br /&gt;
&lt;br /&gt;
 status ussd_map&lt;br /&gt;
&lt;br /&gt;
The command will print the following information:&lt;br /&gt;
&lt;br /&gt;
 workers=count_of_dispatching_threads,messages=count_msg,dialogs=count_of_dialogs,state=normal,count=count_of_applications;format=Type | CurrentDlgs| MAPCreated | UssdCreated |DefaultRouted | MAPSent | MapRecv | USSDSent | USSDRecv | MAPAbort | USSDAbort | BuiltAbort | MAPTimeouts | USSDTimeouts&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
* workers: current number of used dispatching threads from the maximum configured pool (e.g., 3/10 means 3 threads are used of a pool of 10)&lt;br /&gt;
* messages: count of messages waiting on the dispatching queue of the engine&lt;br /&gt;
* dialogs: total number of USSD sessions currently handled by all applications&lt;br /&gt;
* state of the engine: normal/congestion&lt;br /&gt;
* count: number of applications acting either as gsmSCF, either as HLR&lt;br /&gt;
* format: name of the application for which the following data is reported:&lt;br /&gt;
** Type: role of the application: SCF (communicates with real HLR), HLR (communicates with real gsmSCF)&lt;br /&gt;
** CurrentDlgs: number of current MAP dialogs handled by this application&lt;br /&gt;
** MAPCreated: number of sessions (dialogs) started by the MAP side&lt;br /&gt;
** UssdCreated: number of sessions (dialogs) started by the SMPP side&lt;br /&gt;
** DefaultRouted: number of dialogs for which failover took place&lt;br /&gt;
** MAPSent: number of MAP messages sent to gsmSCF/HLR. It doesn't count the ones sent via failover routing.&lt;br /&gt;
** MAPRecv: number of MAP messages received from gsmSCF/HLR&lt;br /&gt;
** USSDSent: number of sent ussd.execute/ussd.update/ussd.finalize messages towards the SMPP side.&lt;br /&gt;
** USSDRecv: number of received ussd.execute/ussd.update/usdd.notify messages from SMPP side.&lt;br /&gt;
** MAPAbort: number of dialog aborts generated by MAP side&lt;br /&gt;
** USSDAbort: number of dialog aborts generated by USSD side&lt;br /&gt;
** BuiltAbort: number of dialog aborts generated by the ussd_map module (e.g., not having a ussd.update message processed by anyone will cause ussd_map to generate session abort)&lt;br /&gt;
** MAPTimeouts: number of dialog timeouts generated by MAP side&lt;br /&gt;
** USSDTimeouts: number of timeouts reported by USSD side&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Module control commands'''&lt;br /&gt;
&lt;br /&gt;
The module offers the following control commands through the telnet console:&lt;br /&gt;
* ''control ussd_map appName print-msg [yes|no|verbose]'' : enable printing of received/sent map./ussd./messages.&lt;br /&gt;
* ''control ussd_map appName print-xml [yes|no|verbose]'' : enable printing of received/sent XMLs.&lt;br /&gt;
* ''control ussd_map appName export-xml-as [string|object|both]'' : change the way XML is set in the internal messages&lt;br /&gt;
* ''control ussd_map start_stats'' : begin gathering data for statistics&lt;br /&gt;
* ''control ussd_map stop_stats'' : stop gathering data for statistics&lt;br /&gt;
* ''control usdd_map stats'' : print statistic data per engine and each application in part. Data contains number of MAP messages handled per second, number of USSD messages handled per second, maximum number of current dialogs, number of timeouts and number of aborts.&lt;br /&gt;
&lt;br /&gt;
==== ysmpp module ====&lt;br /&gt;
&lt;br /&gt;
The ysmpp module provides the following options for status command:&lt;br /&gt;
&lt;br /&gt;
'NOTE' the module_name can take the following values: smppserver or smppclient.&lt;br /&gt;
&lt;br /&gt;
* status module_name listeners&lt;br /&gt;
Prints the module listeners status in format: Address|Status|Reason.&lt;br /&gt;
&lt;br /&gt;
* status module_name sessions&lt;br /&gt;
Prints the status of the sessions in format: Id|State|BindMode|SystemId|IpAddress:Port|Congested|Incoming Queue|Outgoing Queue;&lt;br /&gt;
&lt;br /&gt;
** Id: The ID of the SMPP session. Can be used for routing.&lt;br /&gt;
** State: The state of the SMPP session.&lt;br /&gt;
** BindMode: The mode in which the session was bound. (Send/Recv/SendRecv)&lt;br /&gt;
** SystemId: The id with which the session has been authenticated. Can be used in routing.&lt;br /&gt;
** IpAddress:Port: The Ip Address and port of the remote end of the session.&lt;br /&gt;
** Congested: True if this session is in congestion state.&lt;br /&gt;
** Incoming Queue: The number of messages not processed in the incoming queue.&lt;br /&gt;
** Outgoing Queue: The number of messages not processed in the outgoing queue.&lt;br /&gt;
&lt;br /&gt;
*status module_name ussd overview&lt;br /&gt;
Prints the stats of the USSD sessions in format: Total|Active|Average Duration|Total Sent|Total Received|AverageTrafficPerSecond|EndedWithErrors|CongestionRefused&lt;br /&gt;
&lt;br /&gt;
** Total: the number of USSD sessions created since the starting of the program.&lt;br /&gt;
** Active: the number of USSD sessions currently active.&lt;br /&gt;
** Average Duration: average duration of a ussd session.&lt;br /&gt;
** Total Sent: total number of SMPP messages sent for USSD sessions.&lt;br /&gt;
** Total Received: total number of SMPP messages received for USSD sessions.&lt;br /&gt;
** AverageTrafficPerSecond: average traffic per second for USSD sessions.&lt;br /&gt;
** EndedWithErrors: the number of USSD sessions that ended with error.&lt;br /&gt;
** CongestionRefused: the number of USSD sessions refused because the server was overloaded.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* Mobile Application Part (MAP) specification: ETSI TE 129 002&lt;/div&gt;</summary>
		<author><name>Andrei</name></author>	</entry>

	<entry>
		<id>https://ss7api.null.ro/index.php/USSD_GW</id>
		<title>USSD GW</title>
		<link rel="alternate" type="text/html" href="https://ss7api.null.ro/index.php/USSD_GW"/>
				<updated>2014-01-15T13:37:39Z</updated>
		
		<summary type="html">&lt;p&gt;Andrei: /* ysmpp module */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is an implementation an USSD gateway acting as a MAP Service Control Function (gsmSCF) and as a HLR at the same time. When communicating with a HLR or VLR, the YATE USSD GW acts as a gsmSCF. When communicating with a gsmSCF, the YATE USSDGW acts as a HLR.&lt;br /&gt;
The functionality of the USSD GW allows:&lt;br /&gt;
* redirecting of USSD requests arriving either from user side or gsmSCF side to a SMPP client where they can be altered.&lt;br /&gt;
* acting as a proxy for requests that need not be handled by SMPP clients or when the SMPP handling fails&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== MAP USSD description ==&lt;br /&gt;
&lt;br /&gt;
In versions 2 and 3 of the GSM MAP protocol there are 3 operations used for USSD operations:&lt;br /&gt;
* processUnstructedSS-Request&lt;br /&gt;
* unstructuredSS-Request&lt;br /&gt;
* unstrusturedSS-Notify&lt;br /&gt;
&lt;br /&gt;
The are 2 scenarios for USSD operations:&lt;br /&gt;
* mobile initiated USSD requests&lt;br /&gt;
* network initiated USSD requests&lt;br /&gt;
&lt;br /&gt;
A TCAP dialog used by USSD is always terminated by the network side.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Mobile initiated USSD requests ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Mobile initiated USSD requests are USSD requests started by the mobile subscriber.  &lt;br /&gt;
&lt;br /&gt;
A USSD request is started when receiving a TCAP BEGIN message containing the ''processUnstructedSS-Request'' Invoke operation. The request can be handled by the VLR, HLR or a gsmSCF. If the VLR does not handle the request, it will transmit it to the HLR. The HLR can either handle it itself or it can transmit it to a gsmSCF for handling.&lt;br /&gt;
&lt;br /&gt;
At this point, the network can either send a response to the request immediately or request additional information. In the first case, the handler of the request will send a TCAP End with ''processUnstructuredSS-Request'' ResultLast containing the result for the request. &lt;br /&gt;
In the latter case, the network will send a TCAP CONTINUE with ''unstructuredSS-Request'' Invoke operation. The response of the mobile subscriber to this request will be passed to the network in a TCAP CONTINUE with ''unstructuredSS-Request'' ResultLast component. At this point, if the network decides that it has enough information for providing the response to the user, it will send a TCAP END with ''processUnstructuredSS-Request'' ResultLast. Otherwise, it can request further information through another ''unstructuredSS-Request'' Invoke operation.&lt;br /&gt;
&lt;br /&gt;
=== Network initiated USSD requests ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Network initiated USSD requests are USSD requests started by the network towards a certain subscriber.&lt;br /&gt;
&lt;br /&gt;
Requests made by the network can be of one of two types:&lt;br /&gt;
* user interaction requests&lt;br /&gt;
* network notification requests.&lt;br /&gt;
&lt;br /&gt;
User interaction requests are USSD requests that the network makes in which it requires some type of information back from the mobile subscriber. These are started by the network through a TCAP BEGIN containing an ''unstructuredSS-Request'' Invoke. The answer from the mobile subscriber will be received in a TCAP CONTINUE containing an ''unstructuredSS-Request'' ResultLast. If the network still wants to request further information, it will repeat the process. Otherwise, it will send a TCAP END to close the TCAP dialog.&lt;br /&gt;
&lt;br /&gt;
Network notification requests are USSD requests in which the network only sends a notification to the user. This is achieved by sending a TCAP BEGIN message containing a ''unstructuredSS-Notify'' Invoke. The mobile subscriber side will only respond with a TCAP CONTINUE containing an empty ''unstructuredSS-Notify'' in order to signal that the notification was received. The network will close the TCAP dialog through TCAP END.&lt;br /&gt;
&lt;br /&gt;
=== MAP USSD parameters ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following list describe common parameters used across all MAP USSD operations:&lt;br /&gt;
* ''destinationReference'': this parameter will contain either an MSISDN or an IMSI. In the case of mobile originated USSD request, this will identify the user which made the request. In the case of network initiated requests, it will identify the mobile user to be contacted for this request.&lt;br /&gt;
* ''ussd-String'': for ''processUnstructuredSS-Request'' Invoke it contains the dialed USSD code, for the result it would probably contain a message from the network detailing the result of the request. For ''unstructuredSS-Request'' Invoke it will contain a message asking for the user to choose some option and for the result it will contain the option chosen by the user. In the case of ''unstructuredSS-Notify'', this parameter will only be present in the Invoke.&lt;br /&gt;
* ''ussd-DataCodingScheme'': this is a parameter which specifies in which way the ''ussd-String'' parameter is encoded and it is present whenever ''ussd-String'' is present. E.g., this parameter would indicate if the ''ussd-String'' is encoded using GSM7bit encoding or UCS2.&lt;br /&gt;
&lt;br /&gt;
== SMPP USSD description ==&lt;br /&gt;
&lt;br /&gt;
'''TO DO'''&lt;br /&gt;
&lt;br /&gt;
== System description ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== System design ===&lt;br /&gt;
&lt;br /&gt;
In order to provide the specified functionality, the system makes use of the following YATE components:&lt;br /&gt;
* the SS7 stack  present in YATE &lt;br /&gt;
* the camel_map module which decodes/encodes MAP messages coming from the SS7 network to/from internal YATE messages containing MAP operations in XML form. Together with the SS7 layer this provides MAP connectivity with HLR/gsmSCF.&lt;br /&gt;
* the ussd_map module which takes internal MAP messsages decoded by the camel_map moduled and translates them to internal USSD messages. This module acts as gsmSCF towards a HLR and as a HLR towards a gsmSCF.&lt;br /&gt;
* the SMPP stack present in YATE (ysmpp module) which is able to catch internal USSD messages and transmit them over SMPP. It also translates SMPP messages into internal USSD messages.&lt;br /&gt;
* requests for new USSD sessions will go through routing to decide who should handle the request.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following sections detail the behaviour of the system in the different USSD scenarios.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Mobile originated USSD handling ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A user initiated USSD session is handled according to the following schema:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:user_initiated_ussd.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# HLR sends a ''processUnstructuredSS-Request (Invoke)'' for code *100#. camel_map decodes the ''ussd-String'' into ''ussd-Text=*100#''.&lt;br /&gt;
# the ussd_map module (gsmSCF side) processes the request received from the HLR and emits a ''call.route'' message with ''called=*100#''.&lt;br /&gt;
# After ussd_map module successfully dispatched the call.route message, it generates a ''ussd.execute'' message with the ''callto'' parameter set to the value returned from routing. ussd_map dispatches the ''ussd.execute'' message.&lt;br /&gt;
# The ysmpp module catches the ''ussd.execute'' message and if the ''callto'' param value starts with ''ysmppserver/'' and with it it builds a ''deliver_sm'' message that it will send  it to the target specified in ''callto'' parameter after the module prefix ''ysmppserver/''.&lt;br /&gt;
# The ysmpp module receives and process the received ''submit_sm'' message.&lt;br /&gt;
# The ysmpp module will send a ''call.route'' message with the ''called=*100#''.&lt;br /&gt;
# The ysmpp module emits a ''ussd.execute'' message with ''callto=retvalue from call.route'' message.&lt;br /&gt;
# The ussd_map module (HLR part) processes the ussd.execute message and if it is the target of the message, meaning that ''callto'' starts with ''ussd_map/''. From that message it will build a map.message that it will send to the gsmSCF as a ''processUnstructuresSS-Request (Invoke)'' MAP message.&amp;lt;br&amp;gt;'''NOTE:''' From here on, the gsmSCF could handle the request in one of  two distinguished cases: one where the gsmSCF requires interaction with the mobile subscriber and one where the gsmSCF just needs to respond to the user request. The following steps detail the former case.&amp;lt;br&amp;gt;&lt;br /&gt;
# gsmSCF sends an ''unstructuredSS-Request (Invoke)'' to  request further information.&lt;br /&gt;
# The ussd_map module (HLR part) processes the ''unstructuredSS-Request (Invoke)'' message and emits an ''ussd.update'' message.&lt;br /&gt;
# The ysmpp module receives the ''ussd.update'' message and confirms to the SMPP client that the message sent in step 5 was processed.&lt;br /&gt;
# The SMPP client should confirm the processing of the SMPP message sent in step 4.&lt;br /&gt;
# The ysmpp module sends a ''deliver_sm'' message to the SMPP client with the menu received in ''ussd.update'' message.&lt;br /&gt;
# The SMPP client should send a ''submit_sm'' message with the received menu.&lt;br /&gt;
# The ysmpp module receives the ''submit_sm'' message from SMPP client and emits a ''ussd.update'' message.&lt;br /&gt;
# The ussd_map module (SCF part) process the ''ussd.update'' message and sends an ''unstructuredSS-Request (Invoke)'' towards the HLR.&amp;lt;br&amp;gt;The time in which the mobile subscribers responds can be quite long.&amp;lt;br&amp;gt;&lt;br /&gt;
# The HLR sends  ''unstructuredSS-Request (ResultLast)'' to USSD gateway when receiving the response from the mobile subscriber.&lt;br /&gt;
# The ussd_map module (SCF part) processes the message and emits a ''ussd.update'' message.&lt;br /&gt;
# ysmpp module processes the ''ussd.update'' message and sends ''submit_sm rsp'' to SMPP client to confirm the reception of the message sent on step 14.&lt;br /&gt;
# The SMPP client should send a ''deliver_sm rsp'' to confirm the message received on step 13.&lt;br /&gt;
# The ysmpp module will send a deliver_sm message to SMPP clients which will contain user's response.&lt;br /&gt;
# The SMPP client should send a ''submit_sm'' message to SMPP server which will contain the message received on step 21.&lt;br /&gt;
# The ysmpp module receives the ''submit_sm'' message and emits a ''ussd.update'' message.&lt;br /&gt;
# The ussd_map module (HLR part) receives the ''ussd.update'' message and sends the ''unstructuredSS-Request (ResultLast)'' to gsmSCF.&amp;lt;br&amp;gt;'''NOTE:''' Steps between 9 and 24 can be repeated.&amp;lt;br&amp;gt;&lt;br /&gt;
# The gsmSCF sends ''processUnstructuredSS-Request (ResultLast)''  for the initial user request.&lt;br /&gt;
# The ussd_map module (HLR part) processes the ''processUnstructuredSS-Request (ResultLast)'' and sends a ''ussd.finalize'' message.&lt;br /&gt;
# The ysmpp module receives the ''ussd.finalize'' message and sends a ''submit_sm rsp'' for the message received on point 22 or 5.&lt;br /&gt;
# The SMPP client should send a ''deliver_sm rsp'' for the message received on point 21 or 4.&lt;br /&gt;
# The ysmpp module sends a ''deliver sm + last message indication'' to SMPP client.&lt;br /&gt;
# The SMPP client should send a ''submit sm + last message indication'' to SMPP server.&lt;br /&gt;
# ysmpp module receives ''submit_sm'' message and sends a ''ussd.finalize'' message.&lt;br /&gt;
# ysmpp module sends ''submit_sm rsp'' to confirm the message received on step 31.&lt;br /&gt;
# SMPP client should send a ''deliver_sm rsp'' to confirm the message received on step 29.&lt;br /&gt;
# The ussd_map module (SCF part) processes the ''ussd.finalize'' message and sends ''processUnstructuredSS-Request (ResultLast)''.&lt;br /&gt;
&lt;br /&gt;
==== Network initiated USSD Request ====&lt;br /&gt;
&lt;br /&gt;
A network initiated USSD session is handled as described in the following figure:&lt;br /&gt;
&lt;br /&gt;
[[File:network_initiated_ussd.png]]&lt;br /&gt;
&lt;br /&gt;
# gsmSCF sends''unstructuredSS-Request (Invoke)'' to USSD Gateway (HLR part) to present a menu for MSISDN 0015559191.&lt;br /&gt;
# The ussd_map module (HLR part) processes the ''unstructuredSS-Request (Invoke)'' message and emits a ''call.route'' message with called=0015559191. &lt;br /&gt;
# After ussd_map module successfully dispatched the call.route message, it generates a ''ussd.execute'' message with ''callto'' set to the route returned in the return value of the ''call.route'' message and dispatches an ''ussd.execute'' message.&lt;br /&gt;
# The ysmpp module catches the ''ussd.execute'' message and if the ''callto'' param value starts with ''ysmppserver/'' and with it it builds a ''deliver_sm'' message that it will then send to the target specified in the ''callto'&amp;quot; parameter after the ''ysmppserver'' module prefix.&lt;br /&gt;
# The SMPP client should send a ''submit_sm'' message towards SMPP server.&lt;br /&gt;
# The SMPP server processes the received ''submit_sm'' message and dispatches a ''call.route'' message.&lt;br /&gt;
# After successfully dispatching of ''call.route'' message the SMPP server will dispatch a ''call.execute'' message.&lt;br /&gt;
# The ussd_map module (SCF part) process the ''ussd.execute'' message and sends an ''unstructuredSS-Request (Invoke)'' towards the HLR.&amp;lt;br&amp;gt;The time to receiving a response from the user after gsmSCF has requested user interaction could be possibly quite long.&amp;lt;br&amp;gt;&lt;br /&gt;
# The HLR sends  ''unstructuredSS-Request (ResultLast)'' to USSD gateway &lt;br /&gt;
# The ussd_map module (SCF part) processes the message and emits a ''ussd.update'' message.&lt;br /&gt;
# ysmpp module processes the ''ussd.update'' message and sends ''submit_sm rsp'' to SMPP client to confirm the reception of the message sent on step 5.&lt;br /&gt;
# The SMPP client should send a ''deliver_sm rsp'' to confirm the message received on step 4.&lt;br /&gt;
# The ysmpp module will send a deliver_sm message to SMPP clients which will contain user's response.&lt;br /&gt;
# The SMPP client should send a ''submit_sm'' message to SMPP server which will contain the message received on step 13.&lt;br /&gt;
# The ysmpp module receives the ''submit_sm'' message and emits a ''ussd.update'' message.&lt;br /&gt;
# The ussd_map module (HLR part) receives the ''ussd.update'' message and sends the ''unstructuredSS-Request (ResultLast)'' to gsmSCF.&amp;lt;br&amp;gt;'''NOTE:''' Steps between 1 and 16 can be repeated.&amp;lt;br&amp;gt;&lt;br /&gt;
# The gsmSCF sends ''TCAP END'' in order to finish the USSD session.&lt;br /&gt;
# The ussd_map module (HLR part) processes the ''TCAP END'' and sends a ''ussd.finalize'' message.&lt;br /&gt;
# The ysmpp module receives the ''ussd.finalize'' message and sends a ''submit_sm rsp'' for the message received on point 14.&lt;br /&gt;
# The SMPP client should send a ''deliver_sm rsp'' for the message received on point 13.&lt;br /&gt;
# The ysmpp module sends a ''deliver sm + last message indication'' to SMPP client.&lt;br /&gt;
# The SMPP client should send a ''submit sm + last message indication'' to SMPP server.&lt;br /&gt;
# ysmpp module sends ''submit_sm rsp'' to confirm the message received on step 22.&lt;br /&gt;
# SMPP client should send a ''deliver_sm rsp'' to confirm the message received on step 21.&lt;br /&gt;
# ysmpp module receives ''submit_sm'' message and sends a ''ussd.finalize'' message.&lt;br /&gt;
# The ussd_map module (SCF part) processes the ''ussd.finalize'' message and sends ''END''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Fallback/Proxy mode ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following images detail scenarios where the USSD GW is instructed to do failover.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:user_initiated_failover.png]]&lt;br /&gt;
&lt;br /&gt;
The picture above details a failover scenario for when an HLR sends ''processUnstructuredSS-Request (Invoke)'' (1).&lt;br /&gt;
&lt;br /&gt;
'''NOTES:''' &lt;br /&gt;
* The read circles in the above picture represent points in handling where a fallback decision can be made.&lt;br /&gt;
* A fallback decision can be made only if in all previous fallback decision points the necessity for failover was determined to be false.&lt;br /&gt;
* '''U1''' and '''U2''' represent SMPP message responses.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Decision points where ''ussd_map'' will determine the need for failover:&lt;br /&gt;
*'''E1''': Routing procedure does not return a valid route (''call.route''  returns with false or an error) or routing decision indicates a failover route (routing return a route starting with prefix ''ussd_map/'')&lt;br /&gt;
*'''E2''': ''ussd.execute'' message fails to be processed (in this case by the ysmpp module)&lt;br /&gt;
*'''E3''': SMPP server received an SMPP error for ''deliver_sm'' message. &lt;br /&gt;
*'''E4''': SMPP client received an SMPP error for ''submit_sm'' message.&lt;br /&gt;
*'''E5''': The ''call.route'' message  emitted by ''ysmpp'' does not return a valid route (''call.route''  returns with false or an error).&lt;br /&gt;
*'''E6''': ''ussd.execute'' message fails to be processed (in this case by the ussd_map module).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Network initiated USSD session fallback.&lt;br /&gt;
&lt;br /&gt;
[[File:network_initiated_failover.png]]&lt;br /&gt;
&lt;br /&gt;
The picture above details a failover scenario for when a gsmSCF sends a &amp;quot;unstructuredSS-Request/unstructuredSS-Notify (Invoke)'' (1).&lt;br /&gt;
&lt;br /&gt;
'''NOTES:'''&lt;br /&gt;
* The read circles in the above picture represent points in handling where a fallback decision can be made.&lt;br /&gt;
* A fallback decision can be made only if in all previous fallback decision points the necessity for failover was determined to be false.&lt;br /&gt;
* '''U1''' and '''U2''' represent SMPP message responses.&lt;br /&gt;
&lt;br /&gt;
Decision points where ''ussd_map'' will determine the need for failover:&lt;br /&gt;
*'''E1''': Routing procedure does not return a valid route (''call.route''  returns with false or an error) or routing decision indicates a failover route (routing return a route starting with prefix ''ussd_map/'')&lt;br /&gt;
*'''E2''': ''ussd.execute'' message fails to be processed (in this case by the ysmpp module)&lt;br /&gt;
*'''E3''': SMPP server received an SMPP error for ''deliver_sm'' message.&lt;br /&gt;
*'''E4''': SMPP client received an SMPP error for ''submit_sm'' message.&lt;br /&gt;
*'''E5''': The ''call.route'' message  emitted by ''ysmpp'' does not return a valid route (''call.route''  returns with false or an error).&lt;br /&gt;
*'''E6''': ''ussd.execute'' message fails to be processed (in this case by the ussd_map module).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The SMPP USSD gateway will also be bypassed when the ''ussd_map'' module is configured to do failover for all requests.&lt;br /&gt;
&lt;br /&gt;
Any type of SMPP error received either in the result for the ''ussd.execute'' or in the first message back from SMPP that does not have a mapping on MAP will lead to the ''ussd_map'' module doing failover. Errors that would generate a failover are errors like timeout, session ended abnormally, unknown errors, congestion errors.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once ''ussd_map'' decides that failover should be done, it will use the original received message  from the HLR (MO case)/gsmSCF (MT case) and it will only alter the called address to be the one of the gsmSCF/HLR set for the failover.. The calling address will remain the one received from HLR/gsmSCF, the idea being that for the first message we want to pretend that we are the original gsmSCF/HLR. When the receiving end of this message will want to respond, it will use the calling address from the message. Seeing that the ''ussd_map'' module set it to the original calller's address, further messages exchanged in that dialog between HLR and gsmSCF will not pass through USSD GW again.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Internal message API ====&lt;br /&gt;
&lt;br /&gt;
This section documents the YATE messages used internally by the USSD GW.&lt;br /&gt;
&lt;br /&gt;
===== call.route =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This message is used by ussd_map and ysmpp module to determine a destination where a new USSD session should be sent for further processing.&lt;br /&gt;
&lt;br /&gt;
This message is sent by either ''ussd_map'' module or ''ysmpp'' module when receiving a request for a new USSD session on MAP for ''ussd_map'' or on SMPP for ''ysmpp''.&lt;br /&gt;
''ussd_map'' will only send this message if default routing is not enabled from configuration.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
* id:&lt;br /&gt;
** type: string&lt;br /&gt;
** Identifier for the USSD session used by the dispatcher of the message.&lt;br /&gt;
* called:&lt;br /&gt;
** type: string&lt;br /&gt;
** It specifies the value on which destination is determined. For a MO USSD session, this parameter will contain the decoded USSD string (USSD request code). For a MT USSD sessions, this parameter will contain the destination MSISDN.&lt;br /&gt;
* callednumtype:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies type (NAI) of the called parameter. It is used only when called is a MSISDN&lt;br /&gt;
* callednumplan:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** Numbering plan for the number specified by the called parameter.  It is used only when called is a MSISDN.&lt;br /&gt;
* caller:&lt;br /&gt;
** type: string:&lt;br /&gt;
** Identifies the caller in this USSD session. For MO USSD it can be the MSISDN (if present) . ''ussd_map'' will set the the calling party address GT in this parameter for MT case or if MSISDN is not specified for MO case.&lt;br /&gt;
* callernumtype:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies type (NAI) of the caller parameter.&lt;br /&gt;
* callernumplan:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** Numbering plan for the number specified by the caller parameter.&lt;br /&gt;
* operation_type:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** The type of USSD operation that fired this message.&lt;br /&gt;
* text_encoding:&lt;br /&gt;
** type: hexified string&lt;br /&gt;
** The MAP USSD data coding scheme&lt;br /&gt;
* text_encoded:&lt;br /&gt;
** type: hexified string&lt;br /&gt;
** The encoded USSD string&lt;br /&gt;
* text:&lt;br /&gt;
** type: string&lt;br /&gt;
** The decoded USSD string conforming to the USSD data coding scheme.&lt;br /&gt;
* imsi:&lt;br /&gt;
** type: string&lt;br /&gt;
** IMSI value if available.&lt;br /&gt;
* hlr:&lt;br /&gt;
** type: string&lt;br /&gt;
** It specifies the HLR GTT if that information was available.&lt;br /&gt;
* hlr.nature:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies HLR GTT nature  (NAI)&lt;br /&gt;
* hlr.plan:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies HLR GTT numbering plan&lt;br /&gt;
* vlr:&lt;br /&gt;
** type: string&lt;br /&gt;
** It specifies the VLR GTT if that information was available.&lt;br /&gt;
* vlr.nature:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies VLR GTT nature  (NAI)&lt;br /&gt;
* vlr.plan:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies VLR GTT numbering plan&lt;br /&gt;
* gsmscf:&lt;br /&gt;
** type: string&lt;br /&gt;
** It specifies the gsmSCF GTT if that information was available.&lt;br /&gt;
* gsmscf.nature:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies gsmSCF GTT nature  (NAI)&lt;br /&gt;
* gsmscf.plan:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies gsmSCF GTT numbering plan&lt;br /&gt;
* destination_reference:&lt;br /&gt;
** type: string&lt;br /&gt;
** MSISDN or IMSI specified in the DestinationReference TCAP MAP parameter.&lt;br /&gt;
* destination_reference.nature:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies DestinationReference nature  (NAI)&lt;br /&gt;
* destination_reference.plan:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies DestinationReference numbering plan&lt;br /&gt;
* msisdn:&lt;br /&gt;
** type: string&lt;br /&gt;
** MSISDN &lt;br /&gt;
* alert_pattern:&lt;br /&gt;
** type: string&lt;br /&gt;
** Alert Pattern parameter as received in the USSD MAP message.&lt;br /&gt;
* module&lt;br /&gt;
** type: string &lt;br /&gt;
** Name of the module which requested routing&lt;br /&gt;
* application&lt;br /&gt;
** type: string&lt;br /&gt;
** Name of the ussd_map application which sent this routing request&lt;br /&gt;
* route_type&lt;br /&gt;
** type: keyword, value: ussd &lt;br /&gt;
** Specifies routing type, in this case it'll be USSD routing&lt;br /&gt;
* smpp_session_id&lt;br /&gt;
** type: string&lt;br /&gt;
** TODO&lt;br /&gt;
* smpp_system_id&lt;br /&gt;
** type: string&lt;br /&gt;
** TODO&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* The  hlr/vlr address represents:&lt;br /&gt;
** the address from which the message was received (if it can be determined) for MO USSD session.&lt;br /&gt;
** the address where the message should be sent for MT USSD session.&lt;br /&gt;
&lt;br /&gt;
Returned parameters:&lt;br /&gt;
* if the message was processed, the return value of the message indicates the destination of the subsequent ''ussd.execute'' message.&lt;br /&gt;
* if the message was not processed or it returned with error (signaled by the return value being either &amp;quot;-&amp;quot; or &amp;quot;error&amp;quot;)&lt;br /&gt;
** ''ussd_map'' will do failover&lt;br /&gt;
** ysmpp will close the SMPP session, indicating an error either set by the call.route or either set to the default unknown error indication.&lt;br /&gt;
&lt;br /&gt;
===== ussd.execute =====&lt;br /&gt;
&lt;br /&gt;
This message is used to begin a new USSD session:&lt;br /&gt;
* on SMPP, if the message is directed to the ''ysmpp'' module&lt;br /&gt;
* on MAP if the message is directed to the ''ussd_map'' module&lt;br /&gt;
&lt;br /&gt;
This message is sent by either ''ussd_map'' module or ''ysmpp'' module after successful routing stage. In case of the ''ussd_map'' module, this is message is sent if the routing stage did not indicate failover necessity.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
* callto:  &lt;br /&gt;
** type : string&lt;br /&gt;
** It specifies the target module to process the message. The string should start with  'ysmppserver/' for the  ''ysmpp&amp;quot; module and with ''ussd_map/'' for the ''ussd_map'' module.&lt;br /&gt;
* id:&lt;br /&gt;
** type: string&lt;br /&gt;
** Identifier for the USSD session used by the dispatcher of the message.&lt;br /&gt;
* called:&lt;br /&gt;
** type: string&lt;br /&gt;
** It specifies the value on which destination is determined. For a MO USSD session, this parameter will contain the decoded USSD string (USSD request code). For a MT USSD sessions, this parameter will contain the destination MSISDN.&lt;br /&gt;
* callednumtype:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies type (NAI) of the called parameter. It is used only when called is a MSISDN&lt;br /&gt;
* callednumplan:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** Numbering plan for the number specified by the called parameter.  It is used only when called is a MSISDN.&lt;br /&gt;
* caller:&lt;br /&gt;
** type: string:&lt;br /&gt;
** Identifies the caller in this USSD session. For MO USSD it can be the MSISDN (if present) . ''ussd_map'' will set the the calling party address GT in this parameter for MT case or if MSISDN is not specified for MO case.&lt;br /&gt;
* callernumtype:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies type (NAI) of the caller parameter.&lt;br /&gt;
* callernumplan:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** Numbering plan for the number specified by the caller parameter.&lt;br /&gt;
* operation_type:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** The type of USSD operation that fired this message.&lt;br /&gt;
* text_encoding:&lt;br /&gt;
** type: hexified string&lt;br /&gt;
** The MAP USSD data coding scheme&lt;br /&gt;
* text_encoded:&lt;br /&gt;
** type: hexified string&lt;br /&gt;
** The encoded USSD string&lt;br /&gt;
* text:&lt;br /&gt;
** type: string&lt;br /&gt;
** The decoded USSD string conforming to the USSD data coding scheme.&lt;br /&gt;
* imsi:&lt;br /&gt;
** type: string&lt;br /&gt;
** IMSI value if available.&lt;br /&gt;
* hlr:&lt;br /&gt;
** type: string&lt;br /&gt;
** It specifies the HLR GTT if that information was available.&lt;br /&gt;
* hlr.nature:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies HLR GTT nature  (NAI)&lt;br /&gt;
* hlr.plan:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies HLR GTT numbering plan&lt;br /&gt;
* vlr:&lt;br /&gt;
** type: string&lt;br /&gt;
** It specifies the VLR GTT if that information was available.&lt;br /&gt;
* vlr.nature:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies VLR GTT nature  (NAI)&lt;br /&gt;
* vlr.plan:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies VLR GTT numbering plan&lt;br /&gt;
* gsmscf:&lt;br /&gt;
** type: string&lt;br /&gt;
** It specifies the gsmSCF GTT if that information was available.&lt;br /&gt;
* gsmscf.nature:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies gsmSCF GTT nature  (NAI)&lt;br /&gt;
* gsmscf.plan:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies gsmSCF GTT numbering plan&lt;br /&gt;
* destination_reference:&lt;br /&gt;
** type: string&lt;br /&gt;
** MSISDN or IMSI specified in the DestinationReference TCAP MAP parameter.&lt;br /&gt;
* destination_reference.nature:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies DestinationReference nature  (NAI)&lt;br /&gt;
* destination_reference.plan:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies DestinationReference numbering plan&lt;br /&gt;
* msisdn:&lt;br /&gt;
** type: string&lt;br /&gt;
** MSISDN &lt;br /&gt;
* alert_pattern:&lt;br /&gt;
** type: string&lt;br /&gt;
** Alert Pattern parameter as received in the USSD MAP message.&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* The  hlr/vlr address represents:&lt;br /&gt;
** the address from which the message was received (if it can be determined) for MO USSD session.&lt;br /&gt;
** the address where the message should be sent for MT USSD session.&lt;br /&gt;
&lt;br /&gt;
Returned parameters:&lt;br /&gt;
* peerid:&lt;br /&gt;
** type: string&lt;br /&gt;
** Identifier assigned for this USSD session by the entity that processed this message.&lt;br /&gt;
* error:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** Error returned if the message was not processed.&lt;br /&gt;
&lt;br /&gt;
Processing of this message will return failure:&lt;br /&gt;
* if the message will not be processed&lt;br /&gt;
* if the 'id' parameter is missing.&lt;br /&gt;
* in case of processing error &lt;br /&gt;
* in case of congestion&lt;br /&gt;
&lt;br /&gt;
===== ussd.update =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This message is used for transmitting USSD messages during a USSD session. This type of message will be used after the initial stage of creating the session through ''ussd.execute'' has succeeded.&lt;br /&gt;
&lt;br /&gt;
When receiving this message:&lt;br /&gt;
* the ''ussd_map'' module will generate a TCAP CONTINUE message &lt;br /&gt;
* the ''ysmpp'' module will generate a SMPP ''deliver_sm'' if it acts as a server (as in the case of the USSD GW) or ''submit_sm'' if it acts as a SMPP client.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
* id:&lt;br /&gt;
** type: string&lt;br /&gt;
** USSD session identifier of the sending side of the message&lt;br /&gt;
* peerid:&lt;br /&gt;
** type: string&lt;br /&gt;
** USSD session identifier for the module that should process this message&lt;br /&gt;
* operation_type:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** The type of operation that fired this message. &lt;br /&gt;
* text_encoding:&lt;br /&gt;
** type: hexified string&lt;br /&gt;
** The MAP USSD data coding scheme&lt;br /&gt;
* text_encoded:&lt;br /&gt;
** type: hexified string&lt;br /&gt;
** The encoded USSD string&lt;br /&gt;
* text:&lt;br /&gt;
** type: string&lt;br /&gt;
** The decoded USSD string conforming to the USSD data coding scheme.&lt;br /&gt;
* error:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** Error received from one the USSD session endpoints. It might be a MAP error when HLR/gsmSCF/ failed to process a request or SMPP error when the SMPP client failed to process a request.&lt;br /&gt;
&lt;br /&gt;
Returned parameters:&lt;br /&gt;
* error:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** Error code if this message failed to be processed.&lt;br /&gt;
&lt;br /&gt;
Points of failure:&lt;br /&gt;
* The USSD session specified by peerid parameter cannot be found by the processing side.&lt;br /&gt;
* Processing of this message will be refused if it is received after a ''ussd.finalize'' message.&lt;br /&gt;
* Processing of this message will return an error if there are mandatory parameters missing of if the parameters specify a values not allowed in the context of the USSD session (e.g., sending a ''processUnstructuredSS-Request inside a ''ussd.update'' message)&lt;br /&gt;
&lt;br /&gt;
===== ussd.finalize =====&lt;br /&gt;
&lt;br /&gt;
This message is used to signal the termination of the USSD session. Successful processing of this message means that the USSD session was terminated and is no longer available. &lt;br /&gt;
&lt;br /&gt;
When receiving this message:&lt;br /&gt;
* the ''ussd_map'' module will generate a TCAP END/ABORT message depending upon the parameters received. A message containing an error that does not map to a MAP error will generate a TCAP ABORT.&lt;br /&gt;
* the ''ysmpp'' module will generate a SMPP ''deliver_sm'' if it acts as a server (as in the case of the USSD GW) or ''submit_sm'' if it acts as a SMPP client, a message that will usually contain a last message indication.&lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
* id:&lt;br /&gt;
** type: string&lt;br /&gt;
** USSD session identifier of the sending side of the message&lt;br /&gt;
* peerid:&lt;br /&gt;
** type: string&lt;br /&gt;
** USSD session identifier for the module that should process this message&lt;br /&gt;
* operation_type:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** The type of operation that fired this message. &lt;br /&gt;
* text_encoding:&lt;br /&gt;
** type: hexified string&lt;br /&gt;
** The MAP USSD data coding scheme&lt;br /&gt;
* text_encoded:&lt;br /&gt;
** type: hexified string&lt;br /&gt;
** The encoded USSD string&lt;br /&gt;
* text:&lt;br /&gt;
** type: string&lt;br /&gt;
** The decoded USSD string conforming to the USSD data coding scheme.&lt;br /&gt;
* error:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** Error received from one the USSD session endpoints. It might be a MAP error when HLR/gsmSCF/ failed to process a request or SMPP error when the SMPP client failed to process a request.&lt;br /&gt;
&lt;br /&gt;
Returned parameters:&lt;br /&gt;
* error:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** Error code if this message failed to be processed.&lt;br /&gt;
&lt;br /&gt;
Points of failure:&lt;br /&gt;
* The USSD session specified by 'peerid parameter cannot be found by the processing side.&lt;br /&gt;
* Processing of this message will return an error if there are mandatory parameters missing of if the parameters specify a value not allowed in the context of the USSD session&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Keyword values =====&lt;br /&gt;
&lt;br /&gt;
This section details acceptable values for parameters listed as having type ''keyword''.&lt;br /&gt;
&lt;br /&gt;
* '''hlr.nature/vlr.nature/gsmscf.nature/destination_reference.nature'''&lt;br /&gt;
** unknown&lt;br /&gt;
** international&lt;br /&gt;
** national&lt;br /&gt;
** network-specific&lt;br /&gt;
** subscriber&lt;br /&gt;
** abbreviated&lt;br /&gt;
&lt;br /&gt;
* '''hlr.plan/vlr.plan/gsmscf.plan/destination_reference.plan'''&lt;br /&gt;
** unknown&lt;br /&gt;
** isdn&lt;br /&gt;
** data&lt;br /&gt;
** telex&lt;br /&gt;
** land-mobile&lt;br /&gt;
** national&lt;br /&gt;
** private&lt;br /&gt;
&lt;br /&gt;
* '''operation_type'''&lt;br /&gt;
** pssd: mapping of MAP v1 USSD operation ''processUnstructuredSS-Data'' and of SMPP operation ''PSSD''. &lt;br /&gt;
** pssr: mapping of MAP v2 USSD operation ''processUnstructuredSS-Request'' and of SMPP operation ''PSSR''.&lt;br /&gt;
** ussr: mapping of MAP v2 USSD operation ''unstructuredSS-Request'' and of SMPP operation ''USSR&amp;quot;.&lt;br /&gt;
** ussn: mapping of MAP v2 USSD operation ''unstructuredSS-Notify'' and of SMPP operation ''USSN''.&lt;br /&gt;
&lt;br /&gt;
* '''error'''&lt;br /&gt;
** invalid_logic:  error reported when required processing does not follow USSD rules (e.g., MT request starting with ''processUnstructuredSS-Requests'')&lt;br /&gt;
** system_failure: error mapping for MAP error ''systemFailure''.&lt;br /&gt;
** data_missing: error mapping for  MAP error ''dataMissing''.&lt;br /&gt;
** unexpected_data: error mapping for MAP error ''unexpectedDataValue''.&lt;br /&gt;
** unknown_alphabet: error mapping for MAP error ''unknownAlphabet''.&lt;br /&gt;
** absent_subscriber: error mapping for MAP error ''absentSubscriber''.&lt;br /&gt;
** illegal_subscriber: error mapping for MAP error ''illegalSubscriber''.&lt;br /&gt;
** illegal_equipment: error mapping for MAP error ''illegalEquipment''.&lt;br /&gt;
** ussd_busy: error mapping for MAP error ''ussd-Busy''.&lt;br /&gt;
** call_barred: error mapping for MAP error ''callBarred''.&lt;br /&gt;
** network_failure: error signaling message transmission failure due to  connectivity issues either on the SS7 side or SMPP side.&lt;br /&gt;
** timeout_expired: error signaling a  request timeout occurrence.&lt;br /&gt;
** ussd_sess_end_abnormally: error signaling USSD session termination due to an unknown cause. Mapping for this error implies a TCAP Abort either being generated of received. &lt;br /&gt;
** unknown_error: error specified when there is no available mapping for an errror from SMPP to MAP or vice versa.&lt;br /&gt;
** throttling_error: error signaling that a message failed to be processed due to processing side being in congestion state.&lt;br /&gt;
** protocol_error: SMPP generic error. This error is put whenever there is a SMPP specific error that cannot be mapped into one of the other errors.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== SMPP custom parameters ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''TO DO''' - should detail custom parameters added on SMPP protocol as also parameters that are not decoded by wireshark&lt;br /&gt;
&lt;br /&gt;
=== Configuration ===&lt;br /&gt;
&lt;br /&gt;
==== ysigchan module ====&lt;br /&gt;
&lt;br /&gt;
In order to have MAP connectivity, TCAP instances must be configured in ''ysigchan.conf'': &lt;br /&gt;
&lt;br /&gt;
 ; Example of a SS7 Transaction Capabilities Application Part&lt;br /&gt;
 ; This component is created when encountering a section of this kind&lt;br /&gt;
 ;[ss7tcap]&lt;br /&gt;
 ; type: keyword: identifies the component as a SS7 Transfer Capabilities Application Part&lt;br /&gt;
 ; type = ss7-tcap-ansi for ANSI TCAP&lt;br /&gt;
 ; type = ss7-tcap-itu for ITU TCAP&lt;br /&gt;
 ;type=&lt;br /&gt;
 &lt;br /&gt;
 ; local_SSN: local SubSystem Number. Mandatory&lt;br /&gt;
 ;local_SSN=&lt;br /&gt;
 &lt;br /&gt;
 ; default_remote_SSN: remote SubSystem Number to provide to SCCP if the application does not provide one&lt;br /&gt;
 ;default_remote_SSN=&lt;br /&gt;
  &lt;br /&gt;
 ; default_remote_pointcode: remote Point Code to provide to SCCP if the application does not provide one&lt;br /&gt;
 ;default_remote_pointcode=&lt;br /&gt;
 &lt;br /&gt;
 ; pointcodetype: remote Point Code type. See above documentation for available types&lt;br /&gt;
 ;pointcodetype=&lt;br /&gt;
 &lt;br /&gt;
 ; sccp: Name of the SCCP component to create and be used by this TCAP&lt;br /&gt;
 ; A section with the name given here must exist in order to configure the SCCP level&lt;br /&gt;
 ;sccp=&lt;br /&gt;
 &lt;br /&gt;
 ; default_hopcounter: HopCounter provided to SCCP if the application does not provide one&lt;br /&gt;
 ; Values range 1-15, 0 or boolean false disables, boolean true sets to 15&lt;br /&gt;
 ; A non-zero value will force using XUDT or LUDT instead of UDT messages&lt;br /&gt;
 ;default_hopcounter=false&lt;br /&gt;
 &lt;br /&gt;
 ; transact_timeout: Time in seconds to timeout a TCAP transaction after no more activity was registered on it&lt;br /&gt;
 ; NOTE: Values below 15 seconds will be ignored and the timer will assume the default value.&lt;br /&gt;
 ; Defaults to 300 seconds&lt;br /&gt;
 ;transact_timeout=300&lt;br /&gt;
 &lt;br /&gt;
 ; max_timeout_checks: integer: Maximum number of timeout checks done on a transaction without starting the transaction&lt;br /&gt;
 ;  timer before forcefully starting the transaction timer&lt;br /&gt;
 ; Defaults to 10&lt;br /&gt;
 ;max_timeout_checks=10 &lt;br /&gt;
 &lt;br /&gt;
 ; timeout_check: Time interval in milliseconds to check for timeouts.&lt;br /&gt;
 ; Default to 100 ms&lt;br /&gt;
 ;timeout_check=100 &lt;br /&gt;
 &lt;br /&gt;
 ; floodevents: int: How many queued incoming TCAP messages trigger a congestion warning and the drop mechanism&lt;br /&gt;
 ;  for Unidirectional/Begin/QueryWithPermission/QueryWithoutPermission messages.&lt;br /&gt;
 ;  Exit from congestion will take place when there are less the floodevents/4 messages in the queue&lt;br /&gt;
 ; NOTE! Setting this parameter to 0 will disable the congestion warning and protection. Setting it to one will &lt;br /&gt;
 ;  be overriden and floodevents will be set to 2.&lt;br /&gt;
 ;floodevents=1000&lt;br /&gt;
 &lt;br /&gt;
 ;print-messages: Boolean to enable/disable printing of decoding/encoding of TCAP messages&lt;br /&gt;
 ; This option applies on reload&lt;br /&gt;
 ;print-messages=false&lt;br /&gt;
 &lt;br /&gt;
 ;extended-debug: Boolean to enable/disable printing of the step-by-step decoding/encoding of TCAP messages&lt;br /&gt;
 ; This option applies on reload. print-messages must be true.&lt;br /&gt;
 ;extended-debug=false&lt;br /&gt;
 &lt;br /&gt;
 ;track_id: string: Shared engine variable name used by this TCAP to obtain a unique tracking ID&lt;br /&gt;
 ; If not set, TCAP transaction will not have a tracking ID&lt;br /&gt;
 ;track_id=&lt;br /&gt;
 &lt;br /&gt;
 ;track_id_base: string: Optional string with which to prefix the tracking ID&lt;br /&gt;
 ; This setting has no effect if track_id is not set&lt;br /&gt;
 ;track_id_base=&lt;br /&gt;
 &lt;br /&gt;
 ; hash_list_size: integer: Size of HashList used for keeping the list of current transactions&lt;br /&gt;
 ;hash_list_size=17&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Configuration Example'''&lt;br /&gt;
&lt;br /&gt;
 [tcap-scf]                                                                                                                                   &lt;br /&gt;
 ;enable=no                                                                                                                                   &lt;br /&gt;
 type=ss7-tcap-itu                                                                                                                            &lt;br /&gt;
 sccp=sccp                                                                                                                                    &lt;br /&gt;
 local_SSN=147                                                                                                                                &lt;br /&gt;
 pointcodetype=ITU                                                                                                                           &lt;br /&gt;
 print-messages=false                                                                                                                         &lt;br /&gt;
 extended-debug=false                                                                                                                         &lt;br /&gt;
 transact_timeout=600                                                                                                                         &lt;br /&gt;
 floodevents=1000                                                                                                                             &lt;br /&gt;
 track_id=ussdgw                                                                                                                              &lt;br /&gt;
 track_id_base=ussdgw/                                                                                                                        &lt;br /&gt;
                                                                                                                                             &lt;br /&gt;
 [tcap-hlr]                                                                                                                                   &lt;br /&gt;
 ;enable=no                                                                                                                                   &lt;br /&gt;
 type=ss7-tcap-itu                                                                                                                            &lt;br /&gt;
 sccp=sccp                                                                                                                                    &lt;br /&gt;
 local_SSN=7                                                                                                                                  &lt;br /&gt;
 pointcodetype=ITU                                                                                                                           &lt;br /&gt;
 print-messages=false                                                                                                                         &lt;br /&gt;
 extended-debug=false                                                                                                                         &lt;br /&gt;
 transact_timeout=600                                                                                                                         &lt;br /&gt;
 track_id=ussdgw                                                                                                                              &lt;br /&gt;
 track_id_base=ussdgw/  &lt;br /&gt;
&lt;br /&gt;
Further configuration for SS7 connectivity is required (SCCP, MTP3, etc.).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== camel_map module ====&lt;br /&gt;
&lt;br /&gt;
In order to allow communication over MAP through SS7, sections configurating application should exist for each role of the ussd_map module (gsmSCF/HLR). A ''camel_map.conf'' section configuring an application looks like this:&lt;br /&gt;
&lt;br /&gt;
 ;[local appName]&lt;br /&gt;
 ; This section configures a local application which transmits the XML messages as internal Yate messages&lt;br /&gt;
 &lt;br /&gt;
 ; translator: string: name of translator to be used by this application.&lt;br /&gt;
 ; Must be one one the [tcap ...] sections configured in the camel_map.conf file.&lt;br /&gt;
 ;translator=&lt;br /&gt;
  &lt;br /&gt;
 ; capabilities: string: List of capabilities separated by commas which this application supports&lt;br /&gt;
 ;capabilities=&lt;br /&gt;
  &lt;br /&gt;
 ; export_xml_as: string: Specify in which way the XML will be passed along into a Yate message&lt;br /&gt;
 ; Allowed values are:&lt;br /&gt;
 ;  - string: pass the XML as a string&lt;br /&gt;
 ;  - object: pass the XML as an object&lt;br /&gt;
 ;  - both: pass the XML as a string and object&lt;br /&gt;
 ;export_xml_as=object&lt;br /&gt;
  &lt;br /&gt;
 ; enable: bool: Enable this application&lt;br /&gt;
 ;enable=yes&lt;br /&gt;
&lt;br /&gt;
The translator setting refers to a section of the type defined below which configures atachement to a TCAP instance&lt;br /&gt;
&lt;br /&gt;
 ;[tcap map]&lt;br /&gt;
 ; This section configures a TCAP User MAP/CAMEL protocol translator&lt;br /&gt;
 &lt;br /&gt;
 ; enable: bool: Enable this translator&lt;br /&gt;
 ;enable=yes&lt;br /&gt;
 &lt;br /&gt;
 ; type: string: Type of TCAP User &lt;br /&gt;
 ; Allowed values are MAP or CAMEL&lt;br /&gt;
 ;type=MAP&lt;br /&gt;
 &lt;br /&gt;
 ; host: IP address: Address on which the TCP listener should bind on for XML communication&lt;br /&gt;
 ;host=127.0.0.1 &lt;br /&gt;
 &lt;br /&gt;
 ; port: integer: Port on which the TCP listener should bind on for XML communication&lt;br /&gt;
 ; Note: setting port to 0 will disable the listener, so it will not accept TCP applications&lt;br /&gt;
 ;port=5555&lt;br /&gt;
 &lt;br /&gt;
 ; tcap: string: Name of TCAP to which this TCAP user should attach itself to for the SS7 communication&lt;br /&gt;
 ;tcap=&lt;br /&gt;
 &lt;br /&gt;
 ; add-encoding: bool: Always add encoding attribute to XML elements for decoded parameters&lt;br /&gt;
 ;add-encoding=default from [general]&lt;br /&gt;
 &lt;br /&gt;
 ; add-timestamp: bool: Add to XML timestamps used for estimating application latency&lt;br /&gt;
 ;add-timestamp=default from [general] &lt;br /&gt;
 &lt;br /&gt;
 ; print-messages: bool: Debug option to print TCAP and XML messages. This option is applicable on reload.&lt;br /&gt;
 ;print-messages=false&lt;br /&gt;
 &lt;br /&gt;
 ; ussd-string: string: Specifies what the ussd-String parameter will contain as data&lt;br /&gt;
 ; Allowed values are:&lt;br /&gt;
 ;  - octets: ussd-String will contain the octets as they were received&lt;br /&gt;
 ;  - text: ussd-String will contain the GSM7Bit decoded text&lt;br /&gt;
 ; This can be overriden in application sections&lt;br /&gt;
 ;ussd-string=text&lt;br /&gt;
 &lt;br /&gt;
 ; ussd-decode: string: Specifies what ussd-String parameters should be decoded into text&lt;br /&gt;
 ; Allowed values are:&lt;br /&gt;
 ;  - none: ussd-String parameters will never be decoded into text&lt;br /&gt;
 ;  - first: ussd-String in a TCAP Begin message will be decoded into text&lt;br /&gt;
 ;  - all: all ussd-String parameters will be decoded into text&lt;br /&gt;
 ; This can be overriden in application sections&lt;br /&gt;
 ;ussd-decode=all&lt;br /&gt;
 &lt;br /&gt;
 ; hash_list_size: integer: Size of HashList used for mapping of TCAP transactions to applications&lt;br /&gt;
 ;hash_list_size=17&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For load sharing (especially in cases of high loads), you can configure multiple applications using the same translator.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Configuration Example'''&lt;br /&gt;
&lt;br /&gt;
The example below configures 2 applications acting as a gsmSCF, each one attached to the TCAP instance with gsmSCF SSN, and 2 applications as HLR, each one attached to the TCAP instance with HLR SSN 6:&lt;br /&gt;
&lt;br /&gt;
 [tcap scf]                                                                                                                                   &lt;br /&gt;
 ;enable=no                                                                                                                                   &lt;br /&gt;
 tcap=tcap-scf                                                                                                                                &lt;br /&gt;
 host=0.0.0.0                                                                                                                                 &lt;br /&gt;
 port=0                                                                                                                                       &lt;br /&gt;
 type=MAP                                                                                                                                     &lt;br /&gt;
 print-messages=false                                                                                                                         &lt;br /&gt;
 add-encoding=false                                                                                                                           &lt;br /&gt;
                                                                                                                                             &lt;br /&gt;
 [tcap hlr]                                                                                                                                   &lt;br /&gt;
 ;enable=no                                                                                                                                   &lt;br /&gt;
 tcap=tcap-hlr                                                                                                                                &lt;br /&gt;
 host=0.0.0.0                                                                                                                                 &lt;br /&gt;
 port=0                                                                                                                                       &lt;br /&gt;
 type=MAP                                                                                                                                     &lt;br /&gt;
 print-messages=false                                                                                                                         &lt;br /&gt;
 add-encoding=false   &lt;br /&gt;
 &lt;br /&gt;
 [local ussdSCF1]                                                                                                                             &lt;br /&gt;
 translator=scf                                                                                                                               &lt;br /&gt;
 capabilities=USSD                                                                                                                            &lt;br /&gt;
 export_xml_as=object                                                                                                                         &lt;br /&gt;
 ussd-string=octets                                                                                                                           &lt;br /&gt;
 ussd-decode=first                                                                                                                            &lt;br /&gt;
                                                                                                                                             &lt;br /&gt;
 [local ussdSCF2]                                                                                                                             &lt;br /&gt;
 translator=scf                                                                                                                               &lt;br /&gt;
 capabilities=USSD                                                                                                                            &lt;br /&gt;
 export_xml_as=object                                                                                                                         &lt;br /&gt;
 ussd-string=octets                                                                                                                           &lt;br /&gt;
 ussd-decode=first               &lt;br /&gt;
 &lt;br /&gt;
 [local ussdHLR1]&lt;br /&gt;
 translator=hlr                                                                                                                               &lt;br /&gt;
 capabilities=USSD                                                                                                                            &lt;br /&gt;
 export_xml_as=object                                                                                                                         &lt;br /&gt;
 ussd-string=octets                                                                                                                           &lt;br /&gt;
 ussd-decode=first                                                                                                                            &lt;br /&gt;
 &lt;br /&gt;
 [local ussdHLR2]                                                                                                                             &lt;br /&gt;
 translator=hlr                                                                                                                               &lt;br /&gt;
 capabilities=USSD                                                                                                                            &lt;br /&gt;
 export_xml_as=object                                                                                                                         &lt;br /&gt;
 ussd-string=octets                                                                                                                           &lt;br /&gt;
 ussd-decode=first&lt;br /&gt;
&lt;br /&gt;
==== ussd_map module ====&lt;br /&gt;
&lt;br /&gt;
The module is configured through ''ussd_map.conf''. The configuration file sets timeout parameters and processing threads parameters in the ''general'' section:&lt;br /&gt;
&lt;br /&gt;
 [general]&lt;br /&gt;
 &lt;br /&gt;
 ; hash_list_size: integer: Size of HashList for keeping dialogs&lt;br /&gt;
 ;hash_list_size=17&lt;br /&gt;
 &lt;br /&gt;
 ; component_ttl: integer: Component time to live in milliseconds&lt;br /&gt;
 ; Minimum allowed value is 1000&lt;br /&gt;
 ; Defaults to 600000 (10 minutes)&lt;br /&gt;
 ;component_ttl=600000&lt;br /&gt;
 &lt;br /&gt;
 ; dialog_idle_ttl: integer: Dialog idle (nothing sent/received) time to live in milliseconds&lt;br /&gt;
 ; Minimum allowed value is 1000&lt;br /&gt;
 ; It can be set to 0 to keep it alive until the remote party terminates the dialog&lt;br /&gt;
 ; Defaults to 86400000 (1 day)&lt;br /&gt;
 ;dialog_idle_ttl=86400000&lt;br /&gt;
&lt;br /&gt;
 ; dialog_ended_ttl: integer: Ended dialog time to live in milliseconds&lt;br /&gt;
 ; Minimum allowed value is 1000.&lt;br /&gt;
 ; It can be set to 0 to remove the dialog after termination&lt;br /&gt;
 ; Defaults to 0&lt;br /&gt;
 ;dialog_ended_ttl=0&lt;br /&gt;
 &lt;br /&gt;
 ; dispatcher_maxthreads: integer: Maximum number of message dispatch threads to use&lt;br /&gt;
 ; Minimum value is 1 for use of dispatching threads.&lt;br /&gt;
 ; NOTE: if the value is set to 0, the module will enqueue the messages into YATE's engine.&lt;br /&gt;
 ;dispatcher_maxthreads=0&lt;br /&gt;
&lt;br /&gt;
 ; dispatcher_minthreads: integer: Minimum number of message dispatch threads to use&lt;br /&gt;
 ; Minimum value is 1 for use of dispatching threads.&lt;br /&gt;
 ;dispatcher_minthreads=1&lt;br /&gt;
&lt;br /&gt;
 ;dispatcher_priority: string: Default priority of message dispatch threads&lt;br /&gt;
 ;dispatcher_priority=normal&lt;br /&gt;
&lt;br /&gt;
 ; floodevents: integer: Threshold for signaling congestion when the number of messages waiting to be dispatched exceeds it.&lt;br /&gt;
 ; When entering congestion, all new MAP dialogs and USSD sessions will be refused.&lt;br /&gt;
 ; 0 disables the mechanism&lt;br /&gt;
 ;floodevents=0&lt;br /&gt;
&lt;br /&gt;
 ; congestion_exit_factor: double: Factor used to calculate the exit congestion threshold&lt;br /&gt;
 ; NOTE: if the factor results in a exit congestion threshold of 0 or greater than floodevents, &lt;br /&gt;
 ; the setting will be overriden and the exit congestion threshold will be set to 1.&lt;br /&gt;
 ;congestion_exit_factor=0.5&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Timeout settings should be correlated with timeout settings in TCAP and SMPP, each having its own timeout mechanism.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Gateway applications which do the MAP &amp;lt;-&amp;gt; USSD translation are configured through section like the one below:&lt;br /&gt;
&lt;br /&gt;
 [appName]&lt;br /&gt;
 ; section name is the name of the camel_map application, it must correspond to a [local appName] section in camel_map &lt;br /&gt;
&lt;br /&gt;
 ; enable: boolean: Enable this application&lt;br /&gt;
 ; Defaults to yes&lt;br /&gt;
 ;enable=yes&lt;br /&gt;
 &lt;br /&gt;
 ; type: string: Type of MAP &amp;lt;-&amp;gt; USSD translator: &lt;br /&gt;
 ;  - SCF means that is the part that receives new dialogs from the HLR (user initiated USSD)&lt;br /&gt;
 ;  - HLR is the part that receives new dialogs from gsmSCF (network initiated USSD)&lt;br /&gt;
 ; This setting cannot be changed on reload.&lt;br /&gt;
 ;type=&lt;br /&gt;
 &lt;br /&gt;
 ; export_xml_as: string: Specify in which way the XML will be passed along into &lt;br /&gt;
 ;export_xml_as=object&lt;br /&gt;
  &lt;br /&gt;
 ; print_msg: boolean: Print sent/received messages to output&lt;br /&gt;
 ;print_msg=no&lt;br /&gt;
  &lt;br /&gt;
 ; print_xml: boolean: Print sent/received XML data to output&lt;br /&gt;
 ;print_xml=no&lt;br /&gt;
 &lt;br /&gt;
 ; local_addr. : prefix: Parameters prefixed with this set the local SCCP address of this application &lt;br /&gt;
 ; Meaningful values are:&lt;br /&gt;
 ; local_addr.CallingPartyAddress.route=&lt;br /&gt;
 ; local_addr.CallingPartyAddress.ssn=&lt;br /&gt;
 ; local_addr.CallingPartyAddress.pointcode=&lt;br /&gt;
 ; local_addr.CallingPartyAddress.gt=&lt;br /&gt;
 ; local_addr.CallingPartyAddress.gt.nature=&lt;br /&gt;
 ; local_addr.CallingPartyAddress.gt.plan=&lt;br /&gt;
 ; local_addr.CallingPartyAddress.gt.translation=&lt;br /&gt;
 ; local_addr.CallingPartyAddress.gt.encoding= &lt;br /&gt;
 &lt;br /&gt;
 ; default_routing: bool : Do routing to default address for all messages&lt;br /&gt;
 ; default_routing=no&lt;br /&gt;
 &lt;br /&gt;
 ; default_addr. : prefix: parameters prefixed with this will be used as the default SCCP called address&lt;br /&gt;
 ; Meaningful values are:&lt;br /&gt;
 ; default_addr.application=&lt;br /&gt;
 ; default_addr.CalledPartyAddress.route=&lt;br /&gt;
 ; default_addr.CalledPartyAddress.ssn=&lt;br /&gt;
 ; default_addr.CalledPartyAddress.pointcode=&lt;br /&gt;
 ; default_addr.CalledPartyAddress.gt=&lt;br /&gt;
 ; default_addr.CalledPartyAddress.gt.nature=&lt;br /&gt;
 ; default_addr.CalledPartyAddress.gt.translation=&lt;br /&gt;
 ; default_addr.CalledPartyAddress.gt.encoding=&lt;br /&gt;
 &lt;br /&gt;
 ; hlr_ssn: integer: The SSN expected in the calling address from a HLR.&lt;br /&gt;
 ; This setting has significance only for SCF type applications&lt;br /&gt;
 ;hlr_ssn=6&lt;br /&gt;
 &lt;br /&gt;
 ; vlr_ssn: integer: The SSN expected in the calling address from a VLR.&lt;br /&gt;
 ; This setting has significance only for SCF type applications&lt;br /&gt;
 ;vlr_ssn=7&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Each section should have its own equivalent in ''camel_map.conf''.&lt;br /&gt;
In the USSD GW scenario, at least tho applications are needed, one acting as SCF, one as HLR. For load sharing multiple gsmSCF and HLR applications can be configured (see the configuration example below).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Configuration Example'''&lt;br /&gt;
&lt;br /&gt;
The example below configures 2 gsmSCF applications and 2 HLR applications, each one corresponding with a application section in the ''camel_map.conf'' example:&lt;br /&gt;
&lt;br /&gt;
 [general]                                                                                                                                    &lt;br /&gt;
                                                                                                                                             &lt;br /&gt;
 component_ttl=600000                                                                                                                         &lt;br /&gt;
 dialog_ended_ttl=0                                                                                                                           &lt;br /&gt;
 dispatcher_maxthreads=10                                                                                                                     &lt;br /&gt;
 dispatcher_minthreads=5                                                                                                                      &lt;br /&gt;
 ;dispatcher_priority=normal                                                                                                                  &lt;br /&gt;
 floodevents=1000                                                                                                                             &lt;br /&gt;
                                                                                                                                              &lt;br /&gt;
 [ussdSCF1]                                                                                                                                   &lt;br /&gt;
 ;enable=no                                                                                                                                   &lt;br /&gt;
 type=SCF                                                                                                                                     &lt;br /&gt;
 export_xml_as=object                                                                                                                         &lt;br /&gt;
 print_msg=no                                                                                                                                 &lt;br /&gt;
 print_xml=no                                                                                                                                 &lt;br /&gt;
                                                                                                                                             &lt;br /&gt;
 local_addr.CallingPartyAddress.route=gt                                                                                                      &lt;br /&gt;
 local_addr.CallingPartyAddress.gt=8828723                                                                                                    &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.nature=international                                                                                       &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.plan=isdn                                                                                                  &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.translation=0                                                                                              &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.encoding=bcd                                                                                               &lt;br /&gt;
                                                                                                                                             &lt;br /&gt;
 default_routing=no                                                                                                                           &lt;br /&gt;
 default_addr.application=ussdHLR                                                                                                              &lt;br /&gt;
 default_addr.CalledPartyAddress.route=gt                                                                                                     &lt;br /&gt;
 default_addr.CalledPartyAddress.gt=8820723                                                                                                   &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.nature=international                                                                                      &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.plan=isdn                                                                                                 &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.translation=0                                                                                             &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.encoding=bcd &lt;br /&gt;
&lt;br /&gt;
 [ussdSCF2]                                                                                                                                   &lt;br /&gt;
 ;enable=no                                                                                                                                   &lt;br /&gt;
 type=SCF                                                                                                                                     &lt;br /&gt;
 export_xml_as=object                                                                                                                         &lt;br /&gt;
 print_msg=no                                                                                                                                 &lt;br /&gt;
 print_xml=no                                                                                                                                 &lt;br /&gt;
                                                                                                                                             &lt;br /&gt;
 local_addr.CallingPartyAddress.route=gt                                                                                                      &lt;br /&gt;
 local_addr.CallingPartyAddress.gt=8828723                                                                                                    &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.nature=international                                                                                       &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.plan=isdn                                                                                                  &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.translation=0                                                                                              &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.encoding=bcd                                                                                               &lt;br /&gt;
                                                                                                                                             &lt;br /&gt;
 default_routing=no                                                                                                                           &lt;br /&gt;
 default_addr.application=ussdHLR                                                                                                              &lt;br /&gt;
 default_addr.CalledPartyAddress.route=gt                                                                                                     &lt;br /&gt;
 default_addr.CalledPartyAddress.gt=8820723                                                                                                   &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.nature=international                                                                                      &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.plan=isdn                                                                                                 &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.translation=0                                                                                             &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.encoding=bcd &lt;br /&gt;
 &lt;br /&gt;
 [ussdHLR1]                                                                                                                                   &lt;br /&gt;
 ;enable=no                                                                                                                                   &lt;br /&gt;
 type=HLR                                                                                                                                     &lt;br /&gt;
 print_msg=no                                                                                                                                 &lt;br /&gt;
 print_xml=no                                                                                                                                 &lt;br /&gt;
 export_xml_as=object                                                                                                                         &lt;br /&gt;
                                                                                                                         &lt;br /&gt;
 local_addr.CallingPartyAddress.route=gt                                                                                                      &lt;br /&gt;
 local_addr.CallingPartyAddress.gt=8828723                                                                                                    &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.nature=international                                                                                       &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.plan=isdn                                                                                                  &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.translation=0                                                                                              &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.encoding=bcd                                                                                               &lt;br /&gt;
                                                                                                                                             &lt;br /&gt;
 default_routing=no                                                                                                                           &lt;br /&gt;
 default_addr.application=ussdSCF                                                                                                             &lt;br /&gt;
 default_addr.CalledPartyAddress.route=gt                                                                                                     &lt;br /&gt;
 default_addr.CalledPartyAddress.gt=8820457                                                                                                   &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.nature=international                                                                                      &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.plan=isdn                                                                                                 &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.translation=0                                                                                             &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.encoding=bcd                                                                                              &lt;br /&gt;
                                                   &lt;br /&gt;
 [ussdHLR2]                                                                                                                                   &lt;br /&gt;
 ;enable=no                                                                                                                                   &lt;br /&gt;
 type=HLR                                                                                                                                     &lt;br /&gt;
 print_msg=no                                                                                                                                 &lt;br /&gt;
 print_xml=no                                                                                                                                 &lt;br /&gt;
 export_xml_as=object                                                                                                                         &lt;br /&gt;
                                                                                                                                             &lt;br /&gt;
 local_addr.CallingPartyAddress.route=gt                                                                                                      &lt;br /&gt;
 local_addr.CallingPartyAddress.gt=8828723                                                                                                    &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.nature=international                                                                                       &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.plan=isdn                                                                                                  &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.translation=0                                                                                              &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.encoding=bcd                                                                                               &lt;br /&gt;
                                                                                                                                              &lt;br /&gt;
 default_routing=no                                                                                                                           &lt;br /&gt;
 default_addr.application=ussdSCF                                                                                                             &lt;br /&gt;
 default_addr.CalledPartyAddress.route=gt                                                                                                     &lt;br /&gt;
 default_addr.CalledPartyAddress.gt=8820457                                                                                                   &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.nature=international                                                                                      &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.plan=isdn                                                                                                 &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.translation=0                                                                                             &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.encoding=bcd&lt;br /&gt;
&lt;br /&gt;
==== ysmpp module ====&lt;br /&gt;
&lt;br /&gt;
TODO - configuration explanations&lt;br /&gt;
&lt;br /&gt;
'''Configuration Example''''&lt;br /&gt;
&lt;br /&gt;
 [general]                                                                                                                                    &lt;br /&gt;
 server=smpp-server                                                                                                                           &lt;br /&gt;
 track_id=ussdgw                                                                                                                              &lt;br /&gt;
 track_id_base=ussdgw/                                                                                                                        &lt;br /&gt;
                                                                                                                                              &lt;br /&gt;
 [smpp-server]                                                                                                                                &lt;br /&gt;
 enable=true                                                                                                                                  &lt;br /&gt;
 session_responseinterval=600000                                                                                                              &lt;br /&gt;
 sessionset_process_max=1                                                                                                                     &lt;br /&gt;
 codec_warndefaults=false                                                                                                                     &lt;br /&gt;
 print-messages=no                                                                                                                            &lt;br /&gt;
                                                                                                                                            &lt;br /&gt;
 [listenerserver server]                                                                                                                      &lt;br /&gt;
 ;enable=yes                                                                                                                                  &lt;br /&gt;
 addr=0.0.0.0                                                                                                                                 &lt;br /&gt;
 port=12345    &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
=== Monitoring ===&lt;br /&gt;
&lt;br /&gt;
This section details comands through which the state of the USSD GW can be monitored.&lt;br /&gt;
&lt;br /&gt;
==== ussd_map module ====&lt;br /&gt;
&lt;br /&gt;
* '''Congestion state monitoring'''&lt;br /&gt;
&lt;br /&gt;
The ''ussd_map'' module will generate an alarm when entering/exiting a congestion state. If SNMP support is enabled, this will generate a trap on SNMP.&lt;br /&gt;
The congestion status is also reported in the ''state'' entry in the result of the module status command.&lt;br /&gt;
&lt;br /&gt;
* '''Module status'''&lt;br /&gt;
&lt;br /&gt;
The module reports its status through the following command in the YATE telnet console:&lt;br /&gt;
&lt;br /&gt;
 status ussd_map&lt;br /&gt;
&lt;br /&gt;
The command will print the following information:&lt;br /&gt;
&lt;br /&gt;
 workers=count_of_dispatching_threads,messages=count_msg,dialogs=count_of_dialogs,state=normal,count=count_of_applications;format=Type | CurrentDlgs| MAPCreated | UssdCreated |DefaultRouted | MAPSent | MapRecv | USSDSent | USSDRecv | MAPAbort | USSDAbort | BuiltAbort | MAPTimeouts | USSDTimeouts&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
* workers: current number of used dispatching threads from the maximum configured pool (e.g., 3/10 means 3 threads are used of a pool of 10)&lt;br /&gt;
* messages: count of messages waiting on the dispatching queue of the engine&lt;br /&gt;
* dialogs: total number of USSD sessions currently handled by all applications&lt;br /&gt;
* state of the engine: normal/congestion&lt;br /&gt;
* count: number of applications acting either as gsmSCF, either as HLR&lt;br /&gt;
* format: name of the application for which the following data is reported:&lt;br /&gt;
** Type: role of the application: SCF (communicates with real HLR), HLR (communicates with real gsmSCF)&lt;br /&gt;
** CurrentDlgs: number of current MAP dialogs handled by this application&lt;br /&gt;
** MAPCreated: number of sessions (dialogs) started by the MAP side&lt;br /&gt;
** UssdCreated: number of sessions (dialogs) started by the SMPP side&lt;br /&gt;
** DefaultRouted: number of dialogs for which failover took place&lt;br /&gt;
** MAPSent: number of MAP messages sent to gsmSCF/HLR. It doesn't count the ones sent via failover routing.&lt;br /&gt;
** MAPRecv: number of MAP messages received from gsmSCF/HLR&lt;br /&gt;
** USSDSent: number of sent ussd.execute/ussd.update/ussd.finalize messages towards the SMPP side.&lt;br /&gt;
** USSDRecv: number of received ussd.execute/ussd.update/usdd.notify messages from SMPP side.&lt;br /&gt;
** MAPAbort: number of dialog aborts generated by MAP side&lt;br /&gt;
** USSDAbort: number of dialog aborts generated by USSD side&lt;br /&gt;
** BuiltAbort: number of dialog aborts generated by the ussd_map module (e.g., not having a ussd.update message processed by anyone will cause ussd_map to generate session abort)&lt;br /&gt;
** MAPTimeouts: number of dialog timeouts generated by MAP side&lt;br /&gt;
** USSDTimeouts: number of timeouts reported by USSD side&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Module control commands'''&lt;br /&gt;
&lt;br /&gt;
The module offers the following control commands through the telnet console:&lt;br /&gt;
* ''control ussd_map appName print-msg [yes|no|verbose]'' : enable printing of received/sent map./ussd./messages.&lt;br /&gt;
* ''control ussd_map appName print-xml [yes|no|verbose]'' : enable printing of received/sent XMLs.&lt;br /&gt;
* ''control ussd_map appName export-xml-as [string|object|both]'' : change the way XML is set in the internal messages&lt;br /&gt;
* ''control ussd_map start_stats'' : begin gathering data for statistics&lt;br /&gt;
* ''control ussd_map stop_stats'' : stop gathering data for statistics&lt;br /&gt;
* ''control usdd_map stats'' : print statistic data per engine and each application in part. Data contains number of MAP messages handled per second, number of USSD messages handled per second, maximum number of current dialogs, number of timeouts and number of aborts.&lt;br /&gt;
&lt;br /&gt;
==== ysmpp module ====&lt;br /&gt;
&lt;br /&gt;
The ysmpp module provides the following options for status command:&lt;br /&gt;
&lt;br /&gt;
'NOTE' the module_name can take the following values: smppserver or smppclient.&lt;br /&gt;
&lt;br /&gt;
* status module_name listeners&lt;br /&gt;
Prints the module listeners status in format: Address|Status|Reason.&lt;br /&gt;
&lt;br /&gt;
* status module_name sessions&lt;br /&gt;
Prints the status of the sessions in format: Id|State|BindMode|SystemId|IpAddress:Port|Congested|Incoming Queue|Outgoing Queue;&lt;br /&gt;
&lt;br /&gt;
** Id: The ID of the SMPP session. Can be used for routing.&lt;br /&gt;
** State: The state of the SMPP session.&lt;br /&gt;
** BindMode: The mode in which the session was bound. (Send/Recv/SendRecv)&lt;br /&gt;
** SystemId: The id with which the session has been authenticated. Can be used in routing.&lt;br /&gt;
** IpAddress:Port: The Ip Address and port of the remote end of the session.&lt;br /&gt;
** Congested: True if this session is in congestion state.&lt;br /&gt;
** Incoming Queue: The number of messages not processed in the incoming queue.&lt;br /&gt;
** Outgoing Queue: The number of messages not processed in the outgoing queue.&lt;br /&gt;
&lt;br /&gt;
*status module_name ussd overview&lt;br /&gt;
Prints the stats of the USSD sessions in format: Total|Active|Average Duration|Total Sent|Total Received|AverageTrafficPerSecond|EndedWithErrors|CongestionRefused&lt;br /&gt;
&lt;br /&gt;
** Total: the number of USSD sessions created since the starting of the program.&lt;br /&gt;
** Active: the number of USSD sessions currently active.&lt;br /&gt;
** Average Duration: average duration of a ussd session.&lt;br /&gt;
** Total Sent: total number of SMPP messages sent for USSD sessions.&lt;br /&gt;
** Total Received: total number of SMPP messages received for USSD sessions.&lt;br /&gt;
** AverageTrafficPerSecond: average traffic per second for USSD sessions.&lt;br /&gt;
** EndedWithErrors: the number of USSD sessions that ended with error.&lt;br /&gt;
** CongestionRefused: the number of USSD sessions refused because the server was overloaded.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* Mobile Application Part (MAP) specification: ETSI TE 129 002&lt;/div&gt;</summary>
		<author><name>Andrei</name></author>	</entry>

	<entry>
		<id>https://ss7api.null.ro/index.php/USSD_GW</id>
		<title>USSD GW</title>
		<link rel="alternate" type="text/html" href="https://ss7api.null.ro/index.php/USSD_GW"/>
				<updated>2014-01-15T13:36:58Z</updated>
		
		<summary type="html">&lt;p&gt;Andrei: /* ysmpp module */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is an implementation an USSD gateway acting as a MAP Service Control Function (gsmSCF) and as a HLR at the same time. When communicating with a HLR or VLR, the YATE USSD GW acts as a gsmSCF. When communicating with a gsmSCF, the YATE USSDGW acts as a HLR.&lt;br /&gt;
The functionality of the USSD GW allows:&lt;br /&gt;
* redirecting of USSD requests arriving either from user side or gsmSCF side to a SMPP client where they can be altered.&lt;br /&gt;
* acting as a proxy for requests that need not be handled by SMPP clients or when the SMPP handling fails&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== MAP USSD description ==&lt;br /&gt;
&lt;br /&gt;
In versions 2 and 3 of the GSM MAP protocol there are 3 operations used for USSD operations:&lt;br /&gt;
* processUnstructedSS-Request&lt;br /&gt;
* unstructuredSS-Request&lt;br /&gt;
* unstrusturedSS-Notify&lt;br /&gt;
&lt;br /&gt;
The are 2 scenarios for USSD operations:&lt;br /&gt;
* mobile initiated USSD requests&lt;br /&gt;
* network initiated USSD requests&lt;br /&gt;
&lt;br /&gt;
A TCAP dialog used by USSD is always terminated by the network side.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Mobile initiated USSD requests ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Mobile initiated USSD requests are USSD requests started by the mobile subscriber.  &lt;br /&gt;
&lt;br /&gt;
A USSD request is started when receiving a TCAP BEGIN message containing the ''processUnstructedSS-Request'' Invoke operation. The request can be handled by the VLR, HLR or a gsmSCF. If the VLR does not handle the request, it will transmit it to the HLR. The HLR can either handle it itself or it can transmit it to a gsmSCF for handling.&lt;br /&gt;
&lt;br /&gt;
At this point, the network can either send a response to the request immediately or request additional information. In the first case, the handler of the request will send a TCAP End with ''processUnstructuredSS-Request'' ResultLast containing the result for the request. &lt;br /&gt;
In the latter case, the network will send a TCAP CONTINUE with ''unstructuredSS-Request'' Invoke operation. The response of the mobile subscriber to this request will be passed to the network in a TCAP CONTINUE with ''unstructuredSS-Request'' ResultLast component. At this point, if the network decides that it has enough information for providing the response to the user, it will send a TCAP END with ''processUnstructuredSS-Request'' ResultLast. Otherwise, it can request further information through another ''unstructuredSS-Request'' Invoke operation.&lt;br /&gt;
&lt;br /&gt;
=== Network initiated USSD requests ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Network initiated USSD requests are USSD requests started by the network towards a certain subscriber.&lt;br /&gt;
&lt;br /&gt;
Requests made by the network can be of one of two types:&lt;br /&gt;
* user interaction requests&lt;br /&gt;
* network notification requests.&lt;br /&gt;
&lt;br /&gt;
User interaction requests are USSD requests that the network makes in which it requires some type of information back from the mobile subscriber. These are started by the network through a TCAP BEGIN containing an ''unstructuredSS-Request'' Invoke. The answer from the mobile subscriber will be received in a TCAP CONTINUE containing an ''unstructuredSS-Request'' ResultLast. If the network still wants to request further information, it will repeat the process. Otherwise, it will send a TCAP END to close the TCAP dialog.&lt;br /&gt;
&lt;br /&gt;
Network notification requests are USSD requests in which the network only sends a notification to the user. This is achieved by sending a TCAP BEGIN message containing a ''unstructuredSS-Notify'' Invoke. The mobile subscriber side will only respond with a TCAP CONTINUE containing an empty ''unstructuredSS-Notify'' in order to signal that the notification was received. The network will close the TCAP dialog through TCAP END.&lt;br /&gt;
&lt;br /&gt;
=== MAP USSD parameters ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following list describe common parameters used across all MAP USSD operations:&lt;br /&gt;
* ''destinationReference'': this parameter will contain either an MSISDN or an IMSI. In the case of mobile originated USSD request, this will identify the user which made the request. In the case of network initiated requests, it will identify the mobile user to be contacted for this request.&lt;br /&gt;
* ''ussd-String'': for ''processUnstructuredSS-Request'' Invoke it contains the dialed USSD code, for the result it would probably contain a message from the network detailing the result of the request. For ''unstructuredSS-Request'' Invoke it will contain a message asking for the user to choose some option and for the result it will contain the option chosen by the user. In the case of ''unstructuredSS-Notify'', this parameter will only be present in the Invoke.&lt;br /&gt;
* ''ussd-DataCodingScheme'': this is a parameter which specifies in which way the ''ussd-String'' parameter is encoded and it is present whenever ''ussd-String'' is present. E.g., this parameter would indicate if the ''ussd-String'' is encoded using GSM7bit encoding or UCS2.&lt;br /&gt;
&lt;br /&gt;
== SMPP USSD description ==&lt;br /&gt;
&lt;br /&gt;
'''TO DO'''&lt;br /&gt;
&lt;br /&gt;
== System description ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== System design ===&lt;br /&gt;
&lt;br /&gt;
In order to provide the specified functionality, the system makes use of the following YATE components:&lt;br /&gt;
* the SS7 stack  present in YATE &lt;br /&gt;
* the camel_map module which decodes/encodes MAP messages coming from the SS7 network to/from internal YATE messages containing MAP operations in XML form. Together with the SS7 layer this provides MAP connectivity with HLR/gsmSCF.&lt;br /&gt;
* the ussd_map module which takes internal MAP messsages decoded by the camel_map moduled and translates them to internal USSD messages. This module acts as gsmSCF towards a HLR and as a HLR towards a gsmSCF.&lt;br /&gt;
* the SMPP stack present in YATE (ysmpp module) which is able to catch internal USSD messages and transmit them over SMPP. It also translates SMPP messages into internal USSD messages.&lt;br /&gt;
* requests for new USSD sessions will go through routing to decide who should handle the request.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following sections detail the behaviour of the system in the different USSD scenarios.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Mobile originated USSD handling ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A user initiated USSD session is handled according to the following schema:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:user_initiated_ussd.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# HLR sends a ''processUnstructuredSS-Request (Invoke)'' for code *100#. camel_map decodes the ''ussd-String'' into ''ussd-Text=*100#''.&lt;br /&gt;
# the ussd_map module (gsmSCF side) processes the request received from the HLR and emits a ''call.route'' message with ''called=*100#''.&lt;br /&gt;
# After ussd_map module successfully dispatched the call.route message, it generates a ''ussd.execute'' message with the ''callto'' parameter set to the value returned from routing. ussd_map dispatches the ''ussd.execute'' message.&lt;br /&gt;
# The ysmpp module catches the ''ussd.execute'' message and if the ''callto'' param value starts with ''ysmppserver/'' and with it it builds a ''deliver_sm'' message that it will send  it to the target specified in ''callto'' parameter after the module prefix ''ysmppserver/''.&lt;br /&gt;
# The ysmpp module receives and process the received ''submit_sm'' message.&lt;br /&gt;
# The ysmpp module will send a ''call.route'' message with the ''called=*100#''.&lt;br /&gt;
# The ysmpp module emits a ''ussd.execute'' message with ''callto=retvalue from call.route'' message.&lt;br /&gt;
# The ussd_map module (HLR part) processes the ussd.execute message and if it is the target of the message, meaning that ''callto'' starts with ''ussd_map/''. From that message it will build a map.message that it will send to the gsmSCF as a ''processUnstructuresSS-Request (Invoke)'' MAP message.&amp;lt;br&amp;gt;'''NOTE:''' From here on, the gsmSCF could handle the request in one of  two distinguished cases: one where the gsmSCF requires interaction with the mobile subscriber and one where the gsmSCF just needs to respond to the user request. The following steps detail the former case.&amp;lt;br&amp;gt;&lt;br /&gt;
# gsmSCF sends an ''unstructuredSS-Request (Invoke)'' to  request further information.&lt;br /&gt;
# The ussd_map module (HLR part) processes the ''unstructuredSS-Request (Invoke)'' message and emits an ''ussd.update'' message.&lt;br /&gt;
# The ysmpp module receives the ''ussd.update'' message and confirms to the SMPP client that the message sent in step 5 was processed.&lt;br /&gt;
# The SMPP client should confirm the processing of the SMPP message sent in step 4.&lt;br /&gt;
# The ysmpp module sends a ''deliver_sm'' message to the SMPP client with the menu received in ''ussd.update'' message.&lt;br /&gt;
# The SMPP client should send a ''submit_sm'' message with the received menu.&lt;br /&gt;
# The ysmpp module receives the ''submit_sm'' message from SMPP client and emits a ''ussd.update'' message.&lt;br /&gt;
# The ussd_map module (SCF part) process the ''ussd.update'' message and sends an ''unstructuredSS-Request (Invoke)'' towards the HLR.&amp;lt;br&amp;gt;The time in which the mobile subscribers responds can be quite long.&amp;lt;br&amp;gt;&lt;br /&gt;
# The HLR sends  ''unstructuredSS-Request (ResultLast)'' to USSD gateway when receiving the response from the mobile subscriber.&lt;br /&gt;
# The ussd_map module (SCF part) processes the message and emits a ''ussd.update'' message.&lt;br /&gt;
# ysmpp module processes the ''ussd.update'' message and sends ''submit_sm rsp'' to SMPP client to confirm the reception of the message sent on step 14.&lt;br /&gt;
# The SMPP client should send a ''deliver_sm rsp'' to confirm the message received on step 13.&lt;br /&gt;
# The ysmpp module will send a deliver_sm message to SMPP clients which will contain user's response.&lt;br /&gt;
# The SMPP client should send a ''submit_sm'' message to SMPP server which will contain the message received on step 21.&lt;br /&gt;
# The ysmpp module receives the ''submit_sm'' message and emits a ''ussd.update'' message.&lt;br /&gt;
# The ussd_map module (HLR part) receives the ''ussd.update'' message and sends the ''unstructuredSS-Request (ResultLast)'' to gsmSCF.&amp;lt;br&amp;gt;'''NOTE:''' Steps between 9 and 24 can be repeated.&amp;lt;br&amp;gt;&lt;br /&gt;
# The gsmSCF sends ''processUnstructuredSS-Request (ResultLast)''  for the initial user request.&lt;br /&gt;
# The ussd_map module (HLR part) processes the ''processUnstructuredSS-Request (ResultLast)'' and sends a ''ussd.finalize'' message.&lt;br /&gt;
# The ysmpp module receives the ''ussd.finalize'' message and sends a ''submit_sm rsp'' for the message received on point 22 or 5.&lt;br /&gt;
# The SMPP client should send a ''deliver_sm rsp'' for the message received on point 21 or 4.&lt;br /&gt;
# The ysmpp module sends a ''deliver sm + last message indication'' to SMPP client.&lt;br /&gt;
# The SMPP client should send a ''submit sm + last message indication'' to SMPP server.&lt;br /&gt;
# ysmpp module receives ''submit_sm'' message and sends a ''ussd.finalize'' message.&lt;br /&gt;
# ysmpp module sends ''submit_sm rsp'' to confirm the message received on step 31.&lt;br /&gt;
# SMPP client should send a ''deliver_sm rsp'' to confirm the message received on step 29.&lt;br /&gt;
# The ussd_map module (SCF part) processes the ''ussd.finalize'' message and sends ''processUnstructuredSS-Request (ResultLast)''.&lt;br /&gt;
&lt;br /&gt;
==== Network initiated USSD Request ====&lt;br /&gt;
&lt;br /&gt;
A network initiated USSD session is handled as described in the following figure:&lt;br /&gt;
&lt;br /&gt;
[[File:network_initiated_ussd.png]]&lt;br /&gt;
&lt;br /&gt;
# gsmSCF sends''unstructuredSS-Request (Invoke)'' to USSD Gateway (HLR part) to present a menu for MSISDN 0015559191.&lt;br /&gt;
# The ussd_map module (HLR part) processes the ''unstructuredSS-Request (Invoke)'' message and emits a ''call.route'' message with called=0015559191. &lt;br /&gt;
# After ussd_map module successfully dispatched the call.route message, it generates a ''ussd.execute'' message with ''callto'' set to the route returned in the return value of the ''call.route'' message and dispatches an ''ussd.execute'' message.&lt;br /&gt;
# The ysmpp module catches the ''ussd.execute'' message and if the ''callto'' param value starts with ''ysmppserver/'' and with it it builds a ''deliver_sm'' message that it will then send to the target specified in the ''callto'&amp;quot; parameter after the ''ysmppserver'' module prefix.&lt;br /&gt;
# The SMPP client should send a ''submit_sm'' message towards SMPP server.&lt;br /&gt;
# The SMPP server processes the received ''submit_sm'' message and dispatches a ''call.route'' message.&lt;br /&gt;
# After successfully dispatching of ''call.route'' message the SMPP server will dispatch a ''call.execute'' message.&lt;br /&gt;
# The ussd_map module (SCF part) process the ''ussd.execute'' message and sends an ''unstructuredSS-Request (Invoke)'' towards the HLR.&amp;lt;br&amp;gt;The time to receiving a response from the user after gsmSCF has requested user interaction could be possibly quite long.&amp;lt;br&amp;gt;&lt;br /&gt;
# The HLR sends  ''unstructuredSS-Request (ResultLast)'' to USSD gateway &lt;br /&gt;
# The ussd_map module (SCF part) processes the message and emits a ''ussd.update'' message.&lt;br /&gt;
# ysmpp module processes the ''ussd.update'' message and sends ''submit_sm rsp'' to SMPP client to confirm the reception of the message sent on step 5.&lt;br /&gt;
# The SMPP client should send a ''deliver_sm rsp'' to confirm the message received on step 4.&lt;br /&gt;
# The ysmpp module will send a deliver_sm message to SMPP clients which will contain user's response.&lt;br /&gt;
# The SMPP client should send a ''submit_sm'' message to SMPP server which will contain the message received on step 13.&lt;br /&gt;
# The ysmpp module receives the ''submit_sm'' message and emits a ''ussd.update'' message.&lt;br /&gt;
# The ussd_map module (HLR part) receives the ''ussd.update'' message and sends the ''unstructuredSS-Request (ResultLast)'' to gsmSCF.&amp;lt;br&amp;gt;'''NOTE:''' Steps between 1 and 16 can be repeated.&amp;lt;br&amp;gt;&lt;br /&gt;
# The gsmSCF sends ''TCAP END'' in order to finish the USSD session.&lt;br /&gt;
# The ussd_map module (HLR part) processes the ''TCAP END'' and sends a ''ussd.finalize'' message.&lt;br /&gt;
# The ysmpp module receives the ''ussd.finalize'' message and sends a ''submit_sm rsp'' for the message received on point 14.&lt;br /&gt;
# The SMPP client should send a ''deliver_sm rsp'' for the message received on point 13.&lt;br /&gt;
# The ysmpp module sends a ''deliver sm + last message indication'' to SMPP client.&lt;br /&gt;
# The SMPP client should send a ''submit sm + last message indication'' to SMPP server.&lt;br /&gt;
# ysmpp module sends ''submit_sm rsp'' to confirm the message received on step 22.&lt;br /&gt;
# SMPP client should send a ''deliver_sm rsp'' to confirm the message received on step 21.&lt;br /&gt;
# ysmpp module receives ''submit_sm'' message and sends a ''ussd.finalize'' message.&lt;br /&gt;
# The ussd_map module (SCF part) processes the ''ussd.finalize'' message and sends ''END''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Fallback/Proxy mode ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following images detail scenarios where the USSD GW is instructed to do failover.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:user_initiated_failover.png]]&lt;br /&gt;
&lt;br /&gt;
The picture above details a failover scenario for when an HLR sends ''processUnstructuredSS-Request (Invoke)'' (1).&lt;br /&gt;
&lt;br /&gt;
'''NOTES:''' &lt;br /&gt;
* The read circles in the above picture represent points in handling where a fallback decision can be made.&lt;br /&gt;
* A fallback decision can be made only if in all previous fallback decision points the necessity for failover was determined to be false.&lt;br /&gt;
* '''U1''' and '''U2''' represent SMPP message responses.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Decision points where ''ussd_map'' will determine the need for failover:&lt;br /&gt;
*'''E1''': Routing procedure does not return a valid route (''call.route''  returns with false or an error) or routing decision indicates a failover route (routing return a route starting with prefix ''ussd_map/'')&lt;br /&gt;
*'''E2''': ''ussd.execute'' message fails to be processed (in this case by the ysmpp module)&lt;br /&gt;
*'''E3''': SMPP server received an SMPP error for ''deliver_sm'' message. &lt;br /&gt;
*'''E4''': SMPP client received an SMPP error for ''submit_sm'' message.&lt;br /&gt;
*'''E5''': The ''call.route'' message  emitted by ''ysmpp'' does not return a valid route (''call.route''  returns with false or an error).&lt;br /&gt;
*'''E6''': ''ussd.execute'' message fails to be processed (in this case by the ussd_map module).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Network initiated USSD session fallback.&lt;br /&gt;
&lt;br /&gt;
[[File:network_initiated_failover.png]]&lt;br /&gt;
&lt;br /&gt;
The picture above details a failover scenario for when a gsmSCF sends a &amp;quot;unstructuredSS-Request/unstructuredSS-Notify (Invoke)'' (1).&lt;br /&gt;
&lt;br /&gt;
'''NOTES:'''&lt;br /&gt;
* The read circles in the above picture represent points in handling where a fallback decision can be made.&lt;br /&gt;
* A fallback decision can be made only if in all previous fallback decision points the necessity for failover was determined to be false.&lt;br /&gt;
* '''U1''' and '''U2''' represent SMPP message responses.&lt;br /&gt;
&lt;br /&gt;
Decision points where ''ussd_map'' will determine the need for failover:&lt;br /&gt;
*'''E1''': Routing procedure does not return a valid route (''call.route''  returns with false or an error) or routing decision indicates a failover route (routing return a route starting with prefix ''ussd_map/'')&lt;br /&gt;
*'''E2''': ''ussd.execute'' message fails to be processed (in this case by the ysmpp module)&lt;br /&gt;
*'''E3''': SMPP server received an SMPP error for ''deliver_sm'' message.&lt;br /&gt;
*'''E4''': SMPP client received an SMPP error for ''submit_sm'' message.&lt;br /&gt;
*'''E5''': The ''call.route'' message  emitted by ''ysmpp'' does not return a valid route (''call.route''  returns with false or an error).&lt;br /&gt;
*'''E6''': ''ussd.execute'' message fails to be processed (in this case by the ussd_map module).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The SMPP USSD gateway will also be bypassed when the ''ussd_map'' module is configured to do failover for all requests.&lt;br /&gt;
&lt;br /&gt;
Any type of SMPP error received either in the result for the ''ussd.execute'' or in the first message back from SMPP that does not have a mapping on MAP will lead to the ''ussd_map'' module doing failover. Errors that would generate a failover are errors like timeout, session ended abnormally, unknown errors, congestion errors.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once ''ussd_map'' decides that failover should be done, it will use the original received message  from the HLR (MO case)/gsmSCF (MT case) and it will only alter the called address to be the one of the gsmSCF/HLR set for the failover.. The calling address will remain the one received from HLR/gsmSCF, the idea being that for the first message we want to pretend that we are the original gsmSCF/HLR. When the receiving end of this message will want to respond, it will use the calling address from the message. Seeing that the ''ussd_map'' module set it to the original calller's address, further messages exchanged in that dialog between HLR and gsmSCF will not pass through USSD GW again.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Internal message API ====&lt;br /&gt;
&lt;br /&gt;
This section documents the YATE messages used internally by the USSD GW.&lt;br /&gt;
&lt;br /&gt;
===== call.route =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This message is used by ussd_map and ysmpp module to determine a destination where a new USSD session should be sent for further processing.&lt;br /&gt;
&lt;br /&gt;
This message is sent by either ''ussd_map'' module or ''ysmpp'' module when receiving a request for a new USSD session on MAP for ''ussd_map'' or on SMPP for ''ysmpp''.&lt;br /&gt;
''ussd_map'' will only send this message if default routing is not enabled from configuration.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
* id:&lt;br /&gt;
** type: string&lt;br /&gt;
** Identifier for the USSD session used by the dispatcher of the message.&lt;br /&gt;
* called:&lt;br /&gt;
** type: string&lt;br /&gt;
** It specifies the value on which destination is determined. For a MO USSD session, this parameter will contain the decoded USSD string (USSD request code). For a MT USSD sessions, this parameter will contain the destination MSISDN.&lt;br /&gt;
* callednumtype:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies type (NAI) of the called parameter. It is used only when called is a MSISDN&lt;br /&gt;
* callednumplan:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** Numbering plan for the number specified by the called parameter.  It is used only when called is a MSISDN.&lt;br /&gt;
* caller:&lt;br /&gt;
** type: string:&lt;br /&gt;
** Identifies the caller in this USSD session. For MO USSD it can be the MSISDN (if present) . ''ussd_map'' will set the the calling party address GT in this parameter for MT case or if MSISDN is not specified for MO case.&lt;br /&gt;
* callernumtype:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies type (NAI) of the caller parameter.&lt;br /&gt;
* callernumplan:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** Numbering plan for the number specified by the caller parameter.&lt;br /&gt;
* operation_type:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** The type of USSD operation that fired this message.&lt;br /&gt;
* text_encoding:&lt;br /&gt;
** type: hexified string&lt;br /&gt;
** The MAP USSD data coding scheme&lt;br /&gt;
* text_encoded:&lt;br /&gt;
** type: hexified string&lt;br /&gt;
** The encoded USSD string&lt;br /&gt;
* text:&lt;br /&gt;
** type: string&lt;br /&gt;
** The decoded USSD string conforming to the USSD data coding scheme.&lt;br /&gt;
* imsi:&lt;br /&gt;
** type: string&lt;br /&gt;
** IMSI value if available.&lt;br /&gt;
* hlr:&lt;br /&gt;
** type: string&lt;br /&gt;
** It specifies the HLR GTT if that information was available.&lt;br /&gt;
* hlr.nature:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies HLR GTT nature  (NAI)&lt;br /&gt;
* hlr.plan:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies HLR GTT numbering plan&lt;br /&gt;
* vlr:&lt;br /&gt;
** type: string&lt;br /&gt;
** It specifies the VLR GTT if that information was available.&lt;br /&gt;
* vlr.nature:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies VLR GTT nature  (NAI)&lt;br /&gt;
* vlr.plan:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies VLR GTT numbering plan&lt;br /&gt;
* gsmscf:&lt;br /&gt;
** type: string&lt;br /&gt;
** It specifies the gsmSCF GTT if that information was available.&lt;br /&gt;
* gsmscf.nature:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies gsmSCF GTT nature  (NAI)&lt;br /&gt;
* gsmscf.plan:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies gsmSCF GTT numbering plan&lt;br /&gt;
* destination_reference:&lt;br /&gt;
** type: string&lt;br /&gt;
** MSISDN or IMSI specified in the DestinationReference TCAP MAP parameter.&lt;br /&gt;
* destination_reference.nature:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies DestinationReference nature  (NAI)&lt;br /&gt;
* destination_reference.plan:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies DestinationReference numbering plan&lt;br /&gt;
* msisdn:&lt;br /&gt;
** type: string&lt;br /&gt;
** MSISDN &lt;br /&gt;
* alert_pattern:&lt;br /&gt;
** type: string&lt;br /&gt;
** Alert Pattern parameter as received in the USSD MAP message.&lt;br /&gt;
* module&lt;br /&gt;
** type: string &lt;br /&gt;
** Name of the module which requested routing&lt;br /&gt;
* application&lt;br /&gt;
** type: string&lt;br /&gt;
** Name of the ussd_map application which sent this routing request&lt;br /&gt;
* route_type&lt;br /&gt;
** type: keyword, value: ussd &lt;br /&gt;
** Specifies routing type, in this case it'll be USSD routing&lt;br /&gt;
* smpp_session_id&lt;br /&gt;
** type: string&lt;br /&gt;
** TODO&lt;br /&gt;
* smpp_system_id&lt;br /&gt;
** type: string&lt;br /&gt;
** TODO&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* The  hlr/vlr address represents:&lt;br /&gt;
** the address from which the message was received (if it can be determined) for MO USSD session.&lt;br /&gt;
** the address where the message should be sent for MT USSD session.&lt;br /&gt;
&lt;br /&gt;
Returned parameters:&lt;br /&gt;
* if the message was processed, the return value of the message indicates the destination of the subsequent ''ussd.execute'' message.&lt;br /&gt;
* if the message was not processed or it returned with error (signaled by the return value being either &amp;quot;-&amp;quot; or &amp;quot;error&amp;quot;)&lt;br /&gt;
** ''ussd_map'' will do failover&lt;br /&gt;
** ysmpp will close the SMPP session, indicating an error either set by the call.route or either set to the default unknown error indication.&lt;br /&gt;
&lt;br /&gt;
===== ussd.execute =====&lt;br /&gt;
&lt;br /&gt;
This message is used to begin a new USSD session:&lt;br /&gt;
* on SMPP, if the message is directed to the ''ysmpp'' module&lt;br /&gt;
* on MAP if the message is directed to the ''ussd_map'' module&lt;br /&gt;
&lt;br /&gt;
This message is sent by either ''ussd_map'' module or ''ysmpp'' module after successful routing stage. In case of the ''ussd_map'' module, this is message is sent if the routing stage did not indicate failover necessity.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
* callto:  &lt;br /&gt;
** type : string&lt;br /&gt;
** It specifies the target module to process the message. The string should start with  'ysmppserver/' for the  ''ysmpp&amp;quot; module and with ''ussd_map/'' for the ''ussd_map'' module.&lt;br /&gt;
* id:&lt;br /&gt;
** type: string&lt;br /&gt;
** Identifier for the USSD session used by the dispatcher of the message.&lt;br /&gt;
* called:&lt;br /&gt;
** type: string&lt;br /&gt;
** It specifies the value on which destination is determined. For a MO USSD session, this parameter will contain the decoded USSD string (USSD request code). For a MT USSD sessions, this parameter will contain the destination MSISDN.&lt;br /&gt;
* callednumtype:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies type (NAI) of the called parameter. It is used only when called is a MSISDN&lt;br /&gt;
* callednumplan:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** Numbering plan for the number specified by the called parameter.  It is used only when called is a MSISDN.&lt;br /&gt;
* caller:&lt;br /&gt;
** type: string:&lt;br /&gt;
** Identifies the caller in this USSD session. For MO USSD it can be the MSISDN (if present) . ''ussd_map'' will set the the calling party address GT in this parameter for MT case or if MSISDN is not specified for MO case.&lt;br /&gt;
* callernumtype:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies type (NAI) of the caller parameter.&lt;br /&gt;
* callernumplan:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** Numbering plan for the number specified by the caller parameter.&lt;br /&gt;
* operation_type:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** The type of USSD operation that fired this message.&lt;br /&gt;
* text_encoding:&lt;br /&gt;
** type: hexified string&lt;br /&gt;
** The MAP USSD data coding scheme&lt;br /&gt;
* text_encoded:&lt;br /&gt;
** type: hexified string&lt;br /&gt;
** The encoded USSD string&lt;br /&gt;
* text:&lt;br /&gt;
** type: string&lt;br /&gt;
** The decoded USSD string conforming to the USSD data coding scheme.&lt;br /&gt;
* imsi:&lt;br /&gt;
** type: string&lt;br /&gt;
** IMSI value if available.&lt;br /&gt;
* hlr:&lt;br /&gt;
** type: string&lt;br /&gt;
** It specifies the HLR GTT if that information was available.&lt;br /&gt;
* hlr.nature:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies HLR GTT nature  (NAI)&lt;br /&gt;
* hlr.plan:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies HLR GTT numbering plan&lt;br /&gt;
* vlr:&lt;br /&gt;
** type: string&lt;br /&gt;
** It specifies the VLR GTT if that information was available.&lt;br /&gt;
* vlr.nature:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies VLR GTT nature  (NAI)&lt;br /&gt;
* vlr.plan:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies VLR GTT numbering plan&lt;br /&gt;
* gsmscf:&lt;br /&gt;
** type: string&lt;br /&gt;
** It specifies the gsmSCF GTT if that information was available.&lt;br /&gt;
* gsmscf.nature:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies gsmSCF GTT nature  (NAI)&lt;br /&gt;
* gsmscf.plan:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies gsmSCF GTT numbering plan&lt;br /&gt;
* destination_reference:&lt;br /&gt;
** type: string&lt;br /&gt;
** MSISDN or IMSI specified in the DestinationReference TCAP MAP parameter.&lt;br /&gt;
* destination_reference.nature:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies DestinationReference nature  (NAI)&lt;br /&gt;
* destination_reference.plan:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** It specifies DestinationReference numbering plan&lt;br /&gt;
* msisdn:&lt;br /&gt;
** type: string&lt;br /&gt;
** MSISDN &lt;br /&gt;
* alert_pattern:&lt;br /&gt;
** type: string&lt;br /&gt;
** Alert Pattern parameter as received in the USSD MAP message.&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
* The  hlr/vlr address represents:&lt;br /&gt;
** the address from which the message was received (if it can be determined) for MO USSD session.&lt;br /&gt;
** the address where the message should be sent for MT USSD session.&lt;br /&gt;
&lt;br /&gt;
Returned parameters:&lt;br /&gt;
* peerid:&lt;br /&gt;
** type: string&lt;br /&gt;
** Identifier assigned for this USSD session by the entity that processed this message.&lt;br /&gt;
* error:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** Error returned if the message was not processed.&lt;br /&gt;
&lt;br /&gt;
Processing of this message will return failure:&lt;br /&gt;
* if the message will not be processed&lt;br /&gt;
* if the 'id' parameter is missing.&lt;br /&gt;
* in case of processing error &lt;br /&gt;
* in case of congestion&lt;br /&gt;
&lt;br /&gt;
===== ussd.update =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This message is used for transmitting USSD messages during a USSD session. This type of message will be used after the initial stage of creating the session through ''ussd.execute'' has succeeded.&lt;br /&gt;
&lt;br /&gt;
When receiving this message:&lt;br /&gt;
* the ''ussd_map'' module will generate a TCAP CONTINUE message &lt;br /&gt;
* the ''ysmpp'' module will generate a SMPP ''deliver_sm'' if it acts as a server (as in the case of the USSD GW) or ''submit_sm'' if it acts as a SMPP client.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
* id:&lt;br /&gt;
** type: string&lt;br /&gt;
** USSD session identifier of the sending side of the message&lt;br /&gt;
* peerid:&lt;br /&gt;
** type: string&lt;br /&gt;
** USSD session identifier for the module that should process this message&lt;br /&gt;
* operation_type:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** The type of operation that fired this message. &lt;br /&gt;
* text_encoding:&lt;br /&gt;
** type: hexified string&lt;br /&gt;
** The MAP USSD data coding scheme&lt;br /&gt;
* text_encoded:&lt;br /&gt;
** type: hexified string&lt;br /&gt;
** The encoded USSD string&lt;br /&gt;
* text:&lt;br /&gt;
** type: string&lt;br /&gt;
** The decoded USSD string conforming to the USSD data coding scheme.&lt;br /&gt;
* error:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** Error received from one the USSD session endpoints. It might be a MAP error when HLR/gsmSCF/ failed to process a request or SMPP error when the SMPP client failed to process a request.&lt;br /&gt;
&lt;br /&gt;
Returned parameters:&lt;br /&gt;
* error:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** Error code if this message failed to be processed.&lt;br /&gt;
&lt;br /&gt;
Points of failure:&lt;br /&gt;
* The USSD session specified by peerid parameter cannot be found by the processing side.&lt;br /&gt;
* Processing of this message will be refused if it is received after a ''ussd.finalize'' message.&lt;br /&gt;
* Processing of this message will return an error if there are mandatory parameters missing of if the parameters specify a values not allowed in the context of the USSD session (e.g., sending a ''processUnstructuredSS-Request inside a ''ussd.update'' message)&lt;br /&gt;
&lt;br /&gt;
===== ussd.finalize =====&lt;br /&gt;
&lt;br /&gt;
This message is used to signal the termination of the USSD session. Successful processing of this message means that the USSD session was terminated and is no longer available. &lt;br /&gt;
&lt;br /&gt;
When receiving this message:&lt;br /&gt;
* the ''ussd_map'' module will generate a TCAP END/ABORT message depending upon the parameters received. A message containing an error that does not map to a MAP error will generate a TCAP ABORT.&lt;br /&gt;
* the ''ysmpp'' module will generate a SMPP ''deliver_sm'' if it acts as a server (as in the case of the USSD GW) or ''submit_sm'' if it acts as a SMPP client, a message that will usually contain a last message indication.&lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
* id:&lt;br /&gt;
** type: string&lt;br /&gt;
** USSD session identifier of the sending side of the message&lt;br /&gt;
* peerid:&lt;br /&gt;
** type: string&lt;br /&gt;
** USSD session identifier for the module that should process this message&lt;br /&gt;
* operation_type:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** The type of operation that fired this message. &lt;br /&gt;
* text_encoding:&lt;br /&gt;
** type: hexified string&lt;br /&gt;
** The MAP USSD data coding scheme&lt;br /&gt;
* text_encoded:&lt;br /&gt;
** type: hexified string&lt;br /&gt;
** The encoded USSD string&lt;br /&gt;
* text:&lt;br /&gt;
** type: string&lt;br /&gt;
** The decoded USSD string conforming to the USSD data coding scheme.&lt;br /&gt;
* error:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** Error received from one the USSD session endpoints. It might be a MAP error when HLR/gsmSCF/ failed to process a request or SMPP error when the SMPP client failed to process a request.&lt;br /&gt;
&lt;br /&gt;
Returned parameters:&lt;br /&gt;
* error:&lt;br /&gt;
** type: keyword&lt;br /&gt;
** Error code if this message failed to be processed.&lt;br /&gt;
&lt;br /&gt;
Points of failure:&lt;br /&gt;
* The USSD session specified by 'peerid parameter cannot be found by the processing side.&lt;br /&gt;
* Processing of this message will return an error if there are mandatory parameters missing of if the parameters specify a value not allowed in the context of the USSD session&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Keyword values =====&lt;br /&gt;
&lt;br /&gt;
This section details acceptable values for parameters listed as having type ''keyword''.&lt;br /&gt;
&lt;br /&gt;
* '''hlr.nature/vlr.nature/gsmscf.nature/destination_reference.nature'''&lt;br /&gt;
** unknown&lt;br /&gt;
** international&lt;br /&gt;
** national&lt;br /&gt;
** network-specific&lt;br /&gt;
** subscriber&lt;br /&gt;
** abbreviated&lt;br /&gt;
&lt;br /&gt;
* '''hlr.plan/vlr.plan/gsmscf.plan/destination_reference.plan'''&lt;br /&gt;
** unknown&lt;br /&gt;
** isdn&lt;br /&gt;
** data&lt;br /&gt;
** telex&lt;br /&gt;
** land-mobile&lt;br /&gt;
** national&lt;br /&gt;
** private&lt;br /&gt;
&lt;br /&gt;
* '''operation_type'''&lt;br /&gt;
** pssd: mapping of MAP v1 USSD operation ''processUnstructuredSS-Data'' and of SMPP operation ''PSSD''. &lt;br /&gt;
** pssr: mapping of MAP v2 USSD operation ''processUnstructuredSS-Request'' and of SMPP operation ''PSSR''.&lt;br /&gt;
** ussr: mapping of MAP v2 USSD operation ''unstructuredSS-Request'' and of SMPP operation ''USSR&amp;quot;.&lt;br /&gt;
** ussn: mapping of MAP v2 USSD operation ''unstructuredSS-Notify'' and of SMPP operation ''USSN''.&lt;br /&gt;
&lt;br /&gt;
* '''error'''&lt;br /&gt;
** invalid_logic:  error reported when required processing does not follow USSD rules (e.g., MT request starting with ''processUnstructuredSS-Requests'')&lt;br /&gt;
** system_failure: error mapping for MAP error ''systemFailure''.&lt;br /&gt;
** data_missing: error mapping for  MAP error ''dataMissing''.&lt;br /&gt;
** unexpected_data: error mapping for MAP error ''unexpectedDataValue''.&lt;br /&gt;
** unknown_alphabet: error mapping for MAP error ''unknownAlphabet''.&lt;br /&gt;
** absent_subscriber: error mapping for MAP error ''absentSubscriber''.&lt;br /&gt;
** illegal_subscriber: error mapping for MAP error ''illegalSubscriber''.&lt;br /&gt;
** illegal_equipment: error mapping for MAP error ''illegalEquipment''.&lt;br /&gt;
** ussd_busy: error mapping for MAP error ''ussd-Busy''.&lt;br /&gt;
** call_barred: error mapping for MAP error ''callBarred''.&lt;br /&gt;
** network_failure: error signaling message transmission failure due to  connectivity issues either on the SS7 side or SMPP side.&lt;br /&gt;
** timeout_expired: error signaling a  request timeout occurrence.&lt;br /&gt;
** ussd_sess_end_abnormally: error signaling USSD session termination due to an unknown cause. Mapping for this error implies a TCAP Abort either being generated of received. &lt;br /&gt;
** unknown_error: error specified when there is no available mapping for an errror from SMPP to MAP or vice versa.&lt;br /&gt;
** throttling_error: error signaling that a message failed to be processed due to processing side being in congestion state.&lt;br /&gt;
** protocol_error: SMPP generic error. This error is put whenever there is a SMPP specific error that cannot be mapped into one of the other errors.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== SMPP custom parameters ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''TO DO''' - should detail custom parameters added on SMPP protocol as also parameters that are not decoded by wireshark&lt;br /&gt;
&lt;br /&gt;
=== Configuration ===&lt;br /&gt;
&lt;br /&gt;
==== ysigchan module ====&lt;br /&gt;
&lt;br /&gt;
In order to have MAP connectivity, TCAP instances must be configured in ''ysigchan.conf'': &lt;br /&gt;
&lt;br /&gt;
 ; Example of a SS7 Transaction Capabilities Application Part&lt;br /&gt;
 ; This component is created when encountering a section of this kind&lt;br /&gt;
 ;[ss7tcap]&lt;br /&gt;
 ; type: keyword: identifies the component as a SS7 Transfer Capabilities Application Part&lt;br /&gt;
 ; type = ss7-tcap-ansi for ANSI TCAP&lt;br /&gt;
 ; type = ss7-tcap-itu for ITU TCAP&lt;br /&gt;
 ;type=&lt;br /&gt;
 &lt;br /&gt;
 ; local_SSN: local SubSystem Number. Mandatory&lt;br /&gt;
 ;local_SSN=&lt;br /&gt;
 &lt;br /&gt;
 ; default_remote_SSN: remote SubSystem Number to provide to SCCP if the application does not provide one&lt;br /&gt;
 ;default_remote_SSN=&lt;br /&gt;
  &lt;br /&gt;
 ; default_remote_pointcode: remote Point Code to provide to SCCP if the application does not provide one&lt;br /&gt;
 ;default_remote_pointcode=&lt;br /&gt;
 &lt;br /&gt;
 ; pointcodetype: remote Point Code type. See above documentation for available types&lt;br /&gt;
 ;pointcodetype=&lt;br /&gt;
 &lt;br /&gt;
 ; sccp: Name of the SCCP component to create and be used by this TCAP&lt;br /&gt;
 ; A section with the name given here must exist in order to configure the SCCP level&lt;br /&gt;
 ;sccp=&lt;br /&gt;
 &lt;br /&gt;
 ; default_hopcounter: HopCounter provided to SCCP if the application does not provide one&lt;br /&gt;
 ; Values range 1-15, 0 or boolean false disables, boolean true sets to 15&lt;br /&gt;
 ; A non-zero value will force using XUDT or LUDT instead of UDT messages&lt;br /&gt;
 ;default_hopcounter=false&lt;br /&gt;
 &lt;br /&gt;
 ; transact_timeout: Time in seconds to timeout a TCAP transaction after no more activity was registered on it&lt;br /&gt;
 ; NOTE: Values below 15 seconds will be ignored and the timer will assume the default value.&lt;br /&gt;
 ; Defaults to 300 seconds&lt;br /&gt;
 ;transact_timeout=300&lt;br /&gt;
 &lt;br /&gt;
 ; max_timeout_checks: integer: Maximum number of timeout checks done on a transaction without starting the transaction&lt;br /&gt;
 ;  timer before forcefully starting the transaction timer&lt;br /&gt;
 ; Defaults to 10&lt;br /&gt;
 ;max_timeout_checks=10 &lt;br /&gt;
 &lt;br /&gt;
 ; timeout_check: Time interval in milliseconds to check for timeouts.&lt;br /&gt;
 ; Default to 100 ms&lt;br /&gt;
 ;timeout_check=100 &lt;br /&gt;
 &lt;br /&gt;
 ; floodevents: int: How many queued incoming TCAP messages trigger a congestion warning and the drop mechanism&lt;br /&gt;
 ;  for Unidirectional/Begin/QueryWithPermission/QueryWithoutPermission messages.&lt;br /&gt;
 ;  Exit from congestion will take place when there are less the floodevents/4 messages in the queue&lt;br /&gt;
 ; NOTE! Setting this parameter to 0 will disable the congestion warning and protection. Setting it to one will &lt;br /&gt;
 ;  be overriden and floodevents will be set to 2.&lt;br /&gt;
 ;floodevents=1000&lt;br /&gt;
 &lt;br /&gt;
 ;print-messages: Boolean to enable/disable printing of decoding/encoding of TCAP messages&lt;br /&gt;
 ; This option applies on reload&lt;br /&gt;
 ;print-messages=false&lt;br /&gt;
 &lt;br /&gt;
 ;extended-debug: Boolean to enable/disable printing of the step-by-step decoding/encoding of TCAP messages&lt;br /&gt;
 ; This option applies on reload. print-messages must be true.&lt;br /&gt;
 ;extended-debug=false&lt;br /&gt;
 &lt;br /&gt;
 ;track_id: string: Shared engine variable name used by this TCAP to obtain a unique tracking ID&lt;br /&gt;
 ; If not set, TCAP transaction will not have a tracking ID&lt;br /&gt;
 ;track_id=&lt;br /&gt;
 &lt;br /&gt;
 ;track_id_base: string: Optional string with which to prefix the tracking ID&lt;br /&gt;
 ; This setting has no effect if track_id is not set&lt;br /&gt;
 ;track_id_base=&lt;br /&gt;
 &lt;br /&gt;
 ; hash_list_size: integer: Size of HashList used for keeping the list of current transactions&lt;br /&gt;
 ;hash_list_size=17&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Configuration Example'''&lt;br /&gt;
&lt;br /&gt;
 [tcap-scf]                                                                                                                                   &lt;br /&gt;
 ;enable=no                                                                                                                                   &lt;br /&gt;
 type=ss7-tcap-itu                                                                                                                            &lt;br /&gt;
 sccp=sccp                                                                                                                                    &lt;br /&gt;
 local_SSN=147                                                                                                                                &lt;br /&gt;
 pointcodetype=ITU                                                                                                                           &lt;br /&gt;
 print-messages=false                                                                                                                         &lt;br /&gt;
 extended-debug=false                                                                                                                         &lt;br /&gt;
 transact_timeout=600                                                                                                                         &lt;br /&gt;
 floodevents=1000                                                                                                                             &lt;br /&gt;
 track_id=ussdgw                                                                                                                              &lt;br /&gt;
 track_id_base=ussdgw/                                                                                                                        &lt;br /&gt;
                                                                                                                                             &lt;br /&gt;
 [tcap-hlr]                                                                                                                                   &lt;br /&gt;
 ;enable=no                                                                                                                                   &lt;br /&gt;
 type=ss7-tcap-itu                                                                                                                            &lt;br /&gt;
 sccp=sccp                                                                                                                                    &lt;br /&gt;
 local_SSN=7                                                                                                                                  &lt;br /&gt;
 pointcodetype=ITU                                                                                                                           &lt;br /&gt;
 print-messages=false                                                                                                                         &lt;br /&gt;
 extended-debug=false                                                                                                                         &lt;br /&gt;
 transact_timeout=600                                                                                                                         &lt;br /&gt;
 track_id=ussdgw                                                                                                                              &lt;br /&gt;
 track_id_base=ussdgw/  &lt;br /&gt;
&lt;br /&gt;
Further configuration for SS7 connectivity is required (SCCP, MTP3, etc.).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== camel_map module ====&lt;br /&gt;
&lt;br /&gt;
In order to allow communication over MAP through SS7, sections configurating application should exist for each role of the ussd_map module (gsmSCF/HLR). A ''camel_map.conf'' section configuring an application looks like this:&lt;br /&gt;
&lt;br /&gt;
 ;[local appName]&lt;br /&gt;
 ; This section configures a local application which transmits the XML messages as internal Yate messages&lt;br /&gt;
 &lt;br /&gt;
 ; translator: string: name of translator to be used by this application.&lt;br /&gt;
 ; Must be one one the [tcap ...] sections configured in the camel_map.conf file.&lt;br /&gt;
 ;translator=&lt;br /&gt;
  &lt;br /&gt;
 ; capabilities: string: List of capabilities separated by commas which this application supports&lt;br /&gt;
 ;capabilities=&lt;br /&gt;
  &lt;br /&gt;
 ; export_xml_as: string: Specify in which way the XML will be passed along into a Yate message&lt;br /&gt;
 ; Allowed values are:&lt;br /&gt;
 ;  - string: pass the XML as a string&lt;br /&gt;
 ;  - object: pass the XML as an object&lt;br /&gt;
 ;  - both: pass the XML as a string and object&lt;br /&gt;
 ;export_xml_as=object&lt;br /&gt;
  &lt;br /&gt;
 ; enable: bool: Enable this application&lt;br /&gt;
 ;enable=yes&lt;br /&gt;
&lt;br /&gt;
The translator setting refers to a section of the type defined below which configures atachement to a TCAP instance&lt;br /&gt;
&lt;br /&gt;
 ;[tcap map]&lt;br /&gt;
 ; This section configures a TCAP User MAP/CAMEL protocol translator&lt;br /&gt;
 &lt;br /&gt;
 ; enable: bool: Enable this translator&lt;br /&gt;
 ;enable=yes&lt;br /&gt;
 &lt;br /&gt;
 ; type: string: Type of TCAP User &lt;br /&gt;
 ; Allowed values are MAP or CAMEL&lt;br /&gt;
 ;type=MAP&lt;br /&gt;
 &lt;br /&gt;
 ; host: IP address: Address on which the TCP listener should bind on for XML communication&lt;br /&gt;
 ;host=127.0.0.1 &lt;br /&gt;
 &lt;br /&gt;
 ; port: integer: Port on which the TCP listener should bind on for XML communication&lt;br /&gt;
 ; Note: setting port to 0 will disable the listener, so it will not accept TCP applications&lt;br /&gt;
 ;port=5555&lt;br /&gt;
 &lt;br /&gt;
 ; tcap: string: Name of TCAP to which this TCAP user should attach itself to for the SS7 communication&lt;br /&gt;
 ;tcap=&lt;br /&gt;
 &lt;br /&gt;
 ; add-encoding: bool: Always add encoding attribute to XML elements for decoded parameters&lt;br /&gt;
 ;add-encoding=default from [general]&lt;br /&gt;
 &lt;br /&gt;
 ; add-timestamp: bool: Add to XML timestamps used for estimating application latency&lt;br /&gt;
 ;add-timestamp=default from [general] &lt;br /&gt;
 &lt;br /&gt;
 ; print-messages: bool: Debug option to print TCAP and XML messages. This option is applicable on reload.&lt;br /&gt;
 ;print-messages=false&lt;br /&gt;
 &lt;br /&gt;
 ; ussd-string: string: Specifies what the ussd-String parameter will contain as data&lt;br /&gt;
 ; Allowed values are:&lt;br /&gt;
 ;  - octets: ussd-String will contain the octets as they were received&lt;br /&gt;
 ;  - text: ussd-String will contain the GSM7Bit decoded text&lt;br /&gt;
 ; This can be overriden in application sections&lt;br /&gt;
 ;ussd-string=text&lt;br /&gt;
 &lt;br /&gt;
 ; ussd-decode: string: Specifies what ussd-String parameters should be decoded into text&lt;br /&gt;
 ; Allowed values are:&lt;br /&gt;
 ;  - none: ussd-String parameters will never be decoded into text&lt;br /&gt;
 ;  - first: ussd-String in a TCAP Begin message will be decoded into text&lt;br /&gt;
 ;  - all: all ussd-String parameters will be decoded into text&lt;br /&gt;
 ; This can be overriden in application sections&lt;br /&gt;
 ;ussd-decode=all&lt;br /&gt;
 &lt;br /&gt;
 ; hash_list_size: integer: Size of HashList used for mapping of TCAP transactions to applications&lt;br /&gt;
 ;hash_list_size=17&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For load sharing (especially in cases of high loads), you can configure multiple applications using the same translator.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Configuration Example'''&lt;br /&gt;
&lt;br /&gt;
The example below configures 2 applications acting as a gsmSCF, each one attached to the TCAP instance with gsmSCF SSN, and 2 applications as HLR, each one attached to the TCAP instance with HLR SSN 6:&lt;br /&gt;
&lt;br /&gt;
 [tcap scf]                                                                                                                                   &lt;br /&gt;
 ;enable=no                                                                                                                                   &lt;br /&gt;
 tcap=tcap-scf                                                                                                                                &lt;br /&gt;
 host=0.0.0.0                                                                                                                                 &lt;br /&gt;
 port=0                                                                                                                                       &lt;br /&gt;
 type=MAP                                                                                                                                     &lt;br /&gt;
 print-messages=false                                                                                                                         &lt;br /&gt;
 add-encoding=false                                                                                                                           &lt;br /&gt;
                                                                                                                                             &lt;br /&gt;
 [tcap hlr]                                                                                                                                   &lt;br /&gt;
 ;enable=no                                                                                                                                   &lt;br /&gt;
 tcap=tcap-hlr                                                                                                                                &lt;br /&gt;
 host=0.0.0.0                                                                                                                                 &lt;br /&gt;
 port=0                                                                                                                                       &lt;br /&gt;
 type=MAP                                                                                                                                     &lt;br /&gt;
 print-messages=false                                                                                                                         &lt;br /&gt;
 add-encoding=false   &lt;br /&gt;
 &lt;br /&gt;
 [local ussdSCF1]                                                                                                                             &lt;br /&gt;
 translator=scf                                                                                                                               &lt;br /&gt;
 capabilities=USSD                                                                                                                            &lt;br /&gt;
 export_xml_as=object                                                                                                                         &lt;br /&gt;
 ussd-string=octets                                                                                                                           &lt;br /&gt;
 ussd-decode=first                                                                                                                            &lt;br /&gt;
                                                                                                                                             &lt;br /&gt;
 [local ussdSCF2]                                                                                                                             &lt;br /&gt;
 translator=scf                                                                                                                               &lt;br /&gt;
 capabilities=USSD                                                                                                                            &lt;br /&gt;
 export_xml_as=object                                                                                                                         &lt;br /&gt;
 ussd-string=octets                                                                                                                           &lt;br /&gt;
 ussd-decode=first               &lt;br /&gt;
 &lt;br /&gt;
 [local ussdHLR1]&lt;br /&gt;
 translator=hlr                                                                                                                               &lt;br /&gt;
 capabilities=USSD                                                                                                                            &lt;br /&gt;
 export_xml_as=object                                                                                                                         &lt;br /&gt;
 ussd-string=octets                                                                                                                           &lt;br /&gt;
 ussd-decode=first                                                                                                                            &lt;br /&gt;
 &lt;br /&gt;
 [local ussdHLR2]                                                                                                                             &lt;br /&gt;
 translator=hlr                                                                                                                               &lt;br /&gt;
 capabilities=USSD                                                                                                                            &lt;br /&gt;
 export_xml_as=object                                                                                                                         &lt;br /&gt;
 ussd-string=octets                                                                                                                           &lt;br /&gt;
 ussd-decode=first&lt;br /&gt;
&lt;br /&gt;
==== ussd_map module ====&lt;br /&gt;
&lt;br /&gt;
The module is configured through ''ussd_map.conf''. The configuration file sets timeout parameters and processing threads parameters in the ''general'' section:&lt;br /&gt;
&lt;br /&gt;
 [general]&lt;br /&gt;
 &lt;br /&gt;
 ; hash_list_size: integer: Size of HashList for keeping dialogs&lt;br /&gt;
 ;hash_list_size=17&lt;br /&gt;
 &lt;br /&gt;
 ; component_ttl: integer: Component time to live in milliseconds&lt;br /&gt;
 ; Minimum allowed value is 1000&lt;br /&gt;
 ; Defaults to 600000 (10 minutes)&lt;br /&gt;
 ;component_ttl=600000&lt;br /&gt;
 &lt;br /&gt;
 ; dialog_idle_ttl: integer: Dialog idle (nothing sent/received) time to live in milliseconds&lt;br /&gt;
 ; Minimum allowed value is 1000&lt;br /&gt;
 ; It can be set to 0 to keep it alive until the remote party terminates the dialog&lt;br /&gt;
 ; Defaults to 86400000 (1 day)&lt;br /&gt;
 ;dialog_idle_ttl=86400000&lt;br /&gt;
&lt;br /&gt;
 ; dialog_ended_ttl: integer: Ended dialog time to live in milliseconds&lt;br /&gt;
 ; Minimum allowed value is 1000.&lt;br /&gt;
 ; It can be set to 0 to remove the dialog after termination&lt;br /&gt;
 ; Defaults to 0&lt;br /&gt;
 ;dialog_ended_ttl=0&lt;br /&gt;
 &lt;br /&gt;
 ; dispatcher_maxthreads: integer: Maximum number of message dispatch threads to use&lt;br /&gt;
 ; Minimum value is 1 for use of dispatching threads.&lt;br /&gt;
 ; NOTE: if the value is set to 0, the module will enqueue the messages into YATE's engine.&lt;br /&gt;
 ;dispatcher_maxthreads=0&lt;br /&gt;
&lt;br /&gt;
 ; dispatcher_minthreads: integer: Minimum number of message dispatch threads to use&lt;br /&gt;
 ; Minimum value is 1 for use of dispatching threads.&lt;br /&gt;
 ;dispatcher_minthreads=1&lt;br /&gt;
&lt;br /&gt;
 ;dispatcher_priority: string: Default priority of message dispatch threads&lt;br /&gt;
 ;dispatcher_priority=normal&lt;br /&gt;
&lt;br /&gt;
 ; floodevents: integer: Threshold for signaling congestion when the number of messages waiting to be dispatched exceeds it.&lt;br /&gt;
 ; When entering congestion, all new MAP dialogs and USSD sessions will be refused.&lt;br /&gt;
 ; 0 disables the mechanism&lt;br /&gt;
 ;floodevents=0&lt;br /&gt;
&lt;br /&gt;
 ; congestion_exit_factor: double: Factor used to calculate the exit congestion threshold&lt;br /&gt;
 ; NOTE: if the factor results in a exit congestion threshold of 0 or greater than floodevents, &lt;br /&gt;
 ; the setting will be overriden and the exit congestion threshold will be set to 1.&lt;br /&gt;
 ;congestion_exit_factor=0.5&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Timeout settings should be correlated with timeout settings in TCAP and SMPP, each having its own timeout mechanism.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Gateway applications which do the MAP &amp;lt;-&amp;gt; USSD translation are configured through section like the one below:&lt;br /&gt;
&lt;br /&gt;
 [appName]&lt;br /&gt;
 ; section name is the name of the camel_map application, it must correspond to a [local appName] section in camel_map &lt;br /&gt;
&lt;br /&gt;
 ; enable: boolean: Enable this application&lt;br /&gt;
 ; Defaults to yes&lt;br /&gt;
 ;enable=yes&lt;br /&gt;
 &lt;br /&gt;
 ; type: string: Type of MAP &amp;lt;-&amp;gt; USSD translator: &lt;br /&gt;
 ;  - SCF means that is the part that receives new dialogs from the HLR (user initiated USSD)&lt;br /&gt;
 ;  - HLR is the part that receives new dialogs from gsmSCF (network initiated USSD)&lt;br /&gt;
 ; This setting cannot be changed on reload.&lt;br /&gt;
 ;type=&lt;br /&gt;
 &lt;br /&gt;
 ; export_xml_as: string: Specify in which way the XML will be passed along into &lt;br /&gt;
 ;export_xml_as=object&lt;br /&gt;
  &lt;br /&gt;
 ; print_msg: boolean: Print sent/received messages to output&lt;br /&gt;
 ;print_msg=no&lt;br /&gt;
  &lt;br /&gt;
 ; print_xml: boolean: Print sent/received XML data to output&lt;br /&gt;
 ;print_xml=no&lt;br /&gt;
 &lt;br /&gt;
 ; local_addr. : prefix: Parameters prefixed with this set the local SCCP address of this application &lt;br /&gt;
 ; Meaningful values are:&lt;br /&gt;
 ; local_addr.CallingPartyAddress.route=&lt;br /&gt;
 ; local_addr.CallingPartyAddress.ssn=&lt;br /&gt;
 ; local_addr.CallingPartyAddress.pointcode=&lt;br /&gt;
 ; local_addr.CallingPartyAddress.gt=&lt;br /&gt;
 ; local_addr.CallingPartyAddress.gt.nature=&lt;br /&gt;
 ; local_addr.CallingPartyAddress.gt.plan=&lt;br /&gt;
 ; local_addr.CallingPartyAddress.gt.translation=&lt;br /&gt;
 ; local_addr.CallingPartyAddress.gt.encoding= &lt;br /&gt;
 &lt;br /&gt;
 ; default_routing: bool : Do routing to default address for all messages&lt;br /&gt;
 ; default_routing=no&lt;br /&gt;
 &lt;br /&gt;
 ; default_addr. : prefix: parameters prefixed with this will be used as the default SCCP called address&lt;br /&gt;
 ; Meaningful values are:&lt;br /&gt;
 ; default_addr.application=&lt;br /&gt;
 ; default_addr.CalledPartyAddress.route=&lt;br /&gt;
 ; default_addr.CalledPartyAddress.ssn=&lt;br /&gt;
 ; default_addr.CalledPartyAddress.pointcode=&lt;br /&gt;
 ; default_addr.CalledPartyAddress.gt=&lt;br /&gt;
 ; default_addr.CalledPartyAddress.gt.nature=&lt;br /&gt;
 ; default_addr.CalledPartyAddress.gt.translation=&lt;br /&gt;
 ; default_addr.CalledPartyAddress.gt.encoding=&lt;br /&gt;
 &lt;br /&gt;
 ; hlr_ssn: integer: The SSN expected in the calling address from a HLR.&lt;br /&gt;
 ; This setting has significance only for SCF type applications&lt;br /&gt;
 ;hlr_ssn=6&lt;br /&gt;
 &lt;br /&gt;
 ; vlr_ssn: integer: The SSN expected in the calling address from a VLR.&lt;br /&gt;
 ; This setting has significance only for SCF type applications&lt;br /&gt;
 ;vlr_ssn=7&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Each section should have its own equivalent in ''camel_map.conf''.&lt;br /&gt;
In the USSD GW scenario, at least tho applications are needed, one acting as SCF, one as HLR. For load sharing multiple gsmSCF and HLR applications can be configured (see the configuration example below).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Configuration Example'''&lt;br /&gt;
&lt;br /&gt;
The example below configures 2 gsmSCF applications and 2 HLR applications, each one corresponding with a application section in the ''camel_map.conf'' example:&lt;br /&gt;
&lt;br /&gt;
 [general]                                                                                                                                    &lt;br /&gt;
                                                                                                                                             &lt;br /&gt;
 component_ttl=600000                                                                                                                         &lt;br /&gt;
 dialog_ended_ttl=0                                                                                                                           &lt;br /&gt;
 dispatcher_maxthreads=10                                                                                                                     &lt;br /&gt;
 dispatcher_minthreads=5                                                                                                                      &lt;br /&gt;
 ;dispatcher_priority=normal                                                                                                                  &lt;br /&gt;
 floodevents=1000                                                                                                                             &lt;br /&gt;
                                                                                                                                              &lt;br /&gt;
 [ussdSCF1]                                                                                                                                   &lt;br /&gt;
 ;enable=no                                                                                                                                   &lt;br /&gt;
 type=SCF                                                                                                                                     &lt;br /&gt;
 export_xml_as=object                                                                                                                         &lt;br /&gt;
 print_msg=no                                                                                                                                 &lt;br /&gt;
 print_xml=no                                                                                                                                 &lt;br /&gt;
                                                                                                                                             &lt;br /&gt;
 local_addr.CallingPartyAddress.route=gt                                                                                                      &lt;br /&gt;
 local_addr.CallingPartyAddress.gt=8828723                                                                                                    &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.nature=international                                                                                       &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.plan=isdn                                                                                                  &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.translation=0                                                                                              &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.encoding=bcd                                                                                               &lt;br /&gt;
                                                                                                                                             &lt;br /&gt;
 default_routing=no                                                                                                                           &lt;br /&gt;
 default_addr.application=ussdHLR                                                                                                              &lt;br /&gt;
 default_addr.CalledPartyAddress.route=gt                                                                                                     &lt;br /&gt;
 default_addr.CalledPartyAddress.gt=8820723                                                                                                   &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.nature=international                                                                                      &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.plan=isdn                                                                                                 &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.translation=0                                                                                             &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.encoding=bcd &lt;br /&gt;
&lt;br /&gt;
 [ussdSCF2]                                                                                                                                   &lt;br /&gt;
 ;enable=no                                                                                                                                   &lt;br /&gt;
 type=SCF                                                                                                                                     &lt;br /&gt;
 export_xml_as=object                                                                                                                         &lt;br /&gt;
 print_msg=no                                                                                                                                 &lt;br /&gt;
 print_xml=no                                                                                                                                 &lt;br /&gt;
                                                                                                                                             &lt;br /&gt;
 local_addr.CallingPartyAddress.route=gt                                                                                                      &lt;br /&gt;
 local_addr.CallingPartyAddress.gt=8828723                                                                                                    &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.nature=international                                                                                       &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.plan=isdn                                                                                                  &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.translation=0                                                                                              &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.encoding=bcd                                                                                               &lt;br /&gt;
                                                                                                                                             &lt;br /&gt;
 default_routing=no                                                                                                                           &lt;br /&gt;
 default_addr.application=ussdHLR                                                                                                              &lt;br /&gt;
 default_addr.CalledPartyAddress.route=gt                                                                                                     &lt;br /&gt;
 default_addr.CalledPartyAddress.gt=8820723                                                                                                   &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.nature=international                                                                                      &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.plan=isdn                                                                                                 &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.translation=0                                                                                             &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.encoding=bcd &lt;br /&gt;
 &lt;br /&gt;
 [ussdHLR1]                                                                                                                                   &lt;br /&gt;
 ;enable=no                                                                                                                                   &lt;br /&gt;
 type=HLR                                                                                                                                     &lt;br /&gt;
 print_msg=no                                                                                                                                 &lt;br /&gt;
 print_xml=no                                                                                                                                 &lt;br /&gt;
 export_xml_as=object                                                                                                                         &lt;br /&gt;
                                                                                                                         &lt;br /&gt;
 local_addr.CallingPartyAddress.route=gt                                                                                                      &lt;br /&gt;
 local_addr.CallingPartyAddress.gt=8828723                                                                                                    &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.nature=international                                                                                       &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.plan=isdn                                                                                                  &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.translation=0                                                                                              &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.encoding=bcd                                                                                               &lt;br /&gt;
                                                                                                                                             &lt;br /&gt;
 default_routing=no                                                                                                                           &lt;br /&gt;
 default_addr.application=ussdSCF                                                                                                             &lt;br /&gt;
 default_addr.CalledPartyAddress.route=gt                                                                                                     &lt;br /&gt;
 default_addr.CalledPartyAddress.gt=8820457                                                                                                   &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.nature=international                                                                                      &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.plan=isdn                                                                                                 &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.translation=0                                                                                             &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.encoding=bcd                                                                                              &lt;br /&gt;
                                                   &lt;br /&gt;
 [ussdHLR2]                                                                                                                                   &lt;br /&gt;
 ;enable=no                                                                                                                                   &lt;br /&gt;
 type=HLR                                                                                                                                     &lt;br /&gt;
 print_msg=no                                                                                                                                 &lt;br /&gt;
 print_xml=no                                                                                                                                 &lt;br /&gt;
 export_xml_as=object                                                                                                                         &lt;br /&gt;
                                                                                                                                             &lt;br /&gt;
 local_addr.CallingPartyAddress.route=gt                                                                                                      &lt;br /&gt;
 local_addr.CallingPartyAddress.gt=8828723                                                                                                    &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.nature=international                                                                                       &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.plan=isdn                                                                                                  &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.translation=0                                                                                              &lt;br /&gt;
 local_addr.CallingPartyAddress.gt.encoding=bcd                                                                                               &lt;br /&gt;
                                                                                                                                              &lt;br /&gt;
 default_routing=no                                                                                                                           &lt;br /&gt;
 default_addr.application=ussdSCF                                                                                                             &lt;br /&gt;
 default_addr.CalledPartyAddress.route=gt                                                                                                     &lt;br /&gt;
 default_addr.CalledPartyAddress.gt=8820457                                                                                                   &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.nature=international                                                                                      &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.plan=isdn                                                                                                 &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.translation=0                                                                                             &lt;br /&gt;
 default_addr.CalledPartyAddress.gt.encoding=bcd&lt;br /&gt;
&lt;br /&gt;
==== ysmpp module ====&lt;br /&gt;
&lt;br /&gt;
TODO - configuration explanations&lt;br /&gt;
&lt;br /&gt;
'''Configuration Example''''&lt;br /&gt;
&lt;br /&gt;
 [general]                                                                                                                                    &lt;br /&gt;
 server=smpp-server                                                                                                                           &lt;br /&gt;
 track_id=ussdgw                                                                                                                              &lt;br /&gt;
 track_id_base=ussdgw/                                                                                                                        &lt;br /&gt;
                                                                                                                                              &lt;br /&gt;
 [smpp-server]                                                                                                                                &lt;br /&gt;
 enable=true                                                                                                                                  &lt;br /&gt;
 session_responseinterval=600000                                                                                                              &lt;br /&gt;
 sessionset_process_max=1                                                                                                                     &lt;br /&gt;
 codec_warndefaults=false                                                                                                                     &lt;br /&gt;
 print-messages=no                                                                                                                            &lt;br /&gt;
                                                                                                                                            &lt;br /&gt;
 [listenerserver server]                                                                                                                      &lt;br /&gt;
 ;enable=yes                                                                                                                                  &lt;br /&gt;
 addr=0.0.0.0                                                                                                                                 &lt;br /&gt;
 port=12345    &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
=== Monitoring ===&lt;br /&gt;
&lt;br /&gt;
This section details comands through which the state of the USSD GW can be monitored.&lt;br /&gt;
&lt;br /&gt;
==== ussd_map module ====&lt;br /&gt;
&lt;br /&gt;
* '''Congestion state monitoring'''&lt;br /&gt;
&lt;br /&gt;
The ''ussd_map'' module will generate an alarm when entering/exiting a congestion state. If SNMP support is enabled, this will generate a trap on SNMP.&lt;br /&gt;
The congestion status is also reported in the ''state'' entry in the result of the module status command.&lt;br /&gt;
&lt;br /&gt;
* '''Module status'''&lt;br /&gt;
&lt;br /&gt;
The module reports its status through the following command in the YATE telnet console:&lt;br /&gt;
&lt;br /&gt;
 status ussd_map&lt;br /&gt;
&lt;br /&gt;
The command will print the following information:&lt;br /&gt;
&lt;br /&gt;
 workers=count_of_dispatching_threads,messages=count_msg,dialogs=count_of_dialogs,state=normal,count=count_of_applications;format=Type | CurrentDlgs| MAPCreated | UssdCreated |DefaultRouted | MAPSent | MapRecv | USSDSent | USSDRecv | MAPAbort | USSDAbort | BuiltAbort | MAPTimeouts | USSDTimeouts&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
* workers: current number of used dispatching threads from the maximum configured pool (e.g., 3/10 means 3 threads are used of a pool of 10)&lt;br /&gt;
* messages: count of messages waiting on the dispatching queue of the engine&lt;br /&gt;
* dialogs: total number of USSD sessions currently handled by all applications&lt;br /&gt;
* state of the engine: normal/congestion&lt;br /&gt;
* count: number of applications acting either as gsmSCF, either as HLR&lt;br /&gt;
* format: name of the application for which the following data is reported:&lt;br /&gt;
** Type: role of the application: SCF (communicates with real HLR), HLR (communicates with real gsmSCF)&lt;br /&gt;
** CurrentDlgs: number of current MAP dialogs handled by this application&lt;br /&gt;
** MAPCreated: number of sessions (dialogs) started by the MAP side&lt;br /&gt;
** UssdCreated: number of sessions (dialogs) started by the SMPP side&lt;br /&gt;
** DefaultRouted: number of dialogs for which failover took place&lt;br /&gt;
** MAPSent: number of MAP messages sent to gsmSCF/HLR. It doesn't count the ones sent via failover routing.&lt;br /&gt;
** MAPRecv: number of MAP messages received from gsmSCF/HLR&lt;br /&gt;
** USSDSent: number of sent ussd.execute/ussd.update/ussd.finalize messages towards the SMPP side.&lt;br /&gt;
** USSDRecv: number of received ussd.execute/ussd.update/usdd.notify messages from SMPP side.&lt;br /&gt;
** MAPAbort: number of dialog aborts generated by MAP side&lt;br /&gt;
** USSDAbort: number of dialog aborts generated by USSD side&lt;br /&gt;
** BuiltAbort: number of dialog aborts generated by the ussd_map module (e.g., not having a ussd.update message processed by anyone will cause ussd_map to generate session abort)&lt;br /&gt;
** MAPTimeouts: number of dialog timeouts generated by MAP side&lt;br /&gt;
** USSDTimeouts: number of timeouts reported by USSD side&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Module control commands'''&lt;br /&gt;
&lt;br /&gt;
The module offers the following control commands through the telnet console:&lt;br /&gt;
* ''control ussd_map appName print-msg [yes|no|verbose]'' : enable printing of received/sent map./ussd./messages.&lt;br /&gt;
* ''control ussd_map appName print-xml [yes|no|verbose]'' : enable printing of received/sent XMLs.&lt;br /&gt;
* ''control ussd_map appName export-xml-as [string|object|both]'' : change the way XML is set in the internal messages&lt;br /&gt;
* ''control ussd_map start_stats'' : begin gathering data for statistics&lt;br /&gt;
* ''control ussd_map stop_stats'' : stop gathering data for statistics&lt;br /&gt;
* ''control usdd_map stats'' : print statistic data per engine and each application in part. Data contains number of MAP messages handled per second, number of USSD messages handled per second, maximum number of current dialogs, number of timeouts and number of aborts.&lt;br /&gt;
&lt;br /&gt;
==== ysmpp module ====&lt;br /&gt;
&lt;br /&gt;
The ysmpp module provides the following options for status command: '''TO DO''' - clearer explanations are needed&lt;br /&gt;
'NOTE' the module_name can take the following values: smppserver or smppclient.&lt;br /&gt;
&lt;br /&gt;
* status module_name listeners&lt;br /&gt;
Prints the module listeners status in format: Address|Status|Reason.&lt;br /&gt;
&lt;br /&gt;
* status module_name sessions&lt;br /&gt;
Prints the status of the sessions in format: Id|State|BindMode|SystemId|IpAddress:Port|Congested|Incoming Queue|Outgoing Queue;&lt;br /&gt;
&lt;br /&gt;
** Id: The ID of the SMPP session. Can be used for routing.&lt;br /&gt;
** State: The state of the SMPP session.&lt;br /&gt;
** BindMode: The mode in which the session was bound. (Send/Recv/SendRecv)&lt;br /&gt;
** SystemId: The id with which the session has been authenticated. Can be used in routing.&lt;br /&gt;
** IpAddress:Port: The Ip Address and port of the remote end of the session.&lt;br /&gt;
** Congested: True if this session is in congestion state.&lt;br /&gt;
** Incoming Queue: The number of messages not processed in the incoming queue.&lt;br /&gt;
** Outgoing Queue: The number of messages not processed in the outgoing queue.&lt;br /&gt;
&lt;br /&gt;
*status module_name ussd overview&lt;br /&gt;
Prints the stats of the USSD sessions in format: Total|Active|Average Duration|Total Sent|Total Received|AverageTrafficPerSecond|EndedWithErrors|CongestionRefused&lt;br /&gt;
&lt;br /&gt;
** Total: the number of USSD sessions created since the starting of the program.&lt;br /&gt;
** Active: the number of USSD sessions currently active.&lt;br /&gt;
** Average Duration: average duration of a ussd session.&lt;br /&gt;
** Total Sent: total number of SMPP messages sent for USSD sessions.&lt;br /&gt;
** Total Received: total number of SMPP messages received for USSD sessions.&lt;br /&gt;
** AverageTrafficPerSecond: average traffic per second for USSD sessions.&lt;br /&gt;
** EndedWithErrors: the number of USSD sessions that ended with error.&lt;br /&gt;
** CongestionRefused: the number of USSD sessions refused because the server was overloaded.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* Mobile Application Part (MAP) specification: ETSI TE 129 002&lt;/div&gt;</summary>
		<author><name>Andrei</name></author>	</entry>

	</feed>