راه اندازی تلفن بی سیم سیسکو 7921 7922 7923 7924 7925 با سرور ایزابل الستیکس

چهارشنبه ۱۴۰۱/۰۹/۲۳

سلام
گاهی وقتا پیش میاد برا خودت یک چالش درست میکنی
میگی من با این چالش میتونم به نسخه بهتر خودم تبدیل بشم
وقتی چالشی وجود نداشته باشه
دچار روزمرگی میشی
هیچی بدتر از روزمرگی نیس
ادما در روزمرگی ممکنه همه چیز رو فراموش کنن .
خب یک چالش جدیدی بود
یک مرکز تلفن داریم ایزابل
یک گوشی سیسکو بی سیم 7921
حالا باید این دوتا رو بهم وصل کنیم
چطوری ؟
قدم اول اینه که باید یک مازول روی ایزابل نصب بشه
مراحل نصبش دقیق اینجا هست :
https://www.3cx.com/community/threads/installing-chan-sccp-b.102865
بعد ازنصب این ماژول حالا باید یک سری تغییرات بدیم در فایلی به اسم sccp.conf و فایلی به اسم modules.conf

این نسخه ماژول کانفیگ من

;
; Asterisk Module Loader configuration file
;
;

[modules]
noload=>chan_woomera.so
autoload=yes
;
; Any modules that need to be loaded before the Asterisk core has been
; initialized (just after the logger has been initialized) can be loaded
; using 'preload'. This will frequently be needed if you wish to map all
; module configuration files into Realtime storage, since the Realtime
; driver will need to be loaded before the modules using those configuration
; files are initialized.
;
; An example of loading ODBC support would be:
;preload => res_odbc.so
;preload => res_config_odbc.so
;
; As IssabelPBX is using Local as the channel for queue members we need to make sure
; that pbx_config.so and chan_local.so are preloaded. If not, queue members
; will be marked as invalid until app_queue is reloaded.
preload => pbx_config.so
preload => chan_local.so
;
; Uncomment the following if you wish to use the Speech Recognition API
;preload => res_speech.so
;
; If you want, load the GTK console right away.
; KDE console is obsolete and was removed from Asterisk 2008-01-10
;
noload => pbx_gtkconsole.so
;load => pbx_gtkconsole.so
noload => pbx_kdeconsole.so
;
; Intercom application is obsoleted by
; chan_oss. Don't load it.
;
noload => app_intercom.so
;
; DON'T load the chan_modem.so, as they are obsolete in * 1.2

noload => chan_modem.so
noload => chan_modem_aopen.so
noload => chan_modem_bestdata.so
noload => chan_modem_i4l.so

noload => chan_skinny.so
load => chan_sccp.so
noload => chan_unicall.so

noload => res_config_pgsql.so
noload => cdr_pgsql.so
noload => cel_radius.so

; Trunkisavail is a broken module supplied by Trixbox
noload => app_trunkisavail.so

; Ensure that format_* modules are loaded before res_musiconhold
;load => format_ogg_vorbis.so
load => format_wav.so
load => format_pcm.so

; format_au.so is removed from Asterisk 1.4 and later, remove ; to enable
;load => format_au.so

; This isn't part of 'Asterisk' iteslf, it's part of asterisk-addons. If this isn't
; installed, asterisk will fail to start. But it does need to go here for native MOH
; to work using mp3's.
; Note that on a system with a high number of calls, using a compressed audio format for
; musiconhold takes CPU resources. Converting these files to ulaw/alaw makes the job
; much easier for your CPU.
load => format_mp3.so
load => res_musiconhold.so
;
; Load either OSS or ALSA, not both
; By default, load no console driver
;
noload => chan_alsa.so
noload => chan_oss.so
;
noload => app_directory_odbcstorage.so
noload => app_voicemail_odbcstorage.so

#include modules_additional.conf
#include modules_custom.conf
noload=>chan_woomera.so

اصل تغییراتی که منو به چالش کشوند این بود
حتما گزینه context = default همین دیفالت بذارین

من نمونه فایل کانفیگ خودمو میذارم که بعد کلی سرو کله زدن و تغییر پارمترها بالاخره درست شد

برای همین این فایل رو میذارم اینجا بمونه یادگار

