[asterisk-users] Queue Member login from IAX trunk
Jakob-Matthias Böttger
jakob at j-mb.de
Wed Jul 4 04:57:20 CDT 2012
mhh that makes sense indeed. My intention is to add Agents wich are
connected to serverb to the queue at servera. But i don't know how to
tell the queue that the Agent ist reachable at IAX/serverb/agent_sip
so the extension should be something like
exten => 105,n,Read(AGENT_SIP,agent-newlocation)
exten => 105,n,Set(AGENT_SIP=${DB(IAX2/intranet/agent_ip)})
so the agent enters the number from the phone he is connected. Then
Asterisk adds "IAX2/serverb" to the number and saves it as agend phone
number...
Regards Jakob
Am 04.07.2012 11:45, schrieb SamyGo:
> 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 <jakob at j-mb.de
> <mailto:jakob at j-mb.de>> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120704/848aaf6b/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6245 bytes
Desc: S/MIME Kryptografische Unterschrift
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120704/848aaf6b/attachment.bin>
More information about the asterisk-users
mailing list