dial-peer voice 8 voip
max-conn 15
destination-pattern ^(100)$
progress_ind setup enable 3
progress_ind progress enable 8
progress_ind connect enable 8
voice-class codec 1
session target ipv4:5.3.179.226
dtmf-relay h245-alphanumeric
fax rate 9600
fax protocol t38 ls-redundancy 2 hs-redundancy 2 fallback pass-through g711alaw
no vad
Когда из потока прилетает номер 100 (видно в отладке что номер этот), циска выдаёт dialtone и если что-то понабирать, эти цифры уходят уже в диалпир по умолчанию с .T. Куда копать?
> dial-peer voice 8 voip
> max-conn 15
> destination-pattern ^(100)$
>а скобки тут зачем? И прочие атрибуты регулярных выражений?
>> dial-peer voice 8 voip
>> max-conn 15
>> destination-pattern ^(100)$
>>
> а скобки тут зачем? И прочие атрибуты регулярных выражений?Думал может хоть так увидит. С 100 и 1.. всё равно не видит маршрута и гудит диалтоном в поток.
лог debug voice ccapiAug 7 12:48:45.825: //-1/95B865E7800B/CCAPI/cc_api_display_ie_subfields:
cc_api_call_setup_ind_common:
cisco-username=
----- ccCallInfo IE subfields -----
cisco-ani=9224418
cisco-anitype=0
cisco-aniplan=1
cisco-anipi=0
cisco-anisi=0
dest=100
cisco-desttype=0
cisco-destplan=0
cisco-rdie=FFFFFFFF
cisco-rdn=
cisco-lastrdn=
cisco-rdntype=-1
cisco-rdnplan=-1
cisco-rdnpi=-1
cisco-rdnsi=-1
cisco-redirectreason=-1 fwd_final_type =0
final_redirectNumber =
hunt_group_timeout =0Aug 7 12:48:45.825: //-1/95B865E7800B/CCAPI/cc_api_call_setup_ind_common:
Interface=0x6810F580, Call Info(
Calling Number=9224418,(Calling Name=)(TON=Unknown, NPI=ISDN, Screening=Not Screened, Presentation=Allowed),
Called Number=100(TON=Unknown, NPI=Unknown),
Calling Translated=FALSE, Subscriber Type Str=RegularLine, FinalDestinationFlag=FALSE,
Incoming Dial-peer=0, Progress Indication=NULL(0), Calling IE Present=TRUE,
Source Trkgrp Route Label=inner, Target Trkgrp Route Label=, CLID Transparent=FALSE), Call Id=-1
Aug 7 12:48:45.825: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:Aug 7 12:48:45.825: :cc_get_feature_vsa malloc success
Aug 7 12:48:45.825: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:Aug 7 12:48:45.825: cc_get_feature_vsa count is 3
Aug 7 12:48:45.825: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:Aug 7 12:48:45.825: :FEATURE_VSA attributes are: feature_name:0,feature_time:1752350592,feature_id:37
Aug 7 12:48:45.825: //55/95B865E7800B/CCAPI/cc_api_call_setup_ind_common:
Set Up Event Sent;
Call Info(Calling Number=9224418(TON=Un
grifon#known, NPI=ISDN, Screening=Not Screened, Presentation=Allowed),
Called Number=100(TON=Unknown, NPI=Unknown))
Aug 7 12:48:45.829: //55/95B865E7800B/CCAPI/cc_process_call_setup_ind:
Event=0x680C6BF0
Aug 7 12:48:45.829: //-1/xxxxxxxxxxxx/CCAPI/cc_setupind_match_search:
Try with the demoted called number 100
Aug 7 12:48:45.829: //55/95B865E7800B/CCAPI/ccCallSetContext:
Context=0x664A5F44
Aug 7 12:48:45.829: //55/95B865E7800B/CCAPI/cc_process_call_setup_ind:
>>>>CCAPI handed cid 55 with tag 0 to app "_ManagedAppProcess_Default"Aug 7 12:48:45.829: //55/95B865E7800B/CCAPI/ccCallSetupAck:
Call Id=55
Aug 7 12:48:45.829: //55/95B865E7800B/CCAPI/cc_api_set_transfer_info:
Transfer Number=, Transfer Reason=0x0
Aug 7 12:48:45.829: //55/95B865E7800B/CCAPI/ccGenerateToneInfo:
Stop Tone On Digit=TRUE, Tone=Dial Tone,
Tone Direction=Network, Params=0x0, Call Id=55
Aug 7 12:48:45.829: //55/95B865E7800B/CCAPI/ccSetDigitTimeouts:
Initial Digit Timeout=-1000(ms), Inter Digit Timeout=-1000(ms)
Aug 7 12:48:45.829: //55/95B865E7800B/CCAPI/ccSetDigitTimeouts:
Call Entry(Inter Digit Timeout=10000(ms), Initial Digit Timeout=10000(ms))
Aug 7 12:48:45.833: //55/xxxxxxxxxxxx/CCAPI/ccCallReportDigits:
(callID=0x37, digit_event=0x1, enable=TRUE, consume=FALSE)
Aug 7 12:48:45.833: //55/95B865E7800B/CCAPI/ccCallReportDigits:
Enabled=TRUE, Call Id=55
Aug 7 12:48:45.833: //55/xxxxxxxxxxxx/CCAPI/cc_api_call_report_digits_done:
(vdbPtr=0x6810F580, callID=0x37, disp=0, digit_event=0x1, enable=TRUE, consume=FALSE)
Aug 7 12:48:45.833: //55/95B865E7800B/CCAPI/cc_api_call_report_digits_done:
Enabled=TRUE, Disposition=0x0, Interface=0x6810F580, Call Id=55
Aug 7 12:48:45.833: //55/95B865E7800B/CCAPI/cc_api_call_report_digits_done:
Call Entry(Initial Digit Timeout=15000(ms), Inter Digit Timeout=3000(ms))
Если прилетает из потока, то нужен POTS dial-peer со включенным "direct-inward-dial". Есть такой? Если слышите диатон - значит нет.
> Если прилетает из потока, то нужен POTS dial-peer со включенным "direct-inward-dial". Есть
> такой? Если слышите диатон - значит нет.dial-peer voice 12 pots
trunkgroup inner
tone ringback alert-no-PI
description Inner
huntstop
max-conn 15
destination-pattern [34]..
direct-inward-dial
forward-digits all
!
И как 100 в него попадет?Добавьте:
dial-peer voice 13 pots
incoming called-number 100
direct-inward-dial
huntstop
> И как 100 в него попадет?
> Добавьте:
> dial-peer voice 13 pots
> incoming called-number 100
> direct-inward-dial
> huntstopСпс, завтра попробую. Вообще парвый раз такое поведение цисок вижу. Обычно достаточно, чтобы циска могла найти хоть где-то совпадающий destination-pattern. Ну и POTS диалпир смотрящий из потока или в поток, по ситуации. Уже не одну связку АТСок так делал. Странно.
>> И как 100 в него попадет?
>> Добавьте:
>> dial-peer voice 13 pots
>> incoming called-number 100
>> direct-inward-dial
>> huntstop
> Спс, завтра попробую. Вообще парвый раз такое поведение цисок вижу. Обычно достаточно,
> чтобы циска могла найти хоть где-то совпадающий destination-pattern. Ну и POTS
> диалпир смотрящий из потока или в поток, по ситуации. Уже не
> одну связку АТСок так делал. Странно.Вам диалтон-то нужен или нет?
Если хотете, чтобы вызов прокидывался сразу, то создайте входящий диалпир
!
dial-peer voice 1234 pots
incoming called-number .T
! или answer-address .T
direct-inward-dial
forward-digits all
!
на него будут матчится ВСЕ входящие с POTS леги. потом на нем можно будет и трансляции номеров прикручивать, если захочется.Дальше уже будут исходящие диалпиры.
>> И как 100 в него попадет?
>> Добавьте:
>> dial-peer voice 13 pots
>> incoming called-number 100
>> direct-inward-dial
>> huntstop
> Спс, завтра попробую. Вообще парвый раз такое поведение цисок вижу. Обычно достаточно,
> чтобы циска могла найти хоть где-то совпадающий destination-pattern. Ну и POTS
> диалпир смотрящий из потока или в поток, по ситуации. Уже не
> одну связку АТСок так делал. Странно.у вас же показано что звонок попадает Incoming Dial-peer=0. Видимо, вы что-то сделали не так