[cisco-voip] R2 incoming call problem

zibouche abdenour abdenour at procom.dz
Wed Jul 8 05:47:07 EDT 2009


hello

We have a problem, we have an AS5350 which works perfectly with H323->E1
but when we need to make calls in the reverse sens E1 to H323 it don't
works. 

E1 signaling is with R2. 

Bellow is the configuration. 

show run

show version

debug output pour

(
       debug cas

       debug sigsm r2

       debug modem

       debug call-mgmt

       debug calltracker

       debug csm modem

       debug spe sm

       debug ppp nego

       debug ppp authen

       debug dialer

       debug ppp error

       debug radius authentication

       debug radius accounting

       debug radius

       debug sigsm api

       debug nextport ssm detail

       debug nextport siglib detail
)


********************************************************************************
show run conf
********************************************************************************
resource-pool disable
tdm clock priority 1 3/1
tdm clock priority 2 3/0
spe default-firmware spe-firmware-1
aaa new-model
!
!
aaa group server radius procom
 server xxx.xxx.xxx.xxx auth-port 1812 acct-port 1813
 server xxx.xxx.xxx.xxx auth-port 1812 acct-port 1813
!
aaa authentication login default local
aaa authentication login h323 group procom
aaa authorization exec h323 group radius
aaa authorization network h323 group radius
aaa accounting network default start-stop group radius
aaa accounting connection default start-stop group radius
aaa accounting connection h323 start-stop group procom
aaa accounting system default start-stop group AIP
aaa session-id common
ip subnet-zero
ip cef
no ip domain lookup
!
isdn switch-type primary-ni
!
voice call send-alert
voice rtp send-recv
!
voice service voip
 fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback none
 h323
 session transport tcp calls-per-connection 1
!
voice class codec 1
 codec preference 1 g723r53 bytes 100
 codec preference 2 g723r63 bytes 96
 codec preference 3 g729r8
 codec preference 4 g729br8
!
!
!
voice class h323 1
!
!
!
!
!
no voice hpi capture buffer
no voice hpi capture destination
!
!
!
fax interface-type fax-mail
mta receive maximum-recipients 0
call-history-mib retain-timer 300
call-history-mib max-size 500
!
!
!
controller E1 3/0
 framing NO-CRC4
 ds0-group 2 timeslots 1-15,17-31 type r2-digital r2-compelled
 description Digital-Path#530
!
controller E1 3/1
 framing NO-CRC4
 ds0-group 2 timeslots 1-15,17-31 type r2-digital r2-compelled
 description Digital-Path#531
gw-accounting aaa
!
!
!
interface Loopback0
 no ip address
!
interface FastEthernet0/0
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface FastEthernet0/1
 ip address 10.1.1.12 255.255.255.0 secondary
 duplex half
 speed auto
!
interface Serial0/0
 no ip address
 shutdown
 clockrate 2000000
!
interface Serial0/1
 no ip address
 shutdown
 clockrate 2000000
!
interface Group-Async0
 no ip address
 group-range 1/00 1/59
!
ip classless
ip route 0.0.0.0 0.0.0.0 10.1.1.10
no ip http server
!
!
!
access-list 1 permit 192.168.1.0 0.0.0.255
access-list 1 permit 10.0.0.0 0.255.255.255
!
tftp-server flash:c5350-is-mz.122-2.XB8.bin
tftp-server flash:c5350-is-mz.123-20a.bin

!
no radius-server attribute nas-port
radius-server host xxx.xxx.xxx.xxx auth-port 1812 acct-port 1813
radius-server host xxx.xxx.xxx.xxx auth-port 1812 acct-port 1813
radius-server retransmit 15
radius-server timeout 30
radius-server key 7 08315E4D041B0C1B1E
radius-server authorization permit missing Service-Type
radius-server vsa send accounting
call rsvp-sync
!
voice-port 3/1:2
 compand-type a-law
!
voice-port 3/0:2
 compand-type a-law
!
!
mgcp profile default
!
dial-peer cor custom
!
!
!
dial-peer voice 66151 pots
 destination-pattern 7135#213T
 progress_ind setup enable 1
 progress_ind progress enable 2
 progress_ind connect enable 2
 direct-inward-dial
 port 3/0:2
 prefix 0
!
dial-peer voice 100 pots
 description Incoming From PSTN
 destination-pattern .T
 direct-inward-dial
 port 3/1:2
!
dial-peer voice 200 voip
 destination-pattern .T
 progress_ind setup enable 3
 voice-class codec 1
 session target ipv4:213.186.48.146
 dtmf-relay rtp-nte h245-signal h245-alphanumeric
