[Asterisk-Users] how to route these outgoing calls?

Selim selimbh at gmail.com
Tue Sep 14 01:17:02 MST 2004


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/${EXTEN}@yourProvider,30,r)

This config is only for outgoing calls.

On Tue, 14 Sep 2004 10:01:37 +0200, Evert Meulie <evert at witelcom.com> 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
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>



More information about the asterisk-users mailing list