I am very annoyed by the incessant Spam calls to my home phone. I ported my phone number to an IncrediblePBX last script on Centos 6.
I followed the instructions from http://nerdvittles.com/?p=27313.
The caller gets the prompt to press 5. But then same caller on subsequent calls still has to press 5. The caller phone number does not make it into the Phonebook either.
It would be nice if I can make it work as intended. Any ideas what I did wrong?
Asterisk CLI shows
Connected to Asterisk 13.22.0 currently running on pbx (pid = 2452)
[2019-04-28 18:30:30] ERROR[2551][C-0000000c]: netsock2.c:305 ast_sockaddr_resolve: getaddrinfo("pbx.localdomain", "(null)", ...): Name or service not known
[2019-04-28 18:30:30] WARNING[2551][C-0000000c]: acl.c:835 resolve_first: Unable to lookup 'pbx.localdomain'
[2019-04-28 18:30:49] ERROR[2551][C-0000000d]: netsock2.c:305 ast_sockaddr_resolve: getaddrinfo("pbx.localdomain", "(null)", ...): Name or service not known
[2019-04-28 18:30:49] WARNING[2551][C-0000000d]: acl.c:835 resolve_first: Unable to lookup 'pbx.localdomain'
[2019-04-28 18:30:57] WARNING[1025][C-0000000d]: ast_expr2.fl:470 ast_yyerror: ast_yyerror(): syntax error: syntax error, unexpected '+', expecting $end; Input:
+1406750xxxx> 0
^
[2019-04-28 18:30:57] WARNING[1025][C-0000000d]: ast_expr2.fl:474 ast_yyerror: If you have questions, please refer to https://wiki.asterisk.org/wiki/display/AST/Channel+Variables
[2019-04-28 18:30:57] ERROR[1025][C-0000000d]: netsock2.c:305 ast_sockaddr_resolve: getaddrinfo("pbx.localdomain", "(null)", ...): Name or service not known
[2019-04-28 18:30:57] WARNING[1025][C-0000000d]: acl.c:835 resolve_first: Unable to lookup 'pbx.localdomain'
I followed the instructions from http://nerdvittles.com/?p=27313.
The caller gets the prompt to press 5. But then same caller on subsequent calls still has to press 5. The caller phone number does not make it into the Phonebook either.
It would be nice if I can make it work as intended. Any ideas what I did wrong?
Asterisk CLI shows
Connected to Asterisk 13.22.0 currently running on pbx (pid = 2452)
[2019-04-28 18:30:30] ERROR[2551][C-0000000c]: netsock2.c:305 ast_sockaddr_resolve: getaddrinfo("pbx.localdomain", "(null)", ...): Name or service not known
[2019-04-28 18:30:30] WARNING[2551][C-0000000c]: acl.c:835 resolve_first: Unable to lookup 'pbx.localdomain'
[2019-04-28 18:30:49] ERROR[2551][C-0000000d]: netsock2.c:305 ast_sockaddr_resolve: getaddrinfo("pbx.localdomain", "(null)", ...): Name or service not known
[2019-04-28 18:30:49] WARNING[2551][C-0000000d]: acl.c:835 resolve_first: Unable to lookup 'pbx.localdomain'
[2019-04-28 18:30:57] WARNING[1025][C-0000000d]: ast_expr2.fl:470 ast_yyerror: ast_yyerror(): syntax error: syntax error, unexpected '+', expecting $end; Input:
+1406750xxxx> 0
^
[2019-04-28 18:30:57] WARNING[1025][C-0000000d]: ast_expr2.fl:474 ast_yyerror: If you have questions, please refer to https://wiki.asterisk.org/wiki/display/AST/Channel+Variables
[2019-04-28 18:30:57] ERROR[1025][C-0000000d]: netsock2.c:305 ast_sockaddr_resolve: getaddrinfo("pbx.localdomain", "(null)", ...): Name or service not known
[2019-04-28 18:30:57] WARNING[1025][C-0000000d]: acl.c:835 resolve_first: Unable to lookup 'pbx.localdomain'