!
line con 0
line aux 0
line vty 0 4
 privilege level 15
 transport input lat pad telnet rlogin udptn v120 lapb-ta
line 1/00 1/59
 no flush-at-activation
 modem InOut
!
scheduler allocate 10000 400
end

***************************************************************************************
show vers
***************************************************************************************5300-3#show version
Cisco Internetwork Operating System Software
IOS (tm) 5350 Software (C5350-IS-M), Version 12.2(15)T14, RELEASE
SOFTWARE (fc4)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2004 by cisco Systems, Inc.
Compiled Sat 28-Aug-04 14:33 by cmong
Image text-base: 0x6000895C, data-base: 0x61600000

ROM: System Bootstrap, Version 12.2(1r)1, RELEASE SOFTWARE (fc1)
BOOTLDR: 5350 Software (C5350-BOOT-M), Version 12.2(2)XB2, EARLY
DEPLOYMENT RELEASE SOFTWARE (fc1)

5300-3 uptime is 38 minutes
System returned to ROM by reload at 13:36:32 UTC Mon Jun 29 2009
System image file is "flash:c5350-is-mz.122-15.T14.bin"

cisco AS5350 (R7K) processor (revision T) with 131072K/65536K bytes of
memory.
Processor board ID JAE07170MZW
R7000 CPU at 250Mhz, Implementation 39, Rev 1.0, 256KB L2, 2048KB L3
Cache
Last reset from IOS reload
Channelized E1, Version 1.0.
Bridging software.
X.25 software, Version 3.0.0.
SuperLAT software (copyright 1990 by Meridian Technology Corp).
Primary Rate ISDN software, Version 1.1.
Manufacture Cookie Info:
 EEPROM Type 0x0001, EEPROM Version 0x01, Board ID 0x32,
 Board Hardware Version 3.34, Item Number 800-5171-02,
 Board Revision C0, Serial Number JAE07170MZW,
 PLD/ISP Version 2.2,  Manufacture Date 25-Apr-2003.
Processor 0x14, MAC Address 0x0C30821A7A
Backplane HW Revision 1.0, Flash Type 5V
2 FastEthernet/IEEE 802.3 interface(s)
6 Serial network interface(s)
60 terminal line(s)
2 Channelized E1/PRI port(s)
512K bytes of non-volatile configuration memory.
32768K bytes of processor board System flash (Read/Write)
8192K bytes of processor board Boot flash (Read/Write)

Configuration register is 0x2102


***************************************************************************
debug out put
***************************************************************************
*Jun 24 08:16:36.383: Call mgmt per minute statistics:
    active list length: 0
    history list length: 0
*Jun 24 08:16:36.383:      0 timeslots active at slot 3, ctrlr 0
*Jun 24 08:16:36.383:      0 timeslots active at slot 3, ctrlr 1
*Jun 24 08:17:09.979: from Trunk(3): (1/12): Rx SEIZURE (ABCD=0001)
*Jun 24 08:17:10.019: CSM-TGRM:csm_rx_cas_event_from_neat(EVENT_DIAL_IN)
- c(E1 3/1:2:13) call_type=VOICE, dir=INCOMING
*Jun 24 08:17:10.023: VDEV_ALLOCATE: 1/47 is allocated
*Jun 24 08:17:10.023:  1.starting digit collect: reset dnis_collected &
fap_notify
*Jun 24 08:17:10.023: CSM_RX_CAS_EVENT_FROM_NEAT:(cid002F):
EVENT_CALL_DIAL_IN at slot 1 and port 47
*Jun 24 08:17:10.023: CSM_PROC_IDLE: CSM_EVENT_START_DIGIT_COLLECT at
slot 1, port 47
*Jun 24 08:17:10.023: CSM DSPLIB(1/47/csm_flags=0x15):
np_dsplib_prepare_modem
*Jun 24 08:17:10.023:    CID = 155
*Jun 24 08:17:10.023: NP Session Message Header:
*Jun 24 08:17:10.023: msg length = 0x0004
*Jun 24 08:17:10.023: session ID = 0x009B
*Jun 24 08:17:10.023:    msg tag = 0x1000
*Jun 24 08:17:10.023:     msg ID = 0xF104
*Jun 24 08:17:10.023: SESSION CHANGE SERVICE Command at 0x40FAC830
*Jun 24 08:17:10.023:   template# = 255, load S-Reg = 2, Data Q ID = 0
*Jun 24 08:17:10.023:   svc_id: type = 0x1500, mode = 0x0000
*Jun 24 08:17:10.023: np_ssm_session_change_service():: count=16
0000   00 04 00 9B 10 00 F1 04 15 00 00 00 00 02 FF
00    ................

