Добрый вечер. Прошу помощи
Схема:
e1 -> cisco 192.168.2.253 ( controller e1 ) -> voip (h323) -> голосовой шлюз ( 192.168.2.252 nsgate ).
конфиг :
!
card type e1 0 0
!
network-clock-participate wic 0
!
isdn switch-type primary-net5
!
voice-card 0
no dspfarm
!
!
controller E1 0/0/0
framing NO-CRC4
pri-group timeslots 1-31
!
!interface GigabitEthernet0/0
description cisco2811
ip address 192.168.2.253 255.255.252.0
duplex auto
speed auto
!
interface Serial0/0/0:15
no ip address
encapsulation hdlc
isdn switch-type primary-net5
isdn incoming-voice modem
isdn send-alerting
isdn sending-complete
isdn outgoing display-ie
no cdp enable
!
ip route 0.0.0.0 0.0.0.0 192.168.1.254
!
control-plane
!
!
voice-port 0/0/0:15
cptone RU
!
dial-peer voice 1 pots
description Vhod iz PRI
incoming called-number .T
direct-inward-dial
!
dial-peer voice 111хххх voip
destination-pattern 111хххх
session target ipv4:192.168.2.252
dtmf-relay h245-alphanumeric
codec g711alaw
!
dial-peer voice 2 pots
description Vihod_City
destination-pattern .T
direct-inward-dial
port 0/0/0:15
forward-digits all
!
Данная схема работает, если использовать sip, на диалпире voip поставить протокол sip и убрать dtmf-relay. С h323 проблема. Звонки не ходят не в одну сторону.
дебаг isdn q931 на исход говорит следующие:
Cause i = 0x82A6 - Network out of order
дебаг на вход говорит Cause i = 0x81D8 - Incompatible destination . дебаг диалпира смотрел, вроде бы обрабатывает тот.
sh dial-peer voice sum
111xx- voip up up 2 111xxxx 0 syst ipv4:192.168.2.252Прошу вашей помощи. Буду рад любым советам. Спасибо.
У меня так работает:voice-port 0/0/0:15
dial-peer voice 8000 pots
description ** E1 PRI pots dial-peer **
incoming called-number .
direct-inward-dial
port 0/0/0:15dial-peer voice 9000 pots
description "out to ISP"
translation-profile outgoing XXXX (подставляем правильный АОН в поток)
destination-pattern 9[1-7,9]......
port 0/0/0:15
forward-digits all
no register e164
no sip-registerdial-peer voice 5555555 voip
description "принимаем входящий по номеру 5555555 и отправляем на h323"
destination-pattern 5555555
session target ipv4:1.1.1.1
dtmf-relay h245-alphanumeric
codec g711ulaw
Кстати, по sh ip int bri
как себя Serial0/0/0:15 ощущает?
>Кстати, по sh ip int bri
>как себя Serial0/0/0:15 ощущает?может проблема в nsgate?
Изначально настраивалась атс с айпи танком в режиме ш323...результат был тот же. Решил сначала попробовать на чём то поменьше, с меньшими настройками, под рукой был только нсгейт. Мне кажется нсгейт исправен, конечно может быть чтото с настройкой, про это тоже не надо забывать, но там не так много параметров которые можно задать...Может мне стоит настроить гейткипер на интерфейси циски ?
PS Сириал интерфейс сейчас проверю.
>Изначально настраивалась атс с айпи танком в режиме ш323...результат был тот же.
>Решил сначала попробовать на чём то поменьше, с меньшими настройками, под
>рукой был только нсгейт. Мне кажется нсгейт исправен, конечно может быть
>чтото с настройкой, про это тоже не надо забывать, но там
>не так много параметров которые можно задать...Может мне стоит настроить гейткипер
>на интерфейси циски ?
>PS Сириал интерфейс сейчас проверю.но думаю что с сериалом всё нормально, раз сип до этого ходил, там же настройки ш323 на диалпире не влияют вроде бы на сериал.
Подними внутреннюю кошкину телефонию, подцепись к ней CIPCом и тестируй в обе стороны:
изнутри сторону 323 и изнутри в сторону потока....
Вот дебаг войп ссапи ин\аут ...может кто-то может по нему что-то сказать..Буду признателен.
Звонок в город - исход ( отбой )
debug voip ccapi inout
#RZHD
*Jul 30 09:08:49.171: //-1/001D7702746E/CCAPI/cc_api_display_ie_subfields:
cc_api_call_setup_ind_common:
cisco-username=O
----- ccCallInfo IE subfields -----
cisco-ani=111xxxx
cisco-anitype=2
cisco-aniplan=1
cisco-anipi=0
cisco-anisi=0
dest=8903xxxxxxx
cisco-desttype=2
cisco-destplan=1
cisco-rdie=FFFFFFFF
cisco-rdn=
cisco-rdntype=-1
cisco-rdnplan=-1
cisco-rdnpi=-1
cisco-rdnsi=-1
cisco-redirectreason=-1 fwd_final_type =0
final_redirectNumber =
hunt_group_timeout =0*Jul 30 09:08:49.171: //-1/001D7702746E/CCAPI/cc_api_call_setup_ind_common:
Interface=0x47375164, Call Info(
Calling Number=111xxxx,(Calling Name=)(TON=National, NPI=ISDN, Screening=Not Screened, Presentation=Allowed),
Called Number=8903xxxxxxx(TON=National, NPI=ISDN),
Calling Translated=FALSE, Subscriber Type Str=Unknown, FinalDestinationFlag=TRUE,
Incoming Dial-peer=111xxxx, Progress Indication=NULL(0), Calling IE Present=TRUE,
Source Trkgrp Route Label=, Target Trkgrp Route Label=, CLID Transparent=FALSE), Call Id=439
*Jul 30 09:08:49.171: //-1/001D7702746E/CCAPI/ccCheckClipClir:
In: Calling Number=111xxxx(TON=National, NPI=ISDN, Screening=Not Screened, Presentation=Allowed)
*Jul 30 09:08:49.171: //-1/001D7702746E/CCAPI/ccCheckClipClir:
Out: Calling Number=111xxxx(TON=National, NPI=ISDN, Screening=Not Screened, Presentation=Allowed)
*Jul 30 09:08:49.171: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:*Jul 30 09:08:49.171: :cc_get_feature_vsa malloc success
*Jul 30 09:08:49.171: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:*Jul 30 09:08:49.171: cc_get_feature_vsa count is 1
*Jul 30 09:08:49.171: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:*Jul 30 09:08:49.171: :FEATURE_VSA attributes are: feature_name:0,fearture_time:1199798480,feature_id:439
*Jul 30 09:08:49.171: //439/001D7702746E/CCAPI/cc_api_call_setup_ind_common:
Set Up Event Sent;
Call Info(Calling Number=111xxxx(TON=National, NPI=ISDN, Screening=Not Screened, Presentation=Allowed),
Called Number=8903xxxxxxx(TON=National, NPI=ISDN))
*Jul 30 09:08:49.171: //439/001D7702746E/CCAPI/cc_process_call_setup_ind:
Event=0x46F58040
*Jul 30 09:08:49.171: //439/001D7702746E/CCAPI/ccCallSetContext:
Context=0x47DA98E8
*Jul 30 09:08:49.171: //439/001D7702746E/CCAPI/cc_process_call_setup_ind:
>>>>CCAPI handed cid 439 with tag 111xxxx to app "_ManagedAppProcess_Default"*Jul 30 09:08:49.175: //439/001D7702746E/CCAPI/ccCallProceeding:
Progress Indication=NULL(0)
*Jul 30 09:08:49.175: //439/001D7702746E/CCAPI/ccCallSetupRequest:
Destination=, Calling IE Present=TRUE, Mode=0,
Outgoing Dial-peer=2, Params=0x47D9DE68, Progress Indication=NULL(0)
*Jul 30 09:08:49.175: //439/001D7702746E/CCAPI/ccCheckClipClir:
In: Calling Number=111xxxx(TON=National, NPI=ISDN, Screening=Not Screened, Presentation=Allowed)
*Jul 30 09:08:49.175: //439/001D7702746E/CCAPI/ccCheckClipClir:
Out: Calling Number=111xxxx(TON=National, NPI=ISDN, Screening=Not Screened, Presentation=Allowed)
*Jul 30 09:08:49.175: //439/001D7702746E/CCAPI/ccCallSetupRequest:
Destination Pattern=.T, Called Number=8903xxxxxxx, Digit Strip=TRUE
*Jul 30 09:08:49.175: //439/001D7702746E/CCAPI/ccCallSetupRequest:
Calling Number=111xxxx(TON=National, NPI=ISDN, Screening=Not Screened, Presentation=Allowed),
Called Number=8903xxxxxxx(TON=National, NPI=ISDN),
Redirect Number=, Display Info=
Account Number=O, Final Destination Flag=TRUE,
Guid=001D7702-C13C-0287-746E-668314363482, Outgoing Dial-peer=2
*Jul 30 09:08:49.175: //439/001D7702746E/CCAPI/cc_api_display_ie_subfields:
ccCallSetupRequest:
cisco-username=O
----- ccCallInfo IE subfields -----
cisco-ani=111xxxx
cisco-anitype=2
cisco-aniplan=1
cisco-anipi=0
cisco-anisi=0
dest=8903xxxxxxx
cisco-desttype=2
cisco-destplan=1
cisco-rdie=FFFFFFFF
cisco-rdn=
cisco-rdntype=-1
cisco-rdnplan=-1
cisco-rdnpi=-1
cisco-rdnsi=-1
cisco-redirectreason=-1 fwd_final_type =0
final_redirectNumber =
hunt_group_timeout =0*Jul 30 09:08:49.175: //439/001D7702746E/CCAPI/ccIFCallSetupRequestPrivate:
Interface=0x47AAA648, Interface Type=6, Destination=, Mode=0x0,
Call Params(Calling Number=111xxxx,(Calling Name=)(TON=National, NPI=ISDN, Screening=Not Screened, Presentation=Allowed),
Called Number=8903xxxxxxx(TON=National, NPI=ISDN), Calling Translated=FALSE,
Subscriber Type Str=Unknown, FinalDestinationFlag=TRUE, Outgoing Dial-peer=2, Call Count On=FALSE,
Source Trkgrp Route Label=, Target Trkgrp Route Label=, tg_label_flag=0, Application Call Id=)
*Jul 30 09:08:49.175: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:*Jul 30 09:08:49.175: :cc_get_feature_vsa malloc success
*Jul 30 09:08:49.175: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:*Jul 30 09:08:49.175: cc_get_feature_vsa count is 2
*Jul 30 09:08:49.175: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:*Jul 30 09:08:49.175: :FEATURE_VSA attributes are: feature_name:0,fearture_time:1199798696,feature_id:440
*Jul 30 09:08:49.175: //440/001D7702746E/CCAPI/ccIFCallSetupRequestPrivate:
SPI Call Setup Request Is Success; Interface Type=6, FlowMode=1
*Jul 30 09:08:49.175: //440/001D7702746E/CCAPI/ccCallSetContext:
Context=0x47D9DE18
*Jul 30 09:08:49.175: //439/001D7702746E/CCAPI/ccSaveDialpeerTag:
Outgoing Dial-peer=2
*Jul 30 09:08:49.259: //439/001D7702746E/CCAPI/cc_api_event_indication:
Event=147, Call Id=439
*Jul 30 09:08:49.259: //439/001D7702746E/CCAPI/cc_api_event_indication:
Event Is Sent To Conferenced SPI(s) Directly
*Jul 30 09:08:49.263: //440/001D7702746E/CCAPI/cc_api_call_proceeding:
Interface=0x47AAA648, Progress Indication=NULL(0)
*Jul 30 09:08:50.663: //440/001D7702746E/CCAPI/cc_api_call_disconnected:
Cause Value=38, Interface=0x47AAA648, Call Id=440
*Jul 30 09:08:50.663: //440/001D7702746E/CCAPI/cc_api_call_disconnected:
Call Entry(Responsed=TRUE, Cause Value=38, Retry Count=0)
*Jul 30 09:08:50.663: //439/xxxxxxxxxxxx/CCAPI/ccCallReleaseResources:
release reserved xcoding resource.
*Jul 30 09:08:50.663: //440/001D7702746E/CCAPI/ccCallSetAAA_Accounting:
Accounting=0, Call Id=440
*Jul 30 09:08:50.663: //440/001D7702746E/CCAPI/ccCallDisconnect:
Cause Value=38, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect Cause=38)
*Jul 30 09:08:50.663: //440/001D7702746E/CCAPI/ccCallDisconnect:
Cause Value=38, Call Entry(Responsed=TRUE, Cause Value=38)
*Jul 30 09:08:50.663: //440/001D7702746E/CCAPI/cc_api_get_transfer_info:
Transfer Number Is Null
*Jul 30 09:08:50.699: //440/001D7702746E/CCAPI/cc_api_call_disconnect_done:
Disposition=0, Interface=0x47AAA648, Tag=0x0, Call Id=440,
Call Entry(Disconnect Cause=38, Voice Class Cause Code=0, Retry Count=0)
*Jul 30 09:08:50.699: //440/001D7702746E/CCAPI/cc_api_call_disconnect_done:
Call Disconnect Event Sent
*Jul 30 09:08:50.699: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:*Jul 30 09:08:50.699: :cc_free_feature_vsa freeing 478379A0
*Jul 30 09:08:50.699: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:*Jul 30 09:08:50.699: vsacount in free is 1
*Jul 30 09:08:50.699: //439/001D7702746E/CCAPI/ccCallDisconnect:
Cause Value=38, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect Cause=0)
*Jul 30 09:08:50.699: //439/001D7702746E/CCAPI/ccCallDisconnect:
Cause Value=38, Call Entry(Responsed=TRUE, Cause Value=38)
*Jul 30 09:08:50.699: //439/001D7702746E/CCAPI/cc_api_get_transfer_info:
Transfer Number Is Null
*Jul 30 09:08:50.703: //439/001D7702746E/CCAPI/cc_api_call_disconnect_done:
Disposition=0, Interface=0x47375164, Tag=0x0, Call Id=439,
Call Entry(Disconnect Cause=38, Voice Class Cause Code=0, Retry Count=0)
*Jul 30 09:08:50.703: //439/001D7702746E/CCAPI/cc_api_call_disconnect_done:
Call Disconnect Event Sent
*Jul 30 09:08:50.703: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:*Jul 30 09:08:50.703: :cc_free_feature_vsa freeing 478378C8
*Jul 30 09:08:50.703: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:*Jul 30 09:08:50.703: vsacount in free is 0
Вход из города - тоже отбой.
RZHD#
*Jul 30 09:09:39.035: //-1/0436E7338071/CCAPI/cc_api_display_ie_subfields:
cc_api_call_setup_ind_common:
cisco-username=
----- ccCallInfo IE subfields -----
cisco-ani=903ххххххх
cisco-anitype=2
cisco-aniplan=1
cisco-anipi=0
cisco-anisi=1
dest=111хххх
cisco-desttype=0
cisco-destplan=1
cisco-rdie=FFFFFFFF
cisco-rdn=
cisco-rdntype=-1
cisco-rdnplan=-1
cisco-rdnpi=-1
cisco-rdnsi=-1
cisco-redirectreason=-1 fwd_final_type =0
final_redirectNumber =
hunt_group_timeout =0*Jul 30 09:09:39.035: //-1/0436E7338071/CCAPI/cc_api_call_setup_ind_common:
Interface=0x47AAA648, Call Info(
Calling Number=903ххххххх,(Calling Name=)(TON=National, NPI=ISDN, Screening=User, Passed, Presentation=Allowed),
Called Number=111хххх(TON=Unknown, NPI=ISDN),
Calling Translated=FALSE, Subscriber Type Str=RegularLine, FinalDestinationFlag=TRUE,
Incoming Dial-peer=1, Progress Indication=NULL(0), Calling IE Present=TRUE,
Source Trkgrp Route Label=, Target Trkgrp Route Label=, CLID Transparent=FALSE), Call Id=-1
*Jul 30 09:09:39.035: //-1/0436E7338071/CCAPI/ccCheckClipClir:
In: Calling Number=903ххххххх(TON=National, NPI=ISDN, Screening=User, Passed, Presentation=Allowed)
*Jul 30 09:09:39.035: //-1/0436E7338071/CCAPI/ccCheckClipClir:
Out: Calling Number=903ххххххх(TON=National, NPI=ISDN, Screening=User, Passed, Presentation=Allowed)
*Jul 30 09:09:39.035: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:*Jul 30 09:09:39.035: :cc_get_feature_vsa malloc success
*Jul 30 09:09:39.035: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:*Jul 30 09:09:39.035: cc_get_feature_vsa count is 1
*Jul 30 09:09:39.035: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:*Jul 30 09:09:39.035: :FEATURE_VSA attributes are: feature_name:0,fearture_time:1199798480,feature_id:441
*Jul 30 09:09:39.035: //441/0436E7338071/CCAPI/cc_api_call_setup_ind_common:
Set Up Event Sent;
Call Info(Calling Number=903ххххххх(TON=National, NPI=ISDN, Screening=User, Passed, Presentation=Allowed),
Called Number=111хххх(TON=Unknown, NPI=ISDN))
*Jul 30 09:09:39.035: //441/0436E7338071/CCAPI/cc_process_call_setup_ind:
Event=0x46F58040
*Jul 30 09:09:39.039: //441/0436E7338071/CCAPI/ccCallSetContext:
Context=0x47DAC0F0
*Jul 30 09:09:39.039: //441/0436E7338071/CCAPI/cc_process_call_setup_ind:
>>>>CCAPI handed cid 441 with tag 1 to app "_ManagedAppProcess_Default"*Jul 30 09:09:39.039: //441/0436E7338071/CCAPI/ccCallProceeding:
Progress Indication=NULL(0)
*Jul 30 09:09:39.039: //441/0436E7338071/CCAPI/ccCallSetupRequest:
Destination=, Calling IE Present=TRUE, Mode=0,
Outgoing Dial-peer=111хххх, Params=0x47DA5680, Progress Indication=NULL(0)
*Jul 30 09:09:39.039: //441/0436E7338071/CCAPI/ccCheckClipClir:
In: Calling Number=903ххххххх(TON=National, NPI=ISDN, Screening=User, Passed, Presentation=Allowed)
*Jul 30 09:09:39.039: //441/0436E7338071/CCAPI/ccCheckClipClir:
Out: Calling Number=903ххххххх(TON=National, NPI=ISDN, Screening=User, Passed, Presentation=Allowed)
*Jul 30 09:09:39.039: //441/0436E7338071/CCAPI/ccCallSetupRequest:
Destination Pattern=111хххх, Called Number=111хххх, Digit Strip=FALSE
*Jul 30 09:09:39.039: //441/0436E7338071/CCAPI/ccCallSetupRequest:
Calling Number=903ххххххх(TON=National, NPI=ISDN, Screening=User, Passed, Presentation=Allowed),
Called Number=111хххх(TON=Unknown, NPI=ISDN),
Redirect Number=, Display Info=
Account Number=, Final Destination Flag=TRUE,
Guid=0436E733-7BFE-11DE-8071-00146A56F308, Outgoing Dial-peer=111хххх
*Jul 30 09:09:39.039: //441/0436E7338071/CCAPI/cc_api_display_ie_subfields:
ccCallSetupRequest:
cisco-username=
----- ccCallInfo IE subfields -----
cisco-ani=903ххххххх
cisco-anitype=2
cisco-aniplan=1
cisco-anipi=0
cisco-anisi=1
dest=111хххх
cisco-desttype=0
cisco-destplan=1
cisco-rdie=FFFFFFFF
cisco-rdn=
cisco-rdntype=-1
cisco-rdnplan=-1
cisco-rdnpi=-1
cisco-rdnsi=-1
cisco-redirectreason=-1 fwd_final_type =0
final_redirectNumber =
hunt_group_timeout =0*Jul 30 09:09:39.039: //441/0436E7338071/CCAPI/ccIFCallSetupRequestPrivate:
Interface=0x47375164, Interface Type=1, Destination=, Mode=0x0,
Call Params(Calling Number=903ххххххх,(Calling Name=)(TON=National, NPI=ISDN, Screening=User, Passed, Presentation=Allowed),
Called Number=111хххх(TON=Unknown, NPI=ISDN), Calling Translated=FALSE,
Subscriber Type Str=RegularLine, FinalDestinationFlag=TRUE, Outgoing Dial-peer=111хххх, Call Count On=FALSE,
Source Trkgrp Route Label=, Target Trkgrp Route Label=, tg_label_flag=0, Application Call Id=)
*Jul 30 09:09:39.039: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:*Jul 30 09:09:39.039: :cc_get_feature_vsa malloc success
*Jul 30 09:09:39.039: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:*Jul 30 09:09:39.039: cc_get_feature_vsa count is 2
*Jul 30 09:09:39.043: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:*Jul 30 09:09:39.043: :FEATURE_VSA attributes are: feature_name:0,fearture_time:1199798696,feature_id:442
*Jul 30 09:09:39.043: //442/0436E7338071/CCAPI/ccIFCallSetupRequestPrivate:
SPI Call Setup Request Is Success; Interface Type=1, FlowMode=1
*Jul 30 09:09:39.043: //442/0436E7338071/CCAPI/ccCallSetContext:
Context=0x47DA5630
*Jul 30 09:09:39.043: //441/0436E7338071/CCAPI/ccSaveDialpeerTag:
Outgoing Dial-peer=111хххх
*Jul 30 09:09:39.107: //442/0436E7338071/CCAPI/cc_api_call_proceeding:
Interface=0x47375164, Progress Indication=NULL(0)
*Jul 30 09:09:39.307: //442/0436E7338071/CCAPI/cc_api_call_disconnected:
Cause Value=16, Interface=0x47375164, Call Id=442
*Jul 30 09:09:39.307: //442/0436E7338071/CCAPI/cc_api_call_disconnected:
Call Entry(Responsed=TRUE, Cause Value=16, Retry Count=0)
*Jul 30 09:09:39.307: //441/xxxxxxxxxxxx/CCAPI/ccCallReleaseResources:
release reserved xcoding resource.
*Jul 30 09:09:39.307: //442/0436E7338071/CCAPI/ccCallSetAAA_Accounting:
Accounting=1, Call Id=442
*Jul 30 09:09:39.307: //442/0436E7338071/CCAPI/ccCallDisconnect:
Cause Value=16, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect Cause=16)
*Jul 30 09:09:39.307: //442/0436E7338071/CCAPI/ccCallDisconnect:
Cause Value=16, Call Entry(Responsed=TRUE, Cause Value=16)
*Jul 30 09:09:39.307: //442/0436E7338071/CCAPI/cc_api_get_transfer_info:
Transfer Number Is Null
*Jul 30 09:09:39.311: //442/0436E7338071/CCAPI/cc_api_call_disconnect_done:
Disposition=0, Interface=0x47375164, Tag=0x0, Call Id=442,
Call Entry(Disconnect Cause=16, Voice Class Cause Code=0, Retry Count=0)
*Jul 30 09:09:39.311: //442/0436E7338071/CCAPI/cc_api_call_disconnect_done:
Call Disconnect Event Sent
*Jul 30 09:09:39.311: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:*Jul 30 09:09:39.311: :cc_free_feature_vsa freeing 478379A0
*Jul 30 09:09:39.311: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:*Jul 30 09:09:39.311: vsacount in free is 1
*Jul 30 09:09:39.311: //441/0436E7338071/CCAPI/ccCallSetupRequest:
Destination=, Calling IE Present=TRUE, Mode=0,
Outgoing Dial-peer=2, Params=0x47D9D110, Progress Indication=NULL(0)
*Jul 30 09:09:39.311: //441/0436E7338071/CCAPI/ccCheckClipClir:
In: Calling Number=903ххххххх(TON=National, NPI=ISDN, Screening=User, Passed, Presentation=Allowed)
*Jul 30 09:09:39.311: //441/0436E7338071/CCAPI/ccCheckClipClir:
Out: Calling Number=903ххххххх(TON=National, NPI=ISDN, Screening=User, Passed, Presentation=Allowed)
*Jul 30 09:09:39.311: //441/0436E7338071/CCAPI/ccCallSetupRequest:
Destination Pattern=.T, Called Number=111хххх, Digit Strip=TRUE
*Jul 30 09:09:39.311: //441/0436E7338071/CCAPI/ccCallSetupRequest:
Calling Number=903ххххххх(TON=National, NPI=ISDN, Screening=User, Passed, Presentation=Allowed),
Called Number=111хххх(TON=Unknown, NPI=ISDN),
Redirect Number=, Display Info=
Account Number=, Final Destination Flag=TRUE,
Guid=0436E733-7BFE-11DE-8071-00146A56F308, Outgoing Dial-peer=2
*Jul 30 09:09:39.311: //441/0436E7338071/CCAPI/cc_api_display_ie_subfields:
ccCallSetupRequest:
cisco-username=
----- ccCallInfo IE subfields -----
cisco-ani=903ххххххх
cisco-anitype=2
cisco-aniplan=1
cisco-anipi=0
cisco-anisi=1
dest=111хххх
cisco-desttype=0
cisco-destplan=1
cisco-rdie=FFFFFFFF
cisco-rdn=
cisco-rdntype=-1
cisco-rdnplan=-1
cisco-rdnpi=-1
cisco-rdnsi=-1
cisco-redirectreason=-1 fwd_final_type =0
final_redirectNumber =
hunt_group_timeout =0*Jul 30 09:09:39.311: //441/0436E7338071/CCAPI/ccIFCallSetupRequestPrivate:
Interface=0x47AAA648, Interface Type=6, Destination=, Mode=0x0,
Call Params(Calling Number=903ххххххх,(Calling Name=)(TON=National, NPI=ISDN, Screening=User, Passed, Presentation=Allowed),
Called Number=111хххх(TON=Unknown, NPI=ISDN), Calling Translated=FALSE,
Subscriber Type Str=RegularLine, FinalDestinationFlag=TRUE, Outgoing Dial-peer=2, Call Count On=FALSE,
Source Trkgrp Route Label=, Target Trkgrp Route Label=, tg_label_flag=0, Application Call Id=)
*Jul 30 09:09:39.311: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:*Jul 30 09:09:39.311: :cc_get_feature_vsa malloc success
*Jul 30 09:09:39.311: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:*Jul 30 09:09:39.311: cc_get_feature_vsa count is 2
*Jul 30 09:09:39.311: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:*Jul 30 09:09:39.311: :FEATURE_VSA attributes are: feature_name:0,fearture_time:1199798696,feature_id:443
*Jul 30 09:09:39.311: //443/0436E7338071/CCAPI/ccIFCallSetupRequestPrivate:
SPI Call Setup Request Is Success; Interface Type=6, FlowMode=1
*Jul 30 09:09:39.311: //443/0436E7338071/CCAPI/ccCallSetContext:
Context=0x47D9D0C0
*Jul 30 09:09:39.311: //441/0436E7338071/CCAPI/ccSaveDialpeerTag:
Outgoing Dial-peer=2
*Jul 30 09:09:39.395: //443/0436E7338071/CCAPI/cc_api_call_proceeding:
Interface=0x47AAA648, Progress Indication=NULL(0)
*Jul 30 09:09:39.427: //443/0436E7338071/CCAPI/cc_api_call_disconnected:
Cause Value=88, Interface=0x47AAA648, Call Id=443
*Jul 30 09:09:39.427: //443/0436E7338071/CCAPI/cc_api_call_disconnected:
Call Entry(Responsed=TRUE, Cause Value=88, Retry Count=0)
*Jul 30 09:09:39.427: //441/xxxxxxxxxxxx/CCAPI/ccCallReleaseResources:
release reserved xcoding resource.
*Jul 30 09:09:39.427: //443/0436E7338071/CCAPI/ccCallSetAAA_Accounting:
Accounting=0, Call Id=443
*Jul 30 09:09:39.427: //443/0436E7338071/CCAPI/ccCallDisconnect:
Cause Value=88, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect Cause=88)
*Jul 30 09:09:39.431: //443/0436E7338071/CCAPI/ccCallDisconnect:
Cause Value=88, Call Entry(Responsed=TRUE, Cause Value=88)
*Jul 30 09:09:39.431: //443/0436E7338071/CCAPI/cc_api_get_transfer_info:
Transfer Number Is Null
*Jul 30 09:09:39.459: //443/0436E7338071/CCAPI/cc_api_call_disconnect_done:
Disposition=0, Interface=0x47AAA648, Tag=0x0, Call Id=443,
Call Entry(Disconnect Cause=88, Voice Class Cause Code=0, Retry Count=0)
*Jul 30 09:09:39.459: //443/0436E7338071/CCAPI/cc_api_call_disconnect_done:
Call Disconnect Event Sent
*Jul 30 09:09:39.459: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:*Jul 30 09:09:39.459: :cc_free_feature_vsa freeing 478379A0
*Jul 30 09:09:39.459: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:*Jul 30 09:09:39.459: vsacount in free is 1
*Jul 30 09:09:39.459: //441/0436E7338071/CCAPI/ccCallDisconnect:
Cause Value=88, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect Cause=0)
*Jul 30 09:09:39.459: //441/0436E7338071/CCAPI/ccCallDisconnect:
Cause Value=88, Call Entry(Responsed=TRUE, Cause Value=88)
*Jul 30 09:09:39.459: //441/0436E7338071/CCAPI/cc_api_get_transfer_info:
Transfer Number Is Null
*Jul 30 09:09:39.535: //441/0436E7338071/CCAPI/cc_api_call_disconnect_done:
Disposition=0, Interface=0x47AAA648, Tag=0x0, Call Id=441,
Call Entry(Disconnect Cause=88, Voice Class Cause Code=0, Retry Count=0)
*Jul 30 09:09:39.535: //441/0436E7338071/CCAPI/cc_api_call_disconnect_done:
Call Disconnect Event Sent
*Jul 30 09:09:39.535: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:*Jul 30 09:09:39.535: :cc_free_feature_vsa freeing 478378C8
*Jul 30 09:09:39.535: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:*Jul 30 09:09:39.535: vsacount in free is 0
исходящая связь заработала, проблема была в типе Transfer Capability = Unrestricted Digital
сделал speech.
Входящая не работает...
При звонке debug voip dial-peer говорит :
Match Rule=DP_MATCH_DEST; Called Number=111хххх
*Jul 30 17:23:50.968: //-1/0E24F30781A0/DPM/dpMatchPeersCore:
Result=Success(0) after DP_MATCH_DEST
*Jul 30 17:23:50.968: //-1/0E24F30781A0/DPM/dpMatchPeersMoreArg:
Result=SUCCESS(0)
List of Matched Outgoing Dial-peer(s):
1: Dial-peer Tag=111хххх
2: Dial-peer Tag=2Приходит звонок из pstn и уходит туда же.
В чём может быть загвоздка ?
Если DPeer 2 убрать, входящие нормально приходят?И перепиши d-peerы, по моему образцу:
dial-peer voice 1 pots
description Vhod iz PRI
incoming called-number .T
direct-inward-dial
<Нет связи с физическим портом , похоже у тебя DP 2 звонки принимает....>
<Добавить>
port 0/0/0:15
!
dial-peer voice 111хххх voip
destination-pattern 111хххх
session target ipv4:192.168.2.252
dtmf-relay h245-alphanumeric
codec g711alaw
!
dial-peer voice 2 pots
description Vihod_City
destination-pattern .T
<Убрать> direct-inward-dial
port 0/0/0:15
forward-digits all