Forums Read-only archive

Call forwarding

8 posts · Brekeke SIP Server Forum

rachel Original post
1. Brekeke Product Name and version:Brekeke SIP Server 2.3.8.4/286

2. Java version:1.6.0_16

3. OS type and the version:Windows 2003 5.2

4. UA (phone), gateway or other hardware/software involved:

5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/ ... terns.html :

6. Your problem:
Hi,
Could you please help me to create a dial plan to forward phone calls?
Eg. If somebody calls 111.111.1111, it will automatically forward to 222.222.2222
Matching:
$request=^INVITE
$addr=^IP address$
To=sip:111.111.1111

Deploy:
$auth=false
$continue=false
To=sip:222.222.2222@
Thank you
james
are 111.111.1111 and 222.222.2222 phone numbers?
is 222.222.2222 registered in the SIP Server??

It seems your DialPlan rule works if the 222.222.2222 is registered in the server.

If the 222.222.2222 is not registered, write the To definition like a below.

To=sip:222.222.2222@<IP-address>
rachel
Thanks for your reply. I want to forward to a cell phone (222.222.2222). How can I do that?
hope
can you cell phone register to brekeke?
if not you need to use voip gateway to connect between local calls and brekeke sip server.
http://wiki.brekeke.com/wiki/voip-sip-gateways
rachel
1)can you cell phone register to brekeke?
No. Cell phone can't register to brekeke because it doesn't have voip feature.

2)if not you need to use voip gateway to connect between local calls and brekeke sip server.
I can forward 111.111.1111 to local sip phone without problem but I can't forward to local call through termination company. Please advise. Thanks.
hope
what response sent from sip provider in captured packets when the call is forwarded to provider IP?
Does the Provider require authentication?
if yes, it is better to use brekeke pbx because sip server only cannot send auth info to provider.
http://wiki.brekeke.com/wiki/ITSP
rachel
Does the Provider require authentication?
No
hope
what response from provider when using the dial plan below?

matching
$request=^INVITE
To=sip:<dialing_number>@

Deploy:
$auth=false
To=sip:<cell_phone_number>@<provider_IP>

click apply rule after modifying dial plan
You can use wireshark to capture packets and check the response code from provide
http://wiki.brekeke.com/wiki/Capture-Packets-Wireshark