Cant make/receive external calls

Hi All,
I’m new to Asterisk and am having issues trying to make or receive external voip calls.

I was able to setup internal extensions, calls, etc fine, but I can’t seem to get external calls (both outgoing and incoming) working at all. (I have successfully registered with my SIP provider though, so no issues there)

When I try to make an outgoing call, it just cuts off strait away and the following line turns up in the log:

When I try to call in, the extensions ring (i have set up a call group), but as soon as I pick it up, the following turns up in the log:

Mar 3 00:31:29 asterisk[1499]: ERROR[2421]: pbx.c:3890 in ast_func_write: Function GROUP not registered Mar 3 00:31:29 asterisk[1499]: ERROR[2421]: pbx.c:3810 in ast_func_read: Function GROUP_COUNT not registered Mar 3 00:31:29 asterisk[1499]: WARNING[2421]: ast_expr2.fl:468 in ast_yyerror: ast_yyerror(): syntax error: syntax error, unexpected '>', expecting $end; Input: > ^ Mar 3 00:31:29 asterisk[1499]: WARNING[2421]: ast_expr2.fl:472 in ast_yyerror: If you have questions, please refer to https://wiki.asterisk.org/wiki/display/AST/Channel+Variables Mar 3 00:31:31 asterisk[1499]: WARNING[2421]: app_macro.c:309 in _macro_exec: No such context 'macro-set-dynamic-feature' for macro 'set-dynamic-feature'. Was called by s@macro-main Mar 3 00:31:31 asterisk[1499]: WARNING[2421]: channel.c:6059 in ast_channel_make_compatible_helper: No path to translate from SIP/SIP-PROVIDER-8218149145131fa1615fdf-0000000b to SIP/102-0000000d Mar 3 00:31:31 asterisk[1499]: WARNING[2421]: app_dial.c:2973 in dial_exec_full: Had to drop call because I couldn't make SIP/SIP-PROVIDER-8218149145131fa1615fdf-0000000b compatible with SIP/102-0000000d

Would anyone be able to shed some light on the situation at all?

Many thanks.

Aha, fixed it!

I had disabled all codecs except G.729A, since this was what my provider preferred.
After some research, it appears that G.729A coded is licenced, which led me to believe that it mustn’t be included in Asterisk.

To fix the problem, I simply disabled G.729A and enabled the following codecs (since they are also supported by my provider)

G.711 u-law G.711 A-law G.723.1

Hopefully this will help anyone else having this issue.

That doesn’t solve the parse errors, but you didn’t provide the dialplan that produced them.