[Asterisk-Users] Example config for SPA-1001

Erik Espinoza erik.espinoza at gmail.com
Mon Dec 20 23:29:13 MST 2004


try auth=md5 under sip.conf


On Mon, 20 Dec 2004 18:35:53 -0800, Paul Austin
<Paul.Austin at revolsys.com> wrote:
> Hi,
> 
> Has anyone managed to create a setup with a Sipura SPA-1001 as a client?
> 
> Right now I can connect to the device by dialing the extension number
> but when I try to connect from the phone handset to make an outbound
> call it gives an unavailable tone.
> 
> I'm using Line 2 on the SPA-1001 to connect to the local asterisk
> server, line 1 is used to connect to my VOIP provider until I can get
> the local asterisk setup to work.
> 
> My config is below
> 
> Thanks,
> Paul
> 
> sip.conf
> --------
> :
> [201]
> type=friend
> host=dynamic
> username=201
> secret=<PW>
> mailbox=201
> context=local
> callerid="Me" <201>
> 
> extensions.conf
> ---------------
> [globals]
> PHONE1=SIP/201
> PHONE1VM=201
>   :
> [macro-stdexten]
> ;
> ; Standard extension macro:
> ;   ${ARG1} - Extension  (we could have used ${MACRO_EXTEN} here as well
> ;   ${ARG2} - Device(s) to ring
> ;
> exten => s,1,Dial(${ARG2},20)
> exten => s,2,Goto(s-${DIALSTATUS},1)
> exten => s-NOANSWER,1,Voicemail(u${ARG1})
> exten => s-NOANSWER,2,Goto(default,s,1)
> exten => s-BUSY,1,Voicemail(b${ARG1})
> exten => s-BUSY,2,Goto(default,s,1)
> exten => _s-.,1,Goto(s-NOANSWER,1)
> exten => a,1,VoicemailMain(${ARG1})
>   :
> [default]
> exten => s,1,Answer
> exten => s,2,DigitTimeout(5)
> exten => s,3,ResponseTimeout(10)
> exten => s,4,Background(pls-entr-num-uwish2-call)
> 
> exten => 201,1,Macro(stdexten,${PHONE1VM},${PHONE1})
> 
> exten => t,1,Hangup
> exten => i,1,Playback(invalid)
> 
> _______________________________________________
> 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