;=========================================================================================
;
; general definitions
;
;=========================================================================================
[general]
debug = core, device, socket,config
servername = NianVoip
keepalive = 60
context = default
dateformat = D.M.Y
bindaddr = 192.168.200.1
port = 2000
disallow=all
allow=alaw
allow=ulaw
allow=g729
firstdigittimeout = 16
digittimeout = 8
autoanswer_ring_time = 1
autoanswer_tone = Zip
remotehangup_tone = Zip
transfer=on
transfer_tone = 0
transfer_on_hangup = off
dnd_tone = 0x0
callwaiting_tone = Call Waiting Tone
musicclass=default
language=en
deny=0.0.0.0/0.0.0.0
permit=internal ; 'internal' is automatically converted to these private cidr address:
; 127.0.0.0/255.0.0.0, 10.0.0.0/255.0.0.0,
; 172.0.0.0/255.224.0.0, 192.168.0.0/255.255.0.0
;permit=192.168.1.0/255.255.255.0
localnet = internal ; (MULTI-ENTRY) All RFC 1918 addresses are local networks, example '192.168.1.0/255.255.255.0'
;externip = 77.44.22.33 ; External IP Address of the firewall, required in case the PBX is running on a seperate host behind it. IP Address that we're going to notify in RTP media stream as the pbx source address.
dndFeature = on
sccp_tos = 0x68
sccp_cos = 4
audio_tos = 0xB8
audio_cos = 6
video_tos = 0x88
video_cos = 5
echocancel = on
silencesuppression = off
private = on
callanswerorder=oldestfirst
pickup_modeanswer = on
hotline_enabled=no ;can devices without configuration register
hotline_context=default ; context for hotline
hotline_extension=111 ; extension will be dialed on offHook

;=========================================================================================
;
; actual definitions
;
;=========================================================================================
[SEP001122334455]
description = Phone Number One
addon = 7914
devicetype = 7960
park = off
button = speeddial,Helpdesk, 98112, 98112@hints ; Add SpeedDial to Helpdesk
button = line, 98011,default ; Assign Line 98011 to Device and use this as default line
button = empty ; Assign an Empty Button
button = line, 98012 ; Assign Line 98012 to Device
button = speeddial,Phone 2 Line 1, 98021, 98021@hints ; Add SpeedDial to Phone Number Two Line 1 (button labels allow special characters like 'é')
cfwdall = off
type = device
keepalive = 60
;tzoffset = +2
transfer = on
park = on
cfwdall = off
cfwdbusy = off
cfwdnoanswer = off
deny=0.0.0.0/0.0.0.0
permit=192.168.1.5/255.255.255.255
dndFeature = on
dnd = off
directrtp=off
earlyrtp = progress
private = on
mwilamp = on
mwioncall = off
setvar=testvar=value
cfwdall = on

[98011]
id = 1000
type = line
pin = 1234
label = Phone 1 Line 1
description = Line 98011
mailbox = 10011
cid_name = MY CID
cid_num = 98011
accountcode=79011
callgroup=1,3-4
pickupgroup=1,3-5
directed_pickup = on
directed_pickup_context = ""
pickup_modeanswer = on
;amaflags =
context = default
incominglimit = 2
transfer = on
vmnum = 600
meetme = on
meetmeopts = qxd
meetmenum = 700
trnsfvm = 1000
secondary_dialtone_digits = 9
secondary_dialtone_tone = Outside Dial Tone
musicclass=default
language=en
echocancel = on
silencesuppression = off
setvar=testvar2=my value
dnd = reject
parkinglot = myparkspace

[98012]
id = 1001
type = line
pin = 4356
label = Phone 1 Line 2
description = Line 98012
mailbox = 10012
cid_name = MY LINE 2
cid_num = 98012
accountcode=79002
callgroup=1,4-9
pickupgroup=1,3-9
directed_pickup = on
directed_pickup_context = "another"
pickup_modeanswer = on
echocancel = off
context = default
incominglimit = 2
transfer = on
vmnum = 600
trnsfvm = 1000
secondary_dialtone_digits = 9
secondary_dialtone_tone = Outside Dial Tone
musicclass=default
language=en
echocancel = on
silencesuppression = off
silencesuppression = on
dnd = silent

