Configure sip trunk
Posted: Tue Jun 30, 2020 4:16 am
Hi all, I am trying to configure a carrier trunk. I got a free SIP account from iptel.org.
Here is my info from there:
username: xxxx@iptel.org
password:xxxx
sip address: sip:xxxx@iptel.org
registrar address: sip.iptel.org
And when I configure my carrier trunk, I use these:
Registration String:
sip:xxxx@iptel.org:xxxx@iptel.org:5060
Account Entry
[iptel]
disallow=all
allow=ulaw
type=friend
username=xxxx@iptel.org
secret=xxxx
host=sip:xxxx@iptel.org
dtmfmode=rfc2833
context=trunkinbound
nat=force_rport
Protocol:
SIP
Globals String:
Dialplan Entry:
exten => _91NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91NXXNXXXXXX,2,Dial(sip:xxxx@iptel.org:xxxx@iptel.org:5060/${EXTEN:2},,tTor)
exten => _91NXXNXXXXXX,3,Hangup
Server IP:
192.168.147.128
But when I use "sip show peers" on the asterisl cli, I got this:
Name/username|Host|Dyn|Forceport|Comedia|ACL|Port|Status|Description
iptel/xxxx@iptel.org|212.79.111.155 ||Yes|No||5060|unreachable|
Can anyone help please?
Vicibox 9.0 from .iso | Vicidial 3133-2.14-718a Build 190902-0839| Asterisk 13.27.0 | Single Server | vmware | No Extra Software After Installation
Here is my info from there:
username: xxxx@iptel.org
password:xxxx
sip address: sip:xxxx@iptel.org
registrar address: sip.iptel.org
And when I configure my carrier trunk, I use these:
Registration String:
sip:xxxx@iptel.org:xxxx@iptel.org:5060
Account Entry
[iptel]
disallow=all
allow=ulaw
type=friend
username=xxxx@iptel.org
secret=xxxx
host=sip:xxxx@iptel.org
dtmfmode=rfc2833
context=trunkinbound
nat=force_rport
Protocol:
SIP
Globals String:
Dialplan Entry:
exten => _91NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91NXXNXXXXXX,2,Dial(sip:xxxx@iptel.org:xxxx@iptel.org:5060/${EXTEN:2},,tTor)
exten => _91NXXNXXXXXX,3,Hangup
Server IP:
192.168.147.128
But when I use "sip show peers" on the asterisl cli, I got this:
Name/username|Host|Dyn|Forceport|Comedia|ACL|Port|Status|Description
iptel/xxxx@iptel.org|212.79.111.155 ||Yes|No||5060|unreachable|
Can anyone help please?
Vicibox 9.0 from .iso | Vicidial 3133-2.14-718a Build 190902-0839| Asterisk 13.27.0 | Single Server | vmware | No Extra Software After Installation