Newsgroup: it.comp.reti.cisco
Titolo: Auito VG200 - ATA 186

volevo esporti un quesito su una voip (voice over ip)
ho un voice gateway cisco vg200 con un modulo vic-2fxo alle cui 2 porte
(1/1/0 e 1/1/1) sono attaccati 2 interni del centralino;
dall'altra parte, nella sede distaccata, ho un ata 186 (analog telephone
adaptor) con attaccati i 2 interni da trasportare
over ip;
     tel.int.215<--->ata186<------>LAN<------>vg200(porta 1/1/0)(id
1001)<--->215(centralino)
la configurazione attuale del vg200 è la seguente:
vg200#show config
Using 927 out of 29688 bytes
!
version 12.2
no service pad
service timestamps debug uptime
service timestamps log uptime
!
ip subnet-zero
no ip routing
!
interface FastEthernet0/0
 ip address 172.15.17.3 255.255.255.0
 no ip route-cache
 no ip mroute-cache
 duplex auto
 speed auto
 no cdp enable
!
ip classless
no ip http server
ip pim bidir-enable
!
no cdp run
call rsvp-sync
!
voice-port 1/1/0
 cptone IT
 connection Tie-line 1001
!
voice-port 1/1/1
 cptone IT
 connection Tie-line 1002
!
no mgcp timer receive-rtcp
!
mgcp profile default
!
dial-peer voice 1 pots
 destination-pattern 2..
 no digit-strip
 port 1/1/0
!
dial-peer voice 2 voip
 destination-pattern 100.
 session target ipv4:172.15.17.4
 dtmf-relay cisco-rtp
!
line con 0
 exec-timeout 0 0
line aux 0
line vty 0 4
-------------------
il comportamento allo stato attuale è il seguente:
quando compongo dal tel.215 (attaccato all'ata186) un interno (es.233), il
tutto funziona, ma a metà,
nel senso che il 233 squilla, la comunicazione c'è, ma il flusso avviene
solo in direzione
215---->ata186---->lan---->vg200(porta 1/1/0)---->centralino---->233
mentre il flusso contrario non avviene (il 215 non sente quello che dice il
233)
quando invece dal 233 faccio il 215, la chiamata arriva alla porta 1/1/0 del
vg200,
il quale però sembra non capire che numero gli è arrivato in quanto il 215
non squilla.
il debug in-out di quest'ultimo caso è il seguente:
vg200#
1d01h: cc_api_call_setup_ind (vdbPtr=0x81369F00,
callInfo={called=,called_oct3=0
x81,calling=,calling_oct3=0x0,calling_oct3a=0x0,calling_xlated=false,subscri
ber_
type_str=RegularLine,fdest=0,peer_tag=1, prog_ind=3,callingIE_present
0},callID=
0x81508FB8)
1d01h: cc_api_call_setup_ind calling number is null, answer addr  dest
pattern 2
.. e164_ans_addr 0 e164_dest_pattern 0
1d01h: cc_api_call_setup_ind type 2 , prot 0
1d01h: cc_insert_call_entry: Increment call volume counter
1d01h: cc_insert_call_entry: current call volume: 1
1d01h: cc_insert_call_entry: entry's incoming TRUE. is_incoming is TRUE
1d01h: cc_api_call_digit_end (dstVdbPtr=0x0, dstCallId=0xFFFFFFFF,
srcCallId=0xA
1,
    digit=1,duration=0,xruleCallingTag=0,xruleCalledTag=0, dest_mask=0x1),
digit
_tone_mode=0
1d01h: cc_api_call_digit_end (dstVdbPtr=0x0, dstCallId=0xFFFFFFFF,
srcCallId=0xA
1,
    digit=0,duration=0,xruleCallingTag=0,xruleCalledTag=0, dest_mask=0x1),
digit
_tone_mode=0
1d01h: cc_api_call_digit_end (dstVdbPtr=0x0, dstCallId=0xFFFFFFFF,
srcCallId=0xA
1,
    digit=0,duration=0,xruleCallingTag=0,xruleCalledTag=0, dest_mask=0x1),
digit
_tone_mode=0
1d01h: cc_api_call_digit_end (dstVdbPtr=0x0, dstCallId=0xFFFFFFFF,
srcCallId=0xA
1,
    digit=1,duration=0,xruleCallingTag=0,xruleCalledTag=0, dest_mask=0x1),
digit
_tone_mode=0
1d01h: cc_incr_if_call_volume: not the VoIP or MMoIP
1d01h: cc_process_call_setup_ind (event=0x81305D94)
1d01h: >>>>CCAPI handed cid 161 with tag 1 to app "DEFAULT"
1d01h: sess_appl: ev(24=CC_EV_CALL_SETUP_IND), cid(161), disp(0)
1d01h: sess_appl: ev(SSA_EV_CALL_SETUP_IND), cid(161), disp(0)
1d01h: ssaCallSetupInd
1d01h: ccCallSetContext (callID=0xA1, context=0x81513A48)
1d01h: ssaCallSetupInd cid(161), st(SSA_CS_MAPPING),oldst(0),
ev(24)ev->e.evCall
SetupInd.nCallInfo.finalDestFlag = 0
1d01h: ccCallSetupAck (callID=0xA1)
1d01h: cc_api_set_transfer_info: (transfer= 0, callID=0xA1)
1d01h: cc_api_set_transfer_info: call transfer reset)
1d01h: ccGenerateToneInfo (callID=0xA1 tone=8)
1d01h: ccCallReportDigits (callID=0xA1, enable=0x1)
1d01h: cc_api_call_report_digits_done (vdbPtr=0x81369F00, callID=0xA1,
disp=0)
1d01h: sess_appl: ev(9=CC_EV_CALL_DIGIT_END), cid(161), disp(0)
1d01h: ccCallGetContext (callID=0xA1, context=0x813139D0)
1d01h: cid(161)st(SSA_CS_MAPPING)ev(SSA_EV_CALL_DIGIT)
oldst(SSA_CS_MAPPING)cfid(-1)csize(0)in(1)fDest(0)
1d01h: ssaDigit
1d01h: ssaDigit, 0. sct->digit , sct->digit len 0, usrDigit 1,
digit_tone_mode=0
1d01h: ssaDigit,1. callinfo.called , digit 1, callinfo.calling ,
xrulecallingtag
 0, xrulecalledtag 0
