Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
Call forwarding
Author Message
rachel
Brekeke Junior Member


Joined: 04 Dec 2009
Posts: 7
Location: US

PostPosted: Thu Aug 26, 2010 4:15 pm    Post subject: Call forwarding Reply with quote

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/networkpatterns.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
Back to top
View user's profile
james
Brekeke Master Guru


Joined: 10 Dec 2007
Posts: 501

PostPosted: Fri Aug 27, 2010 3:05 pm    Post subject: Reply with quote

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>
Back to top
View user's profile
rachel
Brekeke Junior Member


Joined: 04 Dec 2009
Posts: 7
Location: US

PostPosted: Sat Aug 28, 2010 3:31 pm    Post subject: Reply with quote

Thanks for your reply. I want to forward to a cell phone (222.222.2222). How can I do that?
Back to top
View user's profile
hope
Brekeke Master Guru


Joined: 15 Jan 2008
Posts: 862

PostPosted: Mon Aug 30, 2010 10:10 am    Post subject: Reply with quote

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
Back to top
View user's profile
rachel
Brekeke Junior Member


Joined: 04 Dec 2009
Posts: 7
Location: US

PostPosted: Mon Aug 30, 2010 1:28 pm    Post subject: Reply with quote

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.
Back to top
View user's profile
hope
Brekeke Master Guru


Joined: 15 Jan 2008
Posts: 862

PostPosted: Mon Aug 30, 2010 2:18 pm    Post subject: Reply with quote

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
Back to top
View user's profile
rachel
Brekeke Junior Member


Joined: 04 Dec 2009
Posts: 7
Location: US

PostPosted: Tue Aug 31, 2010 4:20 pm    Post subject: Reply with quote

Does the Provider require authentication?
No
Back to top
View user's profile
hope
Brekeke Master Guru


Joined: 15 Jan 2008
Posts: 862

PostPosted: Wed Sep 01, 2010 10:16 am    Post subject: Reply with quote

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
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke SIP Server Forum All times are GMT - 7 Hours
Page 1 of 1