Код: Выделить всё
Совершаем звонок (подсчет есть)
"","777777","777777","city","""777777"" <777777>","SIP/777777-0db1f8e0","Local/89217777777@office-9d1b,1","Dial","Local/89217777777@office|16|Tt","2011-11-25 09:00:00","2011-11-25 09:00:08","2011-11-25 09:00:17",17,9,"ANSWERED","DOCUMENTATION","asterisk-1322211600.23",""
Пошла переадресация (подсчет не идет)
"","777777","89217777777","office","""777777"" <777777>","Local/89212695486@office-9d1b,2","SIP/sipnet-0db287b0","Dial","SIP/89217777777@sipnet|60|Tt","2011-11-25 09:00:01","2011-11-25 09:00:08","2011-11-25 09:00:08",7,0,"ANSWERED","DOCUMENTATION","asterisk-1322211601.26",""
Примеры настроек:
Код: Выделить всё
[office]
exten => _8XXXXXXXXXX,1,Dial(SIP/${EXTEN}@sipnet,60,Tt)
exten => _8XXXXXXXXXX,n,Hangup
[city]
exten => 777777,1,Dial(Local/89062353454@office,60,Tt)
exten => 777777,n,Hangup()