1d01h: ssaDigit, 7. callinfo.calling , sct->digit 1, result 1
1d01h: sess_appl: ev(9=CC_EV_CALL_DIGIT_END), cid(161), disp(0)
1d01h: ccCallGetContext (callID=0xA1, context=0x813139D0)
1d01h: cid(161)st(SSA_CS_MAPPING)ev(SSA_EV_CALL_DIGIT)
oldst(SSA_CS_MAPPING)cfid(-1)csize(0)in(1)fDest(0)
1d01h: ssaDigit
1d01h: ssaDigit, 0. sct->digit 1, sct->digit len 1, usrDigit 0,
digit_tone_mode=
0
1d01h: ssaDigit,1. callinfo.called , digit 10, callinfo.calling ,
xrulecallingta
g 0, xrulecalledtag 0
1d01h: ssaDigit, 7. callinfo.calling , sct->digit 10, result 1
1d01h: sess_appl: ev(9=CC_EV_CALL_DIGIT_END), cid(161), disp(0)
1d01h: ccCallGetContext (callID=0xA1, context=0x813139D0)
1d01h: cid(161)st(SSA_CS_MAPPING)ev(SSA_EV_CALL_DIGIT)
oldst(SSA_CS_MAPPING)cfid(-1)csize(0)in(1)fDest(0)
1d01h: ssaDigit
1d01h: ssaDigit, 0. sct->digit 10, sct->digit len 2, usrDigit 0,
digit_tone_mode
=0
1d01h: ssaDigit,1. callinfo.called , digit 100, callinfo.calling ,
xrulecallingt
ag 0, xrulecalledtag 0
1d01h: ssaDigit, 7. callinfo.calling , sct->digit 100, result 1
1d01h: sess_appl: ev(9=CC_EV_CALL_DIGIT_END), cid(161), disp(0)
1d01h: ccCallGetContext (callID=0xA1, context=0x813139D0)
1d01h: cid(161)st(SSA_CS_MAPPING)ev(SSA_EV_CALL_DIGIT)
oldst(SSA_CS_MAPPING)cfid(-1)csize(0)in(1)fDest(0)
1d01h: ssaDigit
1d01h: ssaDigit, 0. sct->digit 100, sct->digit len 3, usrDigit 1,
digit_tone_mod
e=0
1d01h: ssaDigit,1. callinfo.called , digit 1001, callinfo.calling ,
xrulecalling
tag 0, xrulecalledtag 0
1d01h: ssaDigit, 7. callinfo.calling , sct->digit 1001, result 0
1d01h: ccCallReportDigits (callID=0xA1, enable=0x0)
1d01h: cc_api_call_report_digits_done (vdbPtr=0x81369F00, callID=0xA1,
disp=0)
1d01h: ssaSetupPeer cid(161) peer list:  tag(2) called number (1001)
1d01h: ssaSetupPeer cid(161), destPat(1001), matched(3), prefix(),
peer(811AC638
), peer->encapType (2)
1d01h: ccCallProceeding (callID=0xA1, prog_ind=0x0)
1d01h: ccCallSetupRequest (Inbound call = 0xA1, outbound peer =2, dest=,
params=
0x81312B30 mode=0, *callID=0x81312F60, prog_ind = 3) callingIE_present 0
1d01h: ccCallSetupRequest numbering_type 0x81
1d01h: ccCallSetupRequest encapType 2 clid_restrict_disable 1 null_orig_clg
1 cl
id_transparent 0 callingNumber
1d01h: dest pattern 100., called 1001, digit_strip 0
1d01h: callingNumber=, calledNumber=1001, redirectNumber= display_info=
calling_
oct3a=0
1d01h: accountNumber=, finalDestFlag=0,
guid=f792.7824.15c0.11cc.808c.ee3b.6a59.2327
1d01h: peer_tag=2
1d01h: ccIFCallSetupRequestPrivate: (vdbPtr=0x81246FC0, dest=,
callParams={calle
d=1001,called_oct3=0x81, calling=,calling_oct3=0x0, calling_xlated=false,
subsc
riber_type_str=RegularLine, fdest=0, voice_peer_tag=2},mode=0x0) vdbPtr type
= 1
1d01h: ccIFCallSetupRequestPrivate: (vdbPtr=0x81246FC0, dest=,
callParams={calle
d=1001, called_oct3 0x81,  calling=,calling_oct3 0x0, calling_xlated=false,
fde
st=0, voice_peer_tag=2}, mode=0x0, xltrc=-5)
1d01h: cc_insert_call_entry: not incoming entry
1d01h: cc_insert_call_entry: entry's incoming FALSE. is_incoming is FALSE
1d01h: ccSaveDialpeerTag (callID=0xA1, dialpeer_tag=0x2)
1d01h: ccCallSetContext (callID=0xA2, context=0x812C55A0)
1d01h: sess_appl: ev(52=CC_EV_CALL_REPORT_DIGITS_DONE), cid(161), disp(0)
1d01h: cid(161)st(SSA_CS_CALL_SETTING)ev(SSA_EV_CALL_REPORT_DIGITS_DONE)
oldst(SSA_CS_MAPPING)cfid(-1)csize(0)in(1)fDest(0)
1d01h: -cid2(162)st2(SSA_CS_CALL_SETTING)oldst2(SSA_CS_MAPPING)
1d01h: ssaReportDigitsDone cid(161) peer list: (empty)
1d01h: ssaReportDigitsDone callid=161 Enable succeeded
1d01h: ccGenerateToneInfo (callID=0xA1 tone=8)
1d01h: sess_appl: ev(52=CC_EV_CALL_REPORT_DIGITS_DONE), cid(161), disp(0)
1d01h: cid(161)st(SSA_CS_CALL_SETTING)ev(SSA_EV_CALL_REPORT_DIGITS_DONE)
oldst(SSA_CS_CALL_SETTING)cfid(-1)csize(0)in(1)fDest(0)
1d01h: -cid2(162)st2(SSA_CS_CALL_SETTING)oldst2(SSA_CS_MAPPING)
1d01h: ssaReportDigitsDone cid(161) peer list: (empty)
1d01h: ssaReportDigitsDone callid=161 Reporting disabled.
1d01h: cc_api_supported_data data_mode=0x10002
1d01h: cc_incr_if_call_volume: remote IP is 172.15.17.4
1d01h: cc_incr_if_call_volume: hwidb is FastEthernet0/0
1d01h: cc_incr_if_call_volume: create entry in list: 1
1d01h: ccTDUtilGetInstanceCount: For tagID[1] of callID[162]
1d01h: ccTDPvtProfileTableObjectAccessManager: No profileTable set for
callID[16
2]
1d01h: ccTDUtilGetInstanceCount: For tagID[2] of callID[162]
1d01h: ccTDPvtProfileTableObjectAccessManager: No profileTable set for
callID[16
2]
1d01h: cc_api_call_disconnected(vdbPtr=0x81246FC0, callID=0xA2, cause=0x10)
1d01h: sess_appl: ev(11=CC_EV_CALL_DISCONNECTED), cid(162), disp(0)
1d01h: cid(162)st(SSA_CS_CALL_SETTING)ev(SSA_EV_CALL_DISCONNECTED)
oldst(SSA_CS_MAPPING)cfid(-1)csize(0)in(0)fDest(0)
1d01h: -cid2(161)st2(SSA_CS_CALL_SETTING)oldst2(SSA_CS_CALL_SETTING)
1d01h: ssaDiscSetting
1d01h: cc_api_get_transfer_info: (callID=0xA2)
1d01h: ssa: Disconnected cid(162) state(1) cause(0x10)
1d01h: ccCallDisconnect (callID=0xA2, cause=0x10 tag=0x0)
1d01h: cc_api_get_transfer_info: (callID=0xA2)
1d01h: ccCallDisconnect (callID=0xA1, cause=0x10 tag=0x0)
1d01h: cc_api_get_transfer_info: (callID=0xA1)
1d01h: cc_api_icpif: expect factor = 0
1d01h: cc_decr_if_call_volume: the remote IP is 172.15.17.4
1d01h: cc_decr_if_call_volume: hwidb is FastEthernet0/0
1d01h: cc_decr_if_call_volume: reduce callnum of entry: 0, voip: 0, mmoip: 0
1d01h: cc_decr_if_call_volume: remove an entry
1d01h: cc_api_call_disconnect_done(vdbPtr=0x81246FC0, callID=0xA2, disp=0,
tag=0
x0)
1d01h: cc_delete_call_entry: not incoming entry
1d01h: cc_delete_call_entry: entry's incoming FALSE. is_incoming is FALSE
1d01h: sess_appl: ev(12=CC_EV_CALL_DISCONNECT_DONE), cid(162), disp(0)
1d01h: cid(162)st(SSA_CS_DISCONNECTING)ev(SSA_EV_CALL_DISCONNECT_DONE)
oldst(SSA_CS_CALL_SETTING)cfid(-1)csize(0)in(0)fDest(0)
1d01h: -cid2(161)st2(SSA_CS_DISCONNECTING)oldst2(SSA_CS_CALL_SETTING)
1d01h: ssaDisconnectDone
------------------------
Ciao.     Ciro

 !
beh, ma c'e' qc che non va nella numerazione. Se il telefono dell'ATA deve
essere il 215 perche' fai un dial peer voip che punta a 100. ?
Per forza che il telefono collegato all'ATA non squilla...il router gli
richiede il numero 1001 o 1002.
Perche' non fai un dial peer che con un dest-pattern 215? ...ovviamente
anche sulle porte fxo devi modificare il tie-line.
Ciao
Marco

 anche sulle porte fxo devi modificare il tie-line.
il telefono sull'ata sono id0 = 1001 id1= 1002
con la cinfigurazione che mi consigli l'ho già provata perchè mi sembrava
quella piu logica
ma non funzionava niente assolutamente in quanto il problema del mio
centralino è che non passa il numero del chiamato e del chimante..
almeno questo mi sembrava il problema
cioa cirò