Actions
Adding a new ISDN subscriber¶
These are the steps require to add a new subscriber (on the divf server) to our OCTOI ISDN network:
- Adding the new dahdi trunkdev
- scripts for next boot
vi /etc/dahdi/trunkdev.sh
- append new user (here called USER) to the USERS variable
- right now at runtime
/root/trunkdev/trunkdev-tool create USER
/root/trunkdev/trunkdev-tool config USER
- scripts for next boot
- Adding the new user to osmo-e1d
telnet localhost 4269
osmo-e1d> enable osmo-e1d# configure terminal osmo-e1d(config)# e1d osmo-e1d(config-e1d)# interface NN dahdi-trunkdev osmo-e1d(config-e1d-intf)# trunkdev-name USER osmo-e1d(config-e1d-intf)# line 0 osmo-e1d(config-e1d-intf-line)# mode e1oip osmo-e1d(config-e1d-intf-line)# exit osmo-e1d(config-e1d-intf)# exit osmo-e1d(config-e1d)# exit osmo-e1d(config)# octoi-server osmo-e1d(config-octoi-server)# account USER osmo-e1d(config-octoi-server-account)# mode dahdi-trunkdev osmo-e1d(config-octoi-server-account)# dahdi-trunkdev name USER osmo-e1d(config-octoi-server-account)# dahdi-trunkdev line-number 0 osmo-e1d(config-octoi-server-account)# end osmo-e1d# write terminal osmo-e1d# write file
git add -p / git commit
in /etc (etckeeper)- Adding the link and routing to yate
vi /usr/local/etc/yate/zapcard.conf
[USER] type=E1 span=trunkdev/USER/0 dtmfdetect=disable
vi /usr/local/etc/yate/ysigchan.conf
[USER] type=isdn-pri-net sig=USER voice=USER switchtype=euro-isdn-e1 channelsync=0
vi /usr/local/etc/yate/regexroute.conf
[berlin] ^5490\(....\)$=sig/0305490\1;trunk=USER
[contexts] ${address}^USER\/.*$=aucm2_ctx
- reload yate config via
telnet localhost 5038
color on debug on reload
git add -p / git commit
in /usr/local/etc/yate (local git repo)
Updated by laforge 6 months ago · 1 revisions