Page 1 of 1

how to install Sangoma USB fxo(u100) in vicidialnow

PostPosted: Sat May 22, 2010 5:06 am
by pawan_lal
i am having vicidialnow version is 1.3, than i upgraded asterisk from 1.2 to 1.4

vicidial - 1.3
asterisk - 1.4.21.2
libpri - 1.4.7
dahdi - 2.3.0
wanpipe - 3.6.0.12

compiled dahdi than i compiled wanpipe. now vicidial is detecting SANGOMA USB FXO, earlier i was using asterisk in which i made a simple dial plan in which i made exten 2000 so that any call coming in PSTN line which is attached to Sangoma Fxo, exten 2000 should receive it. it is working in asterisk i.e when i call from my mobile to my PSTN line exten 2000 receives that call.below is the dial plan

##########################################
here is my chan_dahdi.conf

;autogenerated by /usr/sbin/wancfg_dahdi do not hand edit
;autogenrated on 2010-05-19
;Dahdi Channels Configurations
;For detailed Dahdi options, view /etc/asterisk/chan_dahdi.conf.bak

[trunkgroups]

[channels]
context=default
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
relaxdtmf=yes
rxgain=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1
immediate=no


;Sangoma AU100 [slot:0 bus: span:1] <wanpipe1>
context=from-zaptel
group=0
echocancel=yes
signalling = fxs_ks
channel => 1

context=from-zaptel
group=0
echocancel=yes
signalling = fxs_ks
channel => 2

############################################

here is my dial plan

vi sip.conf

[general]
port=5060
bindaddr=0.0.0.0
context=others

[2000]
type=friend
context=my-phones
secret=1234
host=dynamic

############################################

vi /etc/asterisk/extensions.conf

[from-zaptel]

exten => s,1,wait(20)
exten => s,n,dial(SIP/2000)

[my-phones]

exten => 2000,1,Answer()
exten => 2000,2,Dial(SIP/2000)

#########################################

than from other machine i registered sip 2000 and it get registered.

-- Remote UNIX connection
-- Unregistered SIP '2000'
-- Registered SIP '2000' at 192.168.1.3 port 41658 expires 3600
-- Saved useragent "X-Lite release 1104o stamp 56125" for peer 2000

###########################################

above is the dialplan which is working in asterisk. same i made in vicidial in vicidial its not working.do i have to edit something through admin page.


any help will be higly appreciated.

thx

PostPosted: Sat May 22, 2010 10:16 am
by williamconley
when you post, please post your entire configuration including (but not limited to) your installation method, vicidial version and build, asterisk version, telephony hardware (model number is helpful here), cluster information if you have one, and whether any other software is installed in the box.

Similar to This:
Vicibox X.X from .iso | Vicidial X.X.X Build XXXX | Asterisk X.X.X | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation

this IS a requirement for posting along with reading the stickies (at the top of each forum) and the manager's manual (available on EFLO.net, both free and paid versions)
__

When you create phones in Vicidial, you should do it on the GUI and you should not modify sip.conf directly at all.

The same generally goes for any other .conf file.

Have you tried following the manager's manual and/or the quick start guide?