TIPS Noob help: Sip registration with DIDLogic, $10 bounty

Forest Johnson

New Member
Joined
Jan 22, 2015
Messages
5
Reaction score
0
Hi, I'm Forest and this is my first time posting here, I'm a programmer by trade so I know a lot about computers, but I've never worked with anything similar to Free PBX, so bear with me as I'm a real Noob when it comes to these things.

I was able to install PIAF Green (FreePBX 2.11.0.42) on a digital ocean droplet and secured it with with travelin' man. I have created an account with DIDLogic.com, purchased a DID, and followed the directions on DIDLogic's website for creation of a didlogic trunk in Free PBX. I also created a user in the travelin man system for DIDLogic and gave them access to SIP. Here is the output of that action in the iptables file:

# // New entry for didlogic.iptables
-A INPUT -p udp -m udp -s sip.didlogic.com --dport 5060:5069 -j ACCEPT
-A INPUT -p tcp -m tcp -s sip.didlogic.com --dport 5060:5069 -j ACCEPT
# // End entry for didlogic.iptables


But I can't seem to get Free PBX to register with DIDLogic, and I don't know why or what I should try. I've been searching around on the forums and on google and wasn't able to find any thing that helped a lot, so now I'm here :)

Since I know that providing free support to people who don't know what they are doing is not a popular sport around here, so I'm willing to offer a small bounty on this, like $10. (paypal or bitcoin) I just want to learn more and get my system up and running! I started this project with the intention of personal use, so I don't plan on using most of the advanced features in Free PBX. I just want to be able to make and receive calls to and from the PSTN via wifi on my android phone. Voice mail and SMS would be nice too but I'm taking it one step at a time.

For what it's worth, I seemed to be able to connect to the extension that I created with a SIP client on my Mac, but besides the initial connection, nothing was working.

Here's the guide I was following, courtesy of DIDLogic:

https://www.didlogic.com/support/setup-guides/asterisk

Here are a bunch of screenshots of the FreePBX configuration interface with identifying information replaced by placeholders.

Here are the main placeholders:
The DID that I purchased from DIDLogic: 1234567890
The SIP user name that was assigned to me by DIDLogic: 12345
The password that I assigned to that SIP account: password

Here are the screenshots:


Connectivity>Trunks> didlogic-trunk: http://i.imgur.com/S9ju5dO.jpg
Connectivity>Inbound Routes > didlogic-in: http://i.imgur.com/VdTCQ4N.jpg
Connectivity>Inbound Routes > didlogic-in > Edit Extension: http://i.imgur.com/kPGT5oA.jpg
Connectivity>Outbound Routes > didlogic-out: http://i.imgur.com/6EtGwad.jpg

Settings>Asterisk SIP Settings: http://i.imgur.com/RNYdiYm.jpg

didlogic.com > list DIDs: http://i.imgur.com/FA7RFPu.jpg
didlogic.com > edit DID: http://i.imgur.com/7Bo6p4Q.jpg
didlogic.com > list SIP accounts: http://i.imgur.com/JY0fpmV.jpg
didlogic.com > edit SIP account: http://i.imgur.com/1CgOicV.jpg
 

billsimon

Well-Known Member
Joined
Jan 2, 2011
Messages
1,540
Reaction score
729
Hi Forest, welcome. The best place to start is the Asterisk log file. If you can copy the recent portion of your /var/log/asterisk/full into a pastebin or similar, we can look through that for clues. The only thing that stands out to me from your screen shots is that with DO, if you have a public IP address, you'll want to update your NAT settings in Asterisk SIP Settings and change it to Public IP.
 

Forest Johnson

New Member
Joined
Jan 22, 2015
Messages
5
Reaction score
0
https://drive.google.com/file/d/0B3WzAB_VXqQuSUk5WG9rU3VnUU0/view?usp=sharing

I noticed a few lines in the log --

[2015-01-28 16:02:09] NOTICE[1578] chan_sip.c: Peer 'didlogic-trunk' is now UNREACHABLE! Last qualify: 87
[2015-01-28 16:02:47] NOTICE[1578] chan_sip.c: Peer 'didlogic-trunk' is now Reachable. (87ms / 2000ms)
[2015-01-28 16:03:51] NOTICE[1578] chan_sip.c: Peer 'didlogic-trunk' is now UNREACHABLE! Last qualify: 87
[2015-01-28 16:04:02] NOTICE[1578] chan_sip.c: Peer 'didlogic-trunk' is now Reachable. (1088ms / 2000ms)
[2015-01-28 16:06:06] NOTICE[1578] chan_sip.c: Peer 'didlogic-trunk' is now UNREACHABLE! Last qualify: 87
[2015-01-28 16:10:54] NOTICE[1578] chan_sip.c: Peer 'didlogic-trunk' is now Reachable. (87ms / 2000ms)

Looks like it was up and down for a while? Why might that be?

When i run "sip show registry" on the asterisk CLI, like it says to do on the DIDLogic guide, it shows zero active registrations.
 

billsimon

Well-Known Member
Joined
Jan 2, 2011
Messages
1,540
Reaction score
729
Looks like you have a typo in your registration string:

Code:
[2015-01-28 21:25:57] WARNING[1578] sip/config_parser.c: Format for registration is [peer?][transport://]user[@domain][:secret[:authuser]]@host[:port][/extension][~expiry] at line 8

Make sure you don't have any spaces.
 

Forest Johnson

New Member
Joined
Jan 22, 2015
Messages
5
Reaction score
0
I blame DIDLogic for putting a space in the example they gave ;)

Unfortunately, it looks the same after removing the space as it did before.
 

sko001

Member
Joined
Jun 3, 2013
Messages
52
Reaction score
8
Have you tried using one of their regional servers rather than the main? I have two trunks with them one registered on main and other on regional proxy.
 

Dave Gray

Guru
Joined
May 22, 2013
Messages
150
Reaction score
60
Yeah, do see the thread Igaetz mentioned above. I spent a long time figuring that out... then I had to drop the account anyways. (Wife wants to lose the $50/month Verizon wireline. DIDLogic does not offer E911, which was a dealbreaker. Vitelity does. And, Vitelity worked with no issues, from the get-go.)
 

rchalk

Active Member
Joined
Feb 19, 2010
Messages
403
Reaction score
55
You can also use Bulk911 for emergency calls - you just have to direct the calls to a trunk with them, and set up the addresses.
 

Members online

No members online now.

Forum statistics

Threads
25,812
Messages
167,763
Members
19,240
Latest member
nikko
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top