Hi,<div><br><div><font face="courier new, monospace"><span style="color:rgb(34,34,34);font-size:13.333333969116211px;background-color:rgb(255,255,255)">exten =&gt; 105,n,Read(AGENT_SIP,agent-</span><u style="color:rgb(34,34,34);font-size:13.333333969116211px;background-color:rgb(255,255,255)"></u><span style="color:rgb(34,34,34);font-size:13.333333969116211px;background-color:rgb(255,255,255)">new</span><span style="color:rgb(34,34,34);font-size:13.333333969116211px;background-color:rgb(255,255,255)">location)</span><br style="color:rgb(34,34,34);font-size:13.333333969116211px;background-color:rgb(255,255,255)">
<span style="color:rgb(34,34,34);font-size:13.333333969116211px;background-color:rgb(255,255,255)">exten =&gt; 105,n,Set(AGENT_SIP=${DB(</span><u style="color:rgb(34,34,34);font-size:13.333333969116211px;background-color:rgb(255,255,255)"></u><span style="color:rgb(34,34,34);font-size:13.333333969116211px;background-color:rgb(255,255,255)">agent</span><span style="color:rgb(34,34,34);font-size:13.333333969116211px;background-color:rgb(255,255,255)">_sip/${agent-newlocation}</span><u style="color:rgb(34,34,34);font-size:13.333333969116211px;background-color:rgb(255,255,255)"></u><span style="color:rgb(34,34,34);font-size:13.333333969116211px;background-color:rgb(255,255,255)">)})</span> </font><br>
<br>Above two lines are very suspicious: AGENT_SIP is a variable which is getting some DTMF from caller. 
<span style="font-family:&#39;courier new&#39;,monospace;font-size:13.333333969116211px;color:rgb(34,34,34);background-color:rgb(255,255,255)">agent-</span><u style="font-family:&#39;courier new&#39;,monospace;font-size:13.333333969116211px;color:rgb(34,34,34);background-color:rgb(255,255,255)"></u><span style="font-family:&#39;courier new&#39;,monospace;font-size:13.333333969116211px;color:rgb(34,34,34);background-color:rgb(255,255,255)">new</span><span style="font-family:&#39;courier new&#39;,monospace;font-size:13.333333969116211px;color:rgb(34,34,34);background-color:rgb(255,255,255)">location</span>  is the message you want to be played while getting the AGENT_SIP input. </div>
<div>What is the next line doing in SET() !!? Please explain that.</div><div><br>Regards,</div><div>Sammy</div><div><br></div><div><div class="gmail_quote">On Wed, Jul 4, 2012 at 2:32 PM, Jakob-Matthias Böttger <span dir="ltr">&lt;<a href="mailto:jakob@j-mb.de" target="_blank">jakob@j-mb.de</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello<br>
<br>
i got two Asterisk servers connected with IAX2.<br>
<br>
At server 1 i hosted a queue named support. Now i want the Agent to login from SIP Phones Connected to server B.<br>
Therefore i wrote a extension like<br>
<br>
exten =&gt; 105,1,Authenticate(1234)<br>
exten =&gt; 105,n,AddQueueMember(support,,<u></u>)<br>
exten =&gt; 105,n,Read(AGENT_SIP,agent-<u></u>newlocation)<br>
exten =&gt; 105,n,Set(AGENT_SIP=${DB(<u></u>agent_sip/${agent-newlocation}<u></u>)})<br>
exten =&gt; 105,n,Playback(agent-loginok)<br>
exten =&gt; 105,n,Playback(vm-goodbye)<br>
exten =&gt; 105,n,Hangup<br>
<br>
Now server A takes IAX/serverB as argument for AGENT_SIP but deletes the entered number in agent-newlocation. Do you have any ideas how to solve that?<br>
<br>
Best regards Jakob<br>
<br>
<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></div>