Ady Wicaksono Daily Activities

Setup Call – APDU, Call Control by SIM, Call Connected Event

leave a comment »

From UICC, it send below APDU (e.g calling +6611555678111 – it’s fake number dude)

============================================================

|—[:] COMMAND DETAILS
|—[:] Command Number: 01
|—[:] Command Type: Set Up Call
|—[:] Command Qualifier: Set up call, but only if not currently busy on another call, with redial
|—[:] DEVICE IDENTITIES
|—[:] Source Device identity: UICC
|—[:] Destination Device identity: Network
|—[:] ALPHA IDENTIFIER
|—[:] Alpha identifier details Calling…
|—[:] ADDRESS
|—[:] Type-OF-Number: International number
|—[:] Numbering-Plan-Identification: ISDN/telephony numbering plan (‘The internationalpublic telecommunication numbering plan’ and E.163 recommandation)
|—[:] Dialling number: 66 15 55 67 81 11
|—[:] Card Status: 90 00
\—[:] Raw data: D01E010301100102028183050A43616C6C696E672E2E2E0607916651557618119000
============================================================

If you already register for Call Control by SIM, then below envelope data will be available to
your SIM java applet first

============================================================
[+] APDU Command: ENVELOPE – Call control
|—[:] DEVICE IDENTITIES
|—[:] Source Device identity: Terminal
|—[:] Destination Device identity: UICC
|—[:] ADDRESS
|—[:] Type-OF-Number: International number
|—[:] Numbering-Plan-Identification: ISDN/telephony numbering plan (‘The internationalpublic telecommunication numbering plan’ and E.163 recommandation)
|—[:] Dialling number: 66 15 55 67 81 11
|—[:] CAPABILITY CONFIGURATION PARAMETERS
|—[:] 06 60 04 02 00 05 81
|—[:] LOCATION INFORMATION
|—[:] Mobile Country & Network Codes(MCC & MNC): XX XX XX
|—[:] Location Area Code(LAC): 01 96
|—[:] Cell Identity Value(Cell ID): 13 A9
|—[:] Header: 80C2000021
\—[:] Data: D41F020282810607916651557618110707066004020005811307XXXXXX019613A9
============================================================

Sorry I remove MCC/MNC information🙂

Once it’s allowed by SIM (by Call Control by SIM envelope command), then terminal/handset
will start calling

============================================================
[+] APDU Command: TERMINAL RESPONSE
|—[:] COMMAND DETAILS
|—[:] Command Number: 01
|—[:] Command Type: Set Up Call
|—[:] Command Qualifier: Set up call, but only if not currently busy on another call, with redial
|—[:] DEVICE IDENTITIES
|—[:] Source Device identity: Terminal
|—[:] Destination Device identity: UICC
|—[:] RESULT
|—[:] RESULT DETAILS : Command performed successfully
|—[:] Header: 801400000C
\—[:] Data: 010301100102028281030100
============================================================

Once connected and you register for Call Connected Event, below event will be available to your card applet
============================================================
[+] APDU Command: ENVELOPE – Event download
|—[:] EVENT LIST
|—[:] Event list detail: Call connected
|—[:] DEVICE IDENTITIES
|—[:] Source Device identity: Network
|—[:] Destination Device identity: UICC
|—[:] TRANSACTION IDENTIFIER
|—[:] List :
|—[:] Transaction Identifier 1
|—[:] TI Flag is true TI Value : 268435448
|—[:] Header: 80C200000C
\—[:] Data: D60A190101020283811C0180
============================================================

Once finished and call disconnected, below event will be available
============================================================
[+] APDU Command: ENVELOPE – Event download
|—[:] EVENT LIST
|—[:] Event list detail: Call disconnected
|—[:] DEVICE IDENTITIES
|—[:] Source Device identity: Terminal
|—[:] Destination Device identity: UICC
|—[:] TRANSACTION IDENTIFIER
|—[:] List :
|—[:] Transaction Identifier 1
|—[:] TI Flag is false TI Value : 0
|—[:] CAUSE E0 90
|—[:] Header: 80C2000010
\—[:] Data: D60E190102020282811C01001A02E090
============================================================

Written by adywicaksono

September 7, 2009 at 11:19 am

Posted in SmartCard, Telco - GSM

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: