SOLVED Callcentric loses registration after a few minutes

virshu

New Member
Joined
May 22, 2013
Messages
27
Reaction score
2
I set up PIAF on Raspberry Pi 2 (I had one for my old Raspberry for awhile and it was working fine; so I didn't expect a lot of surprises). I set up two trunks - for CallWithUs and CallCentric. CWU works fine - both incoming and outgoing. However, CC loses registration after a few minutes.

I tried both default PIAF settings and the ones that come from CC instructions. Right now they are the following:

context=from-pstn
fromdomain=callcentric.com
fromuser=1777...
host=callcentric.com
secret=...
defaultuser=1777...
insecure=port,invite
type=peer
disallowed_methods=UPDATE
directmedia=no
videosupport=no
disallow=all
allow=ulaw
CC website always shows that 1 extension registered. I also tinkered with NAT settings (I am on a home network; so YES should be a good setting; but I also tried ROUTE, and with registration time settings. Currently it says 60/180/90. But it still doesn't work.
Anything else I am missing. I am not a big expert; but I had CC set up on old PBX, and I don't remember seeing any problems
 
Joined
Nov 14, 2008
Messages
1,401
Reaction score
319
Location
Warwick, NY
try adding qualify=yes to your trunk config

do a search on this forum or google for qualify or asterisk qualify. This is a router issue.
 

virshu

New Member
Joined
May 22, 2013
Messages
27
Reaction score
2
Unfortunately, makes no difference. Interesting, CallWithUs explicitly instructs to use qualify=no. It probably is router problem; but all the settings look right: NAT on; I tried turning on and off port forwarding and triggering (default strangely is off).
I also suspect that my regular phone and PBX might be competing for port 5060...
 
Joined
Nov 14, 2008
Messages
1,401
Reaction score
319
Location
Warwick, NY
often it is suggested to try another router before spending to much time on this. Also make sure any SIP ALG options on the router are off. Qualify NO reduces their traffic a bit so that may be why they suggest.
 

virshu

New Member
Joined
May 22, 2013
Messages
27
Reaction score
2
I downloaded RasPBX, and it seems to be working without any problems. I'll try PIAF again later.
 

Members online

PIAF 5 - Powered by 3CX

Forum statistics

Threads
22,320
Messages
137,026
Members
14,550
Latest member
treimers