cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1155
Views
25
Helpful
4
Replies

SIP-PROFILE - Outbound Call to ISP-SIP

crusier2015
Level 1
Level 1

Hi,

 

I´m tring configure the sip-profile on dial-peer to make outbound calls work, if the call flow CUCM->CUBE->ISP SIP dont work, but if i connect the WAN link from ISP directly from my notebook using a softphone ( Microsip for example) the call works.

 

I tried config the follow sip-profile but didnt work, could you help me?

 

 

voice class sip-profiles 100
request ANY sip-header From modify "Sup-Telco" "11333333"
request ANY sip-header From modify "<sip:398@10.7.75.154>" "<sip:111333333@10.7.75.154>"
request ANY sip-header Contact modify "398" "1130743777"
response ANY sip-header From modify "Sup-Telco" "11333333"
response ANY sip-header From modify "<sip:398@10.7.75.154>" "<sip:11333333@10.7.75.154>"
response ANY sip-header Contact modify "398" "11333333"

 

 

 

Follow Header of SIP invite when the call work ( connected directly from notebook using softphone):

 

INVITE sip:9999999@10.255.240.111 SIP/2.0
Via: SIP/2.0/UDP 10.7.75.154:5060;rport;branch=z9hG4bKPjca9219a741734688a554f59672f630a2
Max-Forwards: 70
From: <sip:11333333@10.255.240.111>;tag=c0707ca4980040f0b72f734253af86ae
To: <sip:9999999@10.255.240.111>
Contact: <sip:11333333@10.7.75.154:5060;ob>
Call-ID: 4e85389ebcce41f5afaed2c88cc9daf8
CSeq: 18658 INVITE
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Supported: replaces, 100rel, norefersub
User-Agent: MicroSIP/3.20.6
Content-Type: application/sdp
Content-Length: 323

 

===========================

Follow Header of SIP invite when the call dont work ( flow CUCM->CUBE-ISP SIP):


INVITE sip:9999999@10.255.240.111:5060 SIP/2.0
Via: SIP/2.0/UDP 10.7.75.154:5060;branch=z9hG4bK63A1A93
From: "Sup-Telco" <sip:398@10.7.75.154>;tag=242D59C4-210E
To: <sip:9999999@10.255.240.111>
Date: Tue, 08 Feb 2022 18:21:25 GMT
Call-ID: C24A279A-884211EC-BDF7C789-FBFB4F9F@10.7.75.154
Supported: timer,resource-priority,replaces,sdp-anat
Min-SE: 1800
Cisco-Guid: 3075560192-0000065536-0000012146-1728096448
User-Agent: Cisco-SIPGateway/IOS-15.5.3.M
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
CSeq: 101 INVITE
Timestamp: 1644344485
Contact: <sip:398@10.7.75.154:5060>
Call-Info: <sip:10.7.75.154:5060>;method="NOTIFY;Event=telephone-event;Duration=2000"
Expires: 180
Allow-Events: telephone-event
Max-Forwards: 68
P-Asserted-Identity: "Sup-Telco" <sip:398@10.7.75.154>
Session-Expires: 1800
Session-ID: 6568e6421ba4f21f679275aa37373675;remote=00000000000000000000000000000000
Content-Length: 0

1 Accepted Solution

Accepted Solutions

Try with this.

voice class sip-profiles 100
 request ANY sip-header From modify "From: \"Sup-Telco\" (<sip:)398(@.*>)" "From: \"11333333\" \1111333333\2"
 response ANY sip-header From modify "From: \"Sup-Telco\" (<sip:)398(@.*>)" "From: \"11333333\" \1111333333\2"
 request INVITE sip-header Contact modify "Contact: (<sip:)398(@.*>)" "Contact: \11130743777\2"
 response INVITE sip-header Contact modify "Contact: (<sip:)398(@.*>)" "Contact: \111333333\2"

It seems to provide you with the described output per the SIP profile test tool at this link.

Snag_98b08f.png



Response Signature


View solution in original post

4 Replies 4

b.winter
VIP
VIP

Is your sip profile working? Cause the second INVITE, that you have posted, doesn't seem to include the modification of the sip profile

Also, maybe you need to correct the number in the PAI header.

Lots of SIP ISP's want to have a number of you number range in this header. When you have only the (internal) DN, provider won't accept it.

 

Also, can you please share the output of the debug "debug ccsip messages"?

TONY SMITH
Spotlight
Spotlight

Are you sure the profile is applied in the correct place?  Testing with Cisco's tool suggests that your profile should make at least some of the changes.

https://cway.cisco.com/tools/SipProfileTest/

Can you post your configuration?

Try with this.

voice class sip-profiles 100
 request ANY sip-header From modify "From: \"Sup-Telco\" (<sip:)398(@.*>)" "From: \"11333333\" \1111333333\2"
 response ANY sip-header From modify "From: \"Sup-Telco\" (<sip:)398(@.*>)" "From: \"11333333\" \1111333333\2"
 request INVITE sip-header Contact modify "Contact: (<sip:)398(@.*>)" "Contact: \11130743777\2"
 response INVITE sip-header Contact modify "Contact: (<sip:)398(@.*>)" "Contact: \111333333\2"

It seems to provide you with the described output per the SIP profile test tool at this link.

Snag_98b08f.png



Response Signature


crusier2015
Level 1
Level 1

Tks friends!

 

Roger you are correct, tks!!