How to SIP URI forwarding

Status
Not open for further replies.

efefidn

New Member
Mar 21, 2019
22
0
1
34
Hello, I have a number from a provider. It works as a register. I want to forward the incoming call to this number to a different location with sip uri. How can I do it, what is your advice?
 

hfoster

Active Member
Jan 28, 2019
677
80
28
34
Inbound Routes, add the number route then bridge it to a SIP URI:

Code:
<action application="bridge" data="sofia/external/sip:***@example.com"/>

I can imagine there's more to it from the recipients side, but you'll have to figure that one out. Not much accepts raw invites without some sort of authentication. You might also have to set the transfer_ringback, otherwise I guess it might be silent on transfer?

Source: FreeSwitch - Dialplan XML Documentation
 

efefidn

New Member
Mar 21, 2019
22
0
1
34
thnks for answer @hfoster

do i need to add this in dialplan too? And is there a plugin or code that I need to add differently?
 
Status
Not open for further replies.