I just heard from Callcentric. They are strongly saying it’s not a bug on their side. I certainly don’t know. I do know that the rpid_update appears not to work.
Callcentric said:
Hello,
The problem here encompasses two points:
1 - The way asterisk attempts to bridge the forwarded call
2 - The fact that our servers does not support this method
What your asterisk should be doing, and in fact should normally do, is to:
1 - Send an incoming call to your PBX
2 - Your asterisk should answer the call and then create a new individual channels/INVITES, independent of the incoming call, for the ring group
3 - Bridge the calls, with asterisk acting as the mediator/proxy for the calls
Your current configuration is performing the first and second step. However in the second step it is attempting to reINVITE the original call directly, and not bridge it:
INVITE sip:185d10bf5c4efd04adb3795048e83645@204.11.192.35:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 76.97.152.43:5060;branch=z9hG4bK04a0550e;rport
Max-Forwards: 70
From: sip:14044786561@ss.callcentric.com;tag=as57b5a533
To: sip:16785134505@66.193.176.35;tag=3527268988-36163
Contact: sip:17772633077@76.97.152.43:5060
Call-ID: 13202124-3527268988-36129@msw1.telengy.net
CSeq: 102 INVITE
User-Agent: FPBX-2.9.0(1.8.6.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces
Remote-Party-ID: “6784583747@from-internal/n” sip:6784583747@from-internal/n@66.193.176.35;party=called;privacy=off;screen=no
Content-Type: application/sdp
Content-Length: 234
v=0
o=root 810806119 810806120 IN IP4 76.97.152.43
s=Asterisk PBX 1.8.6.0
c=IN IP4 76.97.152.43
t=0 0
m=audio 10592 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
We do not support this method of re-INVITE. The outgoing call should not reference the original incoming call back to our servers, as it is attempting to have our servers perform the reINVITE. In other words this method will not work. The UPDATE method is also contributing to this by attempting to update the original INVITE directly on our servers.
The result of this attempt is repeated UPDATE requests which eventually time out:
[2011-10-10 16:57:03] VERBOSE[29834] chan_sip.c:
<— SIP read from UDP:204.11.192.35:5060 —>
SIP/2.0 408 Request Timeout
v: SIP/2.0/UDP 76.97.152.43:5060;branch=z9hG4bK369fb212;rport=5060
f: sip:14044786561@ss.callcentric.com;tag=as57b5a533
t: sip:16785134505@66.193.176.35;tag=3527268988-36163
i: 13202124-3527268988-36129@msw1.telengy.net
CSeq: 103 UPDATE
In short your asterisk server is attempting to perform a reINVITE with a method that is not supported by our severs. We know that this is possible as we ourselves use call hunting and call forwarding on Asterisk in our personal and test environments.
To summarize: Your Asterisk server should handle the incoming and outgoing leg of your ring group call independently. It should then bridge the two calls locally in asterisk itself. Our servers should only be a part of the inbound and outbound calls and not the bridging step. Any attempt to modify the original call in session on our end will fail as we will not process this request properly.