TRY THIS Latest PIAF/FreePBX won't register on Cbeyond?

Yahdie

Guru
Joined
Oct 16, 2009
Messages
199
Reaction score
7
Back-Story: Cbeyond SIPConnect customer has power issues and their Elastix box (A Mini/Booksize Atom) gets damaged. The vendor informs them that he will fix it for $600 plus time, because its their fault. My company gets called in, we pull the box at 5pm, replace the Hard-Drive, install PIAF and everything works by 9am, except the Cbeyond Trunk won't register.
Every system I setup always has a VOIP.MS Trunk for testing so the customer's Main DID has been forwarded to the test number and they are happily calling again.

I have tried everything that I can think of and 2+ Hrs on the phone with Cbeyond Tech Support and they say the can't even see registration attempts!?
A few searches pull up threads of others (see links below) using newest flavours of FreePBX/Asterisk seem to have the same issue, at least on the FreePBX forum.
PBX in a Flash 2.0.6.5.0 Asterisk 11 (PIAF-Green)
Below are (edited) CLI responses:

Code:
[2014-05-16 16:13:13] ERROR[1973]: netsock2.c:269 ast_sockaddr_resolve: getaddrinfo("CBeyond", "(null)", ...): Name or service not known
[2014-05-16 16:13:13] WARNING[1973]: acl.c:590 resolve_first: Unable to lookup 'CBeyond'
[2014-05-16 16:13:13] WARNING[1973]: acl.c:719 ast_ouraddrfor: Cannot connect
[2014-05-16 16:13:13] WARNING[1973]: chan_sip.c:3732 __sip_xmit: sip_xmit of 0xb6d03b40 (len 373) to (null) returned -1: Invalid argument
[2014-05-16 16:13:13] NOTICE[1973]: chan_sip.c:14057 sip_reg_timeout:    -- Registration for '954XXXXXXX@CBeyond' timed out, trying again (Attempt #133)
[2014-05-16 16:13:14] WARNING[1973]: chan_sip.c:3732 __sip_xmit: sip_xmit of 0xb6d03b40 (len 373) to (null) returned -1: Invalid argument
[2014-05-16 16:13:15] WARNING[1973]: chan_sip.c:3732 __sip_xmit: sip_xmit of 0xb6d03b40 (len 373) to (null) returned -1: Invalid argument
[2014-05-16 16:13:17] WARNING[1973]: chan_sip.c:3732 __sip_xmit: sip_xmit of 0xb6d03b40 (len 373) to (null) returned -1: Invalid argument
pbx*CLI> sip show registry
Host                                    dnsmgr Username      Refresh State                Reg.Time
atlanta.voip.ms:5060                  N      MY_TRUNK        105 Registered          Fri, 16 May 2014 16:12:13
CBeyond:5060                            N      954XXXXXXX        120 Request Sent               
2 SIP registrations.
[2014-05-16 16:13:21] WARNING[1973]: chan_sip.c:3732 __sip_xmit: sip_xmit of 0xb6d03b40 (len 373) to (null) returned -1: Invalid argument
[2014-05-16 16:13:25] WARNING[1973]: chan_sip.c:3732 __sip_xmit: sip_xmit of 0xb6d03b40 (len 373) to (null) returned -1: Invalid argument

And this one I find interesting:
Code:
 -- Called SIP/Cbeyond1/954XXXXXXX
[2014-05-16 16:56:32] WARNING[1973]: chan_sip.c:21557 handle_response_invite: Received response: "Forbidden" from '"954XXXXXXX" <sip:[email protected]>;tag=as7220d5fc'
  == Everyone is busy/congested at this time (1:0/0/1)

Threads mentioned above:
freepbx.org/forum/general-help/cbeyond-sip-trunk-setting
freepbx.org/forum/general-help/cbeyond-wfreepbx-sucks
 

randy7376

Defnyddiwr Gweithredol
Joined
Sep 29, 2010
Messages
865
Reaction score
144
Yahdie

From what you provided above, it looks like CBeyond is not a valid hostname based upon your 'sip show registry' command. Hence, this error:

Code:
[2014-05-16 16:13:13] ERROR[1973]: netsock2.c:269 ast_sockaddr_resolve: getaddrinfo("CBeyond", "(null)", ...): Name or service not known

Have you checked /etc/hosts for a hostname that may be hard-coded there? CBeyond doesn't work because it doesn't know how to get to the host 'CBeyond'. Check for any typos in your trunk configuration, also.
 

Yahdie

Guru
Joined
Oct 16, 2009
Messages
199
Reaction score
7
Interesting.....I notice that I put 'CBeyond' in exactly that form in my Register String:
Code:
954XXXXXXX:SECRET@CBeyond/954XXXXXXX
But I am able to ping out from the box using Domain Names
Could the Register String be Cap sensitive?
 

randy7376

Defnyddiwr Gweithredol
Joined
Sep 29, 2010
Messages
865
Reaction score
144
Yahdie,

This is just a guess, mind you. But try replacing

Code:
954XXXXXXX:SECRET@CBeyond/954XXXXXXX

with

Code:
954XXXXXXX:[email protected]/954XXXXXXX

That registration string expects a hostname and 'CBeyond' is not a valid hostname. The hostname I used for the replacement line came directly from the log snippet you provided. It may or may not work.
 

Yahdie

Guru
Joined
Oct 16, 2009
Messages
199
Reaction score
7
Thanks for that suggestion, I will try that.
Prior to this system all the other systems I have on Cbeyond use the Register String exactly as above; so if your suggestion works then either they (Cbeyond) have changed something or something "under-the-hood" has changed.
I should have setup remote access to play around over the weekend!
 

phonebuff

Guru
Joined
Feb 7, 2008
Messages
1,117
Reaction score
129
In one of my working systems the register is ===

register=7701231234:SECRET@CBeyond_1231234:5060/7701231234

-- and --

CBeyond_1231234 is the peer name in the trunk.

=========================================================
 

Yahdie

Guru
Joined
Oct 16, 2009
Messages
199
Reaction score
7
What versions of PIAF/FreePBX/Asterisks? I have never seen that Reg. String but I will try that too, thanks!
 

phonebuff

Guru
Joined
Feb 7, 2008
Messages
1,117
Reaction score
129
Mostly This Distro with Green now, but I have been doing CBeyond for years started on Asterisk 1.4 --
 
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