Unable to receive incoming calls

PSTN Lines: Line 1: Connected, idle.
Sip Registration = yes
Trunk name same as GXW user
I added insecure=port,invite nothing change.
log.
[ WARNING[26897]: res_pjsip_registrar.c:989 registrar_on_rx_request: Endpoint ‘anonymous’ has no configured AORs

That is probably because you have callerid enabled on the gateway and it is sending the “anonymous” string from the callerid as the auth name. Try disabling callerid on gxw.

Your pjsip is fighting for port 5060. Disable it or change port to listen on, then restart Asterisk. Retest.

I change pjsip to por 5160.
I also trying disabled in and only usin chan_SIP.
Now one of my phones is not able to do the registration I’m not getting any message on the debug but still not able to do the SIP registration with GXW now when attemp to do a call just says failed to stablish call.
some logs that I get on the debug are.
[2019-06-02 15:38:59] WARNING[2466]: pbx.c:8547 ast_context_verify_includes: Context ‘app-cf-busy-on’ tries to include nonexistent context ‘app-cf-busy-on-custom’
[2019-06-02 15:38:59] WARNING[2466]: pbx.c:8547 ast_context_verify_includes: Context ‘app-cf-busy-prompting-on’ tries to include nonexistent context ‘app-cf-busy-prompting-on-custom’
[2019-06-02 15:38:59] WARNING[2466]: pbx.c:8547 ast_context_verify_includes: Context ‘app-cf-toggle’ tries to include nonexistent context ‘app-cf-toggle-custom’
[2019-06-02 15:38:59] ERROR[2466]: res_sorcery_config.c:261 sorcery_config_internal_load: Unable to load config file ‘pjproject.conf’
[2019-06-02 15:38:59] WARNING[2466]: iax2/firmware.c:237 iax_firmware_reload: Error opening firmware directory ‘/var/lib/asterisk/firmware/iax’: No such file or directory
[2019-06-02 15:38:59] NOTICE[2466]: iax2/provision.c:562 iax_provision_reload: No IAX provisioning configuration found, IAX provisioning disabled.
[2019-06-02 15:38:59] NOTICE[2466]: confbridge/conf_config_parser.c:2089 verify_default_profiles: Adding default_menu menu to app_confbridge
[2019-06-02 15:38:59] WARNING[2466]: app_voicemail.c:13872 actual_load_config: maxsilence should be less than minsecs or you may get empty messages
[2019-06-02 15:38:59] WARNING[2466]: app_flite.c:76 read_config: Flite: Unable to read config file flite.conf. Using default settings
[2019-06-02 15:38:59] NOTICE[2466]: app_queue.c:8848 reload_queue_rules: queuerules.conf has not changed since it was last loaded. Not taking any action.

Those are just warnings and not related to your issue whatsoever.

Whenever you Apply Config or otherwise restart or reload Asterisk, it’s normal to get many warnings, often hundreds.

With the GXW powered off, confirm that all your extensions are working correctly. Confirm that when the system is idle, there aren’t warnings or errors continually posted to the log. If needed, fix those issues first.

Then, note the time and power up your GXW. After it fails to register, if the attempt has resulted in anything new added to the log, post that.

Thanks to everyone i’m able to do and receive calls, thank you so much for all the suggestions and help. The solution in my case is that on the GXW FXO Line test I didn’t have the phone number added as soon as I put it I was able to do the registration with pbx.
Thanks again!!!

That was also not related to your issue but glad you got it working.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.