On Mon, Dec 13, 2010 at 07:28:58PM +0100, Gilles wrote:
>This is a newbie question : With a simple Asterisk server on a private
>LAN, an FXO port to handle the PSTN, and an ADSL connection to the
>Net, ie. with no VOSP in the mix... how should I configure Asterisk so
>that SIP clients can dial SIP numbers on the Net, such as those below
>to perform an echo test?

If you want to dial a SIP number that's not on your local server, you
need to route it via dialplan logic. You could do this with a prefix
code if you want to be able to dial lots of numbers at the same server:

exten => _9NX.,1,Dial(SIP/user:[email protected]/${EXTEN:1})

or something more specific if you just want to connect to one:

exten => 602,1,Dial(SIP/user:[email protected]/*010600)

(Don't quote me on syntax; I don't have any SIP examples handy as I only
use it for local-network calls.)

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

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

Reply via email to