The outdoor call does not work

Hello everyone, suddenly the call received from the outside no longer works. After 2-4 seconds, hang up. I saw in the CDR report that passage is the number but I understand little. I followed the same settings as another exchange equal to this one and used for the same purpose. The only difference is the supplier of the voip number. It seems that these use the stun server instead of the nat. Do you have any ideas?

It’s going straight to hang-up, so I’d guess that there’s something wrong in your inbound route processing. The /var/log/asterisk/full log will tell us a LOT more than the CDR (which, for anything but snoop around about who’s calling who, is worthless).

[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx_builtins.c: Goto (ext-meetme,100,16)
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx.c: Executing [[email protected]:16] Set(“SIP/out_04311985635-00000030”, “PINCOUNT=0”) in new stack
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx.c: Executing [[email protected]:17] GosubIf(“SIP/out_04311985635-00000030”, “1?ext-meetme-lang-playback,it,retrypin():ext-meetme-lang-playback,en,retrypin()”) in new stack
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx.c: Executing [[email protected]:1] Read(“SIP/out_04311985635-00000030”, “PIN,conf-getpin,”) in new stack
[2018-12-10 23:49:09] WARNING[8833][C-00000032] channel.c: Unable to find a codec translation path: (g722|ulaw) -> (g729)
[2018-12-10 23:49:09] WARNING[8833][C-00000032] file.c: Unable to open conf-getpin (format (g729)): No such file or directory
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] app_read.c: User disconnected
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx.c: Executing [[email protected]:2] Return(“SIP/out_04311985635-00000030”, “”) in new stack
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx.c: Executing [[email protected]:18] GotoIf(“SIP/out_04311985635-00000030”, “0?USER”) in new stack
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx.c: Executing [[email protected]:19] GotoIf(“SIP/out_04311985635-00000030”, “0?ADMIN”) in new stack
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx.c: Executing [[email protected]:20] GotoIf(“SIP/out_04311985635-00000030”, “0?USER”) in new stack
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx.c: Executing [[email protected]:21] Set(“SIP/out_04311985635-00000030”, “PINCOUNT=1”) in new stack
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx.c: Executing [[email protected]:22] GotoIf(“SIP/out_04311985635-00000030”, “0?h,1”) in new stack
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx.c: Executing [[email protected]:23] Playback(“SIP/out_04311985635-00000030”, “conf-invalidpin”) in new stack
[2018-12-10 23:49:09] WARNING[8833][C-00000032] channel.c: Unable to find a codec translation path: (g722|ulaw) -> (g729)
[2018-12-10 23:49:09] WARNING[8833][C-00000032] file.c: Unable to open conf-invalidpin (format (g729)): No such file or directory
[2018-12-10 23:49:09] WARNING[8833][C-00000032] app_playback.c: Playback failed on SIP/out_04311985635-00000030 for conf-invalidpin
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx.c: Executing [[email protected]:24] Goto(“SIP/out_04311985635-00000030”, “RETRYPIN”) in new stack
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx_builtins.c: Goto (ext-meetme,100,17)
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx.c: Executing [[email protected]:17] GosubIf(“SIP/out_04311985635-00000030”, “1?ext-meetme-lang-playback,it,retrypin():ext-meetme-lang-playback,en,retrypin()”) in new stack
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx.c: Executing [[email protected]:1] Read(“SIP/out_04311985635-00000030”, “PIN,conf-getpin,”) in new stack
[2018-12-10 23:49:09] WARNING[8833][C-00000032] channel.c: Unable to find a codec translation path: (g722|ulaw) -> (g729)
[2018-12-10 23:49:09] WARNING[8833][C-00000032] file.c: Unable to open conf-getpin (format (g729)): No such file or directory
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] app_read.c: User disconnected
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx.c: Executing [[email protected]:2] Return(“SIP/out_04311985635-00000030”, “”) in new stack
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx.c: Executing [[email protected]:18] GotoIf(“SIP/out_04311985635-00000030”, “0?USER”) in new stack
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx.c: Executing [[email protected]:19] GotoIf(“SIP/out_04311985635-00000030”, “0?ADMIN”) in new stack
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx.c: Executing [[email protected]:20] GotoIf(“SIP/out_04311985635-00000030”, “0?USER”) in new stack
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx.c: Executing [[email protected]:21] Set(“SIP/out_04311985635-00000030”, “PINCOUNT=2”) in new stack
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx.c: Executing [[email protected]:22] GotoIf(“SIP/out_04311985635-00000030”, “0?h,1”) in new stack
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx.c: Executing [[email protected]:23] Playback(“SIP/out_04311985635-00000030”, “conf-invalidpin”) in new stack
[2018-12-10 23:49:09] WARNING[8833][C-00000032] channel.c: Unable to find a codec translation path: (g722|ulaw) -> (g729)
[2018-12-10 23:49:09] WARNING[8833][C-00000032] file.c: Unable to open conf-invalidpin (format (g729)): No such file or directory
[2018-12-10 23:49:09] WARNING[8833][C-00000032] app_playback.c: Playback failed on SIP/out_04311985635-00000030 for conf-invalidpin
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx.c: Executing [[email protected]:24] Goto(“SIP/out_04311985635-00000030”, “RETRYPIN”) in new stack
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx_builtins.c: Goto (ext-meetme,100,17)
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx.c: Executing [[email protected]:17] GosubIf(“SIP/out_04311985635-00000030”, “1?ext-meetme-lang-playback,it,retrypin():ext-meetme-lang-playback,en,retrypin()”) in new stack
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx.c: Executing [[email protected]:1] Read(“SIP/out_04311985635-00000030”, “PIN,conf-getpin,”) in new stack
[2018-12-10 23:49:09] WARNING[8833][C-00000032] channel.c: Unable to find a codec translation path: (g722|ulaw) -> (g729)
[2018-12-10 23:49:09] WARNING[8833][C-00000032] file.c: Unable to open conf-getpin (format (g729)): No such file or directory
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] app_read.c: User disconnected
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx.c: Executing [[email protected]:2] Return(“SIP/out_04311985635-00000030”, “”) in new stack
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx.c: Executing [[email protected]eetme:18] GotoIf(“SIP/out_04311985635-00000030”, “0?USER”) in new stack
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx.c: Executing [[email protected]:19] GotoIf(“SIP/out_04311985635-00000030”, “0?ADMIN”) in new stack
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx.c: Executing [[email protected]:20] GotoIf(“SIP/out_04311985635-00000030”, “0?USER”) in new stack
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx.c: Executing [[email protected]:21] Set(“SIP/out_04311985635-00000030”, “PINCOUNT=3”) in new stack
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx.c: Executing [[email protected]:22] GotoIf(“SIP/out_04311985635-00000030”, “0?h,1”) in new stack
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx.c: Executing [[email protected]:23] Playback(“SIP/out_04311985635-00000030”, “conf-invalidpin”) in new stack
[2018-12-10 23:49:09] WARNING[8833][C-00000032] channel.c: Unable to find a codec translation path: (g722|ulaw) -> (g729)
[2018-12-10 23:49:09] WARNING[8833][C-00000032] file.c: Unable to open conf-invalidpin (format (g729)): No such file or directory
[2018-12-10 23:49:09] WARNING[8833][C-00000032] app_playback.c: Playback failed on SIP/out_04311985635-00000030 for conf-invalidpin
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx.c: Executing [[email protected]:24] Goto(“SIP/out_04311985635-00000030”, “RETRYPIN”) in new stack
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx_builtins.c: Goto (ext-meetme,100,17)
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx.c: Executing [[email protected]:17] GosubIf(“SIP/out_04311985635-00000030”, “1?ext-meetme-lang-playback,it,retrypin():ext-meetme-lang-playback,en,retrypin()”) in new stack
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx.c: Executing [[email protected]:1] Read(“SIP/out_04311985635-00000030”, “PIN,conf-getpin,”) in new stack
[2018-12-10 23:49:09] WARNING[8833][C-00000032] channel.c: Unable to find a codec translation path: (g722|ulaw) -> (g729)
[2018-12-10 23:49:09] WARNING[8833][C-00000032] file.c: Unable to open conf-getpin (format (g729)): No such file or directory
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] app_read.c: User disconnected
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx.c: Executing [[email protected]:2] Return(“SIP/out_04311985635-00000030”, “”) in new stack
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx.c: Executing [[email protected]:18] GotoIf(“SIP/out_04311985635-00000030”, “0?USER”) in new stack
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx.c: Executing [[email protected]:19] GotoIf(“SIP/out_04311985635-00000030”, “0?ADMIN”) in new stack
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx.c: Executing [[email protected]:20] GotoIf(“SIP/out_04311985635-00000030”, “0?USER”) in new stack
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx.c: Executing [[email protected]:21] Set(“SIP/out_04311985635-00000030”, “PINCOUNT=4”) in new stack
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx.c: Executing [[email protected]:22] GotoIf(“SIP/out_04311985635-00000030”, “1?h,1”) in new stack
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx_builtins.c: Goto (ext-meetme,h,1)
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx.c: Executing [[email protected]:1] Macro(“SIP/out_04311985635-00000030”, “hangupcall,”) in new stack
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx.c: Executing [[email protected]:1] GotoIf(“SIP/out_04311985635-00000030”, “1?theend”) in new stack
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx_builtins.c: Goto (macro-hangupcall,s,3)
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx.c: Executing [[email protected]:3] ExecIf(“SIP/out_04311985635-00000030”, “0?Set(CDR(recordingfile)=)”) in new stack
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx.c: Executing [[email protected]:4] Hangup(“SIP/out_04311985635-00000030”, “”) in new stack
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] app_macro.c: Spawn extension (macro-hangupcall, s, 4) exited non-zero on ‘SIP/out_04311985635-00000030’ in macro ‘hangupcall’
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx.c: Spawn extension (ext-meetme, h, 1) exited non-zero on ‘SIP/out_04311985635-00000030’
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx.c: Executing [[email protected]:1] Macro(“SIP/out_04311985635-00000030”, “hangupcall,”) in new stack
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx.c: Executing [[email protected]:1] GotoIf(“SIP/out_04311985635-00000030”, “1?theend”) in new stack
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx_builtins.c: Goto (macro-hangupcall,s,3)
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx.c: Executing [[email protected]:3] ExecIf(“SIP/out_04311985635-00000030”, “0?Set(CDR(recordingfile)=)”) in new stack
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx.c: Executing [[email protected]:4] Hangup(“SIP/out_04311985635-00000030”, “”) in new stack
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] app_macro.c: Spawn extension (macro-hangupcall, s, 4) exited non-zero on ‘SIP/out_04311985635-00000030’ in macro ‘hangupcall’
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx.c: Spawn extension (ext-meetme, h, 1) exited non-zero on ‘SIP/out_04311985635-00000030’
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] app_stack.c: SIP/out_04311985635-00000030 Internal Gosub(crm-hangup,s,1) start
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx.c: Executing [[email protected]:1] NoOp(“SIP/out_04311985635-00000030”, “Sending Hangup to CRM”) in new stack
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx.c: Executing [[email protected]:2] NoOp(“SIP/out_04311985635-00000030”, “HANGUP CAUSE: 16”) in new stack
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx.c: Executing [[email protected]:3] ExecIf(“SIP/out_04311985635-00000030”, “0?Set(__CRM_VOICEMAIL=)”) in new stack
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx.c: Executing [[email protected]:4] NoOp(“SIP/out_04311985635-00000030”, “MASTER CHANNEL: 1544482147.50 = 1544482147.50”) in new stack
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx.c: Executing [[email protected]:5] GotoIf(“SIP/out_04311985635-00000030”, “0?return”) in new stack
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx.c: Executing [[email protected]:6] Set(“SIP/out_04311985635-00000030”, “__CRM_HANGUP=1”) in new stack
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx.c: Executing [[email protected]:7] AGI(“SIP/out_04311985635-00000030”, “sangomacrm.agi”) in new stack
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/sangomacrm.agi
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] res_agi.c: <SIP/out_04311985635-00000030>AGI Script sangomacrm.agi completed, returning 0
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] pbx.c: Executing [[email protected]:8] Return(“SIP/out_04311985635-00000030”, “”) in new stack
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] app_stack.c: Spawn extension (ext-meetme, h, 1) exited non-zero on ‘SIP/out_04311985635-00000030’
[2018-12-10 23:49:09] VERBOSE[8833][C-00000032] app_stack.c: SIP/out_04311985635-00000030 Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=
[2018-12-10 23:49:10] VERBOSE[8800][C-00000031] pbx.c: Executing [[email protected]:10] PlayTones(“SIP/83.136.106.132-0000002f”, “congestion”) in new stack
[2018-12-10 23:49:10] VERBOSE[8800][C-00000031] pbx.c: Executing [[email protected]:11] Congestion(“SIP/83.136.106.132-0000002f”, “5”) in new stack
[2018-12-10 23:49:11] WARNING[3149] chan_sip.c: Retransmission timeout reached on transmission 1940907654-897244439-840814546 for seqno 1 (Critical Response) – See https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions
Packet timed out after 31999ms with no response
[2018-12-10 23:49:15] VERBOSE[8800][C-00000031] pbx.c: Spawn extension (from-sip-external, s, 11) exited non-zero on ‘SIP/83.136.106.132-0000002f’
[2018-12-10 23:49:15] VERBOSE[8800][C-00000031] pbx.c: Executing [[email protected]:1] Hangup(“SIP/83.136.106.132-0000002f”, “”) in new stack
[2018-12-10 23:49:15] VERBOSE[8800][C-00000031] pbx.c: Spawn extension (from-sip-external, h, 1) exited non-zero on ‘SIP/83.136.106.132-0000002f’

I hope this list is right

It seems the inbound call is trying to go to a conference and no matching codec can be found. Very strange setup.

Are you sure that is the log for the inbpund route that is not working?

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