Hi,

exten => 105,n,Read(AGENT_SIP,agent-**newlocation)
exten => 105,n,Set(AGENT_SIP=${DB(**agent_sip/${agent-newlocation}**)})

Above two lines are very suspicious: AGENT_SIP is a variable which is
getting some DTMF from caller.  agent-**newlocation  is the message you
want to be played while getting the AGENT_SIP input.
What is the next line doing in SET() !!? Please explain that.

Regards,
Sammy

On Wed, Jul 4, 2012 at 2:32 PM, Jakob-Matthias Böttger <[email protected]>wrote:

> Hello
>
> i got two Asterisk servers connected with IAX2.
>
> At server 1 i hosted a queue named support. Now i want the Agent to login
> from SIP Phones Connected to server B.
> Therefore i wrote a extension like
>
> exten => 105,1,Authenticate(1234)
> exten => 105,n,AddQueueMember(support,,**)
> exten => 105,n,Read(AGENT_SIP,agent-**newlocation)
> exten => 105,n,Set(AGENT_SIP=${DB(**agent_sip/${agent-newlocation}**)})
> exten => 105,n,Playback(agent-loginok)
> exten => 105,n,Playback(vm-goodbye)
> exten => 105,n,Hangup
>
> 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?
>
> Best regards Jakob
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to