exten => _89XXXXXXXXX,n,Dial(DAHDI/g0/*802${EXTEN})
QSIG line->PBX No.5940 Port:1 (elapsed time from LPR reset) 01/01/11 12:24:21
L2: I SAPI:0 TEI:0
L3:
SETUP crn:01BD (O)
Bearer Capability: 80 90 A3 (Speech A-Law)
Channel Identity: A1 83 81 (channel=B1 pref.)
Calling Party Number: 49 81 33 30 30 31
Type of Number= Subscriber Number, Numbering Plan= Private
Number= 3001
Called Party Number: 80 2A 38 30 32 38 39 35 30 31 36 35 32 39 38 34
Type of Number= Unknown, Numbering Plan= Unknown
Number= *80289501652984
00 01 CE 7E 08 02 01 BD 05 04 03 80 90 A3 18 03
A1 83 81 6C 06 49 81 33 30 30 31 70 10 80 2A 38
30 32 38 39 35 30 31 36 35 32 39 38 34
PBX->QSIG line No.5941 Port:1 (elapsed time from LPR reset) 01/01/11 12:24:21
L2: I SAPI:0 TEI:0
L3:
SETUP ACK crn:01BD (D)
Channel Identity: A9 83 81 (channel=B1 excl.)
02 01 7E D0 08 02 81 BD 0D 18 03 A9 83 81
PBX->QSIG line No.5942 Port:1 (elapsed time from LPR reset) 01/01/11 12:24:21
L2: I SAPI:0 TEI:0
L3:
PROGRESS crn:01BD (D)
Progress Indicator: 80 88
Description= "In-band information or appropriate pattern now available"
Location= "user"
02 01 80 D0 08 02 81 BD 03 1E 02 80 88
PBX->QSIG line No.5943 Port:1 (elapsed time from LPR reset) 01/01/11 12:24:21
L2: I SAPI:0 TEI:0
L3:
CALL PROCEEDING crn:01BD (D)
02 01 82 D0 08 02 81 BD 02
PBX->QSIG line No.5944 Port:1 (elapsed time from LPR reset) 01/01/11 12:24:21
L2: I SAPI:0 TEI:0
L3:
DISCONNECT crn:01BD (D)
Cause: 81 95
Cause Value= "#21 Call rejected"
Location= "private network serving the local user"
02 01 84 D0 08 02 81 BD 45 08 02 81 95
QSIG line->PBX No.5945 Port:1 (elapsed time from LPR reset) 01/01/11 12:24:22
L2: I SAPI:0 TEI:0
L3:
RELEASE crn:01BD (O)
Cause: 81 95
Cause Value= "#21 Call rejected"
Location= "private network serving the local user"
00 01 D0 86 08 02 01 BD 4D 08 02 81 95
PBX->QSIG line No.5946 Port:1 (elapsed time from LPR reset) 01/01/11 12:24:22
L2: I SAPI:0 TEI:0
L3:
RELEASE COMPLETE crn:01BD (D)
02 01 86 D2 08 02 81 BD 5A
[channels]
relaxdtmf=yes ; pavel - necessary on bad lines...
rxflash=850
;== busy
busydetect=yes
callprogress=yes
priindication=outofband
busycount=5
;== pulse
pulsedial=no
pulse=no
;== Calls handling ==
callwaiting=yes ;If enabled, Asterisk will generate "call waiting pips" when you are already in a conversation
;{
threewaycalling=yes
transfer=yes
;}
cancallforward=yes
immediate=no ;yes to let Asterisk handle 's' extention (passing control immediately to Asterisk)
;== Echo ==
echocancel = yes
echocancelwhenbridged = yes
echotraining=no
;== Caller ID ==
usecallerid=yes
callerid=asreceived
;Unrecognized prilocaldialplan NPI modifier: s
;don't have a time to find the reason. disabling...
hidecallerid=no
;;callwaitingcallerid=yes
useincomingcalleridonzaptransfer=yes
;
overlapdial=yes
cidsignalling=bell
cidstart=ring
restrictcid=no
callreturn=yes ;dial *69 to have Asterisk read to you the caller ID of the last person to call
pridialplan=unknown
prilocaldialplan=private ;national
internationalprefix=
nationalprefix=
localprefix=
;==== FXO lines (external PBX) ====
group=0
context=pri0
signalling=pri_cpe
switchtype=euroisdn
channel => 1-15,17-31
group =
context = default
group=1
context=pri1
signalling=pri_net
switchtype=euroisdn
channel => 32-46,48-62
group =
context = default
Bearer Capability: 80 90 A3 (Speech A-Law)
Channel Identity: A1 83 81 (channel=B1 pref.)
Calling Party Number: 21 81 33 30 30 31
Type of Number= National Number, Numbering Plan= ISDN/Telephony
Number= 3001
Called Party Number: 91 2A 38 30 32 36 36 37 35 34
Type of Number= International Number, Numbering Plan= ISDN/Telephony
Number= *8026?????
00 01 2A 40 08 02 00 07 05 04 03 80 90 A3 18 03
A1 83 81 6C 06 21 81 33 30 30 31 70 0A 91 2A 38
30 32 36 36 37 35 34
SETUP crn:000B (O)
Bearer Capability: 80 90 A3 (Speech A-Law)
Channel Identity: A1 83 81 (channel=B1 pref.)
Calling Party Number: 21 81 33 30 30 31
Type of Number= National Number, Numbering Plan= ISDN/Telephony
Number= 3001
Called Party Number: 91 2A 38 30 32 38 39 35 30 31 36 35 32 39 38 34
Type of Number= International Number, Numbering Plan= ISDN/Telephony
Number= *80289?????????
00 01 42 6A 08 02 00 0B 05 04 03 80 90 A3 18 03
A1 83 81 6C 06 21 81 33 30 30 31 70 10 91 2A 38
30 32 38 39 35 30 31 36 35 32 39 38 34
[test]
exten => _89XXXXXXXXX.,1,Answer();
exten => _89XXXXXXXXX.,n,Dial(DAHDI/g0/9,,M(DTMFSend^${EXTEN}))) //набираем 9 и перенаправляем на макрос с аргументом
exten => _89XXXXXXXXX.,n,Hangup();
[macro-DTMFSend]
exten = s,1,Wait(3) ;ждем 3 секунды - длинный гудок
exten = s,n,SendDTMF(${ARG1}) ;донабираем переданный номер