한국어로 읽기

Guide

Receive Calls to a Korean 070 Number on Asterisk PJSIP

Register Asterisk 22 over TLS with Korea AI Telecom and route a Korean 070 number to it. Includes PJSIP, a test dialplan, and phone-network verification.

To receive calls to a Korea AI Telecom (한국에이아이통신) 070 number on Asterisk, register PJSIP with the account SIP server over TLS and set the number’s inbound route to Softphone. Use the 070 digits for the registration address and Contact. Use the SIP device’s Auth ID and password for Digest authentication. A Korean phone-network test reached Asterisk 22.11.0 and confirmed a 31-second inbound call, audio signals in both directions, and normal teardown. Korea AI Telecom SIP device settings · Live inbound test evidence

Assign the SIP device to the 070 number

  1. In the console, open 전화번호 → SIP 단말 (Phone numbers → SIP devices). Issue a credential for the test 070 and save the displayed domain, Auth ID, and password. Select the test 070 under ALLOWED NUMBERS.
  2. Open the test 070 under 전화번호 → 내 번호 (Phone numbers → My numbers). Set 인바운드 라우팅 (Inbound routing) to 소프트폰 (Softphone), select the device, and save.
  3. In Asterisk, replace YOUR_ACCOUNT_SIP_DOMAIN with the issued SIP hostname and YOUR_070_DIGITS with the domestic number without hyphens. Set YOUR_SIP_AUTH_ID and YOUR_SIP_DEVICE_PASSWORD locally using the same device credential.

Configure TLS registration in pjsip.conf

The server_uri is the REGISTER destination. The client_uri is the number’s address of record (AoR), and contact_user sets the user in the registered Contact. With line=yes, returning calls can select the named PJSIP endpoint. The backslash before the semicolon in server_uri preserves the URI parameter in the Asterisk configuration file. Asterisk 22 outbound registration reference

[kat-070-tls]
type=transport
protocol=tls
bind=0.0.0.0:5061
method=tlsv1_2
verify_server=yes
allow_wildcard_certs=yes
ca_list_file=/etc/ssl/certs/ca-certificates.crt

[kat-070-auth]
type=auth
auth_type=digest
username=YOUR_SIP_AUTH_ID
password=YOUR_SIP_DEVICE_PASSWORD
realm=YOUR_ACCOUNT_SIP_DOMAIN

[kat-070-inbound]
type=endpoint
transport=kat-070-tls
context=kat-070-inbound
disallow=all
allow=ulaw
media_encryption=no
rtp_symmetric=yes
force_rport=yes
rewrite_contact=yes
direct_media=no

[kat-070-register]
type=registration
transport=kat-070-tls
outbound_auth=kat-070-auth
server_uri=sip:YOUR_ACCOUNT_SIP_DOMAIN:5061\;transport=tls
client_uri=sip:YOUR_070_DIGITS@YOUR_ACCOUNT_SIP_DOMAIN
contact_user=YOUR_070_DIGITS
line=yes
endpoint=kat-070-inbound
expiration=120

Keep the local TLS listener behind your firewall and use your installation’s trusted CA file for ca_list_file. Keep certificate verification enabled. allow_wildcard_certs=yes permits validation of a wildcard certificate that matches the account hostname. Reuse your existing TLS transport if it already binds to the same address and port. The registration uses TLS for signaling. The inbound test used PCMU over plain RTP for media. Asterisk 22 TLS and Digest reference · Korea AI Telecom network requirements

Verify the number with a test dialplan

Add this extensions.conf context on the test 070. It echoes incoming audio and ends within 15 seconds. When routing customer calls, replace Echo() with your call handling. The live phone-network evidence used separate signals in each direction.

[kat-070-inbound]
exten => YOUR_070_DIGITS,1,Set(TIMEOUT(absolute)=15)
 same => n,Answer()
 same => n,Echo()
 same => n,Hangup()

If you added a TLS transport, restart Asterisk when it has no active calls. Check that the registration shows Registered and that the dialplan includes your 070 digits. The Echo application is provided by app_echo.so.

asterisk -rx 'pjsip show registrations'
asterisk -rx 'dialplan show kat-070-inbound'

Call the test 070 from a separate phone, listen for your audio returning, and hang up. Confirm final INVITE 200 OK and ACK, plus BYE 200 OK on the same SIP dialog. Check that the call is complete in the console. If the registration succeeds and the phone does not ring, check the assigned softphone device, whether the REGISTER connection is still open, and the 070 digits in the registered Contact. This procedure covers inbound calls to registered Asterisk. Public-address SIP routing and PBX verification scope

Example verification

On November 24, 2026 KST, we ran both configuration snippets with Asterisk 22.11.0 and a simulated registrar on an isolated network. The server returned 200 OK to the TLS REGISTER and accepted a 120-second Contact expiry. The inbound call echoed 134 of 135 PCMU packets carrying a 997 Hz tone. We also observed the final ACK, 200 OK for BYE, and 200 OK for deregistration. The phone-network result comes from a separate live call. Live call scope