by mclaborn » Sat Sep 15, 2012 12:33 pm
The inheritable variable works, as does function CONNECTEDLINE. Both are demonstrated in the code below.
- CODE: SELECT ALL
[queues]
exten =>sales,1,Verbose(2,${CALLERID(all)} entering the sales queue)
same =>n,Set(_MMCID=${CALLERID(all)})
same =>n,Verbose(2,mmcid=${MMCID})
same =>n,Queue(sales,,,,,,,subQueueConnected)
same =>n,Hangup()
[subQueueConnected]
exten =>s,1,NoOp()
same =>n,Verbose(2, connected to queue gosub interface ${MEMBERINTERFACE} name ${MEMBERNAME} caller ${MMCID} )
same =>n,Verbose(2, CONNECTEDLINE(name)=${CONNECTEDLINE(name)} )
same =>n,Verbose(2, CONNECTEDLINE(num)=${CONNECTEDLINE(num)} )
;same =>n,DumpChan()
same =>n,Return()http://forums.digium.com/viewtopic.php?f=1&t=84149
No hay comentarios:
Publicar un comentario