FreePBX 13 PJSIP Trunk
Пример данных провайдера
- SIP user - 1234567
- SIP password - secret
- SIP server - sip.sprovider.ru
Asterisk 13.4.0 / FreePBX 13 (FreePBX Framework 13.0.1beta3.54)
- Trunk Name - pjsip_test
PJSIP trunk general
PJSIP Settings
pjsip show registrations
asterisk*CLI> pjsip show registrations<Registration/ServerURI..............................> <Auth..........> <Status.......> ========================================================================================= pjsip_test/sip:sip.sprovider.ru:5060 pjsip_test Registered
pjsip show endpoint <name>
asterisk*CLI> pjsip show endpoint pjsip_test Endpoint: <Endpoint/CID.....................................> <State.....> <Channels.> I/OAuth: <AuthId/UserName...........................................................> Aor: <Aor............................................> <MaxContact> Contact: <Aor/ContactUri...............................> <Status....> <RTT(ms)..> Transport: <TransportId........> <Type> <cos> <tos> <BindAddress..................> Identify: <Identify/Endpoint.........................................................> Match: <ip/cidr.........................> Channel: <ChannelId......................................> <State.....> <Time(sec)> Exten: <DialedExten...........> CLCID: <ConnectedLineCID.......> ========================================================================================= Endpoint: pjsip_test Not in use 0 of inf OutAuth: pjsip_test/1234567 Aor: pjsip_test 0 Contact: pjsip_test/sip:12345670@sip.sprovider.ru:5060 Avail 78.715 Transport: 0.0.0.0-udp udp 0 0 0.0.0.0:5077 Identify: pjsip_test/pjsip_test Match: 123.123.123.123/32 ParameterName : ParameterValue ===================================================== 100rel : yes accountcode : aggregate_mwi : true allow : (g729|alaw|ulaw|g726) allow_subscribe : true allow_transfer : true aors : pjsip_test auth : call_group : callerid : <unknown> callerid_privacy : allowed_not_screened callerid_tag : connected_line_method : invite context : from-sprovider ......
<spoiler>
Configuration Mode:
Simple/Advanced |
Permanent Auth Rejection:
v |
Retry Interval:
60 |
Expiration:
3600 |
Forbidden Retry Interval:
10 |
Max Retries:
10 |
Qualify Frequency:
60 |
Username:
Secret:
SIP Server:
SIP Server Port:
Advanced options
Client URI:
Server URI:
AOR Contact:
Outbound Proxy:
Contact User:
Context:
Transport:
0.0.0.0-udp |
Codecs:
ulaw |
alaw |
g722 |
Пример настройки SIP транка chan_pjsip для соединения с другим сервером Asterisk
</spoiler>