ashokvpp planetFreshman
Joined: 14 Nov 2005 Posts: 1
|
Posted: Mon Nov 14, 2005 12:37 pm Post subject: Asterisk PBX call from softmodem to analog phone |
|
|
Hi.
I'm researching on Asterisk PBX phone system for my
college project and I was successfull in configuring 2
SIP users then wrote DIAL rules in extension.conf and
configured 2X-Lite softphones to use my proxy
Registered successfully also able to dial and talk.
Current configuration is below:-
-----------
SIP.CONF
-----------
[2000]
type=friend ; This device takes and makes
calls
username=2000 ; Username on device
secret=2000 ; 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=2001
host=dynamic
context=from-sip
mailbox=101
------------------------------------------------
Extension.conf
---------------
[from-sip]
exten => 600,1,Playback(demo-echotest) ; Let them
know what's going on
exten => 600,2,Echo ; Do the echo
test
exten => 600,3,Playback(demo-echodone) ; Let them
know it's over
exten => 600,4,Goto(s,6) ; Start over
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 => 199,1,VoiceMailMain2
exten => 199,2,Goto(s,6)
Also i have added voice mail box and configured
voicemail.conf.
Now i am trying to dial from softphone to analog phone
connected to Internal Modem (FXS) of my proxy but ended up
with errors while loading asterisk -vvvvgc
Asterisk Dynamic Loader Starting:
== Parsing '/etc/asterisk/modules.conf': Found
[chan_modem.so] => (Generic Voice Modem Driver)
== Parsing '/etc/asterisk/modem.conf': Found
== Loading modem driver chan_modem_slamr.soNov 14
15:02:15 WARNING[8042]: loader.c:258
ast_load_resource:
/usr/lib/asterisk/modules/chan_modem_slamr.so: cannot
open shared object file: No such file or directory
Nov 14 15:02:15 ERROR[8042]: chan_modem.c:968
load_module: Failed to load driver chan_modem_slamr.so
== Unregistered channel type 'Modem'
Nov 14 15:02:15 WARNING[8042]: loader.c:345
ast_load_resource: chan_modem.so: load_module failed,
returning -1
== Unregistered channel type 'Modem'
Nov 14 15:02:15 WARNING[8042]: loader.c:391
load_modules: Loading module chan_modem.so failed!
Any idea how to generate chan_modem_slamr.so file or
where do i get it???
[root@localhost slmodem-2.9.10]# more
/etc/modules.conf
alias eth0 8139too
alias eth1 via-rhine
alias usb-controller ehci-hcd
alias usb-controller1 usb-uhci
alias sound-slot-0 via82cxxx_audio
post-install sound-slot-0 /bin/aumix-minimal -f
/etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f
/etc/.aumixrc -S >/dev/null 2>&1 || :
alias char-major-212 slamr
alias char-major-213 slusb
Internal modem :- Smartlink chipset v.92 internal pci
modem
Looking forward for your help and early replies.
Thanks in advance.
Warm Regards
ashok |
|