wanghongliang / siphon

Automatically exported from code.google.com/p/siphon
0 stars 0 forks source link

Dial Plan #102

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Would be nice to see the option for a custom dial plan.

Original issue reported on code.google.com by gareth.b...@timico.co.uk on 5 Jan 2009 at 3:12

GoogleCodeExporter commented 8 years ago
Could you explain your idea ?

Original comment by samuelv0...@gmail.com on 5 Jan 2009 at 6:10

GoogleCodeExporter commented 8 years ago
Sure, Im presuming you know the rough concept of dial plans? (http://
en.wikipedia.org/wiki/Dial_plan)

Since some people will be using providers such as voipcheap/etc (the betamax 
group), 
these providers require the international dialing code to be prefixed to all 
calls.

Dialing from contacts then becomes a problem.

Good website for reference: http://www.netphonedirectory.com/pap2_dialplan.htm

Original comment by gareth.b...@timico.co.uk on 6 Jan 2009 at 1:47

GoogleCodeExporter commented 8 years ago
Logically dial plan is defined on gateway, but I suppose you would like to 
define
dial plan to choose automatically the SIP provider from number, day, hour, 
etc...

Or you just want a prefix like issue 101 ?

Original comment by samuelv0...@gmail.com on 6 Jan 2009 at 10:25

GoogleCodeExporter commented 8 years ago
I understand that there are quite a few ongoing issues with Siphon so I 
appreciate 
if this isnt high on the priorities.

Issue 101 is the front of the problem, but as Siphon goes on and does become a 
multi-
line client then dial plans could because very useful.

I work for a leading uk ITSP and have a good experience with many SIP devices 
should 
you wish for any further ideas.

I will open another ticket whilst I am online with regards to another 
improvement.

Original comment by gareth.b...@timico.co.uk on 7 Jan 2009 at 9:09

GoogleCodeExporter commented 8 years ago
It will be nice to have a dial plan capability something like (of course it's 
useful 
when there are multiple VOIP configuration possible)

1. If I dial a US number use "Provider A" because that provider gives me better 
rate 
for US. 
2. If I dial a UK number use "Provider B" because that provider gives me better 
rate 
for UK.
3. I want to prefix 011 in front of anything with country code 44 (for UK) when 
using 
"Provider C" or prefix 00 when using "Provider D".

Dial plans can be very complicated. 

Just wanted to let you know I love this application and use it a lot. Great job 
and 
Thanks  

Original comment by jai...@gmail.com on 9 Feb 2009 at 7:10

GoogleCodeExporter commented 8 years ago
The concept expressed here is about a Least Cost Routing policy. Dial plan is 
normally used in PBX 
enviroments where you must control the format of a number before dialing. I 
think in a SIP client it is totally 
useless because, like a mobile phone, a person must digit the number and than 
press "GO". 

LCR uses rules to auto-choosing the provider for dialing, manipulations are use 
to change the dialed or 
dialing number before calling. I think both are useless in a client. Mobile 
company normally accept numbers 
starting with 00 o +, so the better idea is to codify contacts in the phone 
using this method.

Dial plan express how a phone collect the number from the user during dialing 
using regular expressions. 
The call starts when expression is matched.

Examples:

9[0-7]xxx means: when you digit a number starting with 9, the phone expects 4 
digits more and the second 
must be a number from 0 to 7

00x.T means: when you digit a number starting with a 0, the phone expects 
another 0 and a third digit.. than 
wait a timeout from the last digit dialed to start the call. In this case you 
can call 001 1234 or 005 1234 5678 
with the same rule.

Great work Samuel!

Original comment by theca...@gmail.com on 12 Feb 2009 at 8:01

GoogleCodeExporter commented 8 years ago
thecalle
I am not sure if I understand the Least Cost Routing policy here. My question 
is, if 
siphon supports multiple providers in future, how do you know which provider to 
use 
without a dial plan option.

Original comment by jai...@gmail.com on 1 Mar 2009 at 7:06

GoogleCodeExporter commented 8 years ago
Issue 101 has been merged into this issue.

Original comment by samuelv0...@gmail.com on 28 Mar 2009 at 4:41

GoogleCodeExporter commented 8 years ago
I've been playing around with the International Prefix Substitution for a long 
time 
and still can't find a substitution for + that will work.

I'm asking for an option to simply remove the + from any number.

PLEASE ADD THIS! I'm begging you!

Dan

Original comment by danpho...@gmail.com on 22 May 2009 at 3:12

GoogleCodeExporter commented 8 years ago
My provider requires me to format the call like this: CCC-AAA-LLL-####
For instance a call to a number in the united states 001-909-555-1212. I would 
like a way to tell the siphon client to match the numbers as formatted in my 
contacts on my iphone, and remove or add the appropriate information to the 
number so that it can be dialed in such a way that my provider will connect the 
call.

CCC = for the international country code
AAA = area code
LLL = local prefix
####  = phone number on local exchange

That would be a great addition to this software! Thanks.

Original comment by joshgle...@gmail.com on 27 Dec 2010 at 4:02

GoogleCodeExporter commented 8 years ago
Some providers need a 0 to dial out, before you can choose a normal phone 
number. Some companies also require a 0 for their own sip-server.
here would be a dial-plan also great.
For every Contact-Number dial a 0. And if there is +49 then dial 00. SOmething 
like that.

Ex: Telephone number 07123-123456
"Arcor Central-Phone" you have to dial 0-07123-123456

By the way. Great job. Best sip-app i found.

Original comment by bernd.ma...@itsbetter.de on 18 Apr 2011 at 1:11

GoogleCodeExporter commented 8 years ago
Great app!

I dial through my own "small" voip serwer, which is connected to regular phone 
line. Is there a way to achieve such behavior?:

- the the phone number starts with "+48", remove it;
- otherwise, if the phone number starts with "+", replace it with "00";
- otherwise, do nothing (dial the number as is).

Any ideas?

Original comment by micha.P...@gmail.com on 17 May 2011 at 12:19