>[оверквотинг удален]
> voice-class sip bind media source-interface Loopback0
> !
> dial-peer voice 72 voip
> corlist outgoing CallToCorp
> description For Outbound Local calls
> destination-pattern 75[26]....
> session protocol sipv2
> session target ipv4:10.x.x.2
> voice-class sip bind control source-interface Loopback0
> voice-class sip bind media source-interface Loopback0 Спасибо!
Эх, не выходит.
Создал четку замену конкретного входяшего:
!
voice translation-rule 3
rule 1 /9621236803/ /4242462946/
!
!
voice translation-profile out3
translate calling 3
!
!
dial-peer voice 462946 pots
tone ringback alert-no-PI
translation-profile outgoing out3
service aa_dt_2946
incoming called-number 462946
direct-inward-dial
forward-digits all
!
dial-peer voice 46 pots
translation-profile outgoing out3
destination-pattern 0636806
port 0/0/0:15
forward-digits all
!
Хочу проверить чтобы переадресация проходила конкретно на один номер 636806.
И вроде как диал пир 46 срабатывает:
Aug 5 06:25:44: //506381/226380BD8541/CCAPI/ccCallSetupRequest:
Destination=, Calling IE Present=TRUE, Mode=0,
Outgoing Dial-peer=46, Params=0x48452E70, Progress Indication=NULL(0)
Aug 5 06:25:44: //506381/226380BD8541/CCAPI/ccCheckClipClir:
In: Calling Number=4242462946(TON=International, NPI=ISDN, Screening=User, Pa
ssed, Presentation=Allowed)
Aug 5 06:25:44: //506381/226380BD8541/CCAPI/ccCheckClipClir:
Out: Calling Number=4242462946(TON=International, NPI=ISDN, Screening=User, P
assed, Presentation=Allowed)
Aug 5 06:25:44: //506381/226380BD8541/CCAPI/ccCallSetupRequest:
Destination Pattern=0636806, Called Number=0636806, Digit Strip=TRUE
Aug 5 06:25:44: //506381/226380BD8541/CCAPI/ccCallSetupRequest:
Calling Number=4242462946(TON=International, NPI=ISDN, Screening=User, Passed
, Presentation=Allowed),
Called Number=0636806(TON=Subscriber, NPI=ISDN),
Redirect Number=, Display Info=
Account Number=, Final Destination Flag=TRUE,
Guid=2A005B92-1BA0-11E4-B53E-B9921DC4765B, Outgoing Dial-peer=46
Aug 5 06:25:44: //506381/226380BD8541/CCAPI/cc_api_display_ie_subfields:
ccCallSetupRequest:
cisco-username=
----- ccCallInfo IE subfields -----
cisco-ani=4242462946
cisco-anitype=1
cisco-aniplan=1
cisco-anipi=0
cisco-anisi=1
dest=0636806
cisco-desttype=4
cisco-destplan=1
cisco-rdie=74
cisco-rdn=
cisco-rdntype=0
cisco-rdnplan=0
cisco-rdnpi=0
cisco-rdnsi=0
cisco-redirectreason=15 fwd_final_type =0
final_redirectNumber =
hunt_group_timeout =0
Aug 5 06:25:44: //506381/226380BD8541/CCAPI/ccIFCallSetupRequestPrivate:
Interface=0x46EADD3C, Interface Type=6, Destination=, Mode=0x0,
Call Params(Calling Number=4242462946,(Calling Name=9621236803)(TON=Internati
onal, NPI=ISDN, Screening=User, Passed, Presentation=Allowed),
Called Number=0636806(TON=Subscriber, NPI=ISDN), Calling Translated=FALSE,
Subscriber Type Str=RegularLine, FinalDestinationFlag=TRUE, Outgoing Dial-pee
r=46, Call Count On=FALSE,
Source Trkgrp Route Label=, Target Trkgrp Route Label=, tg_label_flag=0, Appl
ication Call Id=)
Aug 5 06:25:44: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
Но в конце все равно дебаг выдает:
Aug 5 06:25:44: cfna attr is fn:CFA,ft:08/05/2014 17:25:44.134,frs:0,fid:11363
,fcid:2A005B921BA011E4B53DB9921DC4765B,legID:7BA10,frson:1,fdcnt:1,fwder:,fwdee:
9621236803,fwdto:0636806,frm:2946
Aug 5 06:25:44: %VOIPAAA-5-VOIP_FEAT_HISTORY: FEAT_VSA=fn:CFA,ft:08/05/2014 17:
25:44.134,frs:0,fid:11363,fcid:2A005B921BA011E4B53DB9921DC4765B,legID:7BA10,frso
n:1,fdcnt:1,fwder:,fwdee:9621236803,fwdto:0636806,frm:2946,bguid:226380BD1BA011E
48541001BD4395E90
Aug 5 06:25:44: //-1/xxxxxxxxxxxx/CCAPI/cc_build_feature_vsa:
Aug 5 06:25:44: :Inside cc_build_feature_vsa
Aug 5 06:25:44: //-1/xxxxxxxxxxxx/CCAPI/cc_build_feature_vsa:
Aug 5 06:25:44: feature call basic
Aug 5 06:25:44: //-1/xxxxxxxxxxxx/CCAPI/cc_build_feature_vsa:
Aug 5 06:25:44: cc_build_feature_vsa attr is fn:TWC,ft:08/05/2014 17:25:31.366,
cgn:9621236803,cdn:2946,frs:1,fid:11362,fcid:226380BD1BA011E48541001BD4395E90,le
gID:7BA0D
А провайдер теперь говорить звонок теперь вообще не видит, видит только как с 9621236803 приходит 462946, а то что дальше, когда срабатывает переадресация - ничего к нему не приходит.
Спасибо.