I have set max priority for PCM u-law and a-law and have got no other priority set, still it chooses SILK/24000 every time. Clock rate is 8000.
INVITE sip:an...@192.168.101.147:52143;ob SIP/2.0
Record-Route: <sip:172.31.22.178;lr>
Via: SIP/2.0/UDP 172.31.22.178;branch=z9hG4bK1b02.d15d2942b766eca15f287e2a1419383d.0;rport
Via: SIP/2.0/UDP 122.15.44.233:33939;received=122.15.44.233;rport=33939;branch=z9hG4bKPj0M686gJqQ9VNyiQ7lbEF.Tqrd2NvPJjF
Max-Forwards: 69
From: <contact_uri>;tag=Ugb4K3.JghGIwLXJwuXm9iopc3CHu4lU
To: <contact_uri>
Contact: <contact_uri33939;ob>
Call-ID: 9gw5RbhasIR.EqEoFk6LTtE0lOsWOlE-
CSeq: 21028 INVITE
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Supported: replaces, 100rel, timer, norefersub
Session-Expires: 1800
Min-SE: 90
User-Agent: CSipSimple_kenzo-23/r2457
Content-Type: application/sdp
Content-Length:382
v=0
o=- 3704510502 3704510502 IN IP4 192.168.101.137
s=pjmedia
i=(o=IN IP4 192.168.101.137)
c=IN IP4 192.168.101.137
t=0 0
m=audio 4000 RTP/AVP 99 0 8 101
c=IN IP4 192.168.101.137
a=rtcp:4001 IN IP4 192.168.101.137
a=sendrecv
a=rtpmap:99 SILK/24000
a=fmtp:99 useinbandfec=0
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16