cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2038
Views
0
Helpful
3
Replies

Sip messages for outbound calls

zeinab.mahdavi
Level 1
Level 1

Dear All,

1. I need to make a communication between our softphone to PSTN . when I call from sophtphone(caller)  , the cisco as5350 create a session progress and when the callee (not caller) reject the call without answering it , the cisco must send "busy here" message , but it send it after 30 sec , I think this is the timeout of sip , we also have another cisco device with same configuration in another center but it send the busy here immediately after the callee discounect the call.

  * what command it must be configured on cisco ?

2. another question is that when I dialed a number , the cisco make two session progress for that so 2 times the cell phone rings. specially when ever the callee reject the call. and instead of busy here it send "404 not found" message.

  * Is it possible it because of the registeration message that the cisco sent

    in the middle of the communication and after the first "session Progress"?

Following is the "debug ccsip all " output :

Received:

INVITE sip:19909127708134@10.31.2.235:5060 SIP/2.0

Via: SIP/2.0/UDP 10.31.2.228:5060;branch=z9hG4bK-74681ea7-c035-47ba-9cf8-21df54f47a4e-ppco

Max-Forwards: 10

Contact: <sip:666@10.31.2.228:5060>

To: "0dd20cd3-6a22-4dba-b56f-feeed064ce5d@10.31.2.228"<sip:19909127708134@10.31.2.228>

From: "666"<sip:666@10.31.2.228>;tag=840974541

Call-ID: 0dd20cd3-6a22-4dba-b56f-feeed064ce5d@10.31.2.228

CSeq: 1 INVITE

Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, REGISTER, SUBSCRIBE, INFO

Supported: replaces

User-Agent: UMSV

Graph-Track: #1:0>

Content-Type: application/sdp

Content-Length: 194

v=0

o=- 88211 88211 IN IP4 10.31.2.228

s=UMSV

c=IN IP4 10.31.2.228

t=0 0

m=audio 6232 RTP/AVP 8 101

a=rtpmap:8 PCMA/8000

a=ptime:20

a=rtpmap:101 telephone-event/8000

a=fmtp:101 0-15

Sent:

SIP/2.0 100 Trying

Via: SIP/2.0/UDP 10.31.2.228:5060;branch=z9hG4bK-74681ea7-c035-47ba-9cf8-21df54f47a4e-ppco

From: "666"<sip:666@10.31.2.228>;tag=840974541

To: "0dd20cd3-6a22-4dba-b56f-feeed064ce5d@10.31.2.228"<sip:19909127708134@10.31.2.228>;tag=9E3248-F68

Date: Thu, 22 Apr 2004 15:41:05 GMT

Call-ID: 0dd20cd3-6a22-4dba-b56f-feeed064ce5d@10.31.2.228

Server: Cisco-SIPGateway/IOS-12.x

CSeq: 1 INVITE

Allow-Events: telephone-event

Content-Length: 0

*Apr 22 20:11:09: //23707/4D2F5C258DD7/SIP/Info/ccsip_get_rtcp_session_parameters: CURRENT VALUES: stream_callid=23707, current_s

eq_num=0x1BA0

*Apr 22 20:11:09: //23707/4D2F5C258DD7/SIP/Info/ccsip_get_rtcp_session_parameters: NEW VALUES: stream_callid=23707, current_seq_n

um=0x843

*Apr 22 20:11:09: //23707/4D2F5C258DD7/SIP/Info/ccsip_caps_ind: Load DSP with negotiated codec: g711alaw, Bytes=160

*Apr 22 20:11:09: //23707/4D2F5C258DD7/SIP/Info/ccsip_caps_ind: Set forking flag to 0x0

*Apr 22 20:11:09: //23707/4D2F5C258DD7/SIP/Info/sipSPISetDTMFRelayMode: Set DSP for dtmf-relay = CC_CAP_DTMF_RELAY_NTE_AND_OOB

*Apr 22 20:11:09: //23707/4D2F5C258DD7/SIP/Info/sip_set_modem_caps: Preferred (or the one that came from DSM) modem relay=0, from

CLI config=0

*Apr 22 20:11:09: //23707/4D2F5C258DD7/SIP/Info/sip_set_modem_caps: Disabling Modem Relay...

*Apr 22 20:11:09: //23707/4D2F5C258DD7/SIP/Info/sip_generate_sdp_xcaps_list: Modem Relay and T38 disabled. X-cap not needed

*Apr 22 20:11:09: //23707/4D2F5C258DD7/SIP/Info/sip_set_modem_caps: Negotiation already Done. Set negotiated Modem caps and gener

ate SDP Xcap list

*Apr 22 20:11:09: //23707/4D2F5C258DD7/SIP/Info/sip_set_modem_caps: Modem Relay & Passthru both disabled

*Apr 22 20:11:09: //23707/4D2F5C258DD7/SIP/Info/sip_set_modem_caps: nse payload = 0, ptru mode = 0, ptru-codec=0, redundancy=0, x

id=0, relay=0, sprt-retry=12, latecncy=200, compres-dir=3, dict=1024, strnlen=32

*Apr 22 20:11:09: //23707/4D2F5C258DD7/SIP/Media/sipSPISetStreamInfo: 1 Active Streams

*Apr 22 20:11:09: //23707/4D2F5C258DD7/SIP/Media/sipSPISetStreamInfo: Adding stream type (voice+dtmf) from media line 1

*Apr 22 20:11:09: //23707/4D2F5C258DD7/SIP/Media/sipSPISetStreamInfo:

caps.stream_count=1,caps.stream[0].stream_type=0x2, caps.stream_list.xmitFunc=

*Apr 22 20:11:09: //23707/4D2F5C258DD7/SIP/Media/sipSPISetStreamInfo: voip_rtp_xmit, caps.stream_list.context=

