cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1801
Views
0
Helpful
2
Replies

CUBE SIP Error 500 Internal Server Error on outbound pickup

hwong3168
Level 1
Level 1

Hi, 

I was wondering anyone can help provide some insights to this problem I've been having.

I've been trying to get a 2911 to be a border controller between my internal SIP unit and our ITSP.

SIP appliance <--> CUBE <--> ITSP.

Inbound works perfectly fine, however attempting most outbound calls would result in a disconnect the moment the call is answered. This probably could have been a codec issue but both my SIP server and the ITSP has been configured to use g711alaw. Strangely enough calls to our old ISDN setup with CUCM from this SIP configuration works, even though the calls are routed through the ITSP, but calls to my mobile phone does not.

The full logs are attached but this is the section that baffles me:

Feb 6 00:50:32.129: //4703/E25EB58396D6/CCAPI/cc_api_caps_ind:
Destination Interface=0x3D326FD0, Destination Call Id=4702, Source Call Id=4703,
Caps(Codec=0x2, Fax Rate=0x2, Fax Version:=0, Vad=0x1,
Modem=0x0, Codec Bytes=160, Signal Type=2)
Feb 6 00:50:32.129: //4703/E25EB58396D6/CCAPI/cc_api_caps_ind:
Caps(Playout Mode=1, Playout Initial=60(ms), Playout Min=40(ms),
Playout Max=1000(ms), Fax Nom=300(ms))
Feb 6 00:50:32.129: //4702/E25EB58396D6/CCAPI/cc_api_caps_ack:
Destination Interface=0x3D326FD0, Destination Call Id=4703, Source Call Id=4702,
Caps(Codec=g711alaw(0x2), Fax Rate=FAX_RATE_VOICE(0x2), Fax Version:=0, Vad=OFF(0x1),
Modem=OFF(0x0), Codec Bytes=160, Signal Type=2, Seq Num Start=2914)
Feb 6 00:50:32.129: //4702/E25EB58396D6/CCAPI/cc_api_caps_ack:
Destination Interface=0x3D326FD0, Destination Call Id=4703, Source Call Id=4702,
Caps(Codec=g711alaw(0x2), Fax Rate=FAX_RATE_VOICE(0x2), Fax Version:=0, Vad=OFF(0x1),
Modem=OFF(0x0), Codec Bytes=160, Signal Type=2, Seq Num Start=2914)
Feb 6 00:50:32.129: //4703/E25EB58396D6/CCAPI/cc_api_event_indication:
Event=101, Call Id=4703
Feb 6 00:50:32.129: //4703/E25EB58396D6/CCAPI/cc_api_event_indication:
Event Is Sent To Conferenced SPI(s) Directly
Feb 6 00:50:32.129: //4703/E25EB58396D6/CCAPI/cc_api_call_connected:
Interface=0x3D326FD0, Data Bitmask=0x1, Progress Indication=NULL(0),
Connection Handle=0
Feb 6 00:50:32.129: //4703/E25EB58396D6/CCAPI/cc_api_call_connected:
Call Entry(Connected=TRUE, Responsed=TRUE, Retry Count=0)
Feb 6 00:50:32.129: //4703/E25EB58396D6/CCAPI/cc_api_event_indication:
Event=109, Call Id=4703
Feb 6 00:50:32.129: //4703/E25EB58396D6/CCAPI/cc_api_event_indication:
Event Is Sent To Conferenced SPI(s) Directly
Feb 6 00:50:32.133: //4703/E25EB58396D6/CCAPI/cc_api_event_indication:
Event=205, Call Id=4703
Feb 6 00:50:32.133: //4703/E25EB58396D6/CCAPI/cc_api_event_indication:
Event Is Sent To Conferenced SPI(s) Directly
Feb 6 00:50:32.133: //4702/E25EB58396D6/CCAPI/ccGetMediaClassTag:
media class tag 0
Feb 6 00:50:32.133: //4702/E25EB58396D6/CCAPI/ccSetMediaclassIp2ipTags:
media class tags set: NR 0, ASP 0
Feb 6 00:50:32.133: //4703/E25EB58396D6/CCAPI/ccGetMediaClassTag:
media class tag 0
Feb 6 00:50:32.133: //4703/E25EB58396D6/CCAPI/ccSetMediaclassIp2ipTags:
media class tags set: NR 0, ASP 0
Feb 6 00:50:32.133: //4702/E25EB58396D6/CCAPI/ccGet_xc_nr_asp_info:
media class tags: NR 0, ASP 0
Feb 6 00:50:32.133: //4703/E25EB58396D6/CCAPI/ccGet_xc_nr_asp_info:
media class tags: NR 0, ASP 0
Feb 6 00:50:32.133: //4702/E25EB58396D6/CCAPI/cc_api_event_indication:
Event=193, Call Id=4702
Feb 6 00:50:32.133: //4702/E25EB58396D6/CCAPI/cc_api_event_indication:
Event Is Sent To Conferenced SPI(s) Directly
Feb 6 00:50:32.133: //4703/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

