<div>Figured it out. It was simple</div> <div>had to add Answer and hangup<BR><BR><B><I>Dovid Bender <asteriskdigium@yahoo.com></I></B> wrote:</div> <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Helo List,<BR>First I would like to apologize for my bad spelling as<BR>well as that I did not search the wiki first. I only<BR>have email access at the moment.<BR><BR>I am having trouble setting both variables and global<BR>variables thru an extension.<BR><BR>I am using Asterisk 1.2.4 with Ztdummy on CentOS 3.4<BR>with an Xlite softphone. I have two xlite phones on<BR>diffent computers. One logs in as xlite1 and the other<BR>as SNOM.<BR><BR>My dial plan is as follows<BR><BR>Exten => 200,1,Dial(${OnCall},10)<BR>Exten => 201,1,Set(OnCall=SIP/SNOM)<BR>Exten => 202,1,Set(OnCall=SIP/xlite1)<BR><BR>(I have tried Set and SetGlobalVar).<BR><BR>When I use Set I get the following in the CLI<BR>-- Executing Set("SIP/snom-a645",
"OnCall=SIP/SNOM")<BR>in new stack<BR>== Auto fallthrough, cahnnel 'SIP/snom\a645 status is<BR>'UNKNOWN'<BR><BR>If I dial ext. 201 or 202 I get call failed: 603<BR>declined on the xlite phone. When I dail 200 I get an<BR>error<BR><BR>If I use SetGlobalVar the output from the CLI is<BR>-- Executing SetGlobalVar("SIP/snom-24f8",<BR>"OnCall=SIP/SNOM") in new stack<BR>= Setting global variable 'OnCall' to 'SIP/SNOM'<BR>== Auto fallthrough, channel 'SIP/snom-24f8' status is<BR>'UNKNOWN'<BR><BR>When I use SetGlobalVar I get the same error in the<BR>xlite phone. However when I dial ext. 200 it works.<BR><BR>I tried dialing 201 and 202 from both softphones and I<BR>got the same errors.<BR><BR>Thanks a lot.<BR><BR>Dovid <BR><BR>__________________________________________________<BR>Do You Yahoo!?<BR>Tired of spam? Yahoo! Mail has the best spam protection around <BR>http://mail.yahoo.com <BR>_______________________________________________<BR>--Bandwidth and Colocation provided by Easynews.com
--<BR><BR>Asterisk-Users mailing list<BR>To UNSUBSCRIBE or update options visit:<BR>http://lists.digium.com/mailman/listinfo/asterisk-users<BR></BLOCKQUOTE><BR><p>
                <hr size=1>Yahoo! Mail<br>
Bring photos to life! <a href="http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=39174/*http://photomail.mail.yahoo.com">New PhotoMail </a> makes sharing a breeze.