jdhirst join:2014-05-06 Scarborough, ON |
[TekTalk] Elastix Not Registering with TekTalk ServiceHi, I am trying to setup my own PBX system with elastix, and all has been going well so far (phones communicating with each other, etc.) but I can't seem to get Elastix to register with teksavvy. I can use tektalk with my ATA, but I would like to use it with elastix. I ran the following diagnostics: sip show peers: XXXXXXXXXX/XXXXXXXXXX XXX.XXX.XXX.XXX N 5060 UNREACHABLE teksavvy/XXXXXXXXXX XXX.XXX.XXX.XXX N 5060 Unmonitored 7 sip peers [Monitored: 5 online, 1 offline Unmonitored: 1 online, 0 offline] sip show registry: Host dnsmgr Username Refresh State Reg.Time voip.teksavvy.com:5060 N XXXXXXXXXX 120 Auth. Sent 1 SIP registrations. My trunk config is as follows: Trunk Name: (my phone #) - Outgoing Settings - Trunk Name: teksavvy PEER Details: username=(my phone #) usereqphone=yes type=peer trustrpid=yes t38pt_udptl=yes sendrpid=yes secret=(sip password) qualify=yes nat=auto insecure=port,invite host=voip.teksavvy.com fromuser=(my phone #) fromdomain=voip.teksavvy.com dtmfmdoe=inband disallow=all context=from-pstn canreinvite=no allow=ulaw&alaw - Incoming Settings - USER Context: (my phone #) USER Details: username=(my phone #) type=peer secret=(sip password) insecure=very host=voip.teksavvy.com fromuser=(my phone #) fromdomain=voip.teksavvy.com dtmfmode=info disallow=all context=from-trunk authuser=(my phone #) allow=ulaw&alaw Register String: (my phone #):(sip password)@voip.teksavvy.com/(my phone #) (I have also tried without the trailing phone number.) Help with this problem would be greatly appreciated.  |
|
MangoUse DMZ and you get a kick in the dick. Premium Member join:2008-12-25 www.toao.net 2 edits |
Mango
Premium Member
2014-May-8 11:58 am
Something is strange. You have qualify=yes for the teksavvy peer, yet sip show peers states it's Unmonitored. Try the following register string: (I believe this needs to be in the [general] context.) register => (my phone #):(sip password)@teksavvy
Then do this at the CLI: sip set debug ip voip.teksavvy.com
sip reload
You'll be able to monitor the response from TekSavvy (if any) and hopefully tell why they're rejecting your registration. Also - you misspelled dtmfmode as dtmfmdoe - but that is probably not causing your problem. m. |
|
jdhirst join:2014-05-06 Scarborough, ON 2 edits |
I ran both commands, and updated the reg string. I don't understand what you mean by general context, but I added: (phone #):(password)@teksavvy and register => (phone #):(password)@teksavvy
the above commands ran, and the show sip registry shows as follows:
Host dnsmgr Username Refresh State Reg.Time teksavvy:5060 N [removed for privacy] 120 Unregistered 1 SIP registrations. |
|
jdhirst 2 edits |
to Mango
Oops, post lag...
I updated the registry string to both register => (my phone #):(sip password)@teksavvy and (my phone #):(sip password)@teksavvy
I dont understand what "general context" means.
I ran both the commands above and the sip show registry shows:
register => (my phone #):(sip password)@teksavvy: Host dnsmgr Username Refresh State Reg.Time voip.teksavvy.com:5060 N register => 120 Request Sent 1 SIP registrations.
(my phone #):(sip password)@teksavvy: Host dnsmgr Username Refresh State Reg.Time teksavvy:5060 N [removed for privacy] 120 Unregistered 1 SIP registrations. |
|
MangoUse DMZ and you get a kick in the dick. Premium Member join:2008-12-25 www.toao.net |
Mango
Premium Member
2014-May-8 9:47 pm
Did the sip debug give you any clue as to what the problem was? |
|
jdhirst join:2014-05-06 Scarborough, ON |
When I typed the command in, it enabled the debug, but I don't know where to access the debug information. |
|
MangoUse DMZ and you get a kick in the dick. Premium Member join:2008-12-25 www.toao.net |
Mango
Premium Member
2014-May-9 11:19 am
The last thing I could think of for diagnosing the issue is trying to register to a different service provider to see if a firewall issue is preventing your box from sending or receiving traffic on port 5060. Callcentric has an IP Freedom account that you could sign up for at no charge, for testing purposes. Good luck! |
|
jdhirst join:2014-05-06 Scarborough, ON |
That can't be the problem since the elastix server is live on the internet with a public ip, and I have disabled the internal firewall |
|
| |
to jdhirst
Hi JD, I'm not familiar with Elastix, but since it seems to be similar to Asterisk, have a look at sip.conf. The section for tek savvy's should look something like this: [tektalk]
type=friend
insecure=port,invite
defaultuser=<your_phone_number>
fromuser=<your_phone_number>
secret=<your_password>
md5secret=<your_md5_password>
host=voip.teksavvy.com
realm=voip.teksavvy.com
fromdomain=voip.teksavvy.com
transport=udp
context=from-tektalk
disallow=all
allow=ulaw
The only thing unusual in there is the md5 password, which you can calculate using: echo -n "$fromuser:$fromdomain:$secret" | md5sum
I believe it's also possible to specify the md5 hash on the registration line. When you receive a call from TekTalk, it will be received on extension "s" of context "from-tektalk", or whatever else you specify instead of from-tektalk above. |
|
|