planetWayne.com - Forums
Rants and Raves and Generally Anything
Asterisk PBX call from softmodem to analog phone

 
Post new topic   Reply to topic    planetWayne.com - Forums Forum Index -> VoIP
View previous topic :: View next topic  
Author Message
ashokvpp
planetFreshman


Joined: 14 Nov 2005
Posts: 1

PostPosted: Mon Nov 14, 2005 12:37 pm    Post subject: Asterisk PBX call from softmodem to analog phone Reply with quote

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
Back to top
View user's profile Send private message
planetWayne
Site Admin


Joined: 30 Jan 2003
Posts: 280

PostPosted: Wed Nov 16, 2005 10:03 pm    Post subject: Reply with quote

Hiya ashokvpp,
Thanks for dropping by!
One thing that I have heard about Modem / FXO cards - if its not a 100% compatible with the digium x100p's then it just wont work.

There was a bit of a discussion on the Asterisk-Users mailing list the other day - someone asked the same type question.

Have a look here to see if there's anything along the lines your after.

Hope this is useful?
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    planetWayne.com - Forums Forum Index -> VoIP All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group