Hi,<div>You might have already tried but can you try reducing the label name and exclude the underscore in it !</div><div>Regards,</div><div>Sammy<br><br><div class="gmail_quote">On Wed, May 30, 2012 at 11:02 PM, Noah Engelberth <span dir="ltr"><<a href="mailto:Noah@directlinkcomputers.com" target="_blank">Noah@directlinkcomputers.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal">I have a hotdesking environment at my main office, and up until today, the GotoIf that jumps straight to voicemail if a user isn’t log in was working just fine by label. Today, I deployed DUNDi to a satellite office, and now the GotoIf
isn’t jumping to the right place. If I replace the label with a priority number, it jumps correctly. Alternatively, if I disable the switch statement for DUNDi, it jumps correctly. But with the DUNDi switch in service and the named label to jump to, it
gives me this error:<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Courrier New"">[May 30 13:57:24]
<span style="color:#7f4040">WARNING</span>[6654]: <span style="color:#7f7f7f">pbx.c</span>:<span style="color:#7f7f7f">10747</span>
<span style="color:#7f7f7f">pbx_parseable_goto</span>: Priority 'not_logged_in' must be a number > 0, or valid label<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Dialplan snippets as follows:<u></u><u></u></p>
<p class="MsoNormal">[hotdesk] ;phones dial here<u></u><u></u></p>
<p class="MsoNormal">include => hotdesk_outbound<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">[hotdesk_outbound]<u></u><u></u></p>
<p class="MsoNormal">exten => _X.,1,NoOp()<u></u><u></u></p>
<p class="MsoNormal">same => n,Set(LOCATION=${CUT(CHANNEL,/,2)})<u></u><u></u></p>
<p class="MsoNormal">same => n,Set(LOCATION=${CUT(LOCATION,-,1)})<u></u><u></u></p>
<p class="MsoNormal">same => n,Set(WHO=${HOTDESK_PHONE_STATUS(${LOCATION})})<u></u><u></u></p>
<p class="MsoNormal">same => n,GotoIf($[${ISNULL(${WHO})}]?internal,${EXTEN},1)<u></u><u></u></p>
<p class="MsoNormal">same => n,Set(${WHO}_CID_NAME=${HOTDESK_INFO(cid_name,${WHO})})<u></u><u></u></p>
<p class="MsoNormal">same => n,Set(${WHO}_CID_NUMBER=${HOTDESK_INFO(cid_number,${WHO})})<u></u><u></u></p>
<p class="MsoNormal">same => n,Set(${WHO}_CONTEXT=${HOTDESK_INFO(defaultcontext,${WHO})})<u></u><u></u></p>
<p class="MsoNormal">same => n,Set(${WHO}_VMCONTEXT=${HOTDESK_INFO(vmcontext,${WHO})})<u></u><u></u></p>
<p class="MsoNormal">same => n,Set(GROUP(activecallers)=${WHO})<u></u><u></u></p>
<p class="MsoNormal">same => n,NoOp(Who: ${WHO} Calls: ${GROUP_COUNT(${WHO}@activecallers)})<u></u><u></u></p>
<p class="MsoNormal">same => n,Set(DEVICE_STATE(Custom:${WHO})=INUSE)<u></u><u></u></p>
<p class="MsoNormal">same => n,Set(CALLERID(name)=${${WHO}_CID_NAME})<u></u><u></u></p>
<p class="MsoNormal">same => n,Set(CALLERID(num)=${${WHO}_CID_NUMBER})<u></u><u></u></p>
<p class="MsoNormal">same => n,Goto(${${WHO}_CONTEXT},${EXTEN},1)<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">[outbound-context]<u></u><u></u></p>
<p class="MsoNormal">include => internal-privledged<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">[internal-privledged]<u></u><u></u></p>
<p class="MsoNormal">include => internal<u></u><u></u></p>
<p class="MsoNormal">switch => DUNDi/peer<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">[internal]<u></u><u></u></p>
<p class="MsoNormal">exten => _3XX,1,NoOp()<u></u><u></u></p>
<p class="MsoNormal">same => n,Set(E=${EXTEN})<u></u><u></u></p>
<p class="MsoNormal">same => n,Set(${E}_VMCONTEXT=${HOTDESK_INFO(vmcontext,${E})})<u></u><u></u></p>
<p class="MsoNormal">same => n,Set(USER_LOCATION=${HOTDESK_USER_STATUS(${E})})<u></u><u></u></p>
<p class="MsoNormal">same => n,GotoIf($[${ODBCROWS} < 1]?not_logged_in)<u></u><u></u></p>
<p class="MsoNormal">same => n,Dial(SIP/${USER_LOCATION},20,wWU(answered^${E}))<u></u><u></u></p>
<p class="MsoNormal">same => n,ExecIf(${ISNULL(${E})}?NoOp(${HOTDESK_INFO(location,${E})}):ExecIf($[${GROUP_COUNT(${E}@activecalls)}>1]?Set(DEVICE_STATE(Custom:${E})=INUSE):Set(DEVICE_STATE(Custom:${E})=NOT_INUSE)))<u></u><u></u></p>
<p class="MsoNormal">same => n,Set(GROUP(activecalls)=${NULL})<u></u><u></u></p>
<p class="MsoNormal">same => n,Voicemail(${E}@${${E}_VMCONTEXT},b)<u></u><u></u></p>
<p class="MsoNormal">same => n,Hangup()<u></u><u></u></p>
<p class="MsoNormal">same => n(not_logged_in),Set(LOGGED_OFF=1)<u></u><u></u></p>
<p class="MsoNormal">same => n,Voicemail(${E}@${${E}_VMCONTEXT},u)<u></u><u></u></p>
<p class="MsoNormal">same => n,Hangup()<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Any suggestions on other things to try? Or is this a bug I should file?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thank you,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Noah Engelberth<u></u><u></u></p>
<p class="MsoNormal">MetaLINK Technologies<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br></div>