[afnog] Re : (no subject)
Tracy Musaza
cocko_mirindi at yahoo.fr
Sun Dec 13 11:13:23 UTC 2009
Hey Pam, did U configure your extensions.conf file?
If not, as I can see , try something like this in your extension.conf.
[abonnes] # you ca call it as your like
exten => 111,1,Dial(SIP/111)
exten => 111,2,Hangup
exten => 112,1,Dial(SIP/112)
exten => 112,2,Hangup
exten => 113,1,Dial(SIP/113)
exten => 113,2,Hangup
exten => 114,1,Dial(SIP/114)
exten => 114,2,Hangup
exten => 115,1,Dial(SIP/115)
exten => 115,2,Hangup
LOOK HERE THE EXEMPLE done in E1 , AfNOG2007:
(extensions.conf)
[general]
static=yes
writeprotect=no
autofallthrough=yes
clearglobalvars=no
priorityjumping=no
[from-sip]
exten => 100,1,Dial(SIP/100)
exten => 100,2,Hangup
exten => 100,102,Hangup
exten => 101,1,Dial(SIP/101)
exten => 101,2,Hangup
exten => 101,102,Hangup
; 0* is out
exten => _0.,1,Dial(SIP/${EXTEN:1}@ast.ws.afnog.org)
exten => _0.,2,Playback(invalid)
exten => _0.,3,Hangup
[from-ast]
exten => 200,1,Dial(SIP/100&SIP/101)
exten => 200,2,Hangup
[default]
(sip.conf)
[general]
context=default ; Default context for incoming calls
bindport=5060 ; UDP Port to bind to (SIP default port is 5060)
bindaddr=0.0.0.0 ; IP address to bind to (0.0.0.0 binds to all)
register=200 at ast.ws.afnog.org/200
[100]
type=friend
username=100
secret=geheim100
host=dynamic
context=from-sip
canreinvite=no
insecure=very
[101]
type=friend
username=101
secret=geheim101
nat=yes
host=dynamic
context=from-sip
canreinvite=no
insecure=very
[ast.ws.afnog.org]
type=peer
secret=afnog!
username=200
fromuser=200
host=ast.ws.afnog.org
fromdomain=ast.ws.afnog.org
context=from-ast
canreinvite=no
insecure=very
If you don't have IP phones, find some softphones . X-Lite will work perfectly.
Okey !! let ring your IP phones /softphones.
Cheers!
CokoTracy,
Coko Tracy MIRINDI MUSAZA
IT Consultant/CTO
BSDcongo
mobiles: +243 81 413 6055 RDC
www.bsdcongo.org
--- En date de : Mar 8.12.09, Pamela Pomary <ppomary at ug.edu.gh> a écrit :
De: Pamela Pomary <ppomary at ug.edu.gh>
Objet: [afnog] (no subject)
À: afnog at afnog.org
Date: Mardi 8 Décembre 2009, 15h45
hello folks,
i have a installed and configured asterisk on freebsd and i have error
message :no matching peer found asterisk while a client calls.
Any help?
here is what i have in sip.conf
[101] ;define the extension eg 101,102,111 etc
username=101 ;user should be the same as the extension
number
secret=ugphea ;a password for logging in
type=user ;type friend
[112]
username=112
secret=112
type=user
[113]
username=113
secret=113
type=user
-------------------------------------------------------------------------------------
NOTE: This e-mail message is subject to the University of Ghana email disclaimer see http://www.ug.edu.gh/index1.php?linkid=271
_______________________________________________
afnog mailing list
http://afnog.org/mailman/listinfo/afnog
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://afnog.org/pipermail/afnog/attachments/20091213/5fc1ea19/attachment.htm>
More information about the afnog
mailing list