*Apr 22 20:11:09: //23707/4D2F5C258DD7/SIP/Media/sipSPISetStreamInfo: 0x636524C0 (gccb)

*Apr 22 20:11:09: //23707/4D2F5C258DD7/SIP/Info/ccsip_caps_ind: Load DSP with codec : g711alaw, Bytes=160

*Apr 22 20:11:09: //23707/4D2F5C258DD7/SIP/Info/ccsip_caps_ind: ccsip_caps_ind: ccb->flags_ipip = 0x603

*Apr 22 20:11:09: //23707/4D2F5C258DD7/SIP/Info/ccsip_caps_ack: Set forking flag to 0x3

*Apr 22 20:11:09: //23707/4D2F5C258DD7/SIP/Info/sipSPIValidateGtd: Signal Forward disabled

*Apr 22 20:11:09: //23707/4D2F5C258DD7/SIP/Info/sipSPISendInviteResponse183: Session Type is Media/Qos/Security/RTR SDP body is a

ttached

*Apr 22 20:11:09: //23707/4D2F5C258DD7/SIP/Transport/sipSPISendInviteResponse: Sending 183 Response to the Transport Layer

*Apr 22 20:11:09: //23707/4D2F5C258DD7/SIP/Transport/sipSPITransportSendMessage: msg=0x65A45FEC, addr=10.31.2.228, port=5060, sen

tBy_port=5060, is_req=0, transport=1, switch=0, callBack=0x6159C0E4

*Apr 22 20:11:09: //23707/4D2F5C258DD7/SIP/Transport/sipSPITransportSendMessage: Proceedable for sending msg immediately

*Apr 22 20:11:09: //23707/4D2F5C258DD7/SIP/Transport/sipTransportLogicSendMsg: switch transport is 0

*Apr 22 20:11:09: //-1/xxxxxxxxxxxx/SIP/Transport/sipTransportPostSendMessage: Posting send for msg=0x65A45FEC, addr=10.31.2.228,

port=5060, connId=0 for UDP

*Apr 22 20:11:09: //23707/4D2F5C258DD7/SIP/Info/sentInviteResponse18x: Sent a 18x Response

*Apr 22 20:11:09: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:

Sent:

SIP/2.0 183 Session Progress

Via: SIP/2.0/UDP 10.31.2.228:5060;branch=z9hG4bK-74681ea7-c035-47ba-9cf8-21df54f47a4e-ppco

From: "666"<sip:666@10.31.2.228>;tag=840974541

To: "0dd20cd3-6a22-4dba-b56f-feeed064ce5d@10.31.2.228"<sip:19909127708134@10.31.2.228>;tag=9E3248-F68

Date: Thu, 22 Apr 2004 15:41:05 GMT

Call-ID: 0dd20cd3-6a22-4dba-b56f-feeed064ce5d@10.31.2.228

Server: Cisco-SIPGateway/IOS-12.x

CSeq: 1 INVITE

Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, COMET, REFER, SUBSCRIBE, NOTIFY, INFO, UPDATE, REGISTER

Allow-Events: telephone-event

Contact: <sip:19909127708134@10.31.2.235:5060>

Content-Disposition: session;handling=required

Content-Type: application/sdp

Content-Length: 244

v=0

o=CiscoSystemsSIP-GW-UserAgent 8897 1451 IN IP4 10.31.2.235

s=SIP Call

c=IN IP4 10.31.2.235

t=0 0

m=audio 19514 RTP/AVP 8 101

c=IN IP4 10.31.2.235

a=rtpmap:8 PCMA/8000

a=rtpmap:101 telephone-event/8000

a=fmtp:101 0-15

a=ptime:20

*Apr 22 20:11:11: //-1/000000000000/SIP/State/sipSPIChangeState: 0x65FB2EC4 : State change from (STATE_NONE, SUBSTATE_NONE)  to (

SIP_STATE_OUTGOING_REGISTER, SUBSTATE_NONE)

*Apr 22 20:11:11: //-1/000000000000/SIP/Info/sipSPIUaddCcbToUACTable: ****Adding to UAC table.

*Apr 22 20:11:11: //-1/000000000000/SIP/Info/sipSPIUaddCcbToTable: Added to table. ccb=0x65FB2EC4 key=262731F-73A311D8-A8BAA69D-3

66BA9F5

*Apr 22 20:11:11: //-1/000000000000/SIP/Transport/sipSPISendRegister: Sending REGISTER to the transport layer

*Apr 22 20:11:11: //-1/000000000000/SIP/Transport/sipSPIGetSwitchTransportFlag: Return the Global configuration, Switch Transport

is FALSE

*Apr 22 20:11:11: //-1/000000000000/SIP/Transport/sipSPITransportSendMessage: msg=0x65A45FEC, addr=10.31.2.228, port=5060, sentBy

_port=0, is_req=1, transport=1, switch=0, callBack=0x615A5A84

*Apr 22 20:11:11: //-1/000000000000/SIP/Transport/sipSPITransportSendMessage: Proceedable for sending msg immediately

*Apr 22 20:11:11: //-1/000000000000/SIP/Transport/sipTransportLogicSendMsg: switch transport is 0

*Apr 22 20:11:11: //-1/000000000000/SIP/Transport/sipTransportLogicSendMsg: Set to send the msg=0x65A45FEC

*Apr 22 20:11:11: //-1/xxxxxxxxxxxx/SIP/Transport/sipTransportPostSendMessage: Posting send for msg=0x65A45FEC, addr=10.31.2.228,

port=5060, connId=1 for UDP

*Apr 22 20:11:11: //-1/000000000000/SIP/State/sipSPIChangeState: 0x65FB2EC4 : State change from (SIP_STATE_OUTGOING_REGISTER, SUB

STATE_NONE)  to (SIP_STATE_OUTGOING_REGISTER, SUBSTATE_NONE)

*Apr 22 20:11:11: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:

Sent:

