[asterisk-users] Call Forwarding in SIP.conf

Tim St. Pierre tim at communicatefreely.net
Thu Sep 7 21:13:18 MST 2006


Call forwarding doesn't go in sip.conf, it has to go in the dialplan.

You set up your outbound provider in sip.conf

In your dialplan, you use the Dial application like this:
exten => _NXXNXXXXXX,1,Dial(SIP/outgoingprovider/${EXTEN})

This will dial out to a PSTN number based on the extension passed to it.

What is it you want to do?  Call forwarding on not-registered or no answer?

That needs a database and a macro.  What is your goal?

-Tim

On September 7, 2006 17:14, broadbandvoice at comcast.net wrote:
> I looked through the forums but could not find exactly what I needed. I
> need help setting up call forwarding in sip.conf, where the call forwards
> to PSTN number without a sip phone but just the channels in sip.conf
> without any hardware or softphone. Any help will be greatly appreciated.

-- 
Tim St. Pierre

IP telephony specialist
sip://5101@communicatefreely.net
Toronto: 647 722 6930
Toll-Free 1 888 488 6940
tim at communicatefreely.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20060907/8a718859/attachment.pgp


More information about the asterisk-users mailing list