> сделай дефолтный пир с answer-address .T
> и отдельный с нужным
> incoming called-number не используй Спасибо за отклик. Попробовал сделать:
dial-peer voice 110 pots
translation-profile incoming incoming-e1
answer-address .T
direct-inward-dial
dial-peer voice 109 pots
translation-profile incoming incoming-e1-NEW
answer-address 911826xxxxx
direct-inward-dial
voice translation-rule 100
rule 1 /^.*$/ /78/
voice translation-rule 101
rule 1 /^/ /8/
voice translation-rule 102
rule 1 /^.*$/ /81/
voice translation-profile incoming-e1
translate calling 101
translate called 100
voice translation-profile incoming-e1-NEW
translate calling 102
translate called 100
Звонок попадал в 109 dial-peer:
*Sep 18 08:14:33.519: //-1/A7FDCF388072/CCAPI/cc_api_call_setup_ind_common:
Interface=0x239ABE40, Call Info(
Calling Number=91182XXXX,(Calling Name=)(TON=National, NPI=ISDN, Screening=Network, Presentation=Allowed),
Called Number=49599XXXX(TON=National, NPI=ISDN),
Calling Translated=FALSE, Subscriber Type Str=RegularLine, FinalDestinationFlag=TRUE,
Incoming Dial-peer=109, Progress Indication=NULL(0), Calling IE Present=TRUE,
Source Trkgrp Route Label=, Target Trkgrp Route Label=, CLID Transparent=FALSE), Call Id=-1
уходил на номер 81(все верно, так были настроены voice translation rule), а затем после того, как пользователь на 81 поднимал трубку, почему-то уходил на 78
*Sep 18 08:14:33.519: //156162/A7FDCF388072/CCAPI/ccIFCallSetupRequestPrivate:
Interface=0x245F7454, Interface Type=6, Destination=, Mode=0x0,
Call Params(Calling Number=81,(Calling Name=)(TON=National, NPI=ISDN, Screening=Network, Presentation=Allowed),
Called Number=78(TON=National, NPI=ISDN), Calling Translated=FALSE,
Subscriber Type Str=RegularLine, FinalDestinationFlag=TRUE, Outgoing Dial-peer=20005, Call Count On=FALSE,
Source Trkgrp Route Label=, Target Trkgrp Route Label=, tg_label_flag=0, Application Call Id=)
*Sep 18 08:14:33.523: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
Как так вышло, не понял.