AS5400 problem
Hello
I am sending call from a Nextone SBC to an AS5400. The AS5400 is routing the call but not putting any CDN into the ISDN setup message even though the incoming invite has the TO header populated with the number
I compared a good call to a bad and what I did notice is that the bad calls TO header looks like this coming into the 5400
To: 011861085208666<sip:[email protected]:5060>
A good call looks like this
To:<sip:[email protected]:5060>
Could the 5400 have a problem with the double format ? Has anybody seen this before ?
Here is the trace from the 5400 and you notice the CDN field is not populated in the outgoing ISDN setup.
Received:
INVITE sip:[email protected] SIP/2.0Max-Forwards: 69Session-Expires: 3600;Refresher=uacSupported: timer, 100relTo: 011861085208666 <sip:[email protected]:5060>From: .2127962106. <sip:[email protected]>;tag=3405179539-136721Call-ID: [email protected]: 1 INVITEAllow: INVITE, BYE, OPTIONS, CANCEL, ACK, REGISTER, NOTIFY, INFO, REFER, SUBSCRIBE, PRACK, UPDATEVia: SIP/2.0/UDP 38.117.159.146:5060;branch=z9hG4bKb65d5ae8d1e40a74ebd594e0e6e1e0a7Contact: <sip:[email protected]:5060>Call-Info: <sip:38.117.159.146>;method="NOTIFY;Event=telephone-event;Duration=1000"Content-Type: application/sdpContent-Length: 195v=0o=NTSBC1 2147483647 2110921806 IN IP4 38.117.159.146s=sip callc=IN IP4 38.117.159.147t=0 0m=audio 11810 RTP/AVP 0 18 4 2 2a=fmtp:18 annexb=noa=rtpmap:2 G726-32/8000a=ptime:20
Nov 27 19:12:19.100: ISDN Se1/0:28:23 Q931: Applying typeplan for sw-type 0xD is 0x2 0x1, Calling num 2127962106
Nov 27 19:12:19.100: ISDN Se1/0:28:23 Q931: Applying typeplan for sw-type 0xD is 0x0 0x0, Called num
Nov 27 19:12:19.100: ISDN Se1/0:28:23 Q931: TX -> SETUP pd = 8 callref = 0x56F6
Bearer Capability i = 0x8090A2
Standard = CCITT
Transfer Capability = Speech
Transfer Mode = Circuit
Transfer Rate = 64 kbit/s
Channel ID i = 0xA98397
Exclusive, Channel 23
Calling Party Number i = 0x2180, '2127962106'
Plan:ISDN, Type:National
Called Party Number i = 0x80
Plan:Unknown, Type:Unknown
I found the issue
This is what my dial peer looked like
dial-peer voice 28 pots
shutdown
destination-pattern 011861085208666
port 1/0:28:D
Here is what is looks like now
dial-peer voice 28 pots
shutdown
destination-pattern 0118610
port 1/0:28:D
Now the call works ! ?? The CDN is being placed into the ISDN setup properly
Bug ?
Is there a digit timer command I am missing here ?
Cisco IOS Software, 5400 Software (C5400-IS-M), Version 12.4(16), RELEASE SOFTWARE (fc1)
Similar Messages
-
PGW and AS5400 SS7 Interconnect PROBLEM
Hi everyone,
I desperately need your help! I am trying to enable dialup internet access termination on AS5400 using SS7 connection to telco switch via PGW v9.6.1. and integrated SLT. I am having trouble configuring the RLM control link between PGW and AS5400. PGW does not sent any rlm packets to as5400.
Here is the AS5400 config:
controller E1 6/0
framing NO-CRC4
channel-group 15 timeslots 16
pri-group timeslots 1-15,17-31 nfas_d primary nfas_int 0 nfas_group 0 rlm-group 0
interface Serial6/0:15
no ip address
encapsulation ss7
channel-id 0
interface Dchannel6/0
no ip address
encapsulation ppp
dialer rotary-group 0
dialer-group 1
no snmp trap link-status
isdn incoming-voice modem
rlm group 0
protocol rlm port 3001
server pgw
link address 10.10.2.10 source Loopback0 weight 1
ss7 set session-set 0 failover-timer 3
ss7 session 0 address 10.10.2.10 8061 10.10.1.220 8061 session-set 0
Here is PGW config
+++
prov-add:IPROUTE:NAME="iproute-2",DESC="AS5400",DEST="10.10.1.220",NETMASK="255.255.255.255",NEXTHOP="10.10.2.14",IPADDR="IP_Addr1",PRI=1
prov-add:OPC:NAME="opc-1",DESC="OPC",NETADDR="2.10.3",NETIND=2,TYPE="TRUEOPC"
prov-add:DPC:NAME="dpc-1",DESC="Point Code",NETADDR="1.9.0",NETIND=2
prov-add:SS7PATH:NAME="ss7p-1",DESC="SS7 Signaling Service",MDO="Q767_RUSS",CUSTGRPID="0001",SIDE="network",DPC="dpc-1",OPC="opc-1",M3UAKEY="",ORIGLABEL="",TERMLABEL=""
prov-add:EXTNODE:NAME="as17-5",DESC="AS17-5 Gateway",TYPE="AS5400",ISDNSIGTYPE="N/A",GROUP=0
prov-add:SESSIONSET:NAME="sessionset-1",EXTNODE="as17-5",IPADDR1="IP_Addr1",PEERADDR1="10.10.1.220",PORT=8061,PEERPORT=8061,TYPE="BSMV0"
prov-add:LNKSET:NAME="lnkset-1",DESC="Lnkset",APC="dpc-1",PROTO="SS7-ITU",TYPE="IP"
prov-add:SS7ROUTE:NAME="ss7r-1",DESC="SS7 Route",OPC="opc-1",DPC="dpc-1",LNKSET="lnkset-1",PRI=1
prov-add:NASPATH:NAME="signas-1",DESC="Naspath signaling service",EXTNODE="as17-5",MDO="BELL_1268_C2",CUSTGRPID="0000",SIGSLOT=0,SIGPORT=0
prov-add:C7IPLNK:NAME="c7ip-1",DESC="C7Iplink",LNKSET="lnkset-1",SLC=0,PRI=1,TIMESLOT=0,SESSIONSET="sessionset-1"
prov-add:IPLNK:NAME="iplnk-2",DESC="Iplnk to AS5400",SVC="signas-1",IPADDR="IP_Addr1",PORT=3001,PEERADDR="10.10.1.220",PEERPORT=3001,PRI=1,IPROUTE="iproute-2"
+++
The problem is that IP link to as5400 is not coming in-service and as a result the associated naspath control link is not coming up.
AS5400#sh rlm group 0
RLM Group 0 Status
User/Port: RLM_MGR/3001 ISDN/3002 RLM Version : 2
Link State: Down Last Link Status Reported: None
Next tx TID: 0 Last rx TID: 0
Server Link Group[pgw]: Last Reported Priority: UNKNOWN
link [10.10.1.220(Loopback0), 10.10.2.10] = socket[opening]
â¦skippedâ¦
RLM Group 0 Statistics
â¦
Server Link Group[pgw]:
Open the link [10.10.1.220(Loopback0), 10.10.2.10]:
last time occurred at Mar 12 10:46:42.564, success=0(0%), failure=8879
avg=0.000s, max=0.000s, min=0.000s, latest=0.000s
Echo over link [10.10.1.220(Loopback0), 10.10.2.10]:
last time occurred at Mar 12 10:47:18.565, success=0(0%), failure=541541
avg=0.000s, max=0.000s, min=0.000s, latest=0.000s
pgw mml> rtrv-alms:
MGC-01 - Media Gateway Controller 2008-03-12 10:50:06.280 EET
M RTRV
"iplnk-2: 2008-03-10 22:24:28.080 EET,ALM=\"SC FAIL\",SEV=MJ"
"signas-1: 2008-03-10 22:24:28.080 EET,ALM=\"FAIL\",SEV=MJ"
The strange thing is that I can't set IP Link IN-SERVICE:
pgw mml> set-iplnk:iplnk-2:
IS
OOS
FOOS
INH
UNH
confirm
<cr>
pgw mml> set-iplnk:iplnk-2:IS
MGC-01 - Media Gateway Controller 2008-03-12 10:50:49.151 EET
M DENY
IITA /* Input, Invalid Target */
pgw mml> rtrv-iplnk:all:
MGC-01 - Media Gateway Controller 2008-03-12 10:54:21.501 EET
M RTRV
"iplnk-2:OOS"
"sessionset-1-1:IS"
pgw mml> rtrv-iproute:all:
MGC-01 - Media Gateway Controller 2008-03-12 10:54:39.700 EET
M RTRV
"iproute-2:IS"
/* Route to AS5400 */
pgw mml>
The packet trace shows that PGW is NOT sending any rlm packets to AS5400.
PLEASE HELP!Following links may help you
http://www.cisco.com/en/US/products/hw/vcallcon/ps2027/products_implementation_design_guide_chapter09186a00800c1a3b.html
http://www.cisco.com/en/US/products/hw/vcallcon/ps2027/products_getting_started_guide_chapter09186a00800b4191.html -
Problem with "show isdn active " command AS5400
When i type "show isdn active " to see the actice voice calls , sometimes i dont se the calls , but my network management tool is showing me that there are active calls . I have check on the other side from where im sending the calls and i see the calls
Ewerything else is looking normal.
Details :
AS5400
IOS Version 12.3(4)T
Who knows what happens?
Thx , CristiMay be due to the bug CSCea54139 which is fixed in 12.3(5.4) 12.3(5.5)T
-
Hi,
I have an AS5400 with 8E1.
When I'm trying to make a call from an E1 and exit from another E1, it works.
But when I use a softphone or another gateway, the call goes unconnected and I have on my traces this line :
- ISDN Se7/7:15 SC Q931: TX -> DISCONNECT pd = 8 callref = 0x0033
- Cause i = 0x80E6 - Recovery on timer expiry
- ISDN Se7/7:15 SC Q931: RX <- RELEASE_COMP pd = 8 callref = 0x8033
- Cause i = 0x83D1 - Invalid call reference value
- ISDN Se7/7:15 SC **ERROR**: CCPRI_Go: call id 0x803B event 0x57 No ccb Source->HOST
What does it mean ?
The E1s seem to be ok as I can call through them when I use directly the gw, but it doesn't work when I use another gw or a softphone.
Please, anyone has an idea ?
Thanks in advace.
Fethi.Here the q931 debug :
May 17 12:38:42 gw-01 5486: May 17 11:38:42.152: ISDN Se7/7:15 SC Q931: TX -> SETUP pd = 8 callref = 0x0012
May 17 12:38:42 gw-01 5487: Bearer Capability i = 0x9090A3
May 17 12:38:42 gw-01 5488: Standard = CCITT
May 17 12:38:42 gw-01 5489: Transer Capability = 3.1kHz Audio
May 17 12:38:42 gw-01 5490: Transfer Mode = Circuit
May 17 12:38:42 gw-01 5491: Transfer Rate = 64 kbit/s
May 17 12:38:42 gw-01 5492: Channel ID i = 0xE180839F
May 17 12:38:42 gw-01 5493: Preferred, Interface 0, Channel 31
May 17 12:38:42 gw-01 5494: Facility i = 0x9E0100036774640000004D49414D2C0D0A4745412C747273332C30302C312C792C792C312C3135353233303
738390D0A4743492C34303633346233383339343430313166313562376537393433643332383330310D0A0D0A
May 17 12:38:42 gw-01 5495: Display i = 'DoubleCall'
May 17 12:38:42 gw-01 5496: Calling Party Number i = 0x2180, '012782230'
May 17 12:38:42 gw-01 5497: Plan:ISDN, Type:National
May 17 12:38:42 gw-01 5498: Called Party Number i = 0xA1, '0021262313039'
May 17 12:38:42 gw-01 5499: Plan:ISDN, Type:National
May 17 12:38:43 gw-01 5500: May 17 11:38:42.168: ISDN Se7/7:15 SC Q931: RX <- CALL_PROC pd = 8 callref = 0x8012
May 17 12:38:43 gw-01 5501: Channel ID i = 0xE180839F
May 17 12:38:43 gw-01 5502: Preferred, Interface 0, Channel 31
May 17 12:39:43 gw-01 5704: May 17 11:39:42.168: ISDN Se7/7:15 SC Q931: TX -> DISCONNECT pd = 8 callref = 0x0012
May 17 12:39:43 gw-01 5705: Cause i = 0x80E6 - Recovery on timer expiry
May 17 12:39:43 gw-01 5706: May 17 11:39:42.184: ISDN Se7/7:15 SC Q931: RX <- RELEASE_COMP pd = 8 callref = 0x8012
May 17 12:39:43 gw-01 5707: Cause i = 0x83D1 - Invalid call reference value
May 17 12:39:43 gw-01 5708: May 17 11:39:42.188: ISDN Se7/7:15 SC **ERROR**: CCPRI_Go: call id 0x801A event 0x57 No ccb Source->HOST
And here the dialpeer conf :
dial-peer voice 50 pots
permission orig
huntstop
incoming called-number 012785550
port 7/0:D
dial-peer voice 156 pots
permission term
destination-pattern 00T
no digit-strip
port 7/7:D
When testing directly with the gw, I use the dialpeer 50 and out with the 156.
Thanks in advance. -
Q-sig Integration AS5400 / Hicon 300 E
I have a AS5400 router, and it has two E1/R2 interfaces and One E1/PRI(ISDN/QSIG).The first E1(6/7) are linked with PBX (ISDN Q-Sig) and the second E1 I used to remote access with E1 R2 linked with PSTN it's work fine.
The problem is with ISDN/Q-SIG voice works:
Below the configuration: (sh ver, Debug q931 and 921)
Phone -- PABX/Hicom 300 -- E1/PRI(ISDN-Qsig) -- AS5400 --- 2621 -- E1/R2 -- PABX/Hicom 300 Phone
AS5400#sh run
Building configuration...
Current configuration : 6990 bytes
version 12.2
service timestamps debug datetime msec localtime show-timezone
service timestamps log datetime msec localtime show-timezone
service password-encryption
service pt-vty-logging
hostname AS5400
boot system flash c5400-is-mz.122-15.T1.bin
no boot startup-test
logging queue-limit 100
no logging rate-limit
no logging console
resource-pool disable
clock timezone BRA -3
spe country e1-default
spe default-firmware spe-firmware-1
ip subnet-zero
no ip source-route
ip cef
isdn switch-type primary-qsig
isdn voice-call-failure 0
voice call send-alert
voice call convert-discpi-to-prog
voice call carrier capacity active
voice rtp send-recv
voice service voip
fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback none
h323
voice class codec 1
codec preference 1 g726r32
voice class codec 2
codec preference 1 g729br8
codec preference 5 g726r32
no voice hpi capture buffer
no voice hpi capture destination
mta receive maximum-recipients 0
controller E1 6/0
framing NO-CRC4
ds0-group 0 timeslots 1-15,17-31 type r2-digital r2-compelled ani
ds0 busyout 27-31 soft
cas-custom 0
country brazil
metering
seizure-ack-time 2
category 2
answer-signal group-b 1
dnis-digits min 3 max 12
answer-guard-time 1
description *** E1/R2 / PABX ***
controller E1 6/1
framing NO-CRC4
ds0-group 0 timeslots 1-15,17-31 type r2-digital r2-compelled
cas-custom 0
country brazil
metering
seizure-ack-time 2
category 2
answer-signal group-b 1
dnis-digits min 3 max 12
answer-guard-time 1
description *** E1/R2 / PABX ***
controller E1 6/2
controller E1 6/3
controller E1 6/4
controller E1 6/5
controller E1 6/6
controller E1 6/7
pri-group timeslots 1-8,16
description *** E1/PRI ISDN Q-sig / PABX ***
interface FastEthernet0/0
ip address xxxxxxxxxxxxxxxxxx
ip route-cache flow
duplex full
speed 100
no cdp enable
interface FastEthernet0/1
ip address xxxxxxxxxxxxxxxxxxxx
load-interval 30
duplex full
speed auto
no cdp enable
hold-queue 75 in
interface Serial6/7:15
no ip address
isdn switch-type primary-qsig
isdn overlap-receiving
isdn incoming-voice modem
isdn guard-timer 3000
isdn contiguous-bchan
isdn bchan-number-order ascending
isdn sending-complete
no cdp enable
interface Group-Async0
no ip address
group-range 1/00 3/107
ip classless
ip route 0.0.0.0 0.0.0.0 xxxxxxxxx
no ip http server
call rsvp-sync
call progress tone country brazil
voice-port 6/0:0
input gain -5
output attenuation -5
compand-type a-law
cptone BR
timeouts initial 0
timeouts interdigit 0
timeouts call-disconnect 3
timeouts wait-release 3
voice-port 6/1:0
input gain -5
output attenuation -5
compand-type a-law
cptone BR
voice-port 6/7:D
bearer-cap Speech
mgcp profile default
dial-peer cor custom
dial-peer voice 1 pots
description *** xxxxxxxxxxxxxxxx ***
preference 1
destination-pattern 514...
progress_ind alert enable 8
direct-inward-dial
port 6/0:0
prefix 4
dial-peer voice 4 voip
description *** xxxxxxxxxxx ***
destination-pattern 0115509....
voice-class codec 1
session target ipv4:xxxxxxxxxx
fax rate 14400
fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback none
dial-peer voice 150 voip
description *** xxxxxxxxxxxxxx ***
preference 3
destination-pattern 2301T
progress_ind setup enable 3
voice-class codec 1
session target ipv4:xxxxxxxxx
fax rate 14400
fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback none
dial-peer voice 5 pots
description *** xxxxxxxxxxxxxxxx ***
preference 5
destination-pattern 514...
direct-inward-dial
port 6/1:0
forward-digits 3
prefix 4
dial-peer voice 7 pots
description *** xxxxxxxxxxxxxxx ***
preference 3
destination-pattern 515T
direct-inward-dial
port 6/1:0
forward-digits 3
prefix 5
dial-peer voice 100 voip
description *** xxxxxxxxxxxx ***
destination-pattern 110T
voice-class codec 1
session target ipv4:xxxxxxxxxx
fax rate 14400
fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback none
dial-peer voice 159 voip
description *** ISDN-Qsig ***
destination-pattern 590115509....
voice-class codec 1
session target ipv4:xxxx
no vad
line 3/00 3/107
no flush-at-activation
modem InOut
scheduler allocate 10000 400
end
AS5400#sh ver
Cisco Internetwork Operating System Software
IOS (tm) 5400 Software (C5400-IS-M), Version 12.2(15)T1, RELEASE SOFTWARE (fc1)
TAC Support: http://www.cisco.com/tac
Copyright (c) 1986-2003 by cisco Systems, Inc.
Compiled Thu 27-Mar-03 07:42 by ccai
Image text-base: 0x6000895C, data-base: 0x61600000
ROM: System Bootstrap, Version 12.2(1r)1, RELEASE SOFTWARE (fc1)
BOOTLDR: 5400 Software (C5400-BOOT-M), Version 12.1(1)XD1, EARLY DEPLOYMENT RELEASE SOFTWARE (fc2)
voz2-poa uptime is 21 hours, 15 minutes
System returned to ROM by reload at 12:24:43 BRA Thu Apr 24 2003
System image file is "flash:c5400-is-mz.122-15.T1.bin"
cisco AS5400 (R7K) processor (revision T) with 262144K/65536K bytes of memory.
Processor board ID JAE053503JM
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 0x31,
Board Hardware Version 3.27, Item Number 800-5171-02,
Board Revision A0, Serial Number JAE053503JM,
PLD/ISP Version 2.2, Manufacture Date 3-Sep-2001.
Processor 0x14, MAC Address 0x0653455054
Backplane HW Revision 1.0, Flash Type 5V
2 FastEthernet/IEEE 802.3 interface(s)
19 Serial network interface(s)
276 terminal line(s)
16 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
AS5400#
AS5400#debug isdn q931
debug isdn q931 is ON.
voz2-poa#debug isdn q921
debug isdn q921 is ON.
voz2-poa#
*Apr 24 10:34:01.444 BRA: ISDN Se6/7:15 Q921: User RX <- RRp sapi=0 tei=0 nr=0
*Apr 24 10:34:01.444 BRA: ISDN Se6/7:15 Q921: User TX -> RRf sapi=0 tei=0 nr=66
*Apr 24 10:34:10.096 BRA: ISDN Se6/7:15 Q921: User RX <- INFO sapi=0 tei=0, ns=66 nr=0
*Apr 24 10:34:10.096 BRA: ISDN Se6/7:15 Q931: SEGMENT pd = 8 callref = 0x007F
Segmented Message i = 0x8105
1st segment. Segments remaining : 1
*Apr 24 10:34:10.096 BRA: ISDN Se6/7:15 Q921: User TX -> RR sapi=0 tei=0 nr=67
*Apr 24 10:34:10.120 BRA: ISDN Se6/7:15 Q921: User RX <- INFO sapi=0 tei=0, ns=67 nr=0
*Apr 24 10:34:10.120 BRA: ISDN Se6/7:15 Q931: SEGMENT pd = 8 callref = 0x007F
Segmented Message i = 0x0005
Segments remaining : 0
*Apr 24 10:34:10.120 BRA: ISDN Se6/7:15 Q921: User TX -> RR sapi=0 tei=0 nr=68
*Apr 24 10:34:10.120 BRA: ISDN Se6/7:15 Q931: RX <-
*Apr 24 10:34:10.120 BRA: ISDN Se6/7:15 Q931: SETUP pd = 8 callref = 0x007F (re-assembled)
Bearer Capability i = 0x9090A3
Standard = CCITT
Transer Capability = 3.1kHz Audio
Transfer Mode = Circuit
Transfer Rate = 64 kbit/s
Channel ID i = 0xA98382
Exclusive, Channel 2
Facility i = 0x91AA068001008201008B0100A1150202243006082B0C02885302010603050101000000
Facility i = 0x91AA068001018201018B0100A1580202244006082B0C0288530201073048A2463044810100820101A30BA0098004343136310A0100A40B80033230313004800200C8A50C8004343136313004800200C8A614800D353930313135353039393035303003800164
Facility i = 0x91AA068001018201018B0100A1300202245006082B0C0288530201043020800332303102030ACB48800332303102030ACB49A004800200C8A104800200C8
Facility i = 0x91AA068001008201008B0102A1140202246002013B300B30090A01050A01030A0104
Facility i = 0x91AA068001008201008B0100A11C0202247006042B0C0900A110040B4A4F414F204152414E4441020101
Facility i = 0x91AA068001008201018B0100A1330202248006082B0C0288530201003023822101039E00A0031A0200000001000000000000840E38208F0480C500000404008884
Progress Ind i = 0x8183 - Origination address is non-ISDN
Calling Party Number i = 0x0083, '4161'
Plan:Unknown, Type:Unknown
Called Party Number i = 0x80, '5901155099050'
Plan:Unknown, Type:Unknown
*Apr 24 10:34:10.120 BRA: ISDN **ERROR**: Module-CCPQSIG Function-CCPQSIG_CallOffered Error-Unknown event 0x4E
*Apr 24 10:34:14.064 BRA: ISDN Se6/7:15 Q921: User RX <- INFO sapi=0 tei=0, ns=68 nr=0
*Apr 24 10:34:14.064 BRA: ISDN Se6/7:15 Q931: RELEASE_COMP pd = 8 callref = 0x007F
Cause i = 0x80E6333033 - Recovery on timer expiry
*Apr 24 10:34:14.064 BRA: ISDN Se6/7:15 Q921: User TX -> RR sapi=0 tei=0 nr=69
AS5400#
Any idea?
Can someone help me?
RegardsThe call received on AS5400 over isdn-qsig line was disconnected because of CALL-PROCEEDING was not received by PBX/Hicom switch.
So number 5901155099050 will match the voip dial-peer 159 and ip call will be initiated to 2621. Now 2621 will initiate the call over E1-R2 to pbx/switch and call-proceeding has to be generated by that switch which will be forwarded back to isdn-qsig switch/pbx. I think that delayed too much and finally switch may have timedout and disconnect the call.
So turn on "debug voip ccapi inout" and "debug isdn q931" on both the gateways involved to see what happened with that call. -
Have problem with Fax in AS5400HPX Voice Gateway
I've problem in my system.AS5400 Voicegateway.when I send fax from my system,it's ok.But when i receive fax from another number in out system,data in fax loss.about 1/2 data in paper loss.
-from my system to outside :ok
-from outside to my system: not good
please help meHi,
FYI, you can see the file configuration of AS5400. Please detect this issue to correct for my customers as soon as you can.
Thanks
Vo. -
Dear All
I like to know exact reason,imact and how to solve this Cisoc MGW AS5400 level issue.
we are getting following logs on MGW adn i want to knwo reason behind this logs,impact and how to resolve this. As per my observation this logs failing calls with error gw-resources unavailable. MGW reboot will spve the problem?
12:18:08.187: MTP2 Retrieval == TRUE, fsnf(44)<--(fsnc(43) + 1)...1703304300
May 27 12:20:46.185: MTP2 Retrieval == TRUE, fsnf(78)<--(fsnc(77) + 1)...1703304300
Regards
AmitHello Amit,
>> log 1. SSERTION FAILED: file "../as/if_as_tdm.c", line 2923 -Traceback= 0x601FF08C 0x602E6E44 0x6261DE7C 0x628BE2F8 0x61C8C548 0x61775148 0x61775610 0x61C77690
this a SW defect as you can see the error refers to a routine written in C language
>> log 2 %CALL_CONTROL-6-CALL_LOOP: The incoming call has a global identfier already present in the list of currently handled calls. It is being refused
this is clearly the sign that the call could not be accepted.
if the problem is not caused by resources exhaustion ( B channels on device) and i is a SW defect an IOS upgrade might be of help.
Hope to help
Giuseppe -
AS5400 framed-ip not working?
Hi, we just setup an AS5400 in place of an old dial-up chassis and are having a problem getting framed-ip information from RADIUS assigned to the client computer. Instead it seems to just use a random IP from the DHCP pool.
Debugging does show the IP coming across in attribute 8.
Running IOS (tm) 5400 Software (C5400-IS-M), Version 12.3(3g), RELEASE SOFTWARE (fc1)
Thanks.figured it out.
For anyone else wondering... just add this to your setup.
"aaa authorization network default group radius local" -
Hi,
I have a Cisco AS5400 (R7K) processor (revision T) with 524288K/131072K bytes of memory.
I am sending SIP and H323 calls to it.
The problem is that it is not accepting any codec other than G729.
What should i do enable these codec on it?
Any suggestion will be appreciated.In the configuration that i have on cisco as5300, i don't have a voip dial-peer.
I have a pots dial-peer that is accepting the incoming voip calls and in pots dial-peer, i don't see any option of voice-class codec command.
here is the dial-peer
dial-peer voice 1 pots
destination-pattern xxxx#T
progress_ind setup enable 3
progress_ind alert enable 8
direct-inward-dial
port 7/0:1:D
any suggestion is appreciated. -
AS5400 Performance runining Both H323 and SIP
Dear All,
Is there any way to run Voice Gateway like AS5400 with two protocol H323 and SIP simultaneously? Any voice gateway performance afftected? or Voice quality affected? if we run both protocol in only one gateway?
Best Regards,
DanethAS5400 supports H.323 and SIP dial-peer at the same time without problems.
I've used AS5400 in IP2IP gateway mode to convert SIP in H.323 and vice versa with about 150 concurrent calls.
In lab I also tested SIP, H.323 and MGCP at same time.
In default configuration SIP and H.323 are both active.
AS5400 uses H.323 like default signalling protocol. Is sufficient create a voip dial-peer. To specify SIP you must use the command "session protocol sipv2" under a dial-peer.
To shut down SIP use
voice service voip
sip
call service stop
To shut down H.323 use
no gateway -
GTD and OLI (origination line information). problem
Hello Everybody ..(sorry for my english)
Im having a problem with a cisco AS5400 and my isdn provider.
I can't recognize a payphone call.I mean that I can recognize the OLI (origination line information)
to know the origination line type.
I have configured the GTD as cisco describes here http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122newft/122t/122t15/ftgtdisd.htm.
this is my conf .. I have a T3 ,so i configured 28 T1 and 28 serial interfaces.
I only need to receive calls so i don't use voice ports to outgoing calls.
controller T3 6/0
framing m23
clock source line
cablelength 450
t1 1-28 controller
exit
controller T1 6/0:1
framing esf
pri-group timeslots 1-24
trunk-group NY timeslots 1-24
description PAETEC#1
exit
interface Serial6/0:1:23
no ip address
isdn switch-type primary-ni
isdn incoming-voice modem
no isdn incoming alerting add-PI
no cdp enable
isdn ie oli 37
isdn gtd
exit
I debuged the isdn to analize an incoming packet when a call is from a payphone.
This is the packet:
6w0d: ISDN Se6/0:26:23 Q931: RX <- SETUP pd = 8 callref = 0x0144
Bearer Capability i = 0x8090A2
Standard = CCITT
Transfer Capability = Speech
Transfer Mode = Circuit
Transfer Rate = 64 kbit/s
Channel ID i = 0xA9838A
Exclusive, Channel 10
Progress Ind i = 0x8283 - Origination address is non-ISDN
Calling Party Number i = 0x2183, '2019439707'
Plan:ISDN, Type:National
Called Party Number i = 0xA1, '8004010562'
Plan:ISDN, Type:National
Transit Net Select i = 0xA1, '340'
Locking Shift to Codeset 6
Codeset 6 IE 0x37 i = 0x04, 'r'
6w0d: ISDN Se6/0:26:23 Q931d: L3IF_rx_L2_pak: received data
6w0d: 080201440504038090A21803A9838A1E
6w0d: 0282836C0C2183323031393433393730
6w0d: 37700BA1383030343031303536327804
6w0d: A13334309637020472
Here i can see de OLI (origination line information) in the last four bytes of the isdn packet:
"37020472"
In my configuration I used "isdn ie oli 37" so the cisco can recognice the oli and try to parse it:
so ,we have
"37" oli ie identificator.
"02" size of the oli info (2 bytes)
0472 oli info. where 72 means the origination line type. payphone must be in this case but
"72" isn't in the cisco doc that I posted above.
In the cisco doc they tell that payphone is:
27payphone using coin control signaling
so 0x72 .. must be 0x27 .. the byte is reversed.
I think thats my problem ,but i didn't find anything to reverse the byte again to obtain an 0x27..
somebody know how to fix it?.Check the version of the software running with
http://www.cisco.com/go/fn -
Multiple SLT support on AS5400
Hi,
I am having problems finding a good example with a AS5400 supporting more then 2 SLT, especially the coorelation with the timeslot parameter in the PGW (prov-add:c7iplnk).
I have always thought that the timeslot parameter corespond to the physical location of the port in the GW. I currently using version 9.5.2 on the PGW.
Anyone have a good example/explanation about this?
cheers,
JohanI guess your are using the Integrated SLT feature on the AS?
The mml parameter "timeslot" is referenced by the IOS parameter "channel-id" under the serial interface configuration for the SS7 signalling channel.
As follows:
controller e1 7/3
channel-group 1 timeslot 2
!The actual timeslot number containing SS7 !signalling is Timeslot 2 in the E1
!There is a caveat, that the channel-group !number MUST be the timeslot number minus 1
!Logical interface is now created based on the !channel-group number
interface serial 7/3:1
encaps ss7
channel-id 3
!Now, the mml "timeslot" parameter would need to be set to 3 -
I am trying to implement some kind of a server listening for requests. The listener part of the app, is a daemon thread that listens for connections and instantiates a handling daemon thread once it gets some. However, my problem is that i must be able to kill the listening thread at the user's will (say via a sto button). I have done this via the Sun's proposed way, by testing a boolean flag in the loop, which is set to false when i wish to kill the thread. The problem with this thing is the following...
Once the thread starts excecuting, it will test the flag, find it true and enter the loop. At some point it will LOCK on the server socket waiting for connection. Unless some client actually connects, it will keep on listening indefinatelly whithought ever bothering to check for the flag again (no matter how many times you set the damn thing to false).
My question is this: Is there any real, non-theoretical, applied way to stop thread in java safely?
Thank you in advance,
LeftyThis was one solution from the socket programming forum, have you tried this??
public Thread MyThread extends Thread{
boolean active = true;
public void run(){
ss.setSoTimeout(90);
while (active){
try{
serverSocket = ss.accept();
catch (SocketTimeoutException ste){
// do nothing
// interrupt thread
public void deactivate(){
active = false;
// you gotta sleep for a time longer than the
// accept() timeout to make sure that timeout is finished.
try{
sleep(91);
}catch (InterruptedException ie){
interrupt();
} -
A problem with Threads and MMapi
I am tring to execute a class based on Game canvas.
The problem begin when I try to Play both a MIDI tone and to run an infinit Thread loop.
The MIDI tone "Stammers".
How to over come the problem?
Thanks in advance
Kobi
See Code example below:
import java.io.IOException;
import java.io.InputStream;
import javax.microedition.lcdui.Graphics;
import javax.microedition.lcdui.Image;
import javax.microedition.lcdui.game.GameCanvas;
import javax.microedition.media.Manager;
import javax.microedition.media.MediaException;
import javax.microedition.media.Player;
public class MainScreenCanvas extends GameCanvas implements Runnable {
private MainMIDlet parent;
private boolean mTrucking = false;
Image imgBackgound = null;
int imgBackgoundX = 0, imgBackgoundY = 0;
Player player;
public MainScreenCanvas(MainMIDlet parent)
super(true);
this.parent = parent;
try
imgBackgound = Image.createImage("/images/area03_bkg0.png");
imgBackgoundX = this.getWidth() - imgBackgound.getWidth();
imgBackgoundY = this.getHeight() - imgBackgound.getHeight();
catch(Exception e)
System.out.println(e.getMessage());
* starts thread
public void start()
mTrucking = true;
Thread t = new Thread(this);
t.start();
* stops thread
public void stop()
mTrucking = false;
public void play()
try
InputStream is = getClass().getResourceAsStream("/sounds/scale.mid");
player = Manager.createPlayer(is, "audio/midi");
player.setLoopCount(-1);
player.prefetch();
player.start();
catch(Exception e)
System.out.println(e.getMessage());
public void run()
Graphics g = getGraphics();
play();
while (true)
tick();
input();
render(g);
* responsible for object movements
private void tick()
* response to key input
private void input()
int keyStates = getKeyStates();
if ((keyStates & LEFT_PRESSED) != 0)
imgBackgoundX++;
if (imgBackgoundX > 0)
imgBackgoundX = 0;
if ((keyStates & RIGHT_PRESSED) != 0)
imgBackgoundX--;
if (imgBackgoundX < this.getWidth() - imgBackgound.getWidth())
imgBackgoundX = this.getWidth() - imgBackgound.getWidth();
* Responsible for the drawing
* @param g
private void render(Graphics g)
g.drawImage(imgBackgound, imgBackgoundX, imgBackgoundY, Graphics.TOP | Graphics.LEFT);
this.flushGraphics();
}You can also try to provide a greater Priority to your player thread so that it gains the CPU time when ever it needs it and don't harm the playback.
However a loop in a Thread and that to an infinite loop is one kind of very bad programming, 'cuz the loop eats up most of your CPU time which in turn adds up more delays of the execution of other tasks (just as in your case it is the playback). By witting codes bit efficiently and planning out the architectural execution flow of the app before start writing the code helps solve these kind of issues.
You can go through [this simple tutorial|http://oreilly.com/catalog/expjava/excerpt/index.html] about Basics of Java and Threads to know more about threads.
Regds,
SD
N.B. And yes there are more articles and tutorials available but much of them targets the Java SE / EE, but if you want to read them here is [another great one straight from SUN|http://java.sun.com/docs/books/tutorial/essential/concurrency/index.html] .
Edited by: find_suvro@SDN on 7 Nov, 2008 12:00 PM -
Hi all,
I would like to ask you for a help. I need to write a small program at my university. I started to write a midlet which function would be to countdown time for sports activities. I woul like to start a new thread - the one that counts down - and at the same time make the main thread sleep. After the "countdown" thread finishes, the main thread wakes up and waits for user input. The problem is that when the "countdown" thread finishes his work, I've got Uncaught exception java/lang/NullPointerException. error and the midlet halts.
Below you can find the code
import java.lang.*;
import java.util.*;
import javax.microedition.lcdui.*;
import javax.microedition.midlet.*;
public class intervals extends MIDlet implements CommandListener
public Display ekran;
private SweepCanvas sweeper;
private Form rundy;
private TextField round0, round1, round2, round3, round4, round5, round6, round7, round8;
private long czas,x;
private Command exitCommand;
private Command addRound;
private Command delRound;
private Command start;
private TextField repeat;
private Form odliczanie;
private Alert ostrz;
Licznik thread;
String test;
StringItem test1;
int parz,i,j,k;
static int l;
int ilrund;
int ilpowt;
Item sec;
long sec1;
public intervals()
rundy = new Form("Interwały sportowe");
exitCommand = new Command("Wyjście", Command.EXIT, 2);
addRound = new Command("Dodaj","Dodaj rundę", Command.ITEM,1);
delRound = new Command("Usuń","Usuń ostatnią rundę", Command.ITEM,1);
start = new Command("Start", Command.ITEM,1);
odliczanie = new Form("Odliczanie");
TextField dodaj(TextField kolej)
kolej=new TextField("Podaj czas (s) rundy "+parz,null, 4, TextField.NUMERIC);//stworzenie nowej instancji do wybierania czasu trwania rundy
if(rundy.size()==0)
rundy.insert(rundy.size(),kolej);
else
rundy.insert(rundy.size()-1, kolej);
return kolej;
void odliczanie(TextField round)
monitor m=new monitor();
k=Integer.parseInt(round.getString());
ekran.setCurrent(odliczanie);
thread=new Licznik(k,odliczanie);
thread.start();
ekran.setCurrent(rundy);
public void startApp()// throws MIDletStateChangeException
rundy.deleteAll();
repeat = new TextField("Podaj ilość powtórzeń",null,1,TextField.NUMERIC);
rundy.addCommand(addRound);
rundy.addCommand(exitCommand);
rundy.setCommandListener(this);
Canvas obrazek = new MyCanvas();
ekran = Display.getDisplay(this);
ekran.setCurrent(obrazek);
czas=System.currentTimeMillis();
while (System.currentTimeMillis()<czas+1000)
continue;
ekran.setCurrent(rundy);
public void pauseApp()
public void destroyApp(boolean unconditional)
notifyDestroyed();
public void commandAction(Command c, Displayable s)
if (c == exitCommand)
destroyApp(false);
notifyDestroyed();
else if(c==addRound)
if(rundy.size()==0)//Sprawdzenie ilości elementów w celu poprawnego wyświetlania liczby rund w formie
parz=1;
else
parz=rundy.size();
switch(parz)
case 1:
round0=dodaj(round0);break;
case 2:
round1=dodaj(round1);break;
case 3:
round2= dodaj(round2);break;
case 4:
round3=dodaj(round3);break;
case 5:
round4=dodaj(round4);break;
default:
ostrz=new Alert("Uwaga","Maksymalna liczba rund wynosi 9", null, AlertType.INFO);
ostrz.setTimeout(3000);
ekran.setCurrent(ostrz);
if(rundy.size()==1)
rundy.append(repeat);
rundy.addCommand(start);
rundy.addCommand(delRound);
else if(c==delRound)
if(rundy.size()!=0)
rundy.delete(rundy.size()-2);
if (rundy.size()==1)
rundy.deleteAll();
if(rundy.size()==0)
rundy.removeCommand(delRound);
rundy.removeCommand(start);
else if(c==start)
ilrund=rundy.size()-1;
if(this.repeat.size()>0)
ilpowt=Integer.parseInt(this.repeat.getString());
ekran = Display.getDisplay(this);
for (i=1; i<=ilpowt;i++)
odliczanie= new Form("Odliczanie");
for (j=0;j<ilrund;j++)
switch(j)
case 0:
odliczanie(round0);
break;
case 1:
odliczanie(round1);
break;
case 2:
odliczanie(round2);
break;
case 3:
odliczanie(round3);
break;
case 4:
odliczanie(round4);
break;
case 5:
odliczanie(round5);
break;
case 6:
odliczanie(round6);
break;
case 7:
odliczanie(round7);
break;
case 8:
odliczanie(round8);
break;
class Licznik extends Thread
int czas1,k;
Form forma;
monitor m;
public Licznik(int k,Form formap)
czas1=k;
forma=formap;
public synchronized void run()
while(czas1>0)
forma.deleteAll();
forma.append("Czas pozostały (s): "+czas1);
try{Thread.sleep(1000);} catch(InterruptedException e){e.printStackTrace();}
czas1--;
if(czas1<=0)
m.put();
}and monitor class
public class monitor
boolean busy=false;
synchronized void get()
if(!busy)
try
wait();
}catch(InterruptedException e){e.printStackTrace();}
notify();
synchronized void put()
if(busy)
try
wait();
}catch(InterruptedException e){e.printStackTrace();}
busy=true;
notify();
}Can anybody help me with this?Groovemaker,
Your Licznik class has a member m of type monitor, which has not been instantiated (in other words is null) hence, when calling m.put() you get NullPointerException. Please also mind, that using Thread.sleep(1000) is not an accurate way of measuring time.
If I may, please use recommended for Java class naming conventions - some of your names use lower case, while other don't which is confusing to the reader.
Daniel
Maybe you are looking for
-
ICloud will not allow me to create an email alias
Although I have only 2 of my 3 alias opportunities taken, I have been unable to create a third alias. I have probably tried over 100 variations on my name. After getting the message "This Alias is Not Available" EVERY time, I began to get suspicious
-
F110 printing checks at payment run stage
Hi All, while hitting payment run button(F110), system is scheduling background job which is including all 3 steps: SAPF110S SAPFPAYM_SCHEDULE RFFOUS_C thus as soon as user hit pmnt run SAP is printing check also. thus printout tab is not useful. thi
-
Leopard 10.5.3 - Login Items still Crash
This is the exact steps I took in the past hour. Nothing was omitted. Installed a freshly, re-partition and totally erased Leopard 10.5 on a white Macbook. Ran software update, downloaded and installed 10.5.3. Opened up Directory Utility. Bound to AD
-
Hi, I need to schedule a job which calls unix script from the server. Can we use DBA scheduler, if yes, how should we go about it? Could anybody please suggest anything on this? Any help is appreciated. Thanks, Neha
-
Not sure if this is an iCal or a Wiki Server Prob. Background to the Problem : My partner and I where working together on separate Mac's but in the same office. We were both bouncing between wiki and our online calendars to sort out the weeks appoint