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 [[email protected]:1] Set("SIP/205-00000000", "__RINGTIMER=15") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]: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 [[email protected]:1] Macro("SIP/205-00000000", "user-callerid,") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:1] Set("SIP/205-00000000", "AMPUSER=205") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:2] GotoIf("SIP/205-00000000", "0?report") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:3] ExecIf("SIP/205-00000000", "1?Set(REALCALLERIDNUM=205)") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:4] Set("SIP/205-00000000", "AMPUSER=205") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:5] Set("SIP/205-00000000", "AMPUSERCIDNAME=movel") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:6] GotoIf("SIP/205-00000000", "0?report") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:7] Set("SIP/205-00000000", "AMPUSERCID=205") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:8] Set("SIP/205-00000000", "CALLERID(all)="movel" <205>") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:9] GotoIf("SIP/205-00000000", "0?limit") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]: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 [[email protected]:11] GotoIf("SIP/205-00000000", "0?continue") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:12] Set("SIP/205-00000000", "__TTL=64") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]: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 [[email protected]:24] Set("SIP/205-00000000", "CALLERID(number)=205") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:25] Set("SIP/205-00000000", "CALLERID(name)=movel") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:26] Set("SIP/205-00000000", "CHANNEL(language)=en") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:2] Set("SIP/205-00000000", "RingGroupMethod=none") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:3] Set("SIP/205-00000000", "__EXTTOCALL=201") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:4] Set("SIP/205-00000000", "__PICKUPMARK=201") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:5] Set("SIP/205-00000000", "RT=") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]: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 [[email protected]: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 [[email protected]:3] Set("SIP/205-00000000", "MON_FMT=wav") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]: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 [[email protected]:7] ExecIf("SIP/205-00000000", "0?Return()") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:8] GotoIf("SIP/205-00000000", "0?exten,1") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:9] Set("SIP/205-00000000", "__REC_STATUS=INITIALIZED") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:10] ExecIf("SIP/205-00000000", "0?Set(__REC_POLICY_MODE=)") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:11] Set("SIP/205-00000000", "NOW=1331053783") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:12] Set("SIP/205-00000000", "__DAY=06") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:13] Set("SIP/205-00000000", "__MONTH=03") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:14] Set("SIP/205-00000000", "__YEAR=2012") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:15] Set("SIP/205-00000000", "__TIMESTR=20120306-170943") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:16] Set("SIP/205-00000000", "__FROMEXTEN=205") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]: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 [[email protected]: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 [[email protected]:1] GotoIf("SIP/205-00000000", "0?callee") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:2] Set("SIP/205-00000000", "__REC_POLICY_MODE=dontcare") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]: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 [[email protected]:10] Set("SIP/205-00000000", "REC_POLICY_MODE=dontcare") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]: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 [[email protected]:12] Return("SIP/205-00000000", "") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:7] Macro("SIP/205-00000000", "dial-one,,tr,201") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:1] Set("SIP/205-00000000", "DEXTEN=201") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:2] Set("SIP/205-00000000", "DIALSTATUS_CW=") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:3] GosubIf("SIP/205-00000000", "0?screen,1()") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:4] GosubIf("SIP/205-00000000", "0?cf,1()") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]: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 [[email protected]:8] GotoIf("SIP/205-00000000", "0?nodial") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:9] GotoIf("SIP/205-00000000", "0?continue") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:10] Set("SIP/205-00000000", "EXTHASCW=ENABLED") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]: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 [[email protected]: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 [[email protected]:24] ExecIf("SIP/205-00000000", "0?Set(DIALSTATUS_CW=BUSY)") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:25] GotoIf("SIP/205-00000000", "0?nodial") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:26] GosubIf("SIP/205-00000000", "1?dstring,1():dlocal,1()") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:1] Set("SIP/205-00000000", "DSTRING=") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:2] Set("SIP/205-00000000", "DEVICES=201") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:3] ExecIf("SIP/205-00000000", "0?Return()") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:4] ExecIf("SIP/205-00000000", "0?Set(DEVICES=01)") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:5] Set("SIP/205-00000000", "LOOPCNT=1") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:6] Set("SIP/205-00000000", "ITER=1") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:7] Set("SIP/205-00000000", "THISDIAL=CUSTOM/201") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:8] GosubIf("SIP/205-00000000", "1?zap2dahdi,1()") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:1] ExecIf("SIP/205-00000000", "0?Return()") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:2] Set("SIP/205-00000000", "NEWDIAL=") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:3] Set("SIP/205-00000000", "LOOPCNT2=1") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:4] Set("SIP/205-00000000", "ITER2=1") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:5] Set("SIP/205-00000000", "THISPART2=CUSTOM/201") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:6] ExecIf("SIP/205-00000000", "0?Set(THISPART2=DAHDITOM/201)") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:7] Set("SIP/205-00000000", "NEWDIAL=CUSTOM/201&") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:8] Set("SIP/205-00000000", "ITER2=2") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:9] GotoIf("SIP/205-00000000", "0?begin2") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:10] Set("SIP/205-00000000", "THISDIAL=CUSTOM/201") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:11] Return("SIP/205-00000000", "") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:9] Set("SIP/205-00000000", "DSTRING=CUSTOM/201&") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:10] Set("SIP/205-00000000", "ITER=2") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:11] GotoIf("SIP/205-00000000", "0?begin") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:12] Set("SIP/205-00000000", "DSTRING=CUSTOM/201") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:13] Return("SIP/205-00000000", "") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:27] GotoIf("SIP/205-00000000", "0?nodial") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:28] GotoIf("SIP/205-00000000", "0?skiptrace") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:29] GosubIf("SIP/205-00000000", "1?ctset,1():ctclear,1()") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:1] Set("SIP/205-00000000", "DB(CALLTRACE/201)=205") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:2] Return("SIP/205-00000000", "") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:30] Set("SIP/205-00000000", "D_OPTIONS=tr") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:31] ExecIf("SIP/205-00000000", "0?SIPAddHeader(Alert-Info: )") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:32] ExecIf("SIP/205-00000000", "0?SIPAddHeader()") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:33] ExecIf("SIP/205-00000000", "0?Set(CHANNEL(musicclass)=)") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:34] GosubIf("SIP/205-00000000", "0?qwait,1()") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:35] Set("SIP/205-00000000", "__CWIGNORE=") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:36] Set("SIP/205-00000000", "__KEEPCID=TRUE") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:37] GotoIf("SIP/205-00000000", "0?usegoto,1") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:38] GotoIf("SIP/205-00000000", "0?godial") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:39] Set("SIP/205-00000000", "CONNECTEDLINE(name,i)=Asterisk 201") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:40] Set("SIP/205-00000000", "CONNECTEDLINE(num)=201") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:41] Set("SIP/205-00000000", "D_OPTIONS=trI") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]: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 [[email protected]:43] ExecIf("SIP/205-00000000", "0?Set(DIALSTATUS=)") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:44] GosubIf("SIP/205-00000000", "0?s-CHANUNAVAIL,1()") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:45] MacroExit("SIP/205-00000000", "") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:8] Set("SIP/205-00000000", "SV_DIALSTATUS=CHANUNAVAIL") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:9] GosubIf("SIP/205-00000000", "0?docfu,1()") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:10] GosubIf("SIP/205-00000000", "0?docfb,1()") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:11] Set("SIP/205-00000000", "DIALSTATUS=CHANUNAVAIL") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:12] ExecIf("SIP/205-00000000", "0?MacroExit()") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]: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 [[email protected]:1] GotoIf("SIP/205-00000000", "0?exit,1") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]:2] PlayTones("SIP/205-00000000", "congestion") in new stack [2012-03-06 17:09:43] VERBOSE[16251] pbx.c: -- Executing [[email protected]: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 [[email protected]: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 [[email protected]: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=#[email protected] ; Use a softkey to dial 123. Name : 9 char max
bookmark=#[email protected] ; 54 shows a mailbox icon. See #define FAV_ICON_ for other values (32 to 63)
bookmark=#[email protected] ; Display an icon if violet is connected (dynamic), only for unistim device
;[email protected] ; Display a pager icon and dial 54321 when softkey 4 is pressed
[/code]

I’ve tried some other settings like:
USTM/[email protected]
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/[email protected] 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.