[SEP002244668800]
description = Phone Number Two
devicetype = 7960
park = off
button = speeddial,Helpdesk, 98112 ; Add SpeedDial to Helpdesk (without hint)
button = line, 98021
button= feature,Private Call,privacy,callpresent ;set channel variable SKINNY_PRIVATE to 1 if feature is enabled
button= feature,DND Busy,DND,busy ;set dnd status to busy
button= feature,DND Silent,DND,silent ;set dnd status to silent
button= feature,Record calls,monitor ;record calls using automon (asterisk >= 1.6 only)
button= feature,call forward to *54,cfwdAll,*54 ;forward all calls to *54
button = speeddial,Phone 1 Line 1, 98011, 98011@hints
button = speeddial,Phone 1 Line 2, 98012, 98012@hints

type = device
keepalive = 60
;tzoffset = +2
transfer = on
park = on
cfwdall = off
cfwdbusy = off
cfwdnoanswer = off
deny=0.0.0.0/0.0.0.0
permit=192.168.1.5/255.255.255.255
dnd = reject
directrtp=off
earlyrtp = progress
private = on
mwilamp = on
mwioncall = off
setvar=testvar=value
cfwdall = on

[98021]
id = 1003
type = line
pin = 1234
label = Phone 2 Line 1
description = Line 98021
mailbox = 10021
cid_name = MY CID
cid_num = 98021
accountcode=79021
callgroup=1,3-4
pickupgroup=1,3-5
context = default
incominglimit = 2
transfer = on
vmnum = 600
trnsfvm = 1000
secondary_dialtone_digits = 9
secondary_dialtone_tone = Outside Dial Tone
musicclass=default
language=en
echocancel = on
silencesuppression = off
setvar=testvar2=my value

[SEP202244668811]
description = Phone Number Three
type = device
devicetype = 6921
park = off
button = line, 98031
button = speeddial,Phone 1 Line 1, 98011, 98011@hints
button = speeddial,Phone 2 Line 1, 98021, 98021@hints
deny=0.0.0.0/0.0.0.0
permit=192.168.1.5/255.255.255.255
softkeyset=69xxsoftkeys

[98031]
id = 1004
type = line
pin = 4321
label = Phone 3 Line 1
description = Line 98031
mailbox = 10031
cid_name = MY CID
cid_num = 98031
accountcode=79031
callgroup=1,3-4
pickupgroup=1,3-5
context = internal
incominglimit = 2
transfer = on
vmnum = 600
trnsfvm = 1000

[SEP649EF39915C2]
description = IT Bisim3
type = device
devicetype = 7921
park = off
button = line, 420
;button = speeddial,Phone 1 Line 1, 427, 427@hints
deny=0.0.0.0/0.0.0.0
permit=192.168.200.97/255.255.255.255
softkeyset=69xxsoftkeys

[420]
id = 420
type = line
pin = qwe3614
label = 420
description = 420
mailbox = 10031
cid_name = 420
cid_num = 420
accountcode=420
callgroup=1,3-4
pickupgroup=1,3-5
context = default
incominglimit = 2
transfer = on
vmnum = 600
trnsfvm = 1000

;-----------------------------------------------------------------------------------
;create a user defined softkeyset
; - if not softkey is not specified in device the chan-sccp-b default mapping will be used
; - multiple softkeysets are possible
;
;valid softkeys:
;redial, newcall, cfwdall, cfwdbusy, cfwdnoanswer, pickup, gpickup, conflist, dnd, hold, endcall, park, select
;idivert, resume, newcall, transfer, dirtrfr, answer, transvm, private, meetme, barge, cbarge, conf, back, join, empty, dial, vidmode

; using this softkey set on the 69xx phones solves transfer issues using the
; hard key on the phone.
[69xxsoftkeys]
type=softkeyset
onhook=redial,newcall,cfwdall,dnd,pickup,gpickup,private
offhook=redial,endcall,cfwdall,dnd,pickup,gpickup,private
offhookfeat=redial,endcall
digitsfoll=back,endcall,dial
ringout=empty,endcall,transfer
connected=hold,endcall,transfer,idivert,conf,conflist,park,monitor,vidmode
conntrans=empty,endcall,transfer,monitor
connconf=hold,endcall,conf,conflist,join,vidmode,monitor
onhold=resume,newcall,endcall,idivert
ringin=answer,idivert
onhint=barge,newcall,redial,pickup,gpickup
onstealable=redial,newcall,cfwdall,pickup,gpickup,dnd,intrcpt
holdconf=resume,newcall,endcall,join

