[asterisk-users] Re: Newbie Questions - Grandstorm phones?
Doug Crompton
doug at crompton.com
Wed Dec 20 00:37:35 MST 2006
Well that is certainly an option but not all phones would have a send key
especially if you are using analog phones. I guess the # keys functions in
that way on many of those.
I still like my "wired" phones to work like they use to. You dial a number
and it executes the call immediately.
Ok I came up with one that I think would work, maybe needs some
refinement....
[out-international]
exten => _011,1,goto(process-international,s,1)
[process-international]
exten => s,1,read(number)
exten => s,2,Dial(SIP/011${number}@gizmo,120,T)
exten => s,3,Macro(failann,${DIALSTATUS})
This accepts the 011 prefix and then any number of following digits.
Terminator is timeout period OR # key to send. Change obviously for your
provider.
The read command has many options including saying a file. You could for
instance hear "Country Code" after dialing 011. This would clue you into
the fact that you were dialing and international call. There are also
digit limits and timeouts that can be set.
So if you use early dial this would be the only rule that would require a
wait or # key to send. I could certainly live with that.
Can anyone supply some international test numbers??? Say in the UK or
Germany or wherever outside the US.
Doug
On Tue, 19 Dec 2006, Gordon Henderson wrote:
> On Tue, 19 Dec 2006, Anthony Kepler wrote:
>
> > Do you, Gordon or Doug, happen to place international calls with early-dial
> > enabled? What kind of extensions.conf magic do you work to allow this?
> > I have been trying for some time to get this to work. (My message from
> > 2006.11.03 regarding this is quoted just below)
>
> Not me (& I'm in the UK FWIW).
>
> I'm trying to get my users into thinking of the phones in the same terms
> as they'd treat their mobiles - so get them to dial the full area code
> starting with a zero (no 9 for outside line here, although I do support it
> in addition to zero), and then pushing the send key after they have
> entered the number... My reasoning for this is that it then mimics the way
> they use their mobiles, (and who doesn't have a mobile these days?) and
> you can dial the full number in the UK anyway without incuring any cost or
> call routing issues (just time to dial the 4 or 5 digit prefix)
>
> Gordon
More information about the asterisk-users
mailing list