Mitel Forums - The Unofficial Source

Mitel Forums => MiVoice Office 250/Mitel 5000 => Topic started by: cgashlin01 on May 26, 2015, 02:56:28 PM

Title: mitel 5000 -- Asterisk
Post by: cgashlin01 on May 26, 2015, 02:56:28 PM
i am trying to link my asterisk box up to my mitel 5000 So that calls can be transfered to and from eachother.

I followed the following guide.
http://technologyordie.com/mitel-5000-asterisk-integration

I am unable to get anything working. When I try to dial 92006 for my sip group then it gives me dial tone - i then try dialing 94001 and it does nothing. my phone doe snot attempt to even dial out. I do see the trunks are not registering on the asterisk box either.

can someone tell me if there is something in those instructions missing?

it also tells me that  TG 92006 is unplugged



Thanks,
Title: Re: mitel 5000 -- Asterisk
Post by: cgashlin01 on May 26, 2015, 03:44:48 PM
Also,

After i am able to enter the extension that should  be on my asterisk fro mitel it does nothing. Is there a send command of some sort?
Title: Re: mitel 5000 -- Asterisk
Post by: Tech Electronics on May 26, 2015, 04:45:31 PM
cgashlin01,

Are you sure that the Username and Password is the same on both sides so that it can authenticate?

Thanks,

TE
Title: Re: mitel 5000 -- Asterisk
Post by: cgashlin01 on May 26, 2015, 09:41:18 PM
I think I found the issue. The mitel is in the DMZ which would mean it cannot communicate with nodes on my network.
Title: Re: mitel 5000 -- Asterisk
Post by: Tech Electronics on May 26, 2015, 09:55:04 PM
cgashlin01,

Why would you put the 5000 in the DMZ?

Thanks,

TE
Title: Re: mitel 5000 -- Asterisk
Post by: cgashlin01 on May 27, 2015, 07:41:25 AM
Turns out i was incorrect. See. I am the new IT guy here and trying to figure out the weirdness they got going on. The mitel is indeed plugged into the network. They also have a 2nd router that is plugged in that they are using for a gateway that has th ephone in a DMZ.(Weird).

So my sip is still not working even though it is local.

Title: Re: mitel 5000 -- Asterisk
Post by: cgashlin01 on May 27, 2015, 07:49:04 AM
So... If anyone had any documentation for this it would be great. I have licensing for sip trunking however there is no attempt from the mitel to reach out to the other system.

In mitel phone. I dial the sip group trunk. I get dial tone.  then try to dial the extension I made. It does nothing. It doesn't appear to attempt anything.
Title: Re: mitel 5000 -- Asterisk
Post by: cgashlin01 on May 27, 2015, 07:51:48 AM
I have attached pictures to show my mitel conf
Title: Re: mitel 5000 -- Asterisk
Post by: Tech Electronics on May 27, 2015, 09:19:42 AM
cgashlin01,

You may want to look at creating a new Call Configuration and verify that you are using the same codecs as shown in your URL documentation.

Thanks,

TE
Title: Re: mitel 5000 -- Asterisk
Post by: cgashlin01 on May 27, 2015, 01:35:23 PM
Hmmm no go
Title: Re: mitel 5000 -- Asterisk
Post by: johnp on May 27, 2015, 01:48:06 PM
Is sip setup under advanced ip settings?
Title: Re: mitel 5000 -- Asterisk
Post by: cgashlin01 on May 27, 2015, 02:43:04 PM
Yeahp, it looks correct to me.

Title: Re: mitel 5000 -- Asterisk
Post by: johnp on May 27, 2015, 03:53:45 PM
Is this a remote asterisk box?
Title: Re: mitel 5000 -- Asterisk
Post by: cgashlin01 on May 28, 2015, 08:06:38 AM
Asterisk box is onsite and local. Sitting on same subnet.
Title: Re: mitel 5000 -- Asterisk
Post by: Tech Electronics on May 28, 2015, 10:15:38 AM
cgashlin01,

I know this is a stupid question, but which way are you expecting the registration to happen?

1. From the 5000 to the Asterisk? If so did you setup the Registrar section of the SIP Trunk Group?
2. From the Asterisk to the 5000? If so did you setup the Authentication section of the SIP Trunk Group?

Thanks,

TE
Title: Re: mitel 5000 -- Asterisk
Post by: cgashlin01 on May 28, 2015, 12:37:57 PM
It will be a registration both ways. So that the mitel can talk to the asterisk and the asterisk can talk to the Mitel. I will double check my registar settings but I believe I had them set as well.


Thanks
Title: Re: mitel 5000 -- Asterisk
Post by: cgashlin01 on May 28, 2015, 01:08:53 PM
See attached. I have it configured but still nothing.
Title: Re: mitel 5000 -- Asterisk
Post by: cgashlin01 on May 28, 2015, 01:21:25 PM
Awesome it randomly started working. Not sure why all of a sudden. Definitely saving that configuration.


Our Mitel engineer wouldn't even respond
Title: Re: mitel 5000 -- Asterisk
Post by: Tech Electronics on May 28, 2015, 02:04:00 PM
cgashlin01,

SIP Registration should only happen one way: from client to registrar. From your picture I would assume that 192.168.0.6 is the IP address of the Asterisk Server.

Have you performed a Wireshark Capture to see what is happening when the 5000 tries to register with the Asterisk Server?

I also went through the document and recreated the Asterisk side for the Trunking and have started creating a document for the 5000 side that I will post. When I do go over it and make sure it is what you have and if something needs to be changed on it.

Name: mitel-a
 PEER
 username=mitel
 secret=Passw0rd1
 host= 192.168.1.121
 context=from-internal
 nat=never <--Only if you are on the same network
 dtmfmode=rfc2833
 type=peer
 allow=all
 port=5060

User Context: from-mitel-a

USER:
 username=mitel
 secret=Passw0rd1
 type=peer
 reinvite=yes
 port=5060
 insecure=very
 nat=never
 host=192.168.1.121
 fromdomain= 192.168.1.121
 dtmfmode=rfc2833
 context=from-trunk
 allow=all

Thanks,

TE
Title: Re: mitel 5000 -- Asterisk
Post by: Tech Electronics on May 28, 2015, 03:33:48 PM
cgashlin01,

Here is a document that I modified for integrating a 5000 to a 3300. Hopefully this is a good starting point to creating one for Asterisk.

Thanks,

TE