REGISTER sip:10.31.2.228:5060 SIP/2.0

Via: SIP/2.0/UDP  10.31.2.235:5060;branch=z9hG4bK271B51EC6

From: ".+" <sip:.+@10.31.2.228>;tag=9E4A08-12EC

To: ".+" <sip:.+@10.31.2.228>

Date: Thu, 22 Apr 2004 15:41:11 GMT

Call-ID: 262731F-73A311D8-A8BAA69D-366BA9F5

User-Agent: Cisco-SIPGateway/IOS-12.x

Max-Forwards: 70

Timestamp: 1082648471

CSeq: 73335 REGISTER

Contact: <sip:.+@10.31.2.235:5060>

Expires: 60

Content-Length: 0

*Apr 22 20:11:11: //-1/xxxxxxxxxxxx/SIP/Info/httpish_msg_process_network_msg: Content Length 0, Bytes Remaining 2

*Apr 22 20:11:11: //-1/xxxxxxxxxxxx/SIP/Info/HandleUdpSocketReads: Msg enqueued for SPI with IP addr: 10.31.2.228:5060

*Apr 22 20:11:11: //-1/xxxxxxxxxxxx/SIP/Transport/sipTransportProcessNWNewConnMsg: context=0x00000000

*Apr 22 20:11:11: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:

Received:

SIP/2.0 200 Ok

Via: SIP/2.0/UDP 10.31.2.235:5060;branch=z9hG4bK271B51EC6;rport=5060

From: ".+"<sip:.+@10.31.2.228>;tag=9E4A08-12EC

To: ".+"<sip:.+@10.31.2.228>

Date: Thu, 22 Apr 2004 15:41:11 GMT

Call-ID: 262731F-73A311D8-A8BAA69D-366BA9F5

User-Agent: Cisco-SIPGateway/IOS-12.x

Max-Forwards: 70

Timestamp: 1082648471

CSeq: 73335 REGISTER

Contact: <sip:.+@10.31.2.235:5060>

Expires: 60

Content-Length: 0

*Apr 22 20:11:11: //-1/000000000000/SIP/Info/sipSPIUdeleteCcbFromUACTable: ****Deleting from UAC table.

*Apr 22 20:11:11: //-1/000000000000/SIP/Info/sipSPIUdeleteCcbFromTable: Deleting from table. ccb=0x65FB2EC4 key=262731F-73A311D8-

A8BAA69D-366BA9F5

*Apr 22 20:11:11: //-1/000000000000/SIP/Info/sipSPIFlushEventBufferQueue: There are 0 events on the internal queue that are going

to be free'd

*Apr 22 20:11:11: //-1/000000000000/SIP/Info/sipSPIUfreeOneCCB: Freeing ccb 65FB2EC4

*Apr 22 20:11:14: //-1/000000000000/SIP/State/sipSPIChangeState: 0x6600D5AC : State change from (STATE_NONE, SUBSTATE_NONE)  to (

SIP_STATE_OUTGOING_REGISTER, SUBSTATE_NONE)

*Apr 22 20:11:14: //-1/000000000000/SIP/Info/sipSPIUaddCcbToUACTable: ****Adding to UAC table.

*Apr 22 20:11:14: //-1/000000000000/SIP/Info/sipSPIUaddCcbToTable: Added to table. ccb=0x6600D5AC key=3D0F15A5-73A411D8-A8BBA69D-

366BA9F5

*Apr 22 20:11:14: //-1/000000000000/SIP/Transport/sipSPISendRegister: Sending REGISTER to the transport layer

*Apr 22 20:11:14: //-1/000000000000/SIP/Transport/sipSPIGetSwitchTransportFlag: Return the Global configuration, Switch Transport

is FALSE

*Apr 22 20:11:14: //-1/000000000000/SIP/Transport/sipSPITransportSendMessage: msg=0x65A46A9C, addr=10.31.2.228, port=5060, sentBy

_port=0, is_req=1, transport=1, switch=0, callBack=0x615A5A84

*Apr 22 20:11:14: //-1/000000000000/SIP/Transport/sipSPITransportSendMessage: Proceedable for sending msg immediately

*Apr 22 20:11:14: //-1/000000000000/SIP/Transport/sipTransportLogicSendMsg: switch transport is 0

*Apr 22 20:11:14: //-1/000000000000/SIP/Transport/sipTransportLogicSendMsg: Set to send the msg=0x65A46A9C

*Apr 22 20:11:14: //-1/xxxxxxxxxxxx/SIP/Transport/sipTransportPostSendMessage: Posting send for msg=0x65A46A9C, addr=10.31.2.228,

port=5060, connId=1 for UDP

*Apr 22 20:11:14: //-1/000000000000/SIP/State/sipSPIChangeState: 0x6600D5AC : State change from (SIP_STATE_OUTGOING_REGISTER, SUB

STATE_NONE)  to (SIP_STATE_OUTGOING_REGISTER, SUBSTATE_NONE)

*Apr 22 20:11:14: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:

Sent:

REGISTER sip:10.31.2.228:5060 SIP/2.0

Via: SIP/2.0/UDP  10.31.2.235:5060;branch=z9hG4bK271B65B0

From: "1116" <sip:1116@10.31.2.228>;tag=9E536C-B62

To: "1116" <sip:1116@10.31.2.228>

Date: Thu, 22 Apr 2004 15:41:14 GMT

Call-ID: 3D0F15A5-73A411D8-A8BBA69D-366BA9F5

User-Agent: Cisco-SIPGateway/IOS-12.x

Max-Forwards: 70

Timestamp: 1082648474

CSeq: 73327 REGISTER

Contact: <sip:1116@10.31.2.235:5060>

Expires: 60

Content-Length: 0

*Apr 22 20:11:14: //-1/xxxxxxxxxxxx/SIP/Info/httpish_msg_process_network_msg: Content Length 0, Bytes Remaining 2