Feb 6 00:50:32.133: cc_api_get_xcode_stream : 4936
Feb 6 00:50:32.133: //4702/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

Feb 6 00:50:32.133: cc_api_get_xcode_stream : 4936
Feb 6 00:50:32.133: //4703/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

Feb 6 00:50:32.133: cc_api_get_xcode_stream : 4936
Feb 6 00:50:32.133: //4703/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

Feb 6 00:50:32.133: cc_api_get_xcode_stream : 4936
Feb 6 00:50:32.133: //4702/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

Feb 6 00:50:32.133: cc_api_get_xcode_stream : 4936
Feb 6 00:50:32.133: //4703/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

Feb 6 00:50:32.133: cc_api_get_xcode_stream : 4936
Feb 6 00:50:32.133: //4702/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

Feb 6 00:50:32.133: cc_api_get_xcode_stream : 4936
Feb 6 00:50:32.133: //4702/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

Feb 6 00:50:32.133: cc_api_get_xcode_stream : 4936
Feb 6 00:50:32.133: //4703/E25EB58396D6/SIP/Msg/ccsipDisplayMsg:
Sent:
ACK sip:0422222222@10.97.23.10:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 172.29.33.12:5060;branch=z9hG4bK2BE17FA
From: "Acme" <sip:0388888888@172.29.33.12>;tag=162C8DD0-25EE
To: <sip:0422222222@10.97.23.10>;tag=12230
Date: Sun, 05 Feb 2017 13:50:27 GMT
Call-ID: E26089FA-EAE011E6-96DCA594-C678A16A@172.29.33.12
Max-Forwards: 70
CSeq: 101 ACK
Allow-Events: telephone-event
Content-Length: 0


Feb 6 00:50:32.133: //4702/E25EB58396D6/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 500 Internal Server Error
Via: SIP/2.0/UDP 172.29.30.160:5060;branch=z9hG4bK1690983860SU5JTi9pM3NpcC4t_2824168582_
From: "Acme" <sip:+61388888888@172.29.30.160;user=phone>;tag=oOuosu4
To: "Australia" <sip:+61422222222@172.29.33.12;user=phone>;tag=162C8E98-CEB
Call-ID: 0075888f-f230-4507-9d51-3d9722682e75
CSeq: 1 INVITE
Content-Length: 0


Feb 6 00:50:32.133: //4702/E25EB58396D6/CCAPI/ccCallConnect:
Progress Indication=NULL(0), Data Bitmask=0x1
Feb 6 00:50:32.133: //4702/E25EB58396D6/CCAPI/ccCallConnect:
Call Entry(Connected=TRUE, Responsed=TRUE)
Feb 6 00:50:32.137: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
ACK sip:+61422222222@172.29.33.12:5060;transport=udp;user=phone SIP/2.0
To: "Australia" <sip:+61422222222@172.29.33.12;user=phone>;tag=162C8E98-CEB
From: "Acme" <sip:+61388888888@172.29.30.160;user=phone>;tag=oOuosu4
CSeq: 1 ACK
Call-ID: 0075888f-f230-4507-9d51-3d9722682e75
Max-Forwards: 70
Via: SIP/2.0/UDP 172.29.30.160:5060;branch=z9hG4bK1690983860SU5JTi9pM3NpcC4t_2824168582_

User-Agent: ININ-EDGE/1.0.0.5458
Content-Length: 0

2 Replies 2

sanjaydevan
Level 1
Level 1

Server error because it is routing to a invalid IP address in the session target.

Look at dial-peer 3000,

Per the logs the CUBE send a error message as server error since it cannot route. Change the Session target to 172.29.30.160 and i think that might work


Outgoing Dial-peer=3000,

Incoming Dial-peer=2500

dial-peer voice 3000 voip
description INTERNALSIP OUT to AAPT
translation-profile outgoing OUTBOUND_PSTN_XLATE_ISIP
preference 10
destination-pattern +61[23478]........
session protocol sipv2
session target ipv4:10.97.23.10
session transport udp
voice-class codec 1
dtmf-relay rtp-nte
no vad

Please rate useful post!!!

I relooked something else..

Do you have the device " ININ-EDGE/1.0.0.5458 " to accept PRACK?

Please check that.

Regards

Devan

Please rate useful posts!