Hello everyone, I am testing the virtual machine CPBX version 5.0.56
, I have the problem that when a ring group has an inactive extension, the PBX gives me the error “The 50090 extension is not available” without going through the other active extensions. I have tried different marking strategies.
This is the debug extension 200 making a call to a 00 ring group.
The ring group contains the extensions 50090 and 50091, the extension 50090 is disconnected
Connected to Asterisk 13.20.0 currently running on localhost (pid = 23464)
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [[email protected]:1] Gosub("SIP/200-00000000", "init-caller,s,1(00)") in new stack
-- Executing [[email protected]:1] GotoIf("SIP/200-00000000", "0?blind-transfer") in new stack
-- Executing [[email protected]:2] GotoIf("SIP/200-00000000", "0?attended-transfer") in new stack
-- Executing [[email protected]:3] GotoIf("SIP/200-00000000", "0?call-forward") in new stack
-- Executing [[email protected]:4] NoOp("SIP/200-00000000", "Using SIP/200-00000000 for initializing channel variables") in new stack
-- Executing [[email protected]:5] Gosub("SIP/200-00000000", "set-channel-variables,s,1(SIP/200-00000000)") in new stack
-- Executing [[email protected]:1] Set("SIP/200-00000000", "device=SIP/200") in new stack
-- Executing [[email protected]:2] Set("SIP/200-00000000", "extension=200") in new stack
-- Executing [[email protected]:3] Set("SIP/200-00000000", "hotdesk=no") in new stack
-- Executing [[email protected]:4] Set("SIP/200-00000000", "__INTERFACE=SIP/200") in new stack
-- Executing [[email protected]:5] Set("SIP/200-00000000", "__DEV_TREE=devices/SIP/200") in new stack
-- Executing [[email protected]:6] Set("SIP/200-00000000", "__DEV_TECHNOLOGY=SIP") in new stack
-- Executing [[email protected]:7] Set("SIP/200-00000000", "__DEV_USER=200") in new stack
-- Executing [[email protected]:8] Set("SIP/200-00000000", "__TENANT=fbe8ff1d9facef5b") in new stack
-- Executing [[email protected]:9] ExecIf("SIP/200-00000000", "0?Set(FAXOPT(gateway)=yes)") in new stack
-- Executing [[email protected]:10] GotoIf("SIP/200-00000000", "0?unassigned") in new stack
-- Executing [[email protected]:11] NoOp("SIP/200-00000000", "Device SIP/200 appears to be assigned to extension 200") in new stack
-- Executing [[email protected]:12] Set("SIP/200-00000000", "CHANNEL(accountcode)=") in new stack
-- Executing [[email protected]:13] Set("SIP/200-00000000", "CHANNEL(callgroup)=") in new stack
-- Executing [[email protected]:14] Set("SIP/200-00000000", "CHANNEL(pickupgroup)=") in new stack
-- Executing [[email protected]:15] Set("SIP/200-00000000", "CHANNEL(language)=en") in new stack
-- Executing [[email protected]:16] Set("SIP/200-00000000", "CHANNEL(musicclass)=default") in new stack
-- Executing [[email protected]:17] Set("SIP/200-00000000", "CALLERID(all)="guest" ") in new stack
-- Executing [[email protected]:18] Set("SIP/200-00000000", "context=cos-all") in new stack
-- Executing [[email protected]:19] Set("SIP/200-00000000", "__COS_NAME=cos-all") in new stack
-- Executing [[email protected]:20] Return("SIP/200-00000000", "") in new stack
-- Executing [[email protected]:6] GotoIf("SIP/200-00000000", "0?unassigned") in new stack
-- Executing [[email protected]:7] GotoIf("SIP/200-00000000", "0?invalid") in new stack
-- Executing [[email protected]:8] NoOp("SIP/200-00000000", "Jumping to [email protected]") in new stack
-- Executing [[email protected]:9] Goto("SIP/200-00000000", "cos-all,00,1") in new stack
-- Goto (cos-all,00,1)
-- Executing [[email protected]:1] NoOp("SIP/200-00000000", "Dialing 00 from 200") in new stack
-- Executing [[email protected]:2] Gosub("SIP/200-00000000", "sub-set-global-vars,s,1(00,parking-1)") in new stack
-- Executing [[email protected]:1] NoOp("SIP/200-00000000", "Setting Global Vars") in new stack
-- Executing [[email protected]:2] Set("SIP/200-00000000", "__PICKUPMARK=00") in new stack
-- Executing [[email protected]:3] Set("SIP/200-00000000", "__PARKINGLOT=parking-1") in new stack
-- Executing [[email protected]:4] Set("SIP/200-00000000", "__DYNAMIC_FEATURES=custom-features") in new stack
-- Executing [[email protected]:5] Set("SIP/200-00000000", "ICALL=no") in new stack
-- Executing [[email protected]:6] Return("SIP/200-00000000", "") in new stack
-- Executing [[email protected]:3] Gosub("SIP/200-00000000", "sub-set-call-vars,s,1(fbe8ff1d9facef5b,00,cos-all,ARS-all)") in new stack
-- Executing [[email protected]:1] NoOp("SIP/200-00000000", "Setting Call Vars") in new stack
-- Executing [[email protected]:2] Set("SIP/200-00000000", "__TENANT=fbe8ff1d9facef5b") in new stack
-- Executing [[email protected]:3] Set("SIP/200-00000000", "_CALL_DESTINATION=00") in new stack
-- Executing [[email protected]:4] Set("SIP/200-00000000", "__COS_NAME=cos-all") in new stack
-- Executing [[email protected]:5] Set("SIP/200-00000000", "_ARS=ARS-all") in new stack
-- Executing [[email protected]:6] Set("SIP/200-00000000", "CDR(tenant)=ombutel") in new stack
-- Executing [[email protected]:7] Set("SIP/200-00000000", "CDR(destination)=00") in new stack
-- Executing [[email protected]:8] Return("SIP/200-00000000", "") in new stack
-- Executing [[email protected]:4] Gosub("SIP/200-00000000", "sub-construct-cid,s,1") in new stack
-- Executing [[email protected]:1] NoOp("SIP/200-00000000", "Building CID") in new stack
-- Executing [[email protected]:2] Set("SIP/200-00000000", "_CALL_SOURCE=200") in new stack
-- Executing [[email protected]:3] GotoIf("SIP/200-00000000", "0?return") in new stack
-- Executing [[email protected]:4] GotoIf("SIP/200-00000000", "0?return") in new stack
-- Executing [[email protected]:5] Set("SIP/200-00000000", "_CALL_SOURCE=200") in new stack
-- Executing [[email protected]:6] ExecIf("SIP/200-00000000", "1?Set(CALLERID(all)="guest" )") in new stack
-- Executing [[email protected]:7] Set("SIP/200-00000000", "_CID_CONSTRUCTED=yes") in new stack
-- Executing [[email protected]:8] NoOp("SIP/200-00000000", "") in new stack
-- Executing [[email protected]:9] Set("SIP/200-00000000", "CDR(source)=200") in new stack
-- Executing [[email protected]:10] Set("SIP/200-00000000", "CHANNEL(accountcode)=") in new stack
-- Executing [[email protected]:11] Return("SIP/200-00000000", "") in new stack
-- Executing [[email protected]:5] Gosub("SIP/200-00000000", "sub-lockphone-check,s,1") in new stack
-- Executing [[email protected]:1] NoOp("SIP/200-00000000", "SUB: LOCK PHONE CHECK") in new stack
-- Executing [[email protected]:2] GotoIf("SIP/200-00000000", "0?unlock:") in new stack
-- Executing [[email protected]:3] GotoIf("SIP/200-00000000", "0?unlock") in new stack
-- Executing [[email protected]:4] GotoIf("SIP/200-00000000", "0?unlock") in new stack
-- Executing [[email protected]:5] GotoIf("SIP/200-00000000", "0?unlock") in new stack
-- Executing [[email protected]:6] GotoIf("SIP/200-00000000", "0?unlock") in new stack
-- Executing [[email protected]:7] GotoIf("SIP/200-00000000", "0?:unlock") in new stack
-- Goto (sub-lockphone-check,s,13)
-- Executing [[email protected]:13] Return("SIP/200-00000000", "") in new stack
-- Executing [[email protected]:6] Gosub("SIP/200-00000000", "sub-local-dialing,s,1") in new stack
-- Executing [[email protected]:1] NoOp("SIP/200-00000000", "Trying to determine if is a local extension") in new stack
-- Executing [[email protected]:2] GotoIf("SIP/200-00000000", "0?:return") in new stack
-- Goto (sub-local-dialing,s,4)
-- Executing [[email protected]:4] Return("SIP/200-00000000", "") in new stack
-- Executing [[email protected]:7] GosubIf("SIP/200-00000000", "1?cos-all-post,00,1:invalid-dest-cos,s,1") in new stack
-- Executing [[email protected]:1] NoOp("SIP/200-00000000", "Ring Group: Operadoras") in new stack
-- Executing [[email protected]:2] Set("SIP/200-00000000", "__CALL_ORIGIN=ring-group") in new stack
-- Executing [[email protected]:3] Set("SIP/200-00000000", "__IGNORE_DIVERSIONS=yes") in new stack
-- Executing [[email protected]:4] Set("SIP/200-00000000", "__SKIP_CONTACT_SERVICES=TRUE") in new stack
-- Executing [[email protected]:5] Set("SIP/200-00000000", "__TRANSFER_CONTEXT=xfer") in new stack
-- Executing [[email protected]:6] Gosub("SIP/200-00000000", "sub-set-call-vars,app-incoming,1") in new stack
-- Executing [[email protected]:1] NoOp("SIP/200-00000000", "Incoming Call App CDR") in new stack
-- Executing [[email protected]:2] GotoIf("SIP/200-00000000", "0?:return") in new stack
-- Goto (sub-set-call-vars,app-incoming,6)
-- Executing [[email protected]:6] Return("SIP/200-00000000", "") in new stack
-- Executing [[email protected]:7] Set("SIP/200-00000000", "CHANNEL(musicclass)=default") in new stack
-- Executing [[email protected]:8] Dial("SIP/200-00000000", "Local/[email protected],10,r") in new stack
-- Called Local/[email protected]
-- Executing [[email protected]:1] NoOp("Local/[email protected];2", "Dialing 50090 from 200") in new stack
-- Executing [[email protected]:2] Gosub("Local/[email protected];2", "sub-set-global-vars,s,1(50090,parking-1)") in new stack
-- Executing [[email protected]:1] NoOp("Local/[email protected];2", "Setting Global Vars") in new stack
-- Executing [[email protected]:2] Set("Local/[email protected];2", "__PICKUPMARK=50090") in new stack
-- Executing [[email protected]:3] Set("Local/[email protected];2", "__PARKINGLOT=parking-1") in new stack
-- Executing [[email protected]:4] Set("Local/[email protected];2", "__DYNAMIC_FEATURES=custom-features") in new stack
-- Executing [[email protected]:5] Set("Local/[email protected];2", "ICALL=no") in new stack
-- Executing [[email protected]:6] Return("Local/[email protected];2", "") in new stack
-- Executing [[email protected]:3] Gosub("Local/[email protected];2", "sub-set-call-vars,s,1(fbe8ff1d9facef5b,50090,cos-all,ARS-all)") in new stack
-- Executing [[email protected]:1] NoOp("Local/[email protected];2", "Setting Call Vars") in new stack
-- Executing [[email protected]:2] Set("Local/[email protected];2", "__TENANT=fbe8ff1d9facef5b") in new stack
-- Executing [[email protected]:3] Set("Local/[email protected];2", "_CALL_DESTINATION=50090") in new stack
-- Executing [[email protected]:4] Set("Local/[email protected];2", "__COS_NAME=cos-all") in new stack
-- Executing [[email protected]:5] Set("Local/[email protected];2", "_ARS=ARS-all") in new stack
-- Executing [[email protected]:6] Set("Local/[email protected];2", "CDR(tenant)=ombutel") in new stack
-- Executing [[email protected]:7] Set("Local/[email protected];2", "CDR(destination)=50090") in new stack
-- Executing [[email protected]:8] Return("Local/[email protected];2", "") in new stack
-- Executing [[email protected]:4] Gosub("Local/[email protected];2", "sub-construct-cid,s,1") in new stack
-- Executing [[email protected]:1] NoOp("Local/[email protected];2", "Building CID") in new stack
-- Executing [[email protected]:2] Set("Local/[email protected];2", "_CALL_SOURCE=200") in new stack
-- Executing [[email protected]:3] GotoIf("Local/[email protected];2", "1?return") in new stack
-- Goto (sub-construct-cid,s,8)
-- Executing [[email protected]:8] NoOp("Local/[email protected];2", "") in new stack
-- Executing [[email protected]:9] Set("Local/[email protected];2", "CDR(source)=200") in new stack
-- Executing [[email protected]:10] Set("Local/[email protected];2", "CHANNEL(accountcode)=") in new stack
-- Executing [[email protected]:11] Return("Local/[email protected];2", "") in new stack
-- Executing [[email protected]:5] Gosub("Local/[email protected];2", "sub-lockphone-check,s,1") in new stack
-- Executing [[email protected]:1] NoOp("Local/[email protected];2", "SUB: LOCK PHONE CHECK") in new stack
-- Executing [[email protected]:2] GotoIf("Local/[email protected];2", "0?unlock:") in new stack
-- Executing [[email protected]:3] GotoIf("Local/[email protected];2", "0?unlock") in new stack
-- Executing [[email protected]:4] GotoIf("Local/[email protected];2", "0?unlock") in new stack
-- Executing [[email protected]:5] GotoIf("Local/[email protected];2", "0?unlock") in new stack
-- Executing [[email protected]:6] GotoIf("Local/[email protected];2", "0?unlock") in new stack
-- Executing [[email protected]:7] GotoIf("Local/[email protected];2", "0?:unlock") in new stack
-- Goto (sub-lockphone-check,s,13)
-- Executing [[email protected]:13] Return("Local/[email protected];2", "") in new stack
-- Executing [[email protected]:6] Gosub("Local/[email protected];2", "sub-local-dialing,s,1") in new stack
-- Executing [[email protected]:1] NoOp("Local/[email protected];2", "Trying to determine if is a local extension") in new stack
-- Executing [[email protected]:2] GotoIf("Local/[email protected];2", "1?:return") in new stack
-- Executing [[email protected]:3] Goto("Local/[email protected];2", "50090,1") in new stack
-- Goto (sub-local-dialing,50090,1)
-- Executing [[email protected]:1] NoOp("Local/[email protected];2", "Dialing Local Extension") in new stack
-- Executing [[email protected]:2] Gosub("Local/[email protected];2", "sub-setup-call-type,s,1(internal)") in new stack
-- Executing [[email protected]:1] NoOp("Local/[email protected];2", "Determinating Call Type") in new stack
-- Executing [[email protected]:2] GotoIf("Local/[email protected];2", "0?return") in new stack
-- Executing [[email protected]:3] Gosub("Local/[email protected];2", "s-internal,1()") in new stack
-- Executing [[email protected]:1] NoOp("Local/[email protected];2", "Internal Call") in new stack
-- Executing [[email protected]:2] Set("Local/[email protected];2", "__CALL_TYPE=1") in new stack
-- Executing [[email protected]:3] Return("Local/[email protected];2", "") in new stack
-- Executing [[email protected]:4] Set("Local/[email protected];2", "__CALL_TYPE_CONFIGURED=yes") in new stack
-- Executing [[email protected]:5] Set("Local/[email protected];2", "CDR(calltype)=1") in new stack
-- Executing [[email protected]:6] Return("Local/[email protected];2", "") in new stack
-- Executing [[email protected]:3] Set("Local/[email protected];2", "_DESTINATION_COS_NAME=cos-all") in new stack
-- Executing [[email protected]:4] Set("Local/[email protected];2", "DIAL_STRING=SIP/50090") in new stack
-- Executing [[email protected]:5] Set("Local/[email protected];2", "DB(fbe8ff1d9facef5b/LASTCALLER/50090)=200") in new stack
-- Executing [[email protected]:6] Set("Local/[email protected];2", "IGNORE_DIVERSIONS=yes") in new stack
-- Executing [[email protected]:7] GosubIf("Local/[email protected];2", "0?sub-queue-members,s,1") in new stack
-- Executing [[email protected]:8] GosubIf("Local/[email protected];2", "1?:sub-check-diversions,s,1(predialing)") in new stack
-- Executing [[email protected]:9] GotoIf("Local/[email protected];2", "0?post-dial") in new stack
-- Executing [[email protected]:10] NoOp("Local/[email protected];2", "Configuring Dial Settings") in new stack
-- Executing [[email protected]:11] Set("Local/[email protected];2", "RING_TIME=30") in new stack
-- Executing [[email protected]:12] Set("Local/[email protected];2", "RING_TIME=30") in new stack
-- Executing [[email protected]:13] ExecIf("Local/[email protected];2", "0?Set(RING_TIME=)") in new stack
-- Executing [[email protected]:14] Set("Local/[email protected];2", "DIAL_OPTIONS=r") in new stack
-- Executing [[email protected]:15] Set("Local/[email protected];2", "DIAL_OPTIONS=r") in new stack
-- Executing [[email protected]:16] GotoIf("Local/[email protected];2", "0?:intercom") in new stack
-- Goto (sub-local-dialing,50090,20)
-- Executing [[email protected]:20] Set("Local/[email protected];2", "ANSWER_MODE=disable") in new stack
-- Executing [[email protected]:21] Set("Local/[email protected];2", "ANSWER_MODE=disable") in new stack
-- Executing [[email protected]:22] GotoIf("Local/[email protected];2", "1?call-rec") in new stack
-- Goto (sub-local-dialing,50090,25)
-- Executing [[email protected]:25] Gosub("Local/[email protected];2", "sub-call-recording,s,1") in new stack
-- Executing [[email protected]:1] NoOp("Local/[email protected];2", "Trying to Record Call") in new stack
-- Executing [[email protected]:2] GotoIf("Local/[email protected];2", "0?return") in new stack
-- Executing [[email protected]:3] GotoIf("Local/[email protected];2", "0?return") in new stack
-- Executing [[email protected]:4] Set("Local/[email protected];2", "AUDIO_FILE=1537893653.2") in new stack
-- Executing [[email protected]:5] Set("Local/[email protected];2", "RECORD_CALL=yes") in new stack
-- Executing [[email protected]:6] GosubIf("Local/[email protected];2", "0?:test-rec-settings,1") in new stack
-- Executing [[email protected]:1] NoOp("Local/[email protected];2", "We going to record the call?") in new stack
-- Executing [[email protected]:2] GotoIf("Local/[email protected];2", "1?:no-internal") in new stack
-- Executing [[email protected]:3] Set("Local/[email protected];2", "RECORD_CALL=no") in new stack
-- Executing [[email protected]:4] Set("Local/[email protected];2", "RECORD_CALL=no") in new stack
-- Executing [[email protected]:5] Goto("Local/[email protected];2", "return") in new stack
-- Goto (sub-call-recording,test-rec-settings,10)
-- Executing [[email protected]:10] Return("Local/[email protected];2", "") in new stack
-- Executing [[email protected]:7] GosubIf("Local/[email protected];2", "0?test-on-demand-conf,1") in new stack
-- Executing [[email protected]:8] GotoIf("Local/[email protected];2", "0?:return") in new stack
-- Goto (sub-call-recording,s,15)
-- Executing [[email protected]:15] Return("Local/[email protected];2", "") in new stack
-- Executing [[email protected]:26] Set("Local/[email protected];2", "EXTENSION_BUSY=0") in new stack
-- Executing [[email protected]:27] GotoIf("Local/[email protected];2", "0?busy-here") in new stack
-- Executing [[email protected]:28] ExecIf("Local/[email protected];2", "0?Set(DIAL_OPTIONS=rr(callwaitingring))") in new stack
-- Executing [[email protected]:29] Dial("Local/[email protected];2", "SIP/50090,30,rb(init-called^s^1(50090))B(update-caller^s^1(50090))U(update-called^50090)") in new stack
-- Local/[email protected];2 Internal Gosub(update-caller,s,1(50090)) start
-- Executing [[email protected]:1] Set("Local/[email protected];2", "moh=default") in new stack
-- Executing [[email protected]:2] GotoIf("Local/[email protected];2", "0?skip") in new stack
-- Executing [[email protected]:3] NoOp("Local/[email protected];2", "Using extension 50090's MoH on channel Local/[email protected];2") in new stack
-- Executing [[email protected]:4] Set("Local/[email protected];2", "CHANNEL(musicclass)=default") in new stack
-- Executing [[email protected]:5] Return("Local/[email protected];2", "") in new stack
== Spawn extension (sub-local-dialing, 50090, 29) exited non-zero on 'Local/[email protected];2'
-- Local/[email protected];2 Internal Gosub(update-caller,s,1(50090)) complete GOSUB_RETVAL=
[2018-09-25 16:40:53] WARNING[31406][C-00000000]: app_dial.c:2525 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Subscriber absent)
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [[email protected]:30] Set("Local/[email protected];2", "_CALL_STATUS=CHANUNAVAIL") in new stack
-- Executing [[email protected]:31] Goto("Local/[email protected];2", "stop-recording") in new stack
-- Goto (sub-local-dialing,50090,33)
-- Executing [[email protected]:33] Gosub("Local/[email protected];2", "sub-call-recording,stop-recording,1") in new stack
-- Executing [[email protected]:1] NoOp("Local/[email protected];2", "") in new stack
-- Executing [[email protected]:2] GotoIf("Local/[email protected];2", "0?return") in new stack
-- Executing [[email protected]:3] StopMixMonitor("Local/[email protected];2", "") in new stack
-- Executing [[email protected]:4] Set("Local/[email protected];2", "_RECORDING_IN_PROGRESS=no") in new stack
-- Executing [[email protected]:5] Return("Local/[email protected];2", "") in new stack
-- Executing [[email protected]:34] GosubIf("Local/[email protected];2", "1?:sub-check-diversions,s,1(postdialing)") in new stack
-- Executing [[email protected]:35] GotoIf("Local/[email protected];2", "0?end_call") in new stack
-- Executing [[email protected]:36] GotoIf("Local/[email protected];2", "0?end_call") in new stack
-- Executing [[email protected]:37] Gosub("Local/[email protected];2", "sub-leave-vm,s,1") in new stack
-- Executing [[email protected]:1] NoOp("Local/[email protected];2", "Leave Voicemail") in new stack
-- Executing [[email protected]:2] Set("Local/[email protected];2", "VM_OPTIONS=u") in new stack
-- Executing [[email protected]:3] Set("Local/[email protected];2", "VM_OPTIONS=u") in new stack
-- Executing [[email protected]:4] GotoIf("Local/[email protected];2", "1?:vm_disabled") in new stack
-- Executing [[email protected]:5] Set("Local/[email protected];2", "[email protected]") in new stack
-- Executing [[email protected]:6] Answer("Local/[email protected];2", "") in new stack
-- Local/[email protected];1 answered SIP/200-00000000
-- Channel Local/[email protected];1 joined 'simple_bridge' basic-bridge
-- Channel SIP/200-00000000 joined 'simple_bridge' basic-bridge
-- Executing [[email protected]:7] VoiceMail("Local/[email protected];2", "[email protected],u") in new stack
-- Playing 'vm-theperson.gsm' (language 'en')
-- Playing 'digits/5.gsm' (language 'en')
-- Playing 'digits/0.gsm' (language 'en')
-- Playing 'digits/0.gsm' (language 'en')
-- Playing 'digits/9.gsm' (language 'en')
-- Playing 'digits/0.gsm' (language 'en')
-- Playing 'vm-isunavail.gsm' (language 'en')
-- Playing 'vm-intro.gsm' (language 'en')
-- Playing 'beep.gsm' (language 'en')
-- Recording the message
-- x=0, open writing: /var/spool/asterisk/voicemail/fbe8ff1d9facef5b/50090/tmp/Su2epl format: wav, 0x7f1d74029200
-- Channel SIP/200-00000000 left 'simple_bridge' basic-bridge
== Spawn extension (cos-all-post, 00, 8) exited non-zero on 'SIP/200-00000000'
-- Executing [[email protected]:1] NoCDR("SIP/200-00000000", "") in new stack
-- Channel Local/[email protected];1 left 'simple_bridge' basic-bridge
-- User hung up
== Spawn extension (sub-leave-vm, s, 7) exited non-zero on 'Local/[email protected];2'
-- Executing [[email protected]:2] NoOp("SIP/200-00000000", "") in new stack
Could you help me?
Regards