[Asterisk-Users] Asterisk on Linksys WRT54G
Walid Azab
wazab at star-communications.net
Tue Jul 5 03:23:28 MST 2005
Hi all,
Any one tried installing Asterisk on Linksys WRT54G? We have but facing
problems with SIP to SIP calls. The phones ring and calls are established
but we cannot hear any voice at all. I tried allow=all in the general
section but did not work. So I forced ulaw. Can any one please check it out
and let me know what is wrong?
Here are the conf files:
Asterisk Version: Asterisk CVS-HEAD-01/17/05-00:35:58 built by root at splurge
on a i686 running Linux
==>SIP.CONF
[general]
port = 5060 ; Port to bind to (SIP is 5060)
bindaddr = 0.0.0.0 ; Address to bind to (all addresses on machine)
disallow=all ; Allow all codecs
allow=ulaw
context = bogon-calls ; Send SIP callers that we don't know about here
[2000]
type=friend ; This device takes and makes calls
username=2000 ; Username on device
secret=1234 ; Password for device
host=dynamic ; This host is not on the same IP addr every time
context=from-sip ; Inbound calls from this host go here
mailbox=100 ; Activate the message waiting light if this
; voicemailbox has messages in it
[2001] ; Duplicate of 2000, except with different auth data
type=friend
username=2001
secret=1234
host=dynamic
context=from-sip
mailbox=101
==>Extensions.conf
[general]
static=yes
writeprotect=yes
[bogon-calls]
exten => _.,1,Congestion
[from-sip]
exten => 2000,1,Dial(SIP/2000,20)
exten => 2000,2,Voicemail(u2000)
exten => 2000,102,Voicemail(b2000)
exten => 2000,103,Hangup
exten => 2001,1,Dial(SIP/2001,20)
exten => 2001,2,Voicemail(u2001)
exten => 2001,102,Voicemail(b2001)
exten => 2001,103,Hangup
exten => 2999,1,VoicemailMain(${CALLERIDNUM})
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050705/7a8d632b/attachment.htm
More information about the asterisk-users
mailing list