I have just downgraded Server A back to 12.4.0. So both servers are now running the same version.
I did some debugging by “sip set debug on” on both servers. When using “slin48” I got the following messages:
Server A:
Audio is at 17868
Adding codec 100025 (slin48) to SDP
Adding non-codec 0x1 (telephone-event) to SDP
Reliably Transmitting (no NAT) to 10.30.22.121:5060:
INVITE sip:1000@10.30.22.121:5060 SIP/2.0
Via: SIP/2.0/UDP 10.30.23.51:5060;branch=z9hG4bK144ed670
Max-Forwards: 70
From: sip:1001@10.30.23.51;tag=as4f6bea52
To: sip:1000@10.30.22.121:5060
Contact: sip:1001@10.30.23.51:5060
Call-ID: 44476e3a2bff7830337d202e1ad87c93@10.30.23.51:5060
CSeq: 102 INVITE
User-Agent: vocia_mb1/1.0.0
Date: Tue, 26 Aug 2014 10:52:19 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 197
v=0
o=root 1979143601 1979143601 IN IP4 10.30.23.51
s=Asterisk PBX 12.4.0
c=IN IP4 10.30.23.51
t=0 0
m=audio 17868 RTP/AVP 101
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=sendrecv
Server B:
<— SIP read from UDP:10.30.23.51:5060 —>
INVITE sip:1000@10.30.22.121:5060 SIP/2.0
Via: SIP/2.0/UDP 10.30.23.51:5060;branch=z9hG4bK144ed670
Max-Forwards: 70
From: sip:1001@10.30.23.51;tag=as4f6bea52
To: sip:1000@10.30.22.121:5060
Contact: sip:1001@10.30.23.51:5060
Call-ID: 44476e3a2bff7830337d202e1ad87c93@10.30.23.51:5060
CSeq: 102 INVITE
User-Agent: vocia_mb1/1.0.0
Date: Tue, 26 Aug 2014 10:52:19 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 197
v=0
o=root 1979143601 1979143601 IN IP4 10.30.23.51
s=Asterisk PBX 12.4.0
c=IN IP4 10.30.23.51
t=0 0
m=audio 17868 RTP/AVP 101
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=sendrecv
<------------->
— (14 headers 9 lines) —
Sending to 10.30.23.51:5060 (no NAT)
Sending to 10.30.23.51:5060 (no NAT)
Using INVITE request as basis request - 44476e3a2bff7830337d202e1ad87c93@10.30.23.51:5060
Found peer ‘frankie’ for ‘1001’ from 10.30.23.51:5060
== Using SIP RTP TOS bits 216
== Using SIP RTP CoS mark 5
Found RTP audio format 101
Found audio description format telephone-event for ID 101
[Aug 26 10:51:48] NOTICE[22244][C-00000008]: chan_sip.c:10718 process_sdp: No compatible codecs, not accepting this offer!
What I think the problem is… the RTP/AVP profile number i.e. 101 sent by Server A is incorrect (see highlighted above).
Please see my next comment for debug messages when using “slin16”.