Question : How to setup SIP trunk on AsteriskNow

Hi ,can anyone please help me with the setup on AsteriskNow for a SIP trunk ,connecting to a Mitel 3300.
Thanks

Answer : How to setup SIP trunk on AsteriskNow

Mitel 3300ICP = 192.168.1.2
Number range = 5xx
Trixbox = 192.168.1.101
Number range = 25xx

On the Mitel 3300ICP -

1. Network Element Assignment
- create a network element for the local switch
- create a network element for each SIP peer, gateway, or Service Provider
- create a network element for the Outbound Proxy if one exists in your network
Ensure there is a local element for the Mitel. if there is none, create it.

Create a network element for the Asterisk box
Name - Asterisk
Type = Other
IP adress = Asterisk IP Address
SIP Peer = selected
external IP = Asterisk IP Address
SIP registrar IP = Asterisk IP Address
Transport = UDP
Port = 5060

2. System IP Port Assignment
Change the SIP UDP, TCP, or TLS port number if it is different from the default value.
SIP UDP = 5060
SIP TCP = 5060
SIP TLS = 5061

3. Create a SIP Peer for Asterisk
- Use SIP Peer Profile Form
SIP peer profile label = Asterisk
Local Account registration username = 150 (an extension that would be used for authentication, should exist in Asterisk)
Adress type = IP adress : ip address of 3300 ICP
Authentication username = 150 (an extension that would be used for authentication, should exist in Asterisk)
password en confirm password = abcd (password set on extension, should exist in Asterisk)
Authentication = Challenge-based Authentication
Outgoing DID Ranges: select index 10 (select matching index if Calling Party Number Substitution was configured)

On the Trixbox -

- Create a SIP trunk:
Outgoing Trunk name = Mitel
PEER Details:
allow=ulaw
auth=md5
context=from-pstn
host=Mitel IP
insecure=very
nat=no
secret=abcd
type=peer
username=150

- Create a SIP Extension:
Display name = Mitel 3300ICP
Device options:
secret = abcd
canreinvite = no
context = from-internal
host = dynamic
type = peer
nat = no
port = 5060
dial = SIP/150

- Create an outbound route:
Route name = Mitel3300ICP
Dial patterns = 5XX
Trunk Sequence = 0 SIP/Mitel

- Create inbound routes for your SIP extensions:
for example SIP extention 2540:
- DID number = 2540
Set destination = core: extension 2540

Now you should be able to make call from SIP to Mitel and vice versa.
Random Solutions  
 
programming4us programming4us