You can try this:

In your sip.conf add the following entry

[yourProvider]
type = peer
secret = <yourPassword>
username = <yourUsername>
host = <yourProvider>
fromuser = <yourUsername>  ; some prviders need this parameter
fromdomain = <yourProvider>  ; some prviders need this parameter

In your extension.conf add the following entry:

exten => _NXXXXXXX,1,Dial(SIP/[EMAIL PROTECTED],30,r)

This config is only for outgoing calls.

On Tue, 14 Sep 2004 10:01:37 +0200, Evert Meulie <[EMAIL PROTECTED]> wrote:
> Hi everyone!
> 
> I now have obtained a couple of SIP-accounts at a local VOIP-provider.
> How do I specify that ALL outgoing calls to _NXXXXXXX go out via one of
> these accounts?
> 
> Regards,
>    Evert
> 
> _______________________________________________
> Asterisk-Users mailing list
> [EMAIL PROTECTED]
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to