# Telephony Communication Control
[toc]
---
## Lecture 1
:::info
![55254_0](https://hackmd.io/_uploads/Symh1R7np.jpg)
![55255_0](https://hackmd.io/_uploads/B1BhJ072p.jpg)
:::
---
## Lecture 2
:::info
![sdsdsd](https://hackmd.io/_uploads/S1Z_Oa22T.jpg)
:::
---
## Lecture 3
:::info
![60029](https://hackmd.io/_uploads/SkVKZV8pa.jpg)
:::
---
## Lecture 4
:::info
![61539](https://hackmd.io/_uploads/H1q9zNkCT.jpg)
:::
---
## Lecture 5
:::info
![65442](https://hackmd.io/_uploads/B1VAZEoC6.jpg)
:::
---
## Lecture 6
- [Msg. format of ISUP](https://what-when-how.com/roaming-in-wireless-networks/isdn-user-part-ccs7-in-wireless-networks/)
:::info
![68428](https://hackmd.io/_uploads/HJm_usWkR.jpg)
:::
---
## Lecture 7
:::info
![72275](https://hackmd.io/_uploads/ByAHvSik0.jpg)
:::
---
## Lecture 8
:::info
![74640](https://hackmd.io/_uploads/HJormW4g0.jpg)
:::
---
## Lecture 9
:::info
![77110](https://hackmd.io/_uploads/B1Uqc8pg0.jpg)
:::
---
## Lecture 10
:::info
![80510](https://hackmd.io/_uploads/SJKtBTU-0.jpg)
:::
---
## Lecture 11
:::info
![88861](https://hackmd.io/_uploads/H1rWZlHmR.jpg)
- the basic syntax used for Dial application
```bash=
exten => <extension>,<priority>,Dial(<technology/resource>,<timeout>,<options>)
```
- the example of `extensions.conf`
```bash=
[general]
static=yes
writeprotect=no
[default]
exten => 1001,1,Answer()
exten => 1001,2,Dial(SIP/1001,20)
exten => 1001,3,Voicemail(1001,u)
exten => 1001,4,Hangup()
exten => 1002,1,Answer()
exten => 1002,2,Dial(SIP/1002,20)
exten => 1002,3,Voicemail(1002,u)
exten => 1002,4,Hangup()
exten => 2000,1,Answer()
exten => 2000,2,Playback(demo-thanks)
exten => 2000,3,Hangup()
```
:::
---
## Lecture 12
- [Ref.](https://cafetele.com/volte-architecture/)
:::info
![image1](https://hackmd.io/_uploads/rJc4IYNXR.jpg)
![image2](https://hackmd.io/_uploads/rJ6CH_XmR.png)
:::
- MME(Mobility Management Entity): UE registration, and UE tracking and paging procedures
- PCRF(Policy and Charging Rule Function): flow-based policy control and flow-based charging controls
- SGW(Serving Gateway): routes and forwards user data packets
- PGW(Packet Data Network Gateway): provides connectivity between the UE and external packet data networks
- IMS Core(IP Multimedia Subsystem Core): handle the delivery of multimedia services
- P-CSCF(Proxy Call Session Control Function): the first point of contact for the user’s device in the IMS network, responsible for routing signaling messages
- I/S-CSCF(Interrogating/Serving Call Session Control Function)
- I-CSCF: Handles session routing and interacts with the HSS for user authentication and authorization
- S-CSCF: The central node of the IMS core, managing session control and service invocation
- HSS(Home Subscriber Server): a database that contains user profiles, authentication information, and service permissions
- TAS(Telephony Application Server): provides a platform for deploying a wide range of voice and multimedia applications
- CS Core: circuit-switched infrastructure used in 2G and 3G
- HLR: 4G is HSS, 3G is HLR
- MGCF-MSS: control the conversion of singaling and management of voice calls between the circuit-switched and packet-switched domains
- MRFP-MGW: handle media processing functions, such as transcoding, voice compression/decompression