> Ik heb het thuis min of meer aan de gang. ben te bellen via
> gratissip.nl en via fwd, werkt aardig, maar je bent wel aan het
> puzzelen met /etc/asterisk/sip.conf en  /etc/asterisk/extensions.conf
> op internet meer dan voldoende info, overigens..
mja, maar ik kom er niet uit.
ik heb nu dit:

extconfig.conf
--------------
[settings]
extensions => asterisk

extensions.conf
---------------
[default]
exten => s,1,Answer()
exten => s,2,Dial(SIP/laptop,2,tr)
exten => s,3,Background(leavemsg)
exten => s,4,VoiceMail(u0000)
exten => s,5,VoiceMail(b0000)
exten => s,6,Hangup()

sip.conf
--------
[general]
port = 5060                     ; Port to bind to
bindaddr=0.0.0.0              ; Address to bind to
context=default               ; Default for incoming calls
srvlookup=yes                   ; Enable SRV lookups on outbound calls
dtmfmode=inband
allow=all                       ; Allow all codecs

[laptop]
type=friend
host=dynamic
defaultip=192.168.62.100
dtmfmode=rfc2833 ; Choices are inband, rfc2833, or info
mailbox=0000 ; Mailbox for message waiting indicator
context=incoming
callerid="Me" <2124>

voicemail.conf
--------------
... <- standaard config
[voicemail]
0000 => ****,Folkert van Heusden,folkert@vanheusden.com

Ik krijg nu wel een verbinding (tcpdump port 5060) maar een 'user niet
bekend' in kphone en in de asterisk console dit:
Check for res for
 is not a local user
Cannot find extension context 'default'
 is not a local user
Stopping retransmission on '326353310@192.168.62.100' of Response 20: Found


Folkert van Heusden

-- 
Try MultiTail! Multiple windows with logfiles, filtered with regular
expressions, colored output, etc. etc. www.vanheusden.com/multitail/
----------------------------------------------------------------------
Get your PGP/GPG key signed at www.biglumber.com!
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com

-- Attached file included as plaintext by Ecartis --
-- File: signature.asc
-- Desc: Digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iIMEARECAEMFAkM5j+48Gmh0dHA6Ly93d3cudmFuaGV1c2Rlbi5jb20vZGF0YS1z
aWduaW5nLXdpdGgtcGdwLXBvbGljeS5odG1sAAoJEDAZDowfKNiumhwAn3ite/FK
rAIXCuVmlkyvchR6atoOAJ9Ars+12D8h+9F4pwSIK9/RKoP6CA==
=YqJb
-----END PGP SIGNATURE-----



