Call coming in > requested format = g729, > requested prefs = (g729|ulaw|alaw|gsm), > actual format = g729, > host prefs = (g729|ulaw|gsm), > priority = mine -- Executing Wait("IAX2/spherelink-1", "3") in new stack -- Executing SetGlobalVar("IAX2/spherelink-1", "ACCOUNTCODE=2014900315") in new stack == Setting global variable 'ACCOUNTCODE' to '2014900315' -- Executing Set("IAX2/spherelink-1", "CALLERIDNUM=12014900315") in new stack -- Executing GotoIf("IAX2/spherelink-1", "0?5:7") in new stack -- Goto (spherelink,12122398008,7) -- Executing Goto("IAX2/spherelink-1", "ila-menu|s|1") in new stack -- Goto (ila-menu,s,1) -- Executing Answer("IAX2/spherelink-1", "") in new stack -- Executing Wait("IAX2/spherelink-1", "2") in new stack -- Executing Set("IAX2/spherelink-1", "TIMEOUT(response)=10") in new stack -- Response timeout set to 10 -- Executing BackGround("IAX2/spherelink-1", "mysounds/ila-menu") in new stack -- Playing 'mysounds/ila-menu' (language 'en') == CDR updated on IAX2/spherelink-1 -- Executing Macro("IAX2/spherelink-1", "stdexten|ila|207|SIP/rajesh1") in new stack -- Executing Set("IAX2/spherelink-1", "CALLERID(number)=2014900315") in new stack -- Executing Dial("IAX2/spherelink-1", "SIP/rajesh1|20|tTwm(default)") in new stack -- Called rajesh1 -- Started music on hold, class 'default', on IAX2/spherelink-1 -- SIP/rajesh1-c90d is ringing -- Executing Pickup("SIP/satish-cf29", "207@ila") in new stack == Spawn extension (ila, *8207, 1) exited non-zero on 'SIP/satish-cf29' -- Executing Hangup("SIP/satish-cf29", "") in new stack == Spawn extension (ila, h, 1) exited non-zero on 'SIP/satish-cf29' > cdr_odbc: Query Successful! -- Stopped music on hold on IAX2/spherelink-1 == Spawn extension (macro-stdexten, s, 2) exited non-zero on 'IAX2/spherelink-1' in macro 'stdexten' == Spawn extension (macro-stdexten, s, 2) exited non-zero on 'IAX2/spherelink-1' > cdr_odbc: Query Successful! -- Hungup 'IAX2/spherelink-1' How i pickup exten => _*8XXX,1,Pickup(${EXTEN:2}@ila) How it dials the extension exten => 207,1,Macro(stdexten,ila,207,SIP/rajesh1) [macro-stdexten] exten => s,n,Dial(${ARG3},20,tTwm(default)) exten => s,n,Goto(s-${DIALSTATUS},1) exten => s-NOANSWER,1,Voicemail(u${ARG2}@${ARG1}) exten => s-BUSY,1,Voicemail(b${ARG2}@${ARG1}) exten => s-BUSY,2,Goto(default,s,2) exten => _s-.,1,Goto(s-NOANSWER,1) exten => o,1,Goto(ila-menu,s,2)