Re: [Asterisk-java-users] Dialing via the Manager interface
Brought to you by:
srt
|
From: Stefan R. <sr...@re...> - 2005-06-07 06:11:59
|
> originateAction.setChannel("IAX2/NuFone");
> originateAction.setContext("nufone-outgoing");
> originateAction.setExten(phoneNumber);
[snip]
> -----------------------
>
> From my extensions.conf file the nufone-outgoing context
>
> [nufone-ougoing]
> exten => _1NXXNXXXXXX,1,Dial,IAX2/NuFone
>
> -----------------------------------
what you probably want to do is to connect an internal phone to the
external nuphone number.
So channel must point to a local phone (SIP/myuser or whatever) and
context/exten/priority to the external number. What you did is pointing
both to the external number...
=Stefan
|