[cisco-voip] CCM<->CUBE<->MS Teams via Direct Routing

Jinto Alakkal jalakkal at uoguelph.ca
Mon Apr 19 10:15:50 EDT 2021


Hi Hefin,

Can you run a sh dialplan number and make sure that it's hitting the correct outgoing dial-peer from CUBE, also instead of using voice-class codec 1 try to hard code the codec in the outgoing dial-peer

Thanks!
Jinto.



________________________________
From: cisco-voip <cisco-voip-bounces at puck.nether.net> on behalf of Hefin James [ahj] (Staff) <ahj at aber.ac.uk>
Sent: Monday, April 19, 2021 10:00 AM
To: cisco-voip at puck.nether.net <cisco-voip at puck.nether.net>
Subject: [cisco-voip] CCM<->CUBE<->MS Teams via Direct Routing


CAUTION: This email originated from outside of the University of Guelph. Do not click links or open attachments unless you recognize the sender and know the content is safe. If in doubt, forward suspicious emails to IThelp at uoguelph.ca


Hi Everyone,



I’ve it a snag with a setup, and I can’t see what it’s failing on.

Calls from MS Teams<->CUBE<->CCM route and work correctly, but not the other way.



I just get a “SIP/2.0 488 Not Acceptable Here” which is usually CODEC, but I’m forcing the CODEC to G711ulaw as described in ‘Direct Routing for Microsoft Phone System with Cisco Unified Border Element (CUBE)’



2021-04-19 14:39:11 local3/7  Apr 19 14:39:11 BST: //35634/9E24AF000000/SIP/Msg/ccsipDisplayMsg:

2021-04-19 14:39:11 local3/7  Sent:

2021-04-19 14:39:11 local3/7  INVITE sip:+441970XXXXXX at sip2.pstnhub.microsoft.com:5061;user=phone<sip:+441970622456 at sip2.pstnhub.microsoft.com:5061;user=phone> SIP/2.0

2021-04-19 14:39:11 local3/7  Via: SIP/2.0/TLS real.world.ip:5061;branch=z9hG4bK2A0E2390

2021-04-19 14:39:11 local3/7  From: "AHJ Test" <sip:+441970YYYYYY at ZZZZZZZZZ.aber.ac.uk<sip:+441970624205 at teams-gw.aber.ac.uk>>;tag=19270142-B3

2021-04-19 14:39:11 local3/7  To: <sip:+441970XXXXXX at sip2.pstnhub.microsoft.com<sip:+441970622456 at sip2.pstnhub.microsoft.com>>

2021-04-19 14:39:11 local3/7  Date: Mon, 19 Apr 2021 13:39:11 GMT

2021-04-19 14:39:11 local3/7  Call-ID: 7554DE42-A04B11EB-8CDFDAFB-244A983D at ZZZZZZZZZ.aber.ac.uk<mailto:7554DE42-A04B11EB-8CDFDAFB-244A983D at teams-gw.aber.ac.uk>

2021-04-19 14:39:11 local3/7  Supported: timer,resource-priority,replaces,sdp-anat

2021-04-19 14:39:11 local3/7  Min-SE:  1800

2021-04-19 14:39:11 local3/7  Cisco-Guid: 2653204224-0000065536-0000000030-4077854636

2021-04-19 14:39:11 local3/7  User-Agent: Cisco-SIPGateway/IOS-17.3.3

2021-04-19 14:39:11 local3/7  X-MS-SBC: Cisco UBE/ISR4351/IOS-17.3.3

2021-04-19 14:39:11 local3/7  Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER

2021-04-19 14:39:11 local3/7  CSeq: 101 INVITE

2021-04-19 14:39:11 local3/7  Timestamp: 1618839551

2021-04-19 14:39:11 local3/7  Contact: <sip:+441970YYYYYY at ZZZZZZZZZ.aber.ac.uk:5061;transport=tls<sip:+441970624205 at teams-gw.aber.ac.uk:5061;transport=tls>>

2021-04-19 14:39:11 local3/7  Expires: 180

2021-04-19 14:39:11 local3/7  Allow-Events: telephone-event

2021-04-19 14:39:11 local3/7  Max-Forwards: 68

2021-04-19 14:39:11 local3/7  Session-ID: 8d66825c953b5cf5a1bcb2fad7b35cc2;remote=00000000000000000000000000000000

2021-04-19 14:39:11 local3/7  Session-Expires:  1800

2021-04-19 14:39:11 local3/7  Content-Type: application/sdp

2021-04-19 14:39:11 local3/7  Content-Disposition: session;handling=required

2021-04-19 14:39:11 local3/7  Content-Length: 475

2021-04-19 14:39:11 local3/7