*Apr 22 20:11:14: //-1/xxxxxxxxxxxx/SIP/Info/HandleUdpSocketReads: Msg enqueued for SPI with IP addr: 10.31.2.228:5060

*Apr 22 20:11:14: //-1/xxxxxxxxxxxx/SIP/Transport/sipTransportProcessNWNewConnMsg: context=0x00000000

*Apr 22 20:11:14: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:

Received:

SIP/2.0 200 Ok

Via: SIP/2.0/UDP 10.31.2.235:5060;branch=z9hG4bK271B65B0;rport=5060

From: "1116"<sip:1116@10.31.2.228>;tag=9E536C-B62

To: "1116"<sip:1116@10.31.2.228>

Date: Thu, 22 Apr 2004 15:41:14 GMT

Call-ID: 3D0F15A5-73A411D8-A8BBA69D-366BA9F5

User-Agent: Cisco-SIPGateway/IOS-12.x

Max-Forwards: 70

Timestamp: 1082648474

CSeq: 73327 REGISTER

Contact: <sip:1116@10.31.2.235:5060>

Expires: 60

Content-Length: 0

*Apr 22 20:12:02: //-1/xxxxxxxxxxxx/SIP/Info/httpish_msg_process_network_msg: Content Length 0, Bytes Remaining 2

*Apr 22 20:12:02: //-1/xxxxxxxxxxxx/SIP/Info/HandleUdpSocketReads: Msg enqueued for SPI with IP addr: 10.31.2.228:5060

*Apr 22 20:12:02: //-1/xxxxxxxxxxxx/SIP/Transport/sipTransportProcessNWNewConnMsg: context=0x00000000

*Apr 22 20:12:02: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:

*Apr 22 20:12:02: //-1/000000000000/SIP/Info/sipSPIUdeleteCcbFromUACTable: ****Deleting from UAC table.

*Apr 22 20:12:02: //-1/000000000000/SIP/Info/sipSPIUdeleteCcbFromTable: Deleting from table. ccb=0x65F3EF00 key=3D0F15A5-73A411D8

-A8BBA69D-366BA9F5

*Apr 22 20:12:02: //-1/000000000000/SIP/Info/sipSPIFlushEventBufferQueue: There are 0 events on the internal queue that are going

to be free'd

*Apr 22 20:12:02: //-1/000000000000/SIP/Info/sipSPIUfreeOneCCB: Freeing ccb 65F3EF00

*Apr 22 20:12:04: //-1/xxxxxxxxxxxx/SIP/Info/ccsip_event_handler:

*Apr 22 20:12:04: //-1/xxxxxxxxxxxx/SIP/Info/ccsip_event_handler: switch(ev.ev_id: 137)

*Apr 22 20:12:04: //23707/4D2F5C258DD7/SIP/Info/ccsip_event_handler:

ccsip_event_handler: peer ID 23709 chans 0x636C8C38 event 137 flags 0x1002003A 0x603 data 0x636C8C38

*Apr 22 20:12:04: //23707/4D2F5C258DD7/SIP/Info/ccsip_event_handler:

ccsip_event_handler: CC_EV_H245_SET_MODE: peer ID 23709 chans 0x636C8C38 event 137 flags  0x1002003A 0x603 data 0x636C8C38

*Apr 22 20:12:04: //23707/4D2F5C258DD7/SIP/Info/ccsip_event_handler:

ccsip_event_handler: CC_EV_H245_SET_MODE: peer ID 23709 chans 0x636C8C38 event 137 flags 0x1002003A 0x603 data 0x636C8C38, type

= 6

*Apr 22 20:12:04: //23707/4D2F5C258DD7/SIP/Info/ccsip_event_handler:

ccsip_event_handler: !!!!!CC_EV_H245_SET_MODE: not clearing VTSP flag

*Apr 22 20:12:04: //-1/xxxxxxxxxxxx/SIP/Info/ccsip_event_handler: CC_R_SUCCESS_WITH_CONFIRMED

*Apr 22 20:12:08: //-1/xxxxxxxxxxxx/SIP/Event/sipSPIEventInfo: Queued event from SIP SPI : SIPSPI_EV_CC_CALL_ALERTING

*Apr 22 20:12:08: //23707/4D2F5C258DD7/SIP/Info/ccsip_bridge: confID = 7645, srcCallID = 23707, dstCallID = 23709

*Apr 22 20:12:08: //23707/4D2F5C258DD7/SIP/Info/sipSPIUupdateCcCallIds: Old src/dest ccCallids: 23707/-1, new src/dest ccCallids:

23707/23709

*Apr 22 20:12:08: //23707/4D2F5C258DD7/SIP/Info/sipSPIUupdateCcCallIds: Old streamcallid=23707, new streamcallid=23707

*Apr 22 20:12:08: //23707/4D2F5C258DD7/SIP/Media/sipSPIProcessRtpSessions: sipSPIProcessRtpSessions

*Apr 22 20:12:08: //23707/4D2F5C258DD7/SIP/Media/sipSPIUpdateRtcpSession: sipSPIUpdateRtcpSession for m-line 1

*Apr 22 20:12:08: //23707/4D2F5C258DD7/SIP/Media/sipSPIUpdateRtcpSession: rtcp_session info

laddr = 10.31.2.235, lport = 19514, raddr = 10.31.2.228, rport=6232, do_rtcp=TRUE

src_callid = 23707, dest_callid = 23709, stream type = voice+dtmf, stream direction = SENDRECV

media_ip_addr = 10.31.2.228

*Apr 22 20:12:08: //23707/4D2F5C258DD7/SIP/Media/sipSPIUpdateRtcpSession: RTP session already created - update

*Apr 22 20:12:08: //23707/4D2F5C258DD7/SIP/Info/ccsip_get_rtcp_session_parameters: CURRENT VALUES: stream_callid=23707, current_s

eq_num=0x843

