Integrating calls via GSM in Asterisk
Technical specification (TS) for integrating calls via GSM in Asterisk using Python
1. General information
The goal of the project is to develop a system that allows making calls to subscribers through the GSM network with minimal delay, using Asterisk as the main server solution. Calls will be initiated from Python scripts integrated with Asterisk. The system should choose between GSM and SIP depending on availability and network quality.
2. Functional requirements
2.1. Integration with GSM via Asterisk
- Configure GSM gateway to work with SIM cards through Asterisk.
- Ensure the ability to make and receive calls through SIM cards installed in the GSM gateway.
- Set up trunks for communication between Asterisk and the GSM gateway with minimal delay.
- Configure the ability to route calls through the GSM network for specific subscribers.
3. Technical requirements
3.1. GSM gateway
- Equipment: GSM gateway (e.g., GoIP, OpenVox, or Yeastar).
- Support for multiple SIM cards for simultaneous calls.
- Support for SIP standard for interaction with Asterisk.
3.2. Asterisk
- Version: Asterisk 16 or higher
- Configuration of
sip.conf,extensions.conf.
3.3. Python
- Use of a library for working with AMI/AGI, such as
pyst2(for AMI) or custom HTTP requests to AMI. - Ability to initiate a call based on specified parameters (subscriber number, network type).
- Logging of all calls with time, status, and selected network.
4. Use cases
4.1. Outgoing call via GSM
- The Python script receives a request for an outgoing call.
- Checks the availability of the GSM gateway.
- Initiates the call via GSM if the connection is stable.
- Sends the call status and logs it.
4.3. Network selection for outgoing call
- The Python script receives a request for an outgoing call.
- Checks the status of both networks (GSM and SIP).
- Initiates the call through the network with the least delay or specified priority.
5. Non-functional requirements
5.1. Performance
- The time to initiate a call should be minimal: less than 2 seconds for GSM and less than 3 seconds for SIP.
5.2. Reliability
- Calls should be routed through an alternative network if the primary is unavailable.
5.3. Logging
- Logs of each call should be saved with the indication of:
- Time of initiation.
- Subscriber number.
- Network used (GSM/SIP).
- Call status (successful/failed).
6. Interfaces and interactions
- Interaction of Python scripts with Asterisk will occur via AMI or AGI.
- Interaction with Asterisk will be carried out through a local area network (LAN) or the internet, depending on system settings.
9. Support and maintenance
- After implementation, the system should support the possibility of further expansion and integration with new networks and providers.
-
10 days500 USD
53 10 days500 USDI did the integration of GOIP + ASTERISK + CRM + separate software for the call center.
Write for what purposes the system is needed.
-
Доброго дня!
Маю знайомого DevOpsa із досвідом більше 10 років у подібній роботі, за деталями пишіть у приват.
-
Current freelance projects in the category Software & Server Configuration
Diagnosis and elimination of recurring WhatsApp Business blocksTask Description A specialist is required with experience in WhatsApp Business and Meta Business to analyze and resolve the reasons for the constant blocking of the WhatsApp Business account. Problem: When logging into the WhatsApp Business account, it is almost immediately… Cybersecurity & Data Protection, Software & Server Configuration ∙ 1 day 14 hours back ∙ 4 proposals |
Installation and configuration of the Listmonk platform (or an equivalent) on VPS Ubuntu 22.04 for email newsletters.
70 USD
Looking for a specialist to deploy and configure a self-hosted platform for HTML-CSS email newsletters. I have a VPS (Ubuntu 22.04 x64 1 GB RAM, 21 GB Disk) + a website on it, SMTP settings from the domain provider. Requirements: Install Listmonk (leaning towards it due to 1 GB… Web Programming, Software & Server Configuration ∙ 5 days 17 hours back ∙ 42 proposals |
Fortinet configurationGood day! It is necessary to configure Fortinet FortiGate 40F-3G4G. Set up remote access to the PLC. Work experience. Thank you! System & Network Administration, Software & Server Configuration ∙ 9 days 21 hours back ∙ 6 proposals |
Migration of Windows Server 2016.Need a system administrator for the setup and migration of Windows Server 2016. Task: 1. Conduct an audit of the current Windows Server 2016. 2. Check server roles: RDP/RDS, users, access rights, network settings, firewall, backup. 3. Prepare a migration plan without data… System & Network Administration, Software & Server Configuration ∙ 11 days 18 hours back ∙ 13 proposals |
Connection of professional book scanners in OdesaConnect professional book scanners (2 units) in 2 locations in Odesa. Perform assembly according to the instructions, connection, and software setup including test scanning to a file from the program on the PC. System & Network Administration, Software & Server Configuration ∙ 11 days 19 hours back ∙ 2 proposals |