Outbound calls to remote extension failing

Hi to all, I’ve got a curious issue. We have a couple of remote extensions that aren’t playing ball. FOP2 shows them as connected, and they can make calls through the Asterisk system. The problem is that neither extension seems to accept incoming calls. I’m sure it’s a simple config issue that I’m missing here.

The clients are running Sipdroid on Android handsets, and will normally be connected to the wifi connection, but on occasion can be on 3G networks. If the handset is on the same local network as the phone server, then it works as it should, so my guess is on some sort of network routing/keep-alive issue.

If anyone’s had this issue in the past, I’d appreciate an insight in to how you cured it.

The log from the most recent attempt to call one of these extensions is as follows:

[2012-10-12 12:04:38] VERBOSE[17257] pbx.c: – Executing [zap2dahdi@macro-dial-one:9] GotoIf(“SIP/6001-00000074”, “0?begin2”) in new stack
[2012-10-12 12:04:38] VERBOSE[17257] pbx.c: – Executing [zap2dahdi@macro-dial-one:10] Set(“SIP/6001-00000074”, “THISDIAL=SIP/6050”) in new stack
[2012-10-12 12:04:38] VERBOSE[17257] pbx.c: – Executing [zap2dahdi@macro-dial-one:11] Return(“SIP/6001-00000074”, “”) in new stack
[2012-10-12 12:04:38] VERBOSE[17257] pbx.c: – Executing [dstring@macro-dial-one:9] Set(“SIP/6001-00000074”, “DSTRING=SIP/6050&”) in new stack
[2012-10-12 12:04:38] VERBOSE[17257] pbx.c: – Executing [dstring@macro-dial-one:10] Set(“SIP/6001-00000074”, “ITER=2”) in new stack
[2012-10-12 12:04:38] VERBOSE[17257] pbx.c: – Executing [dstring@macro-dial-one:11] GotoIf(“SIP/6001-00000074”, “0?begin”) in new stack
[2012-10-12 12:04:38] VERBOSE[17257] pbx.c: – Executing [dstring@macro-dial-one:12] Set(“SIP/6001-00000074”, “DSTRING=SIP/6050”) in new stack
[2012-10-12 12:04:38] VERBOSE[17257] pbx.c: – Executing [dstring@macro-dial-one:13] Return(“SIP/6001-00000074”, “”) in new stack
[2012-10-12 12:04:38] VERBOSE[17257] pbx.c: – Executing [s@macro-dial-one:27] GotoIf(“SIP/6001-00000074”, “0?nodial”) in new stack
[2012-10-12 12:04:38] VERBOSE[17257] pbx.c: – Executing [s@macro-dial-one:28] GotoIf(“SIP/6001-00000074”, “0?skiptrace”) in new stack
[2012-10-12 12:04:38] VERBOSE[17257] pbx.c: – Executing [s@macro-dial-one:29] GosubIf(“SIP/6001-00000074”, “1?ctset,1():ctclear,1()”) in new stack
[2012-10-12 12:04:38] VERBOSE[17257] pbx.c: – Executing [ctset@macro-dial-one:1] Set(“SIP/6001-00000074”, “DB(CALLTRACE/6050)=6001”) in new stack
[2012-10-12 12:04:38] VERBOSE[17257] pbx.c: – Executing [ctset@macro-dial-one:2] Return(“SIP/6001-00000074”, “”) in new stack
[2012-10-12 12:04:38] VERBOSE[17257] pbx.c: – Executing [s@macro-dial-one:30] Set(“SIP/6001-00000074”, “D_OPTIONS=tr”) in new stack
[2012-10-12 12:04:38] VERBOSE[17257] pbx.c: – Executing [s@macro-dial-one:31] ExecIf(“SIP/6001-00000074”, “0?SIPAddHeader(Alert-Info: )”) in new stack
[2012-10-12 12:04:38] VERBOSE[17257] pbx.c: – Executing [s@macro-dial-one:32] ExecIf(“SIP/6001-00000074”, “0?SIPAddHeader()”) in new stack
[2012-10-12 12:04:38] VERBOSE[17257] pbx.c: – Executing [s@macro-dial-one:33] ExecIf(“SIP/6001-00000074”, “0?Set(CHANNEL(musicclass)=)”) in new stack
[2012-10-12 12:04:38] VERBOSE[17257] pbx.c: – Executing [s@macro-dial-one:34] GosubIf(“SIP/6001-00000074”, “0?qwait,1()”) in new stack
[2012-10-12 12:04:38] VERBOSE[17257] pbx.c: – Executing [s@macro-dial-one:35] Set(“SIP/6001-00000074”, “__CWIGNORE=”) in new stack
[2012-10-12 12:04:38] VERBOSE[17257] pbx.c: – Executing [s@macro-dial-one:36] Set(“SIP/6001-00000074”, “__KEEPCID=TRUE”) in new stack
[2012-10-12 12:04:38] VERBOSE[17257] pbx.c: – Executing [s@macro-dial-one:37] GotoIf(“SIP/6001-00000074”, “0?usegoto,1”) in new stack
[2012-10-12 12:04:38] VERBOSE[17257] pbx.c: – Executing [s@macro-dial-one:38] GotoIf(“SIP/6001-00000074”, “0?godial”) in new stack
[2012-10-12 12:04:38] VERBOSE[17257] pbx.c: – Executing [s@macro-dial-one:39] Set(“SIP/6001-00000074”, “CONNECTEDLINE(name,i)=Paul Green Mobile”) in new stack
[2012-10-12 12:04:38] VERBOSE[17257] pbx.c: – Executing [s@macro-dial-one:40] Set(“SIP/6001-00000074”, “CONNECTEDLINE(num)=6050”) in new stack
[2012-10-12 12:04:38] VERBOSE[17257] pbx.c: – Executing [s@macro-dial-one:41] Set(“SIP/6001-00000074”, “D_OPTIONS=trI”) in new stack
[2012-10-12 12:04:38] VERBOSE[17257] pbx.c: – Executing [s@macro-dial-one:42] Dial(“SIP/6001-00000074”, “SIP/6050,trI”) in new stack
[2012-10-12 12:04:38] WARNING[17257] app_dial.c: Unable to create channel of type ‘SIP’ (cause 20 - Unknown)
[2012-10-12 12:04:38] VERBOSE[17257] app_dial.c: == Everyone is busy/congested at this time (1:0/0/1)
[2012-10-12 12:04:38] VERBOSE[17257] pbx.c: – Executing [s@macro-dial-one:43] ExecIf(“SIP/6001-00000074”, “0?Set(DIALSTATUS=)”) in new stack
[2012-10-12 12:04:38] VERBOSE[17257] pbx.c: – Executing [s@macro-dial-one:44] GosubIf(“SIP/6001-00000074”, “0?s-CHANUNAVAIL,1()”) in new stack
[2012-10-12 12:04:38] VERBOSE[17257] pbx.c: – Executing [s@macro-dial-one:45] MacroExit(“SIP/6001-00000074”, “”) in new stack
[2012-10-12 12:04:38] VERBOSE[17257] pbx.c: – Executing [s@macro-exten-vm:8] Set(“SIP/6001-00000074”, “SV_DIALSTATUS=CHANUNAVAIL”) in new stack
[2012-10-12 12:04:38] VERBOSE[17257] pbx.c: – Executing [s@macro-exten-vm:9] GosubIf(“SIP/6001-00000074”, “0?docfu,1()”) in new stack
[2012-10-12 12:04:38] VERBOSE[17257] pbx.c: – Executing [s@macro-exten-vm:10] GosubIf(“SIP/6001-00000074”, “0?docfb,1()”) in new stack
[2012-10-12 12:04:38] VERBOSE[17257] pbx.c: – Executing [s@macro-exten-vm:11] Set(“SIP/6001-00000074”, “DIALSTATUS=CHANUNAVAIL”) in new stack
[2012-10-12 12:04:38] VERBOSE[17257] pbx.c: – Executing [s@macro-exten-vm:12] ExecIf(“SIP/6001-00000074”, “0?MacroExit()”) in new stack
[2012-10-12 12:04:38] VERBOSE[17257] pbx.c: – Executing [s@macro-exten-vm:13] GotoIf(“SIP/6001-00000074”, “1?s-CHANUNAVAIL,1”) in new stack
[2012-10-12 12:04:38] VERBOSE[17257] pbx.c: – Goto (macro-exten-vm,s-CHANUNAVAIL,1)
[2012-10-12 12:04:38] VERBOSE[17257] pbx.c: – Executing [s-CHANUNAVAIL@macro-exten-vm:1] GotoIf(“SIP/6001-00000074”, “0?exit,1”) in new stack
[2012-10-12 12:04:38] VERBOSE[17257] pbx.c: – Executing [s-CHANUNAVAIL@macro-exten-vm:2] PlayTones(“SIP/6001-00000074”, “congestion”) in new stack
[2012-10-12 12:04:38] VERBOSE[17257] pbx.c: – Executing [s-CHANUNAVAIL@macro-exten-vm:3] Congestion(“SIP/6001-00000074”, “10”) in new stack
[2012-10-12 12:04:38] VERBOSE[17257] app_macro.c: == Spawn extension (macro-exten-vm, s-CHANUNAVAIL, 3) exited non-zero on ‘SIP/6001-00000074’ in macro ‘exten-vm’
[2012-10-12 12:04:38] VERBOSE[17257] pbx.c: == Spawn extension (from-internal, 6050, 2) exited non-zero on ‘SIP/6001-00000074’
[2012-10-12 12:04:38] VERBOSE[17257] pbx.c: – Executing [h@from-internal:1] Hangup(“SIP/6001-00000074”, “”) in new stack
[2012-10-12 12:04:38] VERBOSE[17257] pbx.c: == Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/6001-00000074’

Have you followed these instructions?

http://www.freepbx.org/support/documentation/howtos/howto-setup-a-remote-sip-extension