*Apr 22 20:12:08: //23707/4D2F5C258DD7/SIP/Info/ccsip_get_rtcp_session_parameters: NEW VALUES: stream_callid=23707, current_seq_n

um=0xB379

*Apr 22 20:12:08: //23707/4D2F5C258DD7/SIP/Info/ccsip_caps_ind: Load DSP with negotiated codec: g711alaw, Bytes=160

*Apr 22 20:12:08: //23707/4D2F5C258DD7/SIP/Info/ccsip_caps_ind: Set forking flag to 0x0

*Apr 22 20:12:08: //23707/4D2F5C258DD7/SIP/Info/sipSPISetDTMFRelayMode: Set DSP for dtmf-relay = CC_CAP_DTMF_RELAY_NTE_AND_OOB

*Apr 22 20:12:08: //23707/4D2F5C258DD7/SIP/Info/sip_set_modem_caps: Preferred (or the one that came from DSM) modem relay=0, from

CLI config=0

*Apr 22 20:12:08: //23707/4D2F5C258DD7/SIP/Info/sip_set_modem_caps: Disabling Modem Relay...

*Apr 22 20:12:08: //23707/4D2F5C258DD7/SIP/Info/sip_generate_sdp_xcaps_list: Modem Relay and T38 disabled. X-cap not needed

*Apr 22 20:12:08: //23707/4D2F5C258DD7/SIP/Info/sip_set_modem_caps: Negotiation already Done. Set negotiated Modem caps and gener

ate SDP Xcap list

*Apr 22 20:12:08: //23707/4D2F5C258DD7/SIP/Info/sip_set_modem_caps: Modem Relay & Passthru both disabled

*Apr 22 20:12:08: //23707/4D2F5C258DD7/SIP/Info/sip_set_modem_caps: nse payload = 0, ptru mode = 0, ptru-codec=0, redundancy=0, x

id=0, relay=0, sprt-retry=12, latecncy=200, compres-dir=3, dict=1024, strnlen=32

*Apr 22 20:12:08: //23707/4D2F5C258DD7/SIP/Media/sipSPISetStreamInfo: 1 Active Streams

*Apr 22 20:12:08: //23707/4D2F5C258DD7/SIP/Media/sipSPISetStreamInfo: Adding stream type (voice+dtmf) from media line 1

*Apr 22 20:12:08: //23707/4D2F5C258DD7/SIP/Media/sipSPISetStreamInfo:

caps.stream_count=1,caps.stream[0].stream_type=0x2, caps.stream_list.xmitFunc=

*Apr 22 20:12:08: //23707/4D2F5C258DD7/SIP/Media/sipSPISetStreamInfo: voip_rtp_xmit, caps.stream_list.context=

*Apr 22 20:12:08: //23707/4D2F5C258DD7/SIP/Media/sipSPISetStreamInfo: 0x636524C0 (gccb)

*Apr 22 20:12:08: //23707/4D2F5C258DD7/SIP/Info/ccsip_caps_ind: Load DSP with codec : g711alaw, Bytes=160

*Apr 22 20:12:08: //23707/4D2F5C258DD7/SIP/Info/ccsip_caps_ind: ccsip_caps_ind: ccb->flags_ipip = 0x603

*Apr 22 20:12:08: //23707/4D2F5C258DD7/SIP/Info/sipSPIValidateGtd: Signal Forward disabled

*Apr 22 20:12:08: //23707/4D2F5C258DD7/SIP/Info/sipSPISendInviteResponse183: Session Type is Media/Qos/Security/RTR SDP body is a

ttached

*Apr 22 20:12:08: //23707/4D2F5C258DD7/SIP/Transport/sipSPISendInviteResponse: Sending 183 Response to the Transport Layer

*Apr 22 20:12:08: //23707/4D2F5C258DD7/SIP/Transport/sipSPITransportSendMessage: msg=0x65A4526C, addr=10.31.2.228, port=5060, sen

tBy_port=5060, is_req=0, transport=1, switch=0, callBack=0x6159C0E4

*Apr 22 20:12:08: //23707/4D2F5C258DD7/SIP/Transport/sipSPITransportSendMessage: Proceedable for sending msg immediately

*Apr 22 20:12:08: //23707/4D2F5C258DD7/SIP/Transport/sipTransportLogicSendMsg: switch transport is 0

*Apr 22 20:12:08: //-1/xxxxxxxxxxxx/SIP/Transport/sipTransportPostSendMessage: Posting send for msg=0x65A4526C, addr=10.31.2.228,

port=5060, connId=0 for UDP

*Apr 22 20:12:08: //23707/4D2F5C258DD7/SIP/Info/sentInviteResponse18x: Sent a 18x Response

*Apr 22 20:12:08: //23707/4D2F5C258DD7/SIP/Info/ccsip_caps_ack: Set forking flag to 0x3

*Apr 22 20:12:08: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:

Sent:

SIP/2.0 183 Session Progress

Via: SIP/2.0/UDP 10.31.2.228:5060;branch=z9hG4bK-74681ea7-c035-47ba-9cf8-21df54f47a4e-ppco

From: "666"<sip:666@10.31.2.228>;tag=840974541

To: "0dd20cd3-6a22-4dba-b56f-feeed064ce5d@10.31.2.228"<sip:19909127708134@10.31.2.228>;tag=9E3248-F68

Date: Thu, 22 Apr 2004 15:41:05 GMT

Call-ID: 0dd20cd3-6a22-4dba-b56f-feeed064ce5d@10.31.2.228

Server: Cisco-SIPGateway/IOS-12.x

CSeq: 1 INVITE

Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, COMET, REFER, SUBSCRIBE, NOTIFY, INFO, UPDATE, REGISTER

Allow-Events: telephone-event

Contact: <sip:19909127708134@10.31.2.235:5060>

Content-Disposition: session;handling=required

