I am running Asterisk 1.4.36 using IAX to connect to the service provider. Both inbound and outbound calls work fine most of the time, but randomly sound is lost on some calls. These are the logs for one such call, which lost sound:
[Jun 14 13:21:07] VERBOSE[6862] logger.c: – Executing [91xxxxxxxxxx@outbound:1] Set(“SIP/1xx-0000005f”, “CALLERID(num)=2xxxxxxxxx”) in new stack
[Jun 14 13:21:07] VERBOSE[6862] logger.c: – Executing [91xxxxxxxxxx@outbound:2] Dial(“SIP/1xx-0000005f”, “IAX2/xxxxx_out/1xxxxxxxxxx”) in new stack
[Jun 14 13:21:07] DEBUG[6862] chan_iax2.c: prepending 4 to prefs
[Jun 14 13:21:07] VERBOSE[6862] logger.c: – Called xxxxx_out/1xxxxxxxxxx
[Jun 14 13:21:07] VERBOSE[2106] logger.c: – Call accepted by 6x.xxx.xxx.xx (format ulaw)
[Jun 14 13:21:07] VERBOSE[2106] logger.c: – Format for call is ulaw
[Jun 14 13:21:07] VERBOSE[6862] logger.c: – IAX2/xxxxx_out-6957 is ringing
[Jun 14 13:21:16] VERBOSE[6862] logger.c: – IAX2/xxxxx_out-6957 stopped sounds
[Jun 14 13:21:16] VERBOSE[6862] logger.c: – IAX2/xxxxx_out-6957 answered SIP/1xx-0000005f
[Jun 14 13:22:00] VERBOSE[6862] logger.c: – Executing [h@outbound:1] Hangup(“SIP/1xx-0000005f”, “”) in new stack
[Jun 14 13:22:00] VERBOSE[6862] logger.c: == Spawn h extension (outbound, h, 1) exited non-zero on ‘SIP/1xx-0000005f’
[Jun 14 13:22:00] VERBOSE[6862] logger.c: – Hungup ‘IAX2/xxxxx_out-6957’
[Jun 14 13:22:00] VERBOSE[6862] logger.c: == Spawn extension (outbound, 91xxxxxxxxxx, 2) exited non-zero on ‘SIP/1xx-0000005f’
Please help me get this resolved.
Thank you