Unlimitel
(:biggrin:) Checkout these links for sample configuration files to use with our VoIP network:
SIP Setup
IAX @home Setup (PDF)
(:wink:) Unlimitel offers 911 emergency services for all their customers and is now compliant with CRTC ruling on VoIP 911 calls.
MichaelRichardson got their wholesale DID service to connect to my * pbX.
The quality is good, and I had few problems.
One issue was that I had to turn off SIP re-invites in my sip.conf. Otherwise, I could hear
people with my Cisco phone, but they couldn't hear me. This turns out to be a limitation in their SIP Express
router. (I don't know SIP well enough to know if a re-invite can/should be declined)
This turns out to be a pain in the butt to configure, since I wasn't able to find a way to do this except via
canreinvite=no
registery => stuff
canreinvite=yes
I also was unable to get the incoming context set properly.
Gordon Dewis has replaced his Asterisk-ready dialplan for Unlimitel with a macro and some discussion available at http://gordon.dewis.ca/asterisk/unlimitel_dialplan.txt. (updated 11 April 2008)
(:biggrin:) Checkout these links for sample configuration files to use with our VoIP network:
SIP Setup
IAX @home Setup (PDF)
(:wink:) Unlimitel offers 911 emergency services for all their customers and is now compliant with CRTC ruling on VoIP 911 calls.
MichaelRichardson got their wholesale DID service to connect to my * pbX.
The quality is good, and I had few problems.
One issue was that I had to turn off SIP re-invites in my sip.conf. Otherwise, I could hear
people with my Cisco phone, but they couldn't hear me. This turns out to be a limitation in their SIP Express
router. (I don't know SIP well enough to know if a re-invite can/should be declined)
This turns out to be a pain in the butt to configure, since I wasn't able to find a way to do this except via
canreinvite=no
registery => stuff
canreinvite=yes
I also was unable to get the incoming context set properly.
Gordon Dewis has replaced his Asterisk-ready dialplan for Unlimitel with a macro and some discussion available at http://gordon.dewis.ca/asterisk/unlimitel_dialplan.txt. (updated 11 April 2008)
Comments
333unlimitel, stable config
The sip Proxy , and the RTP feed originate from two different IP addresses, making the use of Unlimitel with a NAT a little challenging.
1. If you are using Nat, just make sure that you have your RTP ports (/etc/asterisk/rtp.conf) forwarded from your Gateway to your Linux Box.
2. In sip.conf, create yourself a registration entity.
register => XXXXXXXXXX:myBigSecret@sip.unlimitel.ca/XXXXXXXXXX
3. In sip.conf, create yourself a peer definition for your calls
unlimitelXXXXXXXXXX
type=peer
auth=md5
username=XXXXXXXXXX
fromuser=XXXXXXXXXX
fromdomain=unlimitel.ca
secret=myBigSecret
host=sip.unlimitel.ca
port=5060
nat=no
canreinvite=no
qualify=no
disallow=all
allow=ulaw
allow=g729
dtmfmode=rfc2833
insecure=very
4.In your extensions.conf
Create yourself an extension for XXXXXXXXXX to handle the reception based on your default context, and voilĂ , it works!
I've been using them for about a month now, and, when using uLaw, the sound is simply amazing. Obviously, uLaw is bandwidth intensive, so, if you can support G729, my suggestion is to use it.
They do not support RE-INVITES, so, therefor you cannot redirect the media stream. So, if you want asterisk out of the media path, you can only do it within your local extensions. This is a known bug, and there is a software revision in the works for the solid-state switch, that should hit production in the next month or so.
Cheers
333Incoming context
{unlimitel-in}
type=peer
host=address.of.sip.server
context=unlimitel-inbound
Then, make sure you have a context like this in your extensions.conf
{unlimitel-inbound}
; Calls from Unlimitel land here
exten => 6130000000,1,NoOp(Whatever you want to do here)
exten => 4160000000,1,NoOp(Call from Toronto DID)
exten => _NXXNXXXXXX,1,NoOp(No Service at this number...)
Note: replace curly with square brackets
333Incoming contexts..
If their SIP server calling you is not the same as the one you register to and create an entry for in SIP.conf, * won't match it to the right entry in SIP.conf, hence won't be able to figure out what context to send the call to.
Just enter a default context in the general settings, and use that context for all incoming SIP calls.
333NAT problems?
Try these settings:
canreinvite=no
nat=yes