Call forwarding

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
rachel
Posts: 7
Joined: Fri Dec 04, 2009 6:33 pm
Location: US

Call forwarding

Post by rachel »

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
Posts: 501
Joined: Mon Dec 10, 2007 12:56 pm

Post by 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
Posts: 7
Joined: Fri Dec 04, 2009 6:33 pm
Location: US

Post by rachel »

Thanks for your reply. I want to forward to a cell phone (222.222.2222). How can I do that?
hope
Posts: 862
Joined: Tue Jan 15, 2008 4:08 pm

Post by 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
Posts: 7
Joined: Fri Dec 04, 2009 6:33 pm
Location: US

Post by 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
Posts: 862
Joined: Tue Jan 15, 2008 4:08 pm

Post by 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
Posts: 7
Joined: Fri Dec 04, 2009 6:33 pm
Location: US

Post by rachel »

Does the Provider require authentication?
No
hope
Posts: 862
Joined: Tue Jan 15, 2008 4:08 pm

Post by 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
Post Reply