2021-04-19 14:39:11 local3/7  v=0

2021-04-19 14:39:11 local3/7  o=CiscoSystemsSIP-GW-UserAgent 4399 1826 IN IP4 real.world.ip

2021-04-19 14:39:11 local3/7  s=SIP Call

2021-04-19 14:39:11 local3/7  c=IN IP4 real.world.ip

2021-04-19 14:39:11 local3/7  t=0 0

2021-04-19 14:39:11 local3/7  a=ice-lite

2021-04-19 14:39:11 local3/7  m=audio 8238 RTP/SAVP 0 101

2021-04-19 14:39:11 local3/7  c=IN IP4 real.world.ip

2021-04-19 14:39:11 local3/7  a=rtpmap:0 PCMU/8000

2021-04-19 14:39:11 local3/7  a=rtpmap:101 telephone-event/8000

2021-04-19 14:39:11 local3/7  a=fmtp:101 0-16

2021-04-19 14:39:11 local3/7  a=ptime:20

2021-04-19 14:39:11 local3/7  a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

2021-04-19 14:39:11 local3/7  a=label:main-audio

2021-04-19 14:39:11 local3/7  a=label:main-audio

2021-04-19 14:39:11 local3/7  a=rtcp:8239 IN IP4 real.world.ip

2021-04-19 14:39:11 local3/7  a=ice-ufrag:Wcpd

2021-04-19 14:39:11 local3/7  a=ice-pwd:4jFD67CwNiKIjLhaPn8Q21

2021-04-19 14:39:11 local3/7  Apr 19 14:39:11 BST: //35634/9E24AF000000/SIP/Msg/ccsipDisplayMsg:

2021-04-19 14:39:11 local3/7  Received:

2021-04-19 14:39:12 local3/7  SIP/2.0 100 Trying

2021-04-19 14:39:12 local3/7  FROM: "AHJ Test"<sip:+441970YYYYYY at ZZZZZZZZZ.aber.ac.uk<sip:+441970624205 at teams-gw.aber.ac.uk>>;tag=19270142-B3

2021-04-19 14:39:12 local3/7  TO: <sip:+441970XXXXXX at sip2.pstnhub.microsoft.com<sip:+441970622456 at sip2.pstnhub.microsoft.com>>

2021-04-19 14:39:12 local3/7  CSEQ: 101 INVITE

2021-04-19 14:39:12 local3/7  CALL-ID: 7554DE42-A04B11EB-8CDFDAFB-244A983D at ZZZZZZZZZ.aber.ac.uk<mailto:7554DE42-A04B11EB-8CDFDAFB-244A983D at teams-gw.aber.ac.uk>

2021-04-19 14:39:12 local3/7  VIA: SIP/2.0/TLS real.world.ip:5061;branch=z9hG4bK2A0E2390

2021-04-19 14:39:12 local3/7  CONTENT-LENGTH: 0

2021-04-19 14:39:12 local3/7  ALLOW: INVITE,ACK,OPTIONS,CANCEL,BYE,NOTIFY

2021-04-19 14:39:12 local3/7  SERVER: Microsoft.PSTNHub.SIPProxy v.2021.4.12.3 i.USEA.2

2021-04-19 14:39:12 local3/7  TIMESTAMP: 1618839551

2021-04-19 14:39:12 local3/7

2021-04-19 14:39:12 local3/7  Apr 19 14:39:12 BST: //35634/9E24AF000000/SIP/Msg/ccsipDisplayMsg:

2021-04-19 14:39:12 local3/7  Received:

2021-04-19 14:39:12 local3/7  SIP/2.0 488 Not Acceptable Here



Dial peer is like what laid out in the document:



dial-peer voice 200 voip

description towards Phone System Proxy 1

preference 1

rtp payload-type comfort-noise 13

session protocol sipv2

session target dns:sip.pstnhub.microsoft.com

destination e164-pattern-map 200

voice-class codec 1

voice-class stun-usage 1

voice-class sip early-offer forced

voice-class sip tenant 200

voice-class sip options-keepalive profile 200

dtmf-relay rtp-nte

srtp

fax protocol none

no vad

!



Any clues would be most welcome.



Thanks,

Hefin



--------------------------------------------------------------

Hefin James

Rheolwr Seilwaith TG /  IT Infrastructure Manager

Gwasanaethau Gwybodaeth / Information Services

Prifysgol Aberystwyth / Aberystwyth University



[Description: Description: Disgrifiad: Disgrifiad: Description: Description: Description: Description: Description: Iaith Gwaith] Hapus i siarad Cymraeg






-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20210419/fdf53f68/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 1199 bytes
Desc: image001.png
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20210419/fdf53f68/attachment.png>


More information about the cisco-voip mailing list