Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

SIP Cisco cube 2921 swapped fields TO and From

Ext.phone  -- SIPProv  -- Cube2921 -- CUCM --Int.phone

call from   Ext.phone 3074211055   -- SIPProv  -- Cube2921 -- CUCM --   to Int.phone 27223344345

 

debug ccsip messa  from CUBE2921

021949: Jul 29 05:39:55.378: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
INVITE sip:27223344345@17.88.18.16:5060;user=phone SIP/2.0
Via: SIP/2.0/UDP 172.16.240.4:5060;branch=z9hG4bKqp43rq20aov0ousav3f1.1
From: <sip:3074211055@172.16.240.4:5060;user=phone>;tag=SDcflb301-3830131697
To: <sip:27223344345@17.88.18.16:5060;user=phone>

Max-Forwards: 69
Call-ID: SDcflb301-2d068e330a01af9cc2aff52e778e9ce5-v300g00
CSeq: 22785 INVITE
Accept: application/sdp
          
Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,PRACK,UPDATE
Supported: 100rel
Content-Type: application/sdp
Contact: <sip:19.7.25.7:5060;transport=udp>
Content-Length: 429

v=0
o=- 1514724 1514724 IN IP4 19.7.25.7
s=-
c=IN IP4 19.7.25.7
t=0 0
a=sendrecv
m=audio 27780 RTP/AVP 8 96 18 97
c=IN IP4 19.7.25.7
b=RR:0
b=RS:0
a=rtpmap:8 PCMA/8000
a=rtpmap:96 AMR/8000
a=fmtp:96 mode-set=0,2,4,7;mode-change-period=2;mode-change-capability=2;mode-change-neighbor=1;max-red=0
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:97 telephone-event/8000
a=fmtp:97 0-15
a=maxptime:40

 

call is ok.

call is disconnected from Int.phone 27223344345

so CUBE sent BYE to SIPProv

provider told me that it is error according to SIP standart and I have to fix it


022071: Jul 29 05:40:12.718: //48666/9AB9395C9C74/SIP/Msg/ccsipDisplayMsg:
Sent:
BYE sip:19.7.25.7:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 17.88.18.16:5060;branch=z9hG4bK6C41A65
From: <sip:27223344345@17.88.18.16:5060;user=phone>;tag=5349754-20EC
To: <sip:3074211055@172.16.240.4:5060;user=phone>;tag=SDcflb301-3830131697

Date: Tue, 29 Jul 2014 05:39:58 GMT
Call-ID: SDcflb301-2d068e330a01af9cc2aff52e778e9ce5-v300g00
User-Agent: Cisco-SIPGateway/IOS-12.x
Timestamp: 1406612412
CSeq: 101 BYE
Reason: Q.850;cause=16
Max-Forwards: 70
P-RTP-Stat: PS=712,OS=113920,PR=728,OR=116480,PL=0,JI=0,LA=0,DU=15
Content-Length: 0

 

SIPProv  sent me 200 ok

 

022074: Jul 29 05:40:12.730: //48666/9AB9395C9C74/SIP/Msg/ccsipDisplayMsg:
Received:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 17.88.18.16:5060;branch=z9hG4bK6C41A65
From: <sip:27223344345@17.88.18.16:5060;user=phone>;tag=5349754-20EC
To: <sip:3074211055@172.16.240.4:5060;user=phone>;tag=SDcflb301-3830131697
Call-ID: SDcflb301-2d068e330a01af9cc2aff52e778e9ce5-v300g00
Timestamp: 1406612412
CSeq: 101 BYE
Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,PRACK,UPDATE
Content-Length: 0

 

 

here is config

voice-card 0
 dspfarm
 dsp services dspfarm
!
!
voice call send-alert
voice rtp send-recv
!
voice service pots
 supported-language ru
!
voice service voip
 ip address trusted list
  ipv4 0.0.0.0 0.0.0.0
 address-hiding
 allow-connections h323 to h323
 allow-connections h323 to sip
 allow-connections sip to h323
 allow-connections sip to sip
 no supplementary-service sip moved-temporarily
 no supplementary-service sip refer
 redirect ip2ip
 fax protocol t38 nse version 0 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711alaw
 h323
  call start slow
  h245 passthru all
 sip
  bind control source-interface Loopback0
  bind media source-interface Loopback0
  rel1xx disable
  error-passthru
  registrar server expires max 1200 min 300
  midcall-signaling passthru
  no call service stop
!

System image file is "flash:c2900-universalk9-mz.SPA.151-4.M8.bin"

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Check the SIP RFC its all

Check the SIP RFC its all there. Link.
 

3 REPLIES

Its working as per RFC. Here

Its working as per RFC. Here is the part from RFC....

 

Invite from Alice to Bob

INVITE sip:bob@biloxi.com SIP/2.0
      Via: SIP/2.0/UDP pc33.atlanta.com;branch=z9hG4bK776asdhds
      Max-Forwards: 70
      To: Bob <sip:bob@biloxi.com>
      From: Alice <sip:alice@atlanta.com>;tag=1928301774

Bye from Bob to Alice

F13 BYE Bob -> Alice

BYE sip:alice@pc33.atlanta.com SIP/2.0
Via: SIP/2.0/UDP 192.0.2.4;branch=z9hG4bKnashds10
Max-Forwards: 70
From: Bob <sip:bob@biloxi.com>;tag=a6c85cf
To: Alice <sip:alice@atlanta.com>;tag=1928301774

OK from Alice to Bob

F14 200 OK Alice -> Bob

SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.0.2.4;branch=z9hG4bKnashds10
From: Bob <sip:bob@biloxi.com>;tag=a6c85cf
To: Alice <sip:alice@atlanta.com>;tag=1928301774

Thanks

Manish

tnx. can you please give

tnx. can you please give prooflink or web link

Check the SIP RFC its all

Check the SIP RFC its all there. Link.
 

115
Views
5
Helpful
3
Replies
CreatePlease login to create content