Content-Type: application/sdp

Content-Length: 244

v=0

o=CiscoSystemsSIP-GW-UserAgent 8897 1451 IN IP4 10.31.2.235

s=SIP Call

c=IN IP4 10.31.2.235

t=0 0

m=audio 19514 RTP/AVP 8 101

c=IN IP4 10.31.2.235

a=rtpmap:8 PCMA/8000

a=rtpmap:101 telephone-event/8000

a=fmtp:101 0-15

a=ptime:20

*Apr 22 20:12:40: //-1/xxxxxxxxxxxx/SIP/Event/sipSPIEventInfo: Queued event from SIP SPI : SIPSPI_EV_CC_CALL_DISCONNECT

*Apr 22 20:12:40: //23707/4D2F5C258DD7/SIP/Info/act_recdinvite_disconnect: Performing disconnect

*Apr 22 20:12:40: //23707/4D2F5C258DD7/SIP/Info/sipSPIValidateGtd: Signal Forward disabled

*Apr 22 20:12:40: //23707/4D2F5C258DD7/SIP/Transport/sipSPITransportSendMessage: msg=0x65A4526C, addr=10.31.2.228, port=5060, sen

tBy_port=5060, is_req=0, transport=1, switch=0, callBack=0x6159BBB0

*Apr 22 20:12:40: //23707/4D2F5C258DD7/SIP/Transport/sipSPITransportSendMessage: Proceedable for sending msg immediately

*Apr 22 20:12:40: //23707/4D2F5C258DD7/SIP/Transport/sipTransportLogicSendMsg: switch transport is 0

*Apr 22 20:12:40: //-1/xxxxxxxxxxxx/SIP/Transport/sipTransportPostSendMessage: Posting send for msg=0x65A4526C, addr=10.31.2.228,

port=5060, connId=0 for UDP

*Apr 22 20:12:40: //23707/4D2F5C258DD7/SIP/Info/sentErrResDisconnecting: Sent an 3456XX Error Response

*Apr 22 20:12:40: //23707/4D2F5C258DD7/SIP/State/sipSPIChangeState: 0x6603A598 : State change from (STATE_RECD_INVITE, SUBSTATE_N

ONE)  to (STATE_DISCONNECTING, SUBSTATE_NONE)

*Apr 22 20:12:40: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:

Sent:

SIP/2.0 404 Not Found

Via: SIP/2.0/UDP 10.31.2.228:5060;branch=z9hG4bK-74681ea7-c035-47ba-9cf8-21df54f47a4e-ppco

From: "666"<sip:666@10.31.2.228>;tag=840974541

To: "0dd20cd3-6a22-4dba-b56f-feeed064ce5d@10.31.2.228"<sip:19909127708134@10.31.2.228>;tag=9E3248-F68

Date: Thu, 22 Apr 2004 15:41:05 GMT

Call-ID: 0dd20cd3-6a22-4dba-b56f-feeed064ce5d@10.31.2.228

Server: Cisco-SIPGateway/IOS-12.x

CSeq: 1 INVITE

Allow-Events: telephone-event

Reason: Q.850;cause=31

Content-Length: 0

*Apr 22 20:12:40: //-1/xxxxxxxxxxxx/SIP/Info/HandleUdpSocketReads: Msg enqueued for SPI with IP addr: 10.31.2.228:5060

*Apr 22 20:12:40: //-1/xxxxxxxxxxxx/SIP/Transport/sipTransportProcessNWNewConnMsg: context=0x00000000

*Apr 22 20:12:40: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:

Received:

ACK sip:19909127708134@10.31.2.228:5060 SIP/2.0

Via: SIP/2.0/UDP 10.31.2.228:5060;branch=z9hG4bK-74681ea7-c035-47ba-9cf8-21df54f47a4e-ppco

Max-Forwards: 10

To: "0dd20cd3-6a22-4dba-b56f-feeed064ce5d@10.31.2.228"<sip:19909127708134@10.31.2.228>;tag=9E3248-F68

From: "666"<sip:666@10.31.2.228>;tag=840974541

Call-ID: 0dd20cd3-6a22-4dba-b56f-feeed064ce5d@10.31.2.228

CSeq: 1 ACK

User-Agent: CallCenter

Content-Length: 0

3 Replies 3

Nishant Savalia
Level 4
Level 4

Hi Zeinab,

The issue you are facing as mentioned in Case 1 & 2 is during incoming call from PSTN ?

What IOS version you are using?

Is call manager involved in this scenario?

Please share your running-config of gateway.

Regards,

Nishant Savalia

Regards, Nishant Savalia

1.during outgoing call from softphone

2.12.4(7h)

3.the call manager is a .net software developed by our firm

4. we have another scenario in another center with cisco ios 12.4(5a) but hasn't any problem in sending busy herer

