Error 503 after dial sip->unistim

Hello

I’ve been configuring an asterisk-now system to be able to use a lot of nortel i200x phones that are stored in a few boxes.

So far I’ve been successfully reached some milestones, all nortel/unistim phones that I’ve configured worked perfectly. Then I configured some sip phones (basically some cellphones with voip app) that also worked very well.

All seemed to be working great. I was able to make calls between sip phones. Calls between unistim phones also worked like a charm. Calling from a unistim phone to a sip phone also worked without any kind of problems. But when I try to make a call from a sip phone to a unistim one for some reason that I don’t seem to understand it doesn’t work.
I checked the log on the cellphone and I get the the error 503 (that I know that is service unavailable) during method INVITE from the number I’m trying to call - [email protected]

this is freepbx log of the call:

[2012-03-06 17:09:39] VERBOSE[16175] chan_sip.c: -- Registered SIP '205' at 192.168.1.9:5060 [2012-03-06 17:09:39] NOTICE[16175] chan_sip.c: Peer '205' is now Reachable. (68ms / 2000ms) [2012-03-06 17:09:43] VERBOSE[16175] netsock2.c: == Using SIP RTP TOS bits 184 [2012-03-06 17:09:43] VERBOSE[16175] netsock2.c: == Using SIP RTP CoS mark 5 [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [201@from-internal:1] Set("SIP/205-00000000", "__RINGTIMER=15") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [201@from-internal:2] Macro("SIP/205-00000000", "exten-vm,novm,201,0,0,0") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-exten-vm:1] Macro("SIP/205-00000000", "user-callerid,") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-user-callerid:1] Set("SIP/205-00000000", "AMPUSER=205") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-user-callerid:2] GotoIf("SIP/205-00000000", "0?report") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-user-callerid:3] ExecIf("SIP/205-00000000", "1?Set(REALCALLERIDNUM=205)") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-user-callerid:4] Set("SIP/205-00000000", "AMPUSER=205") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-user-callerid:5] Set("SIP/205-00000000", "AMPUSERCIDNAME=movel") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-user-callerid:6] GotoIf("SIP/205-00000000", "0?report") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-user-callerid:7] Set("SIP/205-00000000", "AMPUSERCID=205") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-user-callerid:8] Set("SIP/205-00000000", "CALLERID(all)="movel" <205>") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-user-callerid:9] GotoIf("SIP/205-00000000", "0?limit") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-user-callerid:10] ExecIf("SIP/205-00000000", "0?Set(GROUP(concurrency_limit)=205)") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-user-callerid:11] GotoIf("SIP/205-00000000", "0?continue") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-user-callerid:12] Set("SIP/205-00000000", "__TTL=64") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-user-callerid:13] GotoIf("SIP/205-00000000", "1?continue") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Goto (macro-user-callerid,s,24) [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-user-callerid:24] Set("SIP/205-00000000", "CALLERID(number)=205") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-user-callerid:25] Set("SIP/205-00000000", "CALLERID(name)=movel") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-user-callerid:26] Set("SIP/205-00000000", "CHANNEL(language)=en") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-exten-vm:2] Set("SIP/205-00000000", "RingGroupMethod=none") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-exten-vm:3] Set("SIP/205-00000000", "__EXTTOCALL=201") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-exten-vm:4] Set("SIP/205-00000000", "__PICKUPMARK=201") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-exten-vm:5] Set("SIP/205-00000000", "RT=") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-exten-vm:6] Gosub("SIP/205-00000000", "sub-record-check,s,1(exten,201,)") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@sub-record-check:1] GotoIf("SIP/205-00000000", "1?check") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Goto (sub-record-check,s,3) [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@sub-record-check:3] Set("SIP/205-00000000", "MON_FMT=wav") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@sub-record-check:4] GotoIf("SIP/205-00000000", "1?next") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Goto (sub-record-check,s,7) [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@sub-record-check:7] ExecIf("SIP/205-00000000", "0?Return()") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@sub-record-check:8] GotoIf("SIP/205-00000000", "0?exten,1") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@sub-record-check:9] Set("SIP/205-00000000", "__REC_STATUS=INITIALIZED") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@sub-record-check:10] ExecIf("SIP/205-00000000", "0?Set(__REC_POLICY_MODE=)") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@sub-record-check:11] Set("SIP/205-00000000", "NOW=1331053783") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@sub-record-check:12] Set("SIP/205-00000000", "__DAY=06") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@sub-record-check:13] Set("SIP/205-00000000", "__MONTH=03") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@sub-record-check:14] Set("SIP/205-00000000", "__YEAR=2012") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@sub-record-check:15] Set("SIP/205-00000000", "__TIMESTR=20120306-170943") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@sub-record-check:16] Set("SIP/205-00000000", "__FROMEXTEN=205") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@sub-record-check:17] Set("SIP/205-00000000", "__CALLFILENAME=exten-201-205-20120306-170943-1331053783.22") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@sub-record-check:18] Goto("SIP/205-00000000", "exten,1") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Goto (sub-record-check,exten,1) [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [exten@sub-record-check:1] GotoIf("SIP/205-00000000", "0?callee") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [exten@sub-record-check:2] Set("SIP/205-00000000", "__REC_POLICY_MODE=dontcare") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [exten@sub-record-check:3] GotoIf("SIP/205-00000000", "1?caller") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Goto (sub-record-check,exten,10) [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [exten@sub-record-check:10] Set("SIP/205-00000000", "REC_POLICY_MODE=dontcare") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [exten@sub-record-check:11] GosubIf("SIP/205-00000000", "0?record,1(exten,201,205)") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [exten@sub-record-check:12] Return("SIP/205-00000000", "") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-exten-vm:7] Macro("SIP/205-00000000", "dial-one,,tr,201") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-dial-one:1] Set("SIP/205-00000000", "DEXTEN=201") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-dial-one:2] Set("SIP/205-00000000", "DIALSTATUS_CW=") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-dial-one:3] GosubIf("SIP/205-00000000", "0?screen,1()") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-dial-one:4] GosubIf("SIP/205-00000000", "0?cf,1()") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-dial-one:5] GotoIf("SIP/205-00000000", "1?skip1") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Goto (macro-dial-one,s,8) [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-dial-one:8] GotoIf("SIP/205-00000000", "0?nodial") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-dial-one:9] GotoIf("SIP/205-00000000", "0?continue") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-dial-one:10] Set("SIP/205-00000000", "EXTHASCW=ENABLED") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-dial-one:11] GotoIf("SIP/205-00000000", "0?next1:cwinusebusy") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Goto (macro-dial-one,s,23) [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-dial-one:23] GotoIf("SIP/205-00000000", "1?next3:continue") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Goto (macro-dial-one,s,24) [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-dial-one:24] ExecIf("SIP/205-00000000", "0?Set(DIALSTATUS_CW=BUSY)") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-dial-one:25] GotoIf("SIP/205-00000000", "0?nodial") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-dial-one:26] GosubIf("SIP/205-00000000", "1?dstring,1():dlocal,1()") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [dstring@macro-dial-one:1] Set("SIP/205-00000000", "DSTRING=") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [dstring@macro-dial-one:2] Set("SIP/205-00000000", "DEVICES=201") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [dstring@macro-dial-one:3] ExecIf("SIP/205-00000000", "0?Return()") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [dstring@macro-dial-one:4] ExecIf("SIP/205-00000000", "0?Set(DEVICES=01)") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [dstring@macro-dial-one:5] Set("SIP/205-00000000", "LOOPCNT=1") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [dstring@macro-dial-one:6] Set("SIP/205-00000000", "ITER=1") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [dstring@macro-dial-one:7] Set("SIP/205-00000000", "THISDIAL=CUSTOM/201") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [dstring@macro-dial-one:8] GosubIf("SIP/205-00000000", "1?zap2dahdi,1()") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [zap2dahdi@macro-dial-one:1] ExecIf("SIP/205-00000000", "0?Return()") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [zap2dahdi@macro-dial-one:2] Set("SIP/205-00000000", "NEWDIAL=") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [zap2dahdi@macro-dial-one:3] Set("SIP/205-00000000", "LOOPCNT2=1") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [zap2dahdi@macro-dial-one:4] Set("SIP/205-00000000", "ITER2=1") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [zap2dahdi@macro-dial-one:5] Set("SIP/205-00000000", "THISPART2=CUSTOM/201") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [zap2dahdi@macro-dial-one:6] ExecIf("SIP/205-00000000", "0?Set(THISPART2=DAHDITOM/201)") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [zap2dahdi@macro-dial-one:7] Set("SIP/205-00000000", "NEWDIAL=CUSTOM/201&") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [zap2dahdi@macro-dial-one:8] Set("SIP/205-00000000", "ITER2=2") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [zap2dahdi@macro-dial-one:9] GotoIf("SIP/205-00000000", "0?begin2") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [zap2dahdi@macro-dial-one:10] Set("SIP/205-00000000", "THISDIAL=CUSTOM/201") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [zap2dahdi@macro-dial-one:11] Return("SIP/205-00000000", "") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [dstring@macro-dial-one:9] Set("SIP/205-00000000", "DSTRING=CUSTOM/201&") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [dstring@macro-dial-one:10] Set("SIP/205-00000000", "ITER=2") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [dstring@macro-dial-one:11] GotoIf("SIP/205-00000000", "0?begin") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [dstring@macro-dial-one:12] Set("SIP/205-00000000", "DSTRING=CUSTOM/201") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [dstring@macro-dial-one:13] Return("SIP/205-00000000", "") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-dial-one:27] GotoIf("SIP/205-00000000", "0?nodial") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-dial-one:28] GotoIf("SIP/205-00000000", "0?skiptrace") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-dial-one:29] GosubIf("SIP/205-00000000", "1?ctset,1():ctclear,1()") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [ctset@macro-dial-one:1] Set("SIP/205-00000000", "DB(CALLTRACE/201)=205") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [ctset@macro-dial-one:2] Return("SIP/205-00000000", "") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-dial-one:30] Set("SIP/205-00000000", "D_OPTIONS=tr") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-dial-one:31] ExecIf("SIP/205-00000000", "0?SIPAddHeader(Alert-Info: )") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-dial-one:32] ExecIf("SIP/205-00000000", "0?SIPAddHeader()") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-dial-one:33] ExecIf("SIP/205-00000000", "0?Set(CHANNEL(musicclass)=)") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-dial-one:34] GosubIf("SIP/205-00000000", "0?qwait,1()") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-dial-one:35] Set("SIP/205-00000000", "__CWIGNORE=") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-dial-one:36] Set("SIP/205-00000000", "__KEEPCID=TRUE") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-dial-one:37] GotoIf("SIP/205-00000000", "0?usegoto,1") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-dial-one:38] GotoIf("SIP/205-00000000", "0?godial") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-dial-one:39] Set("SIP/205-00000000", "CONNECTEDLINE(name,i)=Asterisk 201") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-dial-one:40] Set("SIP/205-00000000", "CONNECTEDLINE(num)=201") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-dial-one:41] Set("SIP/205-00000000", "D_OPTIONS=trI") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-dial-one:42] Dial("SIP/205-00000000", "CUSTOM/201,,trI") in new stack [2012-03-06 17:09:43] WARNING[16251] channel.c: No channel type registered for 'CUSTOM' [2012-03-06 17:09:43] WARNING[16251] app_dial.c: Unable to create channel of type 'CUSTOM' (cause 66 - Channel not implemented) [2012-03-06 17:09:43] VERBOSE[16251] app_dial.c: == Everyone is busy/congested at this time (1:0/0/1) [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-dial-one:43] ExecIf("SIP/205-00000000", "0?Set(DIALSTATUS=)") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-dial-one:44] GosubIf("SIP/205-00000000", "0?s-CHANUNAVAIL,1()") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-dial-one:45] MacroExit("SIP/205-00000000", "") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-exten-vm:8] Set("SIP/205-00000000", "SV_DIALSTATUS=CHANUNAVAIL") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-exten-vm:9] GosubIf("SIP/205-00000000", "0?docfu,1()") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-exten-vm:10] GosubIf("SIP/205-00000000", "0?docfb,1()") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-exten-vm:11] Set("SIP/205-00000000", "DIALSTATUS=CHANUNAVAIL") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-exten-vm:12] ExecIf("SIP/205-00000000", "0?MacroExit()") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s@macro-exten-vm:13] GotoIf("SIP/205-00000000", "1?s-CHANUNAVAIL,1") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Goto (macro-exten-vm,s-CHANUNAVAIL,1) [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s-CHANUNAVAIL@macro-exten-vm:1] GotoIf("SIP/205-00000000", "0?exit,1") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s-CHANUNAVAIL@macro-exten-vm:2] PlayTones("SIP/205-00000000", "congestion") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [s-CHANUNAVAIL@macro-exten-vm:3] Congestion("SIP/205-00000000", "10") in new stack [2012-03-06 17:09:43] VERBOSE[16251] app_macro.c: == Spawn extension (macro-exten-vm, s-CHANUNAVAIL, 3) exited non-zero on 'SIP/205-00000000' in macro 'exten-vm' [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: == Spawn extension (from-internal, 201, 2) exited non-zero on 'SIP/205-00000000' [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [h@from-internal:1] Hangup("SIP/205-00000000", "") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/205-00000000' [2012-03-06 17:09:53] VERBOSE[16175] chan_sip.c: -- Unregistered SIP '205'

There are these 2 warnings:
[2012-03-06 17:09:43] WARNING[16251] channel.c: No channel type registered for ‘CUSTOM’
[2012-03-06 17:09:43] WARNING[16251] app_dial.c: Unable to create channel of type ‘CUSTOM’ (cause 66 - Channel not implemented)
don’t know if they are important.

On asterisk CLI using “core show channeltypes” this is what I get:

[code]Type Description Devicestate Indications Transfer


USTM UNISTIM Channel Driver no yes no
Phone Standard Linux Telephony API Driver no yes no
Bridge Bridge Interaction Channel no no no
SIP Session Initiation Protocol (SIP) yes yes yes
DAHDI DAHDI Telephony Driver w/PRI & SS7 & MFC yes yes no
MulticastR Multicast RTP Paging Channel Driver no no no
IAX2 Inter Asterisk eXchange Driver (Ver 2) yes yes yes
Agent Call Agent Proxy Channel yes yes no
Local Local Proxy Channel Driver yes yes no

9 channel drivers registered.[/code]

So it seems that I need to register a custom channel or some way assign it to USTM but I can’t find how to do it.
I think that is the configuration I’m missing but I have no idea what exactly is.
I’ve seen more people with the same problem, but unfortunately haven’t seen any solution.

I’m using asterisk 1.8.10.1 and freepbx ari 2.10.0.0 and fop 2.10.0.2

In the 201 extension do you have the dial string as USTM/201 ??

You would not dial a type of custom.

Already noticed that I hadn’t configured that part properly, so currently it’s configured as USTM/201, but now another problem appears the log is the following:

[2012-03-07 11:19:06] VERBOSE[24020] pbx.c: -- Executing [s@macro-dial-one:42] Dial("SIP/205-00000003", "USTM/201,,trI") in new stack [2012-03-07 11:19:06] NOTICE[24020] chan_unistim.c: Asked to get a channel of format ulaw while capability is 0xc (ulaw|alaw) result : ulaw [2012-03-07 11:19:06] NOTICE[24020] chan_unistim.c: Device '201' has no @ (at) sign! [2012-03-07 11:19:06] NOTICE[24020] chan_unistim.c: No available lines on: 201 [2012-03-07 11:19:06] WARNING[24020] app_dial.c: Unable to create channel of type 'USTM' (cause 34 - Circuit/channel congestion)

this is the unistim.conf:

[code][general]
port=5000 ; UDP port

;-------------------Extensions configuration---------------------------------------------------

;Extenção 201

[201] ; name of the device
device=00xxxxxxxxxx ; mac address of the phone
;tn=201
maintext0=“Teste Asterisk #1” ; default = “Welcome”, 24 characters max
;maintext1=“a custom text” ; default = the name of the device, 24 characters max
;maintext2="(main page)" ; default = the public IP of the phone, 24 characters max
callerid=“Unistim 201” <201>
context=default ; context, default="default"
mailbox=200 ; Specify the mailbox number. Used by Message Waiting Indication
linelabel=“201” ; Softkey label for the next line=> entry, 9 char max.
rtp_port=10000 ; RTP port used by the phone, default = 10000. RTCP = rtp_port+1
rtp_method=3 ; If you don’t have sound, you can try 1, 2 or 3, default = 0
status_method=0 ; If you don’t see status text, try 1, default = 0
titledefault=Asterisk ; default = “TimeZone (your time zone)”. 12 characters max
extension=line ; Add an extension into the dialplan. Only valid in context specified previously.
; none=don’t add (default), ask=prompt user, line=use the line number
dateformat=1 ; 0 = month/day, 1 (default) = day/month
timeformat=0 ; 0 = 0:00am ; 1 (default) = 0h00, 2 = 0:00
contrast=8 ; define the contrast of the LCD. From 0 to 15. Default = 8
country=pt ; country (ccTLD) for dial tone frequency. See README, default = us
ringvolume=3 ; ring volume : 0,1,2,3, can be overrided by Dial(), default = 2
ringstyle=2 ; ring style : 0 to 7, can be overrided by Dial(), default = 3
callhistory=1 ; 0 = disable, 1 = enable call history, default = 1
line => 201 ; Only one line by device is currently supported.
; Beware ! only bookmark and softkey entries are allowed after line=>
bookmark=#2@202 ; Use a softkey to dial 123. Name : 9 char max
bookmark=#3@203 ; 54 shows a mailbox icon. See #define FAV_ICON_ for other values (32 to 63)
bookmark=#3@203 ; Display an icon if violet is connected (dynamic), only for unistim device
;bookmark=name@exten ; Display a pager icon and dial 54321 when softkey 4 is pressed
[/code]

I’ve tried some other settings like:
USTM/201@00xxxxxxxxxx
USTM/[email protected]
USTM/[email protected]
USTM/201

The outcome is the same as above.

Fixed it :smiley:

On asterisk cli I ran “unistim show info” and the output was:

[code]Dumping internal structures :
device
->line
–>sub

name=201 id=00xxxxxxxxxx line=0x93ba640 ha=(nil) sess=0x93d9730 device=0x93ba380
->name=201 fullname=USTM/201@201 exten= callid=“Unistim 201” <201> cap=12 device=0x93ba380 line=0x93ba640
–>subtype=0 chan=(nil) rtp=(nil) bridge=0xffffffd6 line=0x93ba640 alreadygone=0

Sessions:
sin=192.168.1.101 timeout=3988037044 state=2 macaddr=00xxxxxxxxxx device=0x93ba380 session=0x93d9730[/code]

after editing the dial field on the freebpx extension configuration like the fullname string above it started working perfectly.

I hope that this info would come in handy in the future to help others.