Re: Как прописать CALLERID в данной конфигурации
а в чем проблема?
так и напишите:
exten => XXX2780,1,Set(CALLERID(name)=Spy)
exten => XXX2780,n,Goto(spy|XXX2780|1)
[spy]
exten => XXX2780,1(loop),ChanIsAvail(SIP/1962&SIP/1611&SIP/1963&SIP/1966)
exten => XXX2780,n,GotoIf($["${AVAILSTATUS}" != "0"]?busy)
exten => XXX2780,n,Macro(stdextensimple|1962|6)
exten => XXX2780,n,Macro(stdextensimple|1611|6)
exten => XXX2780,n,Macro(stdextensimple|1963|6)
exten => XXX2780,n,Macro(stdextensimple|1964|6)
exten => XXX2780,n,Macro(stdextensimple|1966|6)
exten => XXX2780,n,Goto(loop)
exten => XXX2780,n(busy),Busy
|