[Freeswitch-users] Transfer fails (does nothing) when receiving REFER message with no user in the Refer-To: URI

Michael Jerris mike at jerris.com
Wed Sep 12 16:35:56 UTC 2018


It’s failing due to no number to redirect to.  This orgid thing must be some info about where it is supposed to be redirected to?  This isn’t something that is currently supported, but that doesn’t mean there isn’t a way to add it. Do you have any info about how it should be routed?  This would be something I’d be willing to entertain pull requests to add support for.

Mike

> On Sep 11, 2018, at 2:33 PM, Ben Kaufman <ben.kaufman at altigen.com> wrote:
> 
> Setting up Freeswitch to connect to Microsoft Teams' "Direct Routing" (https://docs.microsoft.com/en-us/microsoftteams/direct-routing-plan).  General call setup-teardown is successful, but I'm encountering a problem with call transfers if the transfer target is another Microsoft Teams user.
> 
> The most immediate obvious difference between the transfer to an external party and the transfer to another Teams user is in the Refer-To header of the Refer message on the transfer event.
> 
> In the case of transfer to an external party, the Refer-To is (phone number redacted to 555-555-1000):
> 
>> REFER-TO: <sip:+15555551000 at sip.pstnhub.microsoft.com:5061;user=phone;transport=tls>
> 
> In the case of transfer to another Teams user, the transfer Refer-To: header looks like this:
> 
>> REFER-TO: <sip:sip.pstnhub.microsoft.com:5061;transport=tls;x-m=8:orgid:13bc82d9-003a-43b8-aad2-8f2f561a9b8d>
> 
> When this occurs, the last line in the Freeswitch log for the call is:
> 
>> [DEBUG] sofia.c:8544 Process REFER to [(null)@sip.pstnhub.microsoft.com]
> 
> 
> There is nothing else in the log until this times out, no indication it has entered any dialplan, etc.  Even on timeout, it is just the teams client saying that the call has failed, and unless one end hangs up, or reconnects to the failed transfer, there is no action in freeswitch.  I believe this to be a bug, but wanted to get an opinion before opening a formal bug report.
> 




More information about the FreeSWITCH-users mailing list