I have been using an approach such as this but am looking for something else because of some limitations it has. The phone thinks it dialed, and was connected to "011" (which it was) As such, that will be stored in the phones dial history (redial if nothing else). I'm not even certain what I want is possible, which is why I'm asking the list.

Thank you for your help once again though.

  - Anthony Kepler
  [EMAIL PROTECTED] | SIP/EMail

Doug Crompton wrote:
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/[EMAIL PROTECTED],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
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to