*Jun 24 08:17:10.023: sigsm:(1/47): sig_config API: sigtype=12,
tonetype=3, collect=2, r2_info=valid, incoming=TRUE
*Jun 24 08:17:10.023:   variables[0]=3000
*Jun 24 08:17:10.023:   variables[1]=1646985216
*Jun 24 08:17:10.023:   variables[2]=24
*Jun 24 08:17:10.023:   variables[3]=1652662480
*Jun 24 08:17:10.023:   variables[4]=1612077804
*Jun 24 08:17:10.023: sigsm:(1/47): Using signalling template: 'SrnW'
*Jun 24 08:17:10.023: sigif_config: end2end=0
*Jun 24 08:17:10.023: sigsm:(1/47):SIG_STATE_START: Received event
'SIG_EVENT_ENTERED'
*Jun 24 08:17:10.023: csm_connect_pri_vdev: TS allocated at bp_stream 0,
bp_Ch 48, vdev_common 0x634AF588 1/47
*Jun 24 08:17:10.023:     Response sent through Callback (Port 1/47)
*Jun 24 08:17:10.027: np_ssm_session_setup_complete_rsp():NP_Address:
slot 1 dfc 0 module 1 spe 255
*Jun 24 08:17:10.027: msg length = 0x0016
*Jun 24 08:17:10.027: session ID = 0x009B
*Jun 24 08:17:10.027:    msg tag = 0x1000
*Jun 24 08:17:10.027:     msg ID = 0xF180
*Jun 24 08:17:10.027: np_ssm_session_setup_complete_rsp():(1/47)
*Jun 24 08:17:10.027:  (1/47)Setup Result code = 0x00
*Jun 24 08:17:10.027: Setup TDM stream/channel = 0x00/0x11
*Jun 24 08:17:10.027: np_ssm_update_vdev_tdm_info():(1/47) st= 1, ch= 17
*Jun 24 08:17:10.047: np_ssm_session_state_reached_ntf():(1/47)
*Jun 24 08:17:10.047:  svc_type = 0x1500 svc_mode = 0 session_state =
IDLE
*Jun 24 08:17:10.047: CSM DSPLIB(1/47):DSPLIB_SIG_INIT: Signaling
session transition to IDLE
*Jun 24 08:17:10.047:    CID = 155
*Jun 24 08:17:10.047:    CID = 155
*Jun 24 08:17:10.047: NP Session Message Header:
*Jun 24 08:17:10.047: msg length = 0x0006
*Jun 24 08:17:10.047: session ID = 0x009B
*Jun 24 08:17:10.047:    msg tag = 0x1000
*Jun 24 08:17:10.047:     msg ID = 0xF201
*Jun 24 08:17:10.047: ===>> Set Running Param Command
*Jun 24 08:17:10.047: =====>> Num of Params: 3
*Jun 24 08:17:10.047: =======>>>>> Parameter(0): ID= 0x8001, Value=
0x0000
*Jun 24 08:17:10.047: =======>>>>> Parameter(1): ID= 0x0000, Value=
0x0003
*Jun 24 08:17:10.051: =======>>>>> Parameter(2): ID= 0x0002, Value=
0x0001
*Jun 24 08:17:10.051: np_ssm_service_set_running_params():: count=24
0000   00 06 00 9B 10 00 F2 01 00 03 00 00 80 01 00
00    ................
0010   00 00 00 03 00 02 00 01                            ........

*Jun 24 08:17:10.051: np_ssm_session_start():(1/47) Sending Command Msg
*Jun 24 08:17:10.051:    CID = 155
*Jun 24 08:17:10.051: NP Session Message Header:
*Jun 24 08:17:10.051: msg length = 0x0002
*Jun 24 08:17:10.051: session ID = 0x009B
*Jun 24 08:17:10.051:    msg tag = 0x1000
*Jun 24 08:17:10.051:     msg ID = 0xF102
*Jun 24 08:17:10.051: SESSION START Command at 0x4103502C
*Jun 24 08:17:10.051: np_ssm_session_start():: count=8
0000   00 02 00 9B 10 00 F1 02                            ........

