Jabber on iPhone IOS registered as SIP phone on CME, outbound call fails.
Link for configuration: https://supportforums.cisco.com/document/130876/cme-cisco-jabber-apple-iphone
NOTE:
Even though we have g711ulaw configured under voice register pool for jabber client, in the INVITE message from Jabber client we always see g729 codec.
Config:
!
voice register pool 1
registration-timer max 720 min 660
id mac 30F7.C583.E8D8
session-transport tcp
type CiscoMobile-iOS
number 1 dn 1
dtmf-relay sip-notify
Codec g711ulaw
username 6810 password cisco
!
Received:
INVITE sip:0531005065@192.168.131.253 SIP/2.0
Via: SIP/2.0/TCP 192.168.131.197:63438;branch=z9hG4bK3451ff19
From: "118216801" <sip:118216801@192.168.131.253>;tag=000000000000005800f06918-2783a723
To: <sip:0531005065@192.168.131.253>
Call-ID: 00000000-00000025-57d72c94-6fafd599@192.168.131.197
Max-Forwards: 70
Date: Mon, 02 Mar 2015 08:57:41 GMT
CSeq: 101 INVITE
User-Agent: Cisco-SIPIPCommunicator/9.2.1
Contact: <sip:118216801@192.168.131.197:63438;transport=tcp>
.
.
.
v=0
o=Cisco-SIPUA 27969 0 IN IP4 192.168.131.197
s=SIP Call
t=0 0
m=audio 16412 RTP/AVP 18 101
c=IN IP4 192.168.131.197
a=rtpmap:18 G729/8000 ----------------->g729 only
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendrecv
++++CME sends 488 Not Acceptable Media in response, since under voice register pool we had only g711 configured.
SIP_UNACCEPTABLE_MEDIA_ERR
Mar 2 08:30:29.458: //15204/37EECCC3BF4A/SIP/Error/sipSPIContinueNewMsgInvite: Unacceptable media indicated for INVITE
Sent:
SIP/2.0 488 Not Acceptable Media
Via: SIP/2.0/TCP 192.168.131.197:63438;branch=z9hG4bK3451ff19
From: "118216801" <sip:118216801@192.168.131.253>;tag=000000000000005800f06918-2783a723
To: <sip:0531005065@192.168.131.253>;tag=46749EC-1C3A
Date: Mon, 02 Mar 2015 08:30:29 GMT
Call-ID: 00000000-00000025-57d72c94-6fafd599@192.168.131.197
CSeq: 101 INVITE
Allow-Events: telephone-event
Warning: 304 192.168.131.253 "Media Type(s) Unavailable"
Reason: Q.850;cause=65
Server: Cisco-SIPGateway/IOS-12.x
Content-Length: 0
++++After Disabling the Low bandwidth option on Jabber client.
Config:
!
voice register pool 1
registration-timer max 720 min 660
id mac 30F7.C583.E8D8
session-transport tcp
type CiscoMobile-iOS
number 1 dn 1
dtmf-relay sip-notify
voice class codec 1
username 6810 password cisco
!
voice class codec 1
codec preference 1 g711ulaw
codec preference 2 g711alaw
codec preference 3 g729r8
!
+++We can see now, Jabber client sending now all the configured codecs in the INVITE message to CME for outbound call.
v=0
o=Cisco-SIPUA 27969 0 IN IP4 192.168.131.197
s=SIP Call
t=0 0
m=audio 17388 RTP/AVP 0 8 18 101
c=IN IP4 192.168.131.197
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendrecv
NOTE: Make sure we do "create profile" under "voice register global" and restart the jabber application, every time a change is made under "voice register pool"
====Fix====
-Disable low bandwidth option on Jabber on iPhone IOS
-We can keep low bandwidth option on jabber, but then g729 codec as to be there under voice register pool or voice-class codec applied on the voice register pool. So all the calls from/to Jabber client will be on g729 codec.