[Asterisk-Users] incoming calls to a soft phone
asterisk at bortal.de
asterisk at bortal.de
Wed Sep 15 01:02:53 MST 2004
Hello List!
Since i can dial dial out now, i would like to dial in now :)
My problem right now is how asterisk knows, which msn belongs to wich
connected soft phone.
When i call 37, i get this error:
chan_capi.c:2051 capi_handle_msg: did not find device for msn = 37
This is my extentions.conf:
---
[general]
static=yes
writeprotect=no
[globals]
CONSOLE=Console/dsp ; Console interface for demo
IAXINFO=guest ; IAXtel username/password
TRUNK=Zap/g2 ; Trunk interface
TRUNKMSD=1 ; MSD digits to strip
(usually 1 or 0)
[default]
ignorepat => 9
exten => _9.,1,ResponseTimeout(100)
exten => _9.,2,Dial(CAPI/35:${EXTEN:1})
And this my sip.conf:
---
[general]
dtmfmode=rfc2833
context=default ; Default context for incoming calls
recordhistory=yes ; Record SIP history by default
port=5060 ; UDP Port to bind to (SIP standard port
is 5060)bindaddr=0.0.0.0 ; IP address to bind to (0.0.0.0 binds to
all)srvlookup=yes ; Enable DNS SRV lookups on outbound calls
allow=gsm
localnet=10.10.2.0
localmask=255.255.255.0
[kphone]
fromuser=kphone
username=kphone
type=friend
host=dynamic
dtmfmode=rfc2833
secret=123
context=default
allow=all
msn=37
--> Should [kphone] not get this call? Since it has msn=37 in its section?
Thanks, Mario
More information about the asterisk-users
mailing list