*Jun 24 08:17:10.055: np_ssm_session_start_rsp():(1/47)
*Jun 24 08:17:10.055: Session Start Rsp result code = 0x0000
*Jun 24 08:17:10.063: np_ssm_session_state_reached_ntf():(1/47)
*Jun 24 08:17:10.063:  svc_type = 0x1500 svc_mode = 0 session_state =
ACTIVE
*Jun 24 08:17:10.063: CSM DSPLIB(1/47):DSPLIB_SIG_WAIT_ACTIVE: Signaling
session transition to ACTIVE
*Jun 24 08:17:10.063: sigsm:(1/47): sig_start API.
*Jun 24 08:17:10.063: sigsm:(1/47):SIG_STATE_START: Received event
'SIG_EVENT_START'
*Jun 24 08:17:10.063: sigsm:(1/47):SIG_STATE_R2: Received event
'SIG_EVENT_ENTERED'
*Jun 24 08:17:10.063: sigsm:R2: INCOMING IDLE Got START
*Jun 24 08:17:10.063: sigsm:R2: sig_r2_in_initialize
*Jun 24 08:17:10.063: sigsm:R2: sig_r2_send_digit digit 16
*Jun 24 08:17:10.063: sigsm:(1/47):SIG_STATE_R2: stopping R2 continuous
tone
*Jun 24 08:17:10.063: np_siglib_send_stop_digits_cmd():: count=8
0000   80 02 00 9B 00 00 15 01                            ........

*Jun 24 08:17:10.063: CSM DSPLIB(1/47): Modem went offhook
*Jun 24 08:17:10.063: CSM_PROC_IC1_COLLECT_ADDR_INFO:
CSM_EVENT_MODEM_OFFHOOK (DNIS=, ANI=) at slot 1, port 47
*Jun 24 08:17:10.063: CSM to NEAT:(002F) EVENT_CHANNEL_LOCK for slot 3
ctlr 1 chan 12
*Jun 24 08:17:10.067: CSM to NEAT:(002F) EVENT_VOICE_ANS for slot 3 ctlr
1 chan 12
*Jun 24 08:17:10.071: np_siglib_dispatch_rsp(), NP_Address: slot 1 dfc 0
module 1 spe 255
*Jun 24 08:17:10.071: np_siglib_dispatch_rsp(): count=12
0000   00 03 00 9B 00 00 15 FE 15 01 00 00                ............

*Jun 24 08:17:10.071: np_siglib_ack_rsp():, NP_Address: slot 1 dfc 0
module 1 spe 255
*Jun 24 08:17:10.071: sigsm:(1/47):SIG_STATE_R2: sig_digits_generated
API: success=TRUE
*Jun 24 08:17:10.071: sigsm:(1/47):SIG_STATE_R2: Received event
'SIG_EVENT_DIGITS_GENERATED'
*Jun 24 08:17:10.123: CSM_RX_CAS_EVENT_FROM_NEAT:(002F):
EVENT_START_RX_TONE at slot 1 and port 47
*Jun 24 08:17:10.123: from Trunk(3): (1/12): Tx SEIZURE_ACK (ABCD=1101)
*Jun 24 08:17:11.647: from Trunk(3): (1/12): Rx IDLE (ABCD=1001)
*Jun 24 08:17:11.731: from Trunk(3): (1/12): Tx IDLE (ABCD=1001)
*Jun 24 08:17:12.131:
CSM-TGRM:csm_rx_cas_event_from_neat:EVENT_CALL_IDLE - c(E1 3/1:2:13)
UPDATE: Success
*Jun 24 08:17:12.131: CSM_RX_CAS_EVENT_FROM_NEAT:(002F):
EVENT_CALL_IDLE at slot 1 port 47 cause 200
*Jun 24 08:17:12.131: (DNIS=, ANI=) at slot 1, port 47
*Jun 24 08:17:12.131: CSM DSPLIB(1/47): np_dsplib_call_hangup reason 0
*Jun 24 08:17:12.131: sigsm:(1/47):SIG_STATE_R2: sig_hangup API
*Jun 24 08:17:12.131: sigsm:(1/47):SIG_STATE_IDLE: Received event
'SIG_EVENT_ENTERED'
*Jun 24 08:17:12.131:    CID = 155
*Jun 24 08:17:12.131: NP Session Message Header:
*Jun 24 08:17:12.131: msg length = 0x0003
*Jun 24 08:17:12.131: session ID = 0x009B
*Jun 24 08:17:12.131:    msg tag = 0x1000
*Jun 24 08:17:12.131:     msg ID = 0xF103
*Jun 24 08:17:12.131: SESSION STOP Command at 0x412E308C
*Jun 24 08:17:12.131:  Reason Code 0
*Jun 24 08:17:12.131: np_ssm_session_stop():(1/47) Sending Command Msg
*Jun 24 08:17:12.131: np_ssm_session_stop():: count=12
0000   00 03 00 9B 10 00 F1 03 00 00 00 00                ............

