<html><body><div style="font-family: lucida console,sans-serif; font-size: 12pt; color: #000000"><div>Hello Everyone,<br></div><div><div class="message outgoing" dir="ltr" style="word-wrap: break-word; text-rendering: optimizelegibility; word-break: break-word; padding: 3px; width: 1081.90625px; color: #000000; font-family: Sans; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" data-mce-style="word-wrap: break-word; text-rendering: optimizelegibility; word-break: break-word; padding: 3px; width: 1081.90625px; color: #000000; font-family: Sans; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; text-rendering: optimizelegibility; word-break: break-word; display: inline; white-space: pre-wrap;" data-mce-style="word-wrap: break-word; text-rendering: optimizelegibility; word-break: break-word; display: inline; white-space: pre-wrap;">I am using this bash script to pull resource id</div></div><div class="message consecutive outgoing" dir="ltr" style="word-wrap: break-word; text-rendering: optimizelegibility; word-break: break-word; padding: 3px; width: 1081.90625px; color: #000000; font-family: Sans; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" data-mce-style="word-wrap: break-word; text-rendering: optimizelegibility; word-break: break-word; padding: 3px; width: 1081.90625px; color: #000000; font-family: Sans; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; text-rendering: optimizelegibility; word-break: break-word; display: inline; white-space: pre-wrap;" data-mce-style="word-wrap: break-word; text-rendering: optimizelegibility; word-break: break-word; display: inline; white-space: pre-wrap;"><a href="http://fpaste.org/84173/51169913/" style="word-wrap: break-word; text-rendering: optimizelegibility; word-break: break-word;" data-mce-href="http://fpaste.org/84173/51169913/" data-mce-style="word-wrap: break-word; text-rendering: optimizelegibility; word-break: break-word;">http://fpaste.org/84173/51169913/</a><br data-mce-bogus="1"></div></div><div class="message consecutive outgoing" dir="ltr" style="word-wrap: break-word; text-rendering: optimizelegibility; word-break: break-word; padding: 3px; width: 1081.90625px; color: #000000; font-family: Sans; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" data-mce-style="word-wrap: break-word; text-rendering: optimizelegibility; word-break: break-word; padding: 3px; width: 1081.90625px; color: #000000; font-family: Sans; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; text-rendering: optimizelegibility; word-break: break-word; display: inline; white-space: pre-wrap;" data-mce-style="word-wrap: break-word; text-rendering: optimizelegibility; word-break: break-word; display: inline; white-space: pre-wrap;">this whole macro <a href="http://fpaste.org/84174/51176013/" style="word-wrap: break-word; text-rendering: optimizelegibility; word-break: break-word;" data-mce-href="http://fpaste.org/84174/51176013/" data-mce-style="word-wrap: break-word; text-rendering: optimizelegibility; word-break: break-word;">http://fpaste.org/84174/51176013/</a><br data-mce-bogus="1"></div></div><div class="message consecutive outgoing" dir="ltr" style="word-wrap: break-word; text-rendering: optimizelegibility; word-break: break-word; padding: 3px; width: 1081.90625px; color: #000000; font-family: Sans; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" data-mce-style="word-wrap: break-word; text-rendering: optimizelegibility; word-break: break-word; padding: 3px; width: 1081.90625px; color: #000000; font-family: Sans; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; text-rendering: optimizelegibility; word-break: break-word; display: inline; white-space: pre-wrap;" data-mce-style="word-wrap: break-word; text-rendering: optimizelegibility; word-break: break-word; display: inline; white-space: pre-wrap;">that what I see when dialplan ran</div></div><div class="message consecutive outgoing" dir="ltr" style="word-wrap: break-word; text-rendering: optimizelegibility; word-break: break-word; padding: 3px; width: 1081.90625px; color: #000000; font-family: Sans; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" data-mce-style="word-wrap: break-word; text-rendering: optimizelegibility; word-break: break-word; padding: 3px; width: 1081.90625px; color: #000000; font-family: Sans; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; text-rendering: optimizelegibility; word-break: break-word; display: inline; white-space: pre-wrap;" data-mce-style="word-wrap: break-word; text-rendering: optimizelegibility; word-break: break-word; display: inline; white-space: pre-wrap;">Executing [s@macro-missed-call-in:3] Set("SIP/babytel-00000022", "RES=9c32ecc4</div></div><div class="message consecutive outgoing" dir="ltr" style="word-wrap: break-word; text-rendering: optimizelegibility; word-break: break-word; padding: 3px; width: 1081.90625px; color: #000000; font-family: Sans; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" data-mce-style="word-wrap: break-word; text-rendering: optimizelegibility; word-break: break-word; padding: 3px; width: 1081.90625px; color: #000000; font-family: Sans; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; text-rendering: optimizelegibility; word-break: break-word; display: inline; white-space: pre-wrap;" data-mce-style="word-wrap: break-word; text-rendering: optimizelegibility; word-break: break-word; display: inline; white-space: pre-wrap;">-- ") in new stack<br style="word-wrap: break-word; text-rendering: optimizelegibility; word-break: break-word;" data-mce-style="word-wrap: break-word; text-rendering: optimizelegibility; word-break: break-word;"> -- Executing [s@macro-missed-call-in:4] GotoIf("SIP/babytel-00000022", "0?unavailable") in new stac</div></div><div class="message consecutive outgoing" dir="ltr" style="word-wrap: break-word; text-rendering: optimizelegibility; word-break: break-word; padding: 3px; width: 1081.90625px; color: #000000; font-family: Sans; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" data-mce-style="word-wrap: break-word; text-rendering: optimizelegibility; word-break: break-word; padding: 3px; width: 1081.90625px; color: #000000; font-family: Sans; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; text-rendering: optimizelegibility; word-break: break-word; display: inline; white-space: pre-wrap;" data-mce-style="word-wrap: break-word; text-rendering: optimizelegibility; word-break: break-word; display: inline; white-space: pre-wrap;">Here I reproduced error 7</div></div><div class="message consecutive outgoing" dir="ltr" style="word-wrap: break-word; text-rendering: optimizelegibility; word-break: break-word; padding: 3px; width: 1081.90625px; color: #000000; font-family: Sans; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" data-mce-style="word-wrap: break-word; text-rendering: optimizelegibility; word-break: break-word; padding: 3px; width: 1081.90625px; color: #000000; font-family: Sans; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; text-rendering: optimizelegibility; word-break: break-word; display: inline; white-space: pre-wrap;" data-mce-style="word-wrap: break-word; text-rendering: optimizelegibility; word-break: break-word; display: inline; white-space: pre-wrap;"><a href="http://fpaste.org/84175/94512106/" style="word-wrap: break-word; text-rendering: optimizelegibility; word-break: break-word;" data-mce-href="http://fpaste.org/84175/94512106/" data-mce-style="word-wrap: break-word; text-rendering: optimizelegibility; word-break: break-word;">http://fpaste.org/84175/94512106/</a><br data-mce-bogus="1"></div></div><div class="message consecutive outgoing" dir="ltr" style="word-wrap: break-word; text-rendering: optimizelegibility; word-break: break-word; padding: 3px; width: 1081.90625px; color: #000000; font-family: Sans; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" data-mce-style="word-wrap: break-word; text-rendering: optimizelegibility; word-break: break-word; padding: 3px; width: 1081.90625px; color: #000000; font-family: Sans; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; text-rendering: optimizelegibility; word-break: break-word; display: inline; white-space: pre-wrap;" data-mce-style="word-wrap: break-word; text-rendering: optimizelegibility; word-break: break-word; display: inline; white-space: pre-wrap;">If I will hardcode resource id it will work and report user online which is 1</div><div style="word-wrap: break-word; text-rendering: optimizelegibility; word-break: break-word; display: inline; white-space: pre-wrap;" data-mce-style="word-wrap: break-word; text-rendering: optimizelegibility; word-break: break-word; display: inline; white-space: pre-wrap;"><br></div><div style="word-wrap: break-word; text-rendering: optimizelegibility; word-break: break-word; display: inline; white-space: pre-wrap;" data-mce-style="word-wrap: break-word; text-rendering: optimizelegibility; word-break: break-word; display: inline; white-space: pre-wrap;"><br></div><div style="word-wrap: break-word; text-rendering: optimizelegibility; word-break: break-word; display: inline; white-space: pre-wrap;" data-mce-style="word-wrap: break-word; text-rendering: optimizelegibility; word-break: break-word; display: inline; white-space: pre-wrap;">Any help thank you.<br></div><div style="word-wrap: break-word; text-rendering: optimizelegibility; word-break: break-word; display: inline; white-space: pre-wrap;" data-mce-style="word-wrap: break-word; text-rendering: optimizelegibility; word-break: break-word; display: inline; white-space: pre-wrap;"><br></div><div style="word-wrap: break-word; text-rendering: optimizelegibility; word-break: break-word; display: inline; white-space: pre-wrap;" data-mce-style="word-wrap: break-word; text-rendering: optimizelegibility; word-break: break-word; display: inline; white-space: pre-wrap;">Slava.<br></div></div></div></div></body></html>