I don’t know what’s going on. When a caller calls IN, no problem, I can transfer, park the call, pick it up, anything, but when I call out from a softphone, to my cell phone. Then I transfer (via ##, or send REFER sip msg, or ANYTHING), the call drops and both clients are notified of the disconnection. A reason 410 (Gone) on the client initialing the transfer, and a 487 (Request Terminated) on the Rx end. I’ve never posted a log before, but from what I’ve read people are always asking for them, so I went to Report->Asterisk Logfiles and copied the last 100 lines (that test call was the last activity). Anyways, please asterisk / freepbx guru’s help with this I’m trying hard to understand how all this works, and it’s a lot of fun- usually, but this one has me stumped!
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [s@macro-exten-vm:2] Set(“SIP/fpbx-1-aa4a4f2c-00000001”, “RingGroupMethod=none”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [s@macro-exten-vm:3] Set(“SIP/fpbx-1-aa4a4f2c-00000001”, “__EXTTOCALL=004”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [s@macro-exten-vm:4] Set(“SIP/fpbx-1-aa4a4f2c-00000001”, “__PICKUPMARK=004”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [s@macro-exten-vm:5] Set(“SIP/fpbx-1-aa4a4f2c-00000001”, “RT=15”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [s@macro-exten-vm:6] Gosub(“SIP/fpbx-1-aa4a4f2c-00000001”, “sub-record-check,s,1(exten,004,)”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [s@sub-record-check:1] GotoIf(“SIP/fpbx-1-aa4a4f2c-00000001”, “0?check”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [s@sub-record-check:2] ResetCDR(“SIP/fpbx-1-aa4a4f2c-00000001”, “”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [s@sub-record-check:3] GotoIf(“SIP/fpbx-1-aa4a4f2c-00000001”, “1?check”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Goto (sub-record-check,s,6)
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [s@sub-record-check:6] Set(“SIP/fpbx-1-aa4a4f2c-00000001”, “__MON_FMT=wav”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [s@sub-record-check:7] GotoIf(“SIP/fpbx-1-aa4a4f2c-00000001”, “1?next”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Goto (sub-record-check,s,10)
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [s@sub-record-check:10] ExecIf(“SIP/fpbx-1-aa4a4f2c-00000001”, “0?Return()”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [s@sub-record-check:11] GotoIf(“SIP/fpbx-1-aa4a4f2c-00000001”, “1?exten,1”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Goto (sub-record-check,exten,1)
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [exten@sub-record-check:1] GotoIf(“SIP/fpbx-1-aa4a4f2c-00000001”, “0?callee”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [exten@sub-record-check:2] Set(“SIP/fpbx-1-aa4a4f2c-00000001”, “__REC_POLICY_MODE=dontcare”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [exten@sub-record-check:3] GotoIf(“SIP/fpbx-1-aa4a4f2c-00000001”, “1?caller”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Goto (sub-record-check,exten,10)
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [exten@sub-record-check:10] Set(“SIP/fpbx-1-aa4a4f2c-00000001”, “REC_POLICY_MODE=”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [exten@sub-record-check:11] GosubIf(“SIP/fpbx-1-aa4a4f2c-00000001”, “0?record,1(exten,004,unknown)”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [exten@sub-record-check:12] Return(“SIP/fpbx-1-aa4a4f2c-00000001”, “”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [s@macro-exten-vm:7] GotoIf(“SIP/fpbx-1-aa4a4f2c-00000001”, “1?macrodial”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Goto (macro-exten-vm,s,13)
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [s@macro-exten-vm:13] GosubIf(“SIP/fpbx-1-aa4a4f2c-00000001”, “0?clrheader,1()”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [s@macro-exten-vm:14] Macro(“SIP/fpbx-1-aa4a4f2c-00000001”, “dial-one,15,Ttr,004”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [s@macro-dial-one:1] Set(“SIP/fpbx-1-aa4a4f2c-00000001”, “DEXTEN=004”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [s@macro-dial-one:2] Set(“SIP/fpbx-1-aa4a4f2c-00000001”, “DIALSTATUS_CW=”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [s@macro-dial-one:3] GosubIf(“SIP/fpbx-1-aa4a4f2c-00000001”, “0?screen,1()”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [s@macro-dial-one:4] GosubIf(“SIP/fpbx-1-aa4a4f2c-00000001”, “0?cf,1()”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [s@macro-dial-one:5] GotoIf(“SIP/fpbx-1-aa4a4f2c-00000001”, “1?skip1”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Goto (macro-dial-one,s,8)
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [s@macro-dial-one:8] GotoIf(“SIP/fpbx-1-aa4a4f2c-00000001”, “0?nodial”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [s@macro-dial-one:9] GotoIf(“SIP/fpbx-1-aa4a4f2c-00000001”, “0?continue”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [s@macro-dial-one:10] Set(“SIP/fpbx-1-aa4a4f2c-00000001”, “EXTHASCW=ENABLED”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [s@macro-dial-one:11] GotoIf(“SIP/fpbx-1-aa4a4f2c-00000001”, “0?next1:cwinusebusy”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Goto (macro-dial-one,s,23)
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [s@macro-dial-one:23] GotoIf(“SIP/fpbx-1-aa4a4f2c-00000001”, “1?next3:continue”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Goto (macro-dial-one,s,24)
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [s@macro-dial-one:24] ExecIf(“SIP/fpbx-1-aa4a4f2c-00000001”, “0?Set(DIALSTATUS_CW=BUSY)”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [s@macro-dial-one:25] GotoIf(“SIP/fpbx-1-aa4a4f2c-00000001”, “0?nodial”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [s@macro-dial-one:26] GosubIf(“SIP/fpbx-1-aa4a4f2c-00000001”, “1?dstring,1():dlocal,1()”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [dstring@macro-dial-one:1] Set(“SIP/fpbx-1-aa4a4f2c-00000001”, “DSTRING=”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [dstring@macro-dial-one:2] Set(“SIP/fpbx-1-aa4a4f2c-00000001”, “DEVICES=004”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [dstring@macro-dial-one:3] ExecIf(“SIP/fpbx-1-aa4a4f2c-00000001”, “0?Return()”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [dstring@macro-dial-one:4] ExecIf(“SIP/fpbx-1-aa4a4f2c-00000001”, “0?Set(DEVICES=04)”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [dstring@macro-dial-one:5] Set(“SIP/fpbx-1-aa4a4f2c-00000001”, “LOOPCNT=1”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [dstring@macro-dial-one:6] Set(“SIP/fpbx-1-aa4a4f2c-00000001”, “ITER=1”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [dstring@macro-dial-one:7] Set(“SIP/fpbx-1-aa4a4f2c-00000001”, “THISDIAL=SIP/004”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [dstring@macro-dial-one:8] GosubIf(“SIP/fpbx-1-aa4a4f2c-00000001”, “1?zap2dahdi,1()”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [zap2dahdi@macro-dial-one:1] ExecIf(“SIP/fpbx-1-aa4a4f2c-00000001”, “0?Return()”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [zap2dahdi@macro-dial-one:2] Set(“SIP/fpbx-1-aa4a4f2c-00000001”, “NEWDIAL=”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [zap2dahdi@macro-dial-one:3] Set(“SIP/fpbx-1-aa4a4f2c-00000001”, “LOOPCNT2=1”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [zap2dahdi@macro-dial-one:4] Set(“SIP/fpbx-1-aa4a4f2c-00000001”, “ITER2=1”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [zap2dahdi@macro-dial-one:5] Set(“SIP/fpbx-1-aa4a4f2c-00000001”, “THISPART2=SIP/004”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [zap2dahdi@macro-dial-one:6] ExecIf(“SIP/fpbx-1-aa4a4f2c-00000001”, “0?Set(THISPART2=DAHDI/004)”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [zap2dahdi@macro-dial-one:7] Set(“SIP/fpbx-1-aa4a4f2c-00000001”, “NEWDIAL=SIP/004&”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [zap2dahdi@macro-dial-one:8] Set(“SIP/fpbx-1-aa4a4f2c-00000001”, “ITER2=2”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [zap2dahdi@macro-dial-one:9] GotoIf(“SIP/fpbx-1-aa4a4f2c-00000001”, “0?begin2”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [zap2dahdi@macro-dial-one:10] Set(“SIP/fpbx-1-aa4a4f2c-00000001”, “THISDIAL=SIP/004”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [zap2dahdi@macro-dial-one:11] Return(“SIP/fpbx-1-aa4a4f2c-00000001”, “”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [dstring@macro-dial-one:9] Set(“SIP/fpbx-1-aa4a4f2c-00000001”, “DSTRING=SIP/004&”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [dstring@macro-dial-one:10] Set(“SIP/fpbx-1-aa4a4f2c-00000001”, “ITER=2”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [dstring@macro-dial-one:11] GotoIf(“SIP/fpbx-1-aa4a4f2c-00000001”, “0?begin”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [dstring@macro-dial-one:12] Set(“SIP/fpbx-1-aa4a4f2c-00000001”, “DSTRING=SIP/004”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [dstring@macro-dial-one:13] Return(“SIP/fpbx-1-aa4a4f2c-00000001”, “”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [s@macro-dial-one:27] GotoIf(“SIP/fpbx-1-aa4a4f2c-00000001”, “0?nodial”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [s@macro-dial-one:28] GotoIf(“SIP/fpbx-1-aa4a4f2c-00000001”, “0?skiptrace”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [s@macro-dial-one:29] GosubIf(“SIP/fpbx-1-aa4a4f2c-00000001”, “1?ctset,1():ctclear,1()”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [ctset@macro-dial-one:1] Set(“SIP/fpbx-1-aa4a4f2c-00000001”, “DB(CALLTRACE/004)=9402557773”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [ctset@macro-dial-one:2] Return(“SIP/fpbx-1-aa4a4f2c-00000001”, “”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [s@macro-dial-one:30] Set(“SIP/fpbx-1-aa4a4f2c-00000001”, “D_OPTIONS=Ttr”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [s@macro-dial-one:31] ExecIf(“SIP/fpbx-1-aa4a4f2c-00000001”, “0?SIPAddHeader(Alert-Info: )”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [s@macro-dial-one:32] ExecIf(“SIP/fpbx-1-aa4a4f2c-00000001”, “0?SIPAddHeader()”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [s@macro-dial-one:33] ExecIf(“SIP/fpbx-1-aa4a4f2c-00000001”, “0?Set(CHANNEL(musicclass)=)”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [s@macro-dial-one:34] GosubIf(“SIP/fpbx-1-aa4a4f2c-00000001”, “0?qwait,1()”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [s@macro-dial-one:35] Set(“SIP/fpbx-1-aa4a4f2c-00000001”, “__CWIGNORE=”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [s@macro-dial-one:36] Set(“SIP/fpbx-1-aa4a4f2c-00000001”, “__KEEPCID=TRUE”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [s@macro-dial-one:37] GotoIf(“SIP/fpbx-1-aa4a4f2c-00000001”, “0?usegoto,1”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [s@macro-dial-one:38] GotoIf(“SIP/fpbx-1-aa4a4f2c-00000001”, “1?godial”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Goto (macro-dial-one,s,42)
[2012-05-19 16:06:52] VERBOSE[-1] pbx.c: – Executing [s@macro-dial-one:42] Dial(“SIP/fpbx-1-aa4a4f2c-00000001”, “SIP/004,15,Ttr”) in new stack
[2012-05-19 16:06:52] VERBOSE[-1] netsock2.c: == Using SIP RTP TOS bits 184
[2012-05-19 16:06:52] VERBOSE[-1] netsock2.c: == Using SIP RTP CoS mark 5
[2012-05-19 16:06:52] VERBOSE[-1] app_dial.c: – Called SIP/004
[2012-05-19 16:06:53] VERBOSE[-1] app_macro.c: == Spawn extension (macro-dial-one, s, 42) exited non-zero on ‘SIP/fpbx-1-aa4a4f2c-00000001’ in macro ‘dial-one’
[2012-05-19 16:06:53] VERBOSE[-1] app_macro.c: == Spawn extension (macro-exten-vm, s, 14) exited non-zero on ‘SIP/fpbx-1-aa4a4f2c-00000001’ in macro ‘exten-vm’
[2012-05-19 16:06:53] VERBOSE[-1] pbx.c: == Spawn extension (from-internal-xfer, 004, 2) exited non-zero on ‘SIP/fpbx-1-aa4a4f2c-00000001’
[2012-05-19 16:06:53] VERBOSE[-1] pbx.c: – Executing [h@from-internal-xfer:1] Macro(“SIP/fpbx-1-aa4a4f2c-00000001”, “hangupcall”) in new stack
[2012-05-19 16:06:53] VERBOSE[-1] pbx.c: – Executing [s@macro-hangupcall:1] GotoIf(“SIP/fpbx-1-aa4a4f2c-00000001”, “1?theend”) in new stack
[2012-05-19 16:06:53] VERBOSE[-1] pbx.c: – Goto (macro-hangupcall,s,3)
[2012-05-19 16:06:53] VERBOSE[-1] pbx.c: – Executing [s@macro-hangupcall:3] Hangup(“SIP/fpbx-1-aa4a4f2c-00000001”, “”) in new stack
[2012-05-19 16:06:53] VERBOSE[-1] app_macro.c: == Spawn extension (macro-hangupcall, s, 3) exited non-zero on ‘SIP/fpbx-1-aa4a4f2c-00000001’ in macro ‘hangupcall’
[2012-05-19 16:06:53] VERBOSE[-1] pbx.c: == Spawn extension (from-internal-xfer, h, 1) exited non-zero on ‘SIP/fpbx-1-aa4a4f2c-00000001’
[2012-05-19 16:07:23] VERBOSE[-1] asterisk.c: – Remote UNIX connection
[2012-05-19 16:07:23] VERBOSE[-1] asterisk.c: – Remote UNIX connection disconnected
[2012-05-19 16:07:26] VERBOSE[-1] asterisk.c: – Remote UNIX connection
[2012-05-19 16:07:26] VERBOSE[-1] asterisk.c: – Remote UNIX connection disconnected
[2012-05-19 16:08:01] VERBOSE[-1] asterisk.c: – Remote UNIX connection
[2012-05-19 16:08:01] VERBOSE[-1] asterisk.c: – Remote UNIX connection disconnected