*Jun 24 08:17:12.131:    CID = 155
*Jun 24 08:17:12.131: NP Session Message Header:
*Jun 24 08:17:12.131: msg length = 0x0004
*Jun 24 08:17:12.131: session ID = 0x009B
*Jun 24 08:17:12.131:    msg tag = 0x1000
*Jun 24 08:17:12.131:     msg ID = 0xF104
*Jun 24 08:17:12.131: SESSION CHANGE SERVICE Command at 0x410357AC
*Jun 24 08:17:12.131:   template# = 255, load S-Reg = 1, Data Q ID = 0
*Jun 24 08:17:12.131:   svc_id: type = 0x1100, mode = 0x0000
*Jun 24 08:17:12.131: np_ssm_session_change_service():: count=16
0000   00 04 00 9B 10 00 F1 04 11 00 00 00 00 01 FF
00    ................

*Jun 24 08:17:12.131: CSM(1/47): Enter csm_enter_disconnecting_state
*Jun 24 08:17:12.131: msg_to_calls_mgmt: msg type  received
*Jun 24 08:17:12.131: csm_call_prog_disc_reason - DATA
*Jun 24 08:17:12.131: tty=0x6345E024 num=263 port=47 slot=1 shelf=0
type=2 name=1/47 idb=0x6345C86C
*Jun 24 08:17:12.131: np_ssm_session_stop_rsp():(1/47)
*Jun 24 08:17:12.131: Session Stop Rsp result code = 0x0000
*Jun 24 08:17:12.131: np_ssm_session_state_reached_ntf():(1/47)
*Jun 24 08:17:12.131:  svc_type = 0x1500 svc_mode = 0 session_state =
FLUSHING
*Jun 24 08:17:12.131: CSM DSPLIB(1/47):DSPLIB_IDLE: Signaling session
transition to FLUSHING
*Jun 24 08:17:12.131: np_ssm_session_state_reached_ntf():(1/47)
*Jun 24 08:17:12.131:  svc_type = 0x1500 svc_mode = 0 session_state =
IDLE
*Jun 24 08:17:12.131: CSM DSPLIB(1/47):DSPLIB_IDLE: Signaling session
transition to IDLE
*Jun 24 08:17:12.131: CSM DSPLIB(1/47): Modem went onhook
*Jun 24 08:17:12.131: CSM_PROC_IC8_OC8_DISCONNECTING:
CSM_EVENT_MODEM_ONHOOK at slot 1, port 47
*Jun 24 08:17:12.131: CSM(1/47): Enter csm_enter_idle_state
*Jun 24 08:17:12.131: csm_call_prog_disc_reason - DATA
*Jun 24 08:17:12.131: tty=0x6345E024 num=263 port=47 slot=1 shelf=0
type=2 name=1/47 idb=0x6345C86C
*Jun 24 08:17:12.131: VDEV_DEALLOCATE: slot 1 and port 47 is deallocated

*Jun 24 08:17:12.135:     Response sent through Callback (Port 1/47)
*Jun 24 08:17:12.147: np_ssm_session_setup_complete_rsp():NP_Address:
slot 1 dfc 0 module 1 spe 255
*Jun 24 08:17:12.147: msg length = 0x0016
*Jun 24 08:17:12.147: session ID = 0x009B
*Jun 24 08:17:12.147:    msg tag = 0x1000
*Jun 24 08:17:12.147:     msg ID = 0xF180
*Jun 24 08:17:12.147: np_ssm_session_setup_complete_rsp():(1/47)
*Jun 24 08:17:12.147:  (1/47)Setup Result code = 0x00
*Jun 24 08:17:12.147: Setup TDM stream/channel = 0x00/0x11
*Jun 24 08:17:12.147: np_ssm_update_vdev_tdm_info():(1/47) st= 1, ch= 17
*Jun 24 08:17:12.147: np_ssm_session_state_reached_ntf():(1/47)
*Jun 24 08:17:12.147:  svc_type = 0x1100 svc_mode = 0 session_state =
IDLE
*Jun 24 08:17:12.147: CSM DSPLIB(1/47):DSPLIB_IDLE: Modem session
transition to IDLE





More information about the cisco-voip mailing list