لینک های که برای من مفید بودن :

https://www.voip-info.org/chansccp-b/
https://www.voip-info.org/sccp-howto2/
https://sourceforge.net/projects/chan-sccp-b/reviews/
https://github.com/chan-sccp/chan-sccp#Quick-Start
Google Search: Asterisk sccp conf
https://www.3cx.com/community/threads/installing-chan-sccp-b.102865/
https://www.voip-info.org/asterisk-cli-16/
Google Search: Configure the file:/etc/asterisk/sccp.conf.
https://www.3cx.com/community/threads/sccp-b-configuration.98558/
Google Search: asterisk sccp.conf
Google Search: actual definitions in sccp asterisk config
Google Search: [SEP ] devicetype = 7921 sccp.conf
https://gitter.im/chan-sccp/chan-sccp?at=5dafbff710bd4128a144c836
https://usecallmanager.nz/itl-file-tlv.html
https://gitter.im/chan-sccp/chan-sccp?at=5dafbdd52a6494729c21cd85
https://www.encrypted.at/asterisk-sccp-conf/
https://www.encrypted.at/cisco-ip-phones-on-asterisk-with-chan-sccp/
https://github.com/chan-sccp/chan-sccp/wiki/Dialplan
https://github.com/chan-sccp/chan-sccp/wiki/setup-sccp.conf
https://github.com/chan-sccp/chan-sccp/wiki/sccp.conf-options
https://raw.githubusercontent.com/chan-sccp/chan-sccp/develop/conf/sccp.conf.minimal
https://raw.githubusercontent.com/chan-sccp/chan-sccp/develop/conf/sccp.conf.annotated
https://github.com/chan-sccp/chan-sccp/blob/develop/conf/sccp_templated.conf

رادیو آنلاین  ... گوش کنین لذت ببرین

سه شنبه ۱۴۰۱/۰۹/۲۲

این روزا سخت تر از سخت میگذره طوری که هدفون از گوشم بیرون نمیاد که مبادا صدایی بشنوم ک نباید بشنوم دلم عجیب تنگه این لینک رادیو انلاین به صورت مستقیم

https://24503.live.streamtheworld.com/977_HITS_SC

که دیگه فیلتر نباشه که دیگه فیلتر شکن نخواد ...

ریجستر گوشی سیسکو سری 79 مثلا 7962 یا 7942

شنبه ۱۴۰۱/۰۹/۱۹

سلام ، خب این بلاگ برا من حکم دفترچه خاطرات رو داره دیگه
یکسری چیزا رو توی توضیحات نوشتم
که به رسم امانت داری حتی پاکشون نمیکنم
بگذریم :)
اگه شما هم گوشی سیسکو تهیه کردین و قصد داشتین در سرویس های ایزایل یا الستیکس استفاده کنین .
حتما نیاز دارین که این گوشی رو ریجستر کنین

خب من خیلی سرو کله زدم بالاخره ریجستر شد .

نکته اش توی این بود که فایل های سیپ یا همون SIP ورژن 8.5 باشه .

این لینک رو میذارم اینجا :

https://github.com/staskobzar/cisco_prov

مجموع کامل فایل های SIP برای گوشی های سری 79 سیسکو .

راستی فایل xml رو قسمت ادرس مرکز تلفن بذارین

نمونه فایل هاشون دوست داشتم بذارم

ولی خب میدونم که قایل ها از بین میرن .

اهان داخل گوگل درایوم کپی میکنم .

اگه روزی لازم شد اونجا هست .

شماهم لازم داشتین پیام بذارین

فعلنیاش

زمانی که میگذره ... حرفی که باید بزنه اما سکوت میکنه

پنجشنبه ۱۴۰۱/۰۹/۰۳

امروز روز عجیبی بود

بیشتر از هر زمان دیگه ای به این باور رسیدم که خیلی از صحبت ها محکوم به سکوت میشن

چون یا گوینده توانش رو نداره

یا شنونده تاب شنیدنش

پس بر ما چه میگذره در این سکوت های اجباری

عمری که میگذره

حرفی که باید بزنه و اما سکوت میکنه