[Asterisk-Users] Incoming and Outgoing

Andy Hamilton ciscophonefreak at gmail.com
Fri Jun 3 18:52:22 MST 2005


Bill:

Try adding this extension in whichever context you handle your inbound calls:

exten = _1NXXNXXXXXX,1,Authenticate(1234)
exten = _1NXXNXXXXXX,2,Playback(pls-wait-connect-call)
exten = _1NXXNXXXXXX,3,SetCallerID(${CALLERIDNUM}); Set your CallerID
as a ten digit $
exten = _1NXXNXXXXXX,4,Dial,IAX2/12345 at voipjet/${EXTEN} ; VoipJet.com NANPA

This example requires a password (1234) in order to make a call. This
prevents people from calling in and then making outbound calls on your
accout. This example also assumes you use voipjet (which I have found
to be quite a solid termination provider). If your provider doesn't
allow you to set your outbound caller ID, you will want to remove that
line.

Hope this helps,

Andy


On 6/1/05, Bill Madeira <madbill at gmail.com> wrote:
> I''m trying to setup asterisk to answer the call and when recording is
> played, i am able to dial a number of some sort and I will be able to use
> that line to dial out.  My cell phone's long distance is not part of my plan
> so i would like to take advantage of my home asterisk to be able to do this.
>   
> bill 
>   
>   
> _______________________________________________
> 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