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

MS Teams Direct Transfer fails -- Audiocodes SBC --> Cisco Cube --> ITSP

Hi There,

 

As per my subject we have a client with a particular setup.

They are still running SfB and busy with a MS Teams POC. So what I understand is they cannot make any REFER changes on the AudioCodes SBC due to the SfB still running over it and now we need to make the REFER and not sure what else manipulations on the Cisco Cube.

 

Sfb ----------

                     | --------> AudioCodes SBC --> Cisco CUBE --> ITSP --> Mobile device

MS Teams---

 

SfB works like a charm.

MS Teams can make and receive calls via this setup no problem.

 

Challenge is making a direct transfer to a mobile number or external number for that means.

 

I have tried the following on the Cisco CUBE under the voice class sip-profiles

voice class sip-profiles 200

request INVITE sip-header From modify "(<.*@domain.com)" "\1;user=phone"
request OPTIONS sip-header Max-Forwards modify "70" "0"
request INVITE sip-header Contact modify "(<.*)@" "\1;tgrp=xxxxxxxx;trunk-context=domain.com@"
request INVITE sip-header SIP-Req-URI copy "@(.*:5061)" u01
request INVITE sip-header From copy "@(.*)>" u02
request INVITE sip-header SIP-Req-URI modify "sip:\1@" "sip:"
request INVITE sip-header SIP-Req-URI modify "sip:\1" "sip:+"
request INVITE sip-header History-Info modify "<sip:\1@" "<sip:"
request INVITE sip-header History-Info modify "<sip:\1" "<sip:+"
request INVITE sip-header To modify "<sip:\1@(.*)>" "<sip:\u01>"
request INVITE sip-header To modify "<sip:\1(.*)@.*>" "<sip:+\1@\u01>"
request ANY sip-header Contact modify "@.*:" "@\u02:"
response ANY sip-header Contact modify "@.*:" "@\u02:"
request ANY sdp-header Audio-Attribute modify "a=sendonly" "a=inactive"
response 200 sdp-header Session-Owner copy "IN IP4 (.*)" u03
response 200 sdp-header Audio-Connection-Info modify "0.0.0.0" \u03
request REFER sip-header From copy "@(.*com)" u04
request REFER sip-header Refer-To modify "sip:\+(.*)@.*:5061" "sip:+\1@\u04xxx.xxx.xxx.xxx:5061"
request REFER sip-header Refer-To modify "<sip:sip.*:5061" "<sip:+@\u04xxx.xxx.xxx.xxx:5061"
request ANY sip-header Contact modify "@.*:" "@\u04xxx.xxx.xxx.xxx:"
response ANY sip-header Contact modify "@.*:" "@\u04xxx.xxx.xxx.xxx:"

 

but still I get a SIP/2.0 403 Forbidden from the ITSP (Still waiting for the ITSP logs to see what they reject)

 

Received:
SIP/2.0 403 Forbidden
Via: SIP/2.0/UDP xxx.xxx.xxx.xxx:5060;branch=z9hG4bK268E32CC7
From: "Luke Stoodley" <sip:48xxxxxx@xxx.xxx.254.199>;tag=AEC8D03C-122B
To: <sip:027xxxxxxx@xxx.xxx.254.199>;tag=SD5jtie99-1627562496-1600939053022
Call-ID: 9C943598-FD7D11EA-98839CE5-F9CD41D5@xxx.18.150.78
CSeq: 105 REFER
Timestamp: 1600939152
Content-Length: 0

My SIP REFER looks like the following after the manipulation

Sent:
REFER sip:027xxxxxxx@xxx.xxx.254.199:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP xxx.18.150.78:5060;branch=z9hG4bK268E32CC7
From: "Demo user" <sip:48xxxxxx@xxx.xxx.254.199>;tag=AEC8D03C-122B
To: <sip:027xxxxxxx@xxx.xxx.254.199>;tag=SD5jtie99-1627562496-1600939053022
Call-ID: 9C943598-FD7D11EA-98839CE5-F9CD41D5@xxx.18.150.78
CSeq: 105 REFER
Max-Forwards: 70
Contact: <sip:48xxxxxx@xxx.xxx.254.167:5060>
User-Agent: Cisco-SIPGateway/IOS-16.3.2
Timestamp: 1600939152
Authorization: Digest username="xxxxxxx",realm="domain.com",uri="sip:027xxxxxxx@xxx.xx.254.199:5060;transport=udp",response="3874cdbd2254ed03d1eefec89fc355b5",nonce="BroadWorksXkfglrz0xThivf6wBW",cnonce="FFFFFFFF",qop=auth,algorithm=MD5,nc=00000004
Refer-To: sip:+64210xxxxxx@xxx.xxx.254.167:5061
Referred-By: <sip:xxx.18.150.78>
Content-Length: 0

 

Do I need to change the Reffered-By address as well and if so anyone have any idea how on the Cisco?

Or is there anyway the Audiocodes can have SfB and Ms Teams co-exist and both working, one using the REFER and 1 don't?

 

Any feedback will greatly be appreciated.

Best Regards
0 Replies 0