also in "debug isdn q931" I noticed that the DISCOUNECT signal is recieved after 30 seconds , is it because of telco ?

    5     version 12.4

    6     service timestamps debug datetime localtime

    7     service timestamps log datetime

    8     no service password-encryption

    9     !

   10     hostname ACCESS-118

   11     !

   12     boot-start-marker

   13     boot system flash:c5350-js-mz.124-25a.bin

   14     no boot startup-test

   15     boot-end-marker

   16     !

   17     no logging console

   18     enable secret 5 $1$M221$2YQ8Ua1LWx1DUlzdIPwno1

   19     !

   20     !

   21     !

   22     resource-pool disable

   23     no aaa new-model

   24     !

   25     resource policy

   26     !

   27     clock timezone GMT 4 30

   28     spe default-firmware spe-firmware-1

   29     !

   30     !

   31     ip cef

   32     !

   33     !

   34     isdn switch-type primary-net5

   35     !

   36     voice call send-alert

   37     voice call disc-pi-off

   38     !

   39     voice service voip

   40      fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback none

   41      modem passthrough nse codec g711alaw

   42      sip

   43       ds0-num

   44       header-passing

   45       registrar server

   46       no call service stop

   47     !

   48     !

   49     !

   50     !

   51     !

   52     !

   53     !

   54     !

   55     !

   56     voice translation-rule 1

   57      rule 1 /^199/ //

   58     !

   59     !

   60     voice translation-profile OUT

   61      translate calling 1

   62      translate called 1

   63     !

   64     voice translation-profile call

   65     !

   66     !

   67     !

   68     !

   69     username admin password 0 Pendar110

   70     username pendar privilege 15 secret 5 $1$fGxh$0hiSg//QgvwKyXvFyqefA1

   71     !

   72     !

   73     controller E1 3/0

   74      framing NO-CRC4

   75      pri-group timeslots 1-31

   76      cablelength medium

   77     !

   78     controller E1 3/1

   79      pri-group timeslots 1-31

   80      cablelength medium

   81     !

   82     !

   83     interface GigabitEthernet0/0

   84      description "managment"

   85      ip address 10.31.x.x 255.255.255.0

   86      duplex auto

   87      speed auto

   88      negotiation auto

   89     !

   90     interface GigabitEthernet0/1

   91      no ip address

   92      shutdown

   93      duplex auto

   94      speed auto

   95      negotiation auto

   96     !

   97     interface Serial0/0

   98      no ip address

   99      shutdown

  100      clock rate 2000000

  101      no dce-terminal-timing-enable

  102      no fair-queue

  103     !

  104     interface Serial0/1

  105      no ip address

  106      shutdown

  107      clock rate 2000000

  108      no dce-terminal-timing-enable

  109     !

  110     interface Serial3/0:15

  111      no ip address

  112      encapsulation hdlc

  113      isdn switch-type primary-net5

  114      isdn incoming-voice modem 64

  115      isdn T306 400000

  116      isdn T310 400000

  117      isdn bchan-number-order ascending

  118      no cdp enable

  119     !

  120     interface Serial3/1:15

  121      no ip address

  122      encapsulation hdlc

  123      isdn switch-type primary-net5

  124      isdn incoming-voice modem 64

  125      isdn bchan-number-order ascending

  126      no cdp enable

  127     !

  128     interface Async1/00

  129      no ip address

  130      encapsulation slip

  131     !

  132     interface Async1/01

  133      no ip address

  134      encapsulation slip

  135     !

  136     interface Async1/02

  137      no ip address

  138      encapsulation slip

  139     !

  140     interface Async1/03

  141      no ip address

  142      encapsulation slip

  143     !

  144     interface Async1/04

  145      no ip address

  146      encapsulation slip

  147     !

  148     interface Async1/05

  149      no ip address

  150      encapsulation slip

  151     !

  152     interface Async1/06

  153      no ip address

  154      encapsulation slip

  155     !

  156     interface Async1/07

  157      no ip address

  158      encapsulation slip

  159     !

  160     interface Async1/08

  161      no ip address

  162      encapsulation slip

  163     !

  164     interface Async1/09

  165      no ip address

  166      encapsulation slip

  167     !

  168     interface Async1/10

  169      no ip address

  170      encapsulation slip

  171     !

  172     interface Async1/11

  173      no ip address

  174      encapsulation slip

  175     !

  176     interface Async1/12

  177      no ip address

  178      encapsulation slip

  179     !

  180     interface Async1/13

  181      no ip address

  182      encapsulation slip

  183     !

  184     interface Async1/14

  185      no ip address

  186      encapsulation slip

  187     !

  188     interface Async1/15

  189      no ip address

  190      encapsulation slip

  191     !

  192     interface Async1/16

  193      no ip address

  194      encapsulation slip

  195     !

  196     interface Async1/17

  197      no ip address

  198      encapsulation slip

  199     !

  200     interface Async1/18

  201      no ip address

  202      encapsulation slip

  203     !

  204     interface Async1/19

  205      no ip address

  206      encapsulation slip

  207     !

  208     interface Async1/20

  209      no ip address

  210      encapsulation slip

  211     !

  212     interface Async1/21

  213      no ip address

  214      encapsulation slip

  215     !

  216     interface Async1/22

  217      no ip address

  218      encapsulation slip

  219     !

  220     interface Async1/23

  221      no ip address

  222      encapsulation slip

  223     !

  224     interface Async1/24

  225      no ip address

  226      encapsulation slip

  227     !

  228     interface Async1/25

  229      no ip address

  230      encapsulation slip

  231     !

  232     interface Async1/26

  233      no ip address

  234      encapsulation slip

  235     !

  236     interface Async1/27

  237      no ip address

  238      encapsulation slip

  239     !

  240     interface Async1/28

  241      no ip address

  242      encapsulation slip

  243     !

  244     interface Async1/29

  245      no ip address

  246      encapsulation slip

  247     !

  248     interface Async1/30

  249      no ip address

  250      encapsulation slip

  251     !

  252     interface Async1/31

  253      no ip address

  254      encapsulation slip

  255     !

  256     interface Async1/32

  257      no ip address

  258      encapsulation slip

  259     !

  260     interface Async1/33

  261      no ip address

  262      encapsulation slip

  263     !

  264     interface Async1/34

  265      no ip address

  266      encapsulation slip

  267     !

  268     interface Async1/35

  269      no ip address

  270      encapsulation slip

  271     !

  272     interface Async1/36

  273      no ip address

  274      encapsulation slip

  275     !

  276     interface Async1/37

  277      no ip address

  278      encapsulation slip

  279     !

  280     interface Async1/38

  281      no ip address

  282      encapsulation slip

  283     !

  284     interface Async1/39

  285      no ip address

  286      encapsulation slip

  287     !

  288     interface Async1/40

  289      no ip address

  290      encapsulation slip

  291     !

  292     interface Async1/41

  293      no ip address

  294      encapsulation slip

  295     !

  296     interface Async1/42

  297      no ip address

  298      encapsulation slip

  299     !

  300     interface Async1/43

  301      no ip address

  302      encapsulation slip

  303     !

  304     interface Async1/44

  305      no ip address

  306      encapsulation slip

  307     !

  308     interface Async1/45

  309      no ip address

  310      encapsulation slip

  311     !

  312     interface Async1/46

  313      no ip address

  314      encapsulation slip

  315     !

  316     interface Async1/47

  317      no ip address

  318      encapsulation slip

  319     !

  320     interface Async1/48

  321      no ip address

  322      encapsulation slip

  323     !

  324     interface Async1/49

  325      no ip address

  326      encapsulation slip

  327     !

  328     interface Async1/50

  329      no ip address

  330      encapsulation slip

  331     !

  332     interface Async1/51

  333      no ip address

  334      encapsulation slip

  335     !

  336     interface Async1/52

  337      no ip address

  338      encapsulation slip

  339     !

  340     interface Async1/53

  341      no ip address

  342      encapsulation slip

  343     !

  344     interface Async1/54

  345      no ip address

  346      encapsulation slip

  347     !

  348     interface Async1/55

  349      no ip address

  350      encapsulation slip

  351     !

  352     interface Async1/56

  353      no ip address

  354      encapsulation slip

  355     !

  356     interface Async1/57

  357      no ip address

  358      encapsulation slip

  359     !

  360     interface Async1/58

  361      no ip address

  362      encapsulation slip

  363     !

  364     interface Async1/59

  365      no ip address

  366      encapsulation slip

  367     !

  368     interface Group-Async0

  369      no ip address

  370      encapsulation slip

  371      no group-range

  372     !

  373     interface Group-Async1

  374      physical-layer async

  375      no ip address

  376      encapsulation slip

  377      async mode interactive

  378      no peer default ip address

  379     !

  380     !

  381     ip route 0.0.0.0 0.0.0.0 10.31.x.x

  382     no ip http server

  383     !

  384     !

  385     access-list 101 permit ip any any

  386     dialer-list 1 protocol ip permit

  387     snmp-server community public RO

  388     !

  389     !

  390     !

  391     control-plane

  392     !

  393     call treatment on

  394     call threshold global cpu-5sec low 50 high 80 treatment

  395     call threshold global cpu-avg low 50 high 80 treatment

  396     !

  397     !

  398     voice-port 3/0:D

  399      disc_pi_off

  400      input gain 3

  401      output attenuation -3

  402      echo-cancel coverage 32

  403      no non-linear

  404      playout-delay mode fixed

  405      no comfort-noise

  406      cptone DE

  407      timeouts call-disconnect infinity

  408      timeouts wait-release 180

  409      bearer-cap Speech

  410     !

  411     voice-port 3/1:D

  412      disc_pi_off

  413      input gain 3

  414      output attenuation -3

  415      echo-cancel coverage 32

  416      no non-linear

  417      playout-delay mode fixed

  418      no comfort-noise

  419      cptone DE

  420     !

  421     !

  422     !

  423     dial-peer voice 2 pots

  424      translation-profile outgoing OUT

  425      service session

  426      destination-pattern .+

  427      no digit-strip

  428      direct-inward-dial

  429      port 3/1:D

  430      forward-digits all

  431     !

  432     dial-peer voice 4 voip

  433      service session

  434      shutdown

  435      destination-pattern .+

  436      session protocol sipv2

  437      session target sip-server

  438      session transport udp

  439      dtmf-relay rtp-nte

  440      codec g711alaw

  441      no vad

  442     !

  443     dial-peer voice 20 voip

  444      service session

  445      destination-pattern 973T

  446      session protocol sipv2

  447      session target sip-server

  448      dtmf-relay rtp-nte

  449      codec g711alaw

  450      no vad

  451     !

  452     dial-peer voice 10 pots

  453      translation-profile outgoing OUT

  454      service session

  455      destination-pattern .+

  456      no digit-strip

  457      direct-inward-dial

  458      port 3/0:D

  459      forward-digits all

  460     !

  461     dial-peer voice 5 voip

  462      destination-pattern +

  463      session protocol sipv2

  464      session target sip-server

  465      session transport udp

  466      dtmf-relay rtp-nte

  467      codec g711alaw

  468      no vad

  469     !

  470     !

  471     sip-ua

  472      credentials username 1116 password 00141608005A19 realm pendar

  473      authentication username 1116 password 1315121C0F0D16 realm pendar

  474      no remote-party-id

  475      no redirection

  476      srv version 1

  477      retry invite 2

  478      retry bye 1

  479      retry refer 3

  480      retry register 10

  481      timers notify 400

  482      timers refer 567

  483      timers register 100

  484      registrar ipv4:10.31.x.x expires 60

  485      sip-server ipv4:10.31.x.x

  486     !

  487     ss7 mtp2-variant Bellcore 0

  488     ss7 mtp2-variant Bellcore 1

  489     ss7 mtp2-variant Bellcore 2

  490     ss7 mtp2-variant Bellcore 3

  491     !

  492     line con 0

  493      logging synchronous

  494     line aux 0

  495     line vty 0 4

  496      password Pendar110

  497      login local

  498     line 1/00 1/59

  499      modem InOut

  500     !

  501     scheduler allocate 10000 400

  502     ntp broadcastdelay 10

  503     ntp clock-period 17188805

  504     ntp update-calendar

  505     ntp server 217.218.158.42

  506     ntp server 195.146.63.100

  507     end

1). during outgoing call from softphone

----- in this case who is disconnecting the call before answered (i.e. PSTN or your phone)

Please share debug isdn q931 and debug ccsip all for this scenario.

If you are receiving disconnect message from Telco after 30 seconds then you have to contact Telco for this.

Regards,

Nishant Savalia

Regards, Nishant Savalia