Goodmorning,
I can’t make outbound calls,I have freepbx 15.1 and grandstream ht503.First work it all, after I have resume a backup and dont work outbound call, but only incoming calls and calls between internal
From logging I reiceve this log :WARNING res_pjsip_outbound_registration.c: ‘405’ fatal response received from ‘sip:192.168.1.**:5062’ on registration attempt to ‘sip:(number)@192.168.1.39:5062’, retrying in ‘30’ seconds
The HT is not a SIP server so Asterisk can’t register to it. If it’s statically configured, set Registration None in the trunk, possibly with Authentication None.
If the HT is set to register to Asterisk, you want Registration Receive and probably Authentication Both, with Match Inbound Authentication set to Auth Username.
the error 405 was fix by your suggest,thanks, But still I can’t make calls, it gives me these errors:
VERBOSE[29654][C-0000001e] pbx.c: Executing [s@macro-dialout-trunk:28] NoOp("", “Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 21”)
and
VERBOSE[29654][C-0000001e] pbx.c: Executing [continue@macro-dialout-trunk:1] NoOp(, “TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 21 - failing through to other trunks”) in new stack
and
res_pjsip_header_funcs.c: No headers had been previously added to this session.
At the Asterisk command prompt type pjsip set logger on
Make a failing call, paste the Asterisk log for the call at pastebin.com and post the link here.
Try the various impedance settings and choose the one with the least echo. If it’s still objectionable but you have more transmit or receive volume than you need, try reducing TX or RX gain.
Otherwise, you may be out of luck; the 503 is quite old and its echo canceler is not as good as on modern FXO gateways.