50٪ تخفیف روی تمام دوره‌ها!
پایان تخفیف تا:
مشاهده دوره‌ها
0

راه اندازی ترانک بین روتر 2911 و سرور الستیکس

با سلام ، من طبق آموزش زیر ترانک بین روتر سیسکو و الستیکس برای یک خط E1 زدم.ولی تماس نمیتونم بگیرم ، در داخل الستیکس وضعیت ترانک OKنشون میده

Basic setup from freepbx to cisco 28XX as voicegateway with PRI

پرسیده شده در 1394/08/11 توسط

15 پاسخ

0

voice-port 0/1/0:15
 connection plar 5000

!

dial-peer voice 1 voip
 description Vorodi
 destination-pattern 3000
 session protocol sipv2
 session target ipv4:(IP Elastix)
 dtmf-relay rtp-nte
 codec g711ulaw
!
dial-peer voice 2 pots
 destination-pattern .T
 direct-inward-dial
 port 0/0/0:15
 authentication username admin password XXXXXXXXXXXXX

پاسخ در 1399/11/10 توسط
0

الستیکس از پروتکل SIP استفاده می کنه شما توی کانفیگت باید پورت و IP مروبط به SIP را مشخص کنید

voice register global
 mode cme
 source-address 10.11.0.145 port 5060
 max-dn 144
 max-pool 20

همینطور قرار شما تماس ها رو از حالت دیجیتال به صورت آنالوگ روی E1 ارسال کنید به همین خاطر باید از dial-peer از نوع pot استفاده کنید و destination رو port های e1 که ایجاد کردید مشخص بشه

پاسخ در 1394/08/12 توسط
1

این کانفیگ های که گذاشتم مربوط به روتر شماست و هر پورت E1 به شما 31 خروجی fxo میده

پاسخ در 1394/08/13 توسط
0
 Last configuration change at 11:19:39 tehran Wed Nov 4 2015 by cisco
 NVRAM config last updated at 07:18:51 tehran Tue Nov 3 2015 by cisco
NVRAM config last updated at 07:18:51 tehran Tue Nov 3 2015 by cisco
version 15.1
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname cisco
!
boot-start-marker
boot-end-marker
!
!
card type command needed for slot/vwic-slot 0/0
 card type command needed for slot/vwic-slot 0/1
enable secret 5 $1$aRI3$FkeqlhdnpdagT2EIvVVtz.
!
no aaa new-model
clock timezone tehran 3 0
network-clock-participate wic 0 
!
no ipv6 cef
ip source-route
ip cef
!
!
!
!
!
ip domain name 
multilink bundle-name authenticated
!
!
!
!
isdn switch-type primary-ni
!
crypto pki token default removal timeout 0
!
!
voice-card 0
 dspfarm
!
!
voice rtp send-recv
!
voice service voip
 allow-connections h323 to h323
 allow-connections h323 to sip
 allow-connections sip to h323
 allow-connections sip to sip
 redirect ip2ip
 signaling forward unconditional
 fax protocol none 
 sip
  bind control source-interface GigabitEthernet0/0
  bind media source-interface GigabitEthernet0/0
  registrar server
!
!
voice register global
 mode cme
 source-address 172.27.221.12 port 5060
 max-dn 144
 max-pool 20
!
!
!
!
license udi pid CISCO2911/K9 sn FGL1607134D
hw-module pvdm 0/0
!
!
!
username cisco privilege 15 password 0 cisco
!
redundancy
!
!
controller E1 0/0/0
 framing NO-CRC4 
 clock source line bits
 pri-group timeslots 1-31
!
controller E1 0/0/1
!
ip ssh version 2
!
!
!
!
interface Embedded-Service-Engine0/0
 no ip address
 shutdown
!
interface GigabitEthernet0/0
 ip address 172.27.221.158 255.255.255.192
 duplex auto
 speed auto
!
interface GigabitEthernet0/1
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface GigabitEthernet0/2
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface Serial0/0/0:15
 no ip address
 encapsulation hdlc
 isdn switch-type primary-net5
 isdn incoming-voice voice
 no cdp enable
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ip route 0.0.0.0 0.0.0.0 172.27.221.129
!
!
!
!
control-plane
!
!
voice-port 0/0/0:15
!
!
no mgcp package-capability res-package
no mgcp package-capability fxr-package
no mgcp timer receive-rtcp
no mgcp explicit hookstate
!
mgcp profile default
!
!
dial-peer voice 1 voip
 destination-pattern .T
 session protocol sipv2
 session target ipv4:172.27.221.12
 dtmf-relay rtp-nte
 codec g711ulaw
!
dial-peer voice 2 pots
 destination-pattern .T
 incoming called-number .T
 direct-inward-dial
 port 0/0/0:15
!
!
gateway 
 timer receive-rtp 1200
!
!
!
gatekeeper
 shutdown
!
!
telephony-service
 max-conferences 8 gain -6
 transfer-system full-consult
!
!
!
line con 0
line aux 0
line 2
 no activation-character
 no exec
 transport preferred none
 transport input all
 transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
 stopbits 1
line vty 0 5
 login local
 transport input ssh
!
scheduler allocate 20000 1000
end
پاسخ در 1394/08/13 توسط
0

سلام. وقت بخیر
مهندس حسن پور
امکانش هست نحوه ی تعریف plar و در مسیرقراردادن Pots رو توضیح بدید. من هم این مشکل را دارم.
این پست خیلی خوب وکامل بود اگر این قسمت رو هم توضیحی بدید عالی میشه ویک داکیومنت قوی تو این حوزه میشه

پاسخ در 1399/05/27 توسط
0

واقعیتش من متوجه نشدم این کانفیگ که گذاشتید.

من تلفن هارو میخوام مستقیم روتر سرور الستیکس ریجیستر کنم و فقط برای Voip Gatewayاز روتر سیسکو استفاده کنم.برای خط E1 روتر 2911 و 2811 دارم.برای خط های آنالوگ روتر 1760 دارم.

الان فقط ترانک بین روتر ها و سرور الستیکس نمیتونم بزنم.

پاسخ در 1394/08/13 توسط
0

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


!
interface FastEthernet0/0
 ip address 10.11.0.145 255.255.255.0
 no shut

!
telephony-service
 max-ephones 42
 max-dn 144
 ip source-address 10.11.0.145 port 2000
!
ephone-dn  1  dual-line
 number 101
!
ephone-dn  2  dual-line
 number 102
!
ephone-dn  3  dual-line
 number 103
!
ephone-dn  4  dual-line
 number 104
!
ephone-dn  10  dual-line
 number 110
!
ephone  1
 device-security-mode none
 mac-address D43D.7E01.1C68
 button  1:1 2s3 3f4 4f10
!
ephone  2
 device-security-mode none
 mac-address C860.0011.BAEA
 button  1:2
!
=======================DIAL-Peer=====================
!
dial-peer voice 1 voip
 destination-pattern 09T
 session protocol sipv2
 session target ipv4:10.11.0.66
!
dial-peer voice 2 voip
 destination-pattern 119..
 session protocol sipv2
 session target ipv4:10.11.0.17
!
===========================SIP=================
!
voice service voip
 allow-connections sip to sip
 sip
  registrar server
!
!
voice register global
 mode cme
 source-address 10.11.0.145 port 5060
 max-dn 144
 max-pool 20
!
voice register dn  1
 number 11991
 name Mr-ghanbari
!
voice register pool  1
 id mac 0015.655C.AE10
 number 1 dn 1
 dtmf-relay rtp-nte
 username 11991 password cme123
 no vad
!
!
پاسخ در 1394/08/12 توسط
1

اول از همه باید روی روتر بحث SIP رو فعال کنید

voice service voip
 allow-connections sip to sip
 sip
  registrar server
!
!
voice register global
 mode cme
 source-address 10.11.0.145 port 5060
!

در اینجا به جای اون IP باید IP روتر رو جایگزین کنی

با دستور show voice port summary باید لیست پورت های fxo رو ببینی

بعد باید dial-peer بنویسی

dial-peer voice 1 pots
  destination-pattern T
  port 1/0:5

که در اینجا باید مقدار که توی دستور show بالا روی می بینی جایگزین 1/0:5 کنی

پاسخ در 1394/08/13 توسط
0

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

در مورد destination-pattern :

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

در مورد destination-pattern :
||http://network.tosinso.com/files/get/e7e87e1b-8041-4308-bbcb-29466753618e||
پاسخ در 1394/08/13 توسط
0

تنظیمات سمت روتر سیسکو


 Last configuration change at 14:26:15 tehran Mon Nov 2 2015 by cisco
version 15.1
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname cisco
!
boot-start-marker
boot-end-marker
!

card type e1 0 0
 card type command needed for slot/vwic-slot 0/1

!
no aaa new-model
clock timezone tehran 3 0
network-clock-participate wic 0 
network-clock-select 1 E1 0/0/0
!
no ipv6 cef
ip source-route
ip cef
!
!
!
!
!
ip domain name 
multilink bundle-name authenticated
!
!
!
!
isdn switch-type primary-ni
!
crypto pki token default removal timeout 0
!
!
voice-card 0
 dspfarm
!
!
voice rtp send-recv
!
voice service voip
 allow-connections h323 to h323
 allow-connections h323 to sip
 allow-connections sip to h323
 allow-connections sip to sip
 redirect ip2ip
 signaling forward unconditional
 fax protocol none 
 sip
  bind control source-interface GigabitEthernet0/0
  bind media source-interface GigabitEthernet0/0
!
!
!
!
!
license udi pid CISCO2911/K9 sn FGL1607134D
hw-module pvdm 0/0
!
!
!
username cisco privilege 15 password 0 cisco
!
redundancy
!
!
controller E1 0/0/0
 framing NO-CRC4 
 channel-group 1 timeslots 1-31
!
controller E1 0/0/1
!
ip ssh version 2
!
!
!
!
interface Embedded-Service-Engine0/0
 no ip address
 shutdown
!
interface GigabitEthernet0/0
 ip address 172.27.221.158 255.255.255.192
 duplex auto
 speed auto
!
interface GigabitEthernet0/1
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface GigabitEthernet0/2
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface Serial0/0/0:1
 no ip address
!
interface Serial0/0/0:1.30
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ip route 0.0.0.0 0.0.0.0 172.27.221.129
!
!
!
!
control-plane
!
!
!
no mgcp package-capability res-package
no mgcp package-capability fxr-package
no mgcp timer receive-rtcp
no mgcp explicit hookstate
!
mgcp profile default
!
!
dial-peer voice 2 voip
 numbering-type unknown
 destination-pattern .
 session protocol sipv2
 session target ipv4:172.27.221.12:5060
 session transport udp
 dtmf-relay rtp-nte
 codec g711ulaw
!
dial-peer voice 1000 voip
 numbering-type unknown
 destination-pattern 4..
 session protocol sipv2
 session target ipv4:172.27.221.12:5060
 session transport udp
 dtmf-relay rtp-nte
 codec g711ulaw
!
!
gateway 
 timer receive-rtp 1200
!
sip-ua 
 retry invite 3
 retry response 3
 retry bye 3
 retry cancel 3
 timers trying 1000
 sip-server ipv4:172.27.221.12
!
!
!
gatekeeper
 shutdown
!
!
!
line con 0
line aux 0
line 2
 no activation-character
 no exec
 transport preferred none
 transport input all
 transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
 stopbits 1
line vty 0 5
 login local
 transport input ssh
!
scheduler allocate 20000 1000
end

پاسخ در 1394/08/12 توسط
0

این تنظیماتی که سمت روتر توی لینکی که گذاشتید هست مربوط به استاندارد امریکا هست که از خطوط T1 استفاده می کنند در صورتیکه در ایران از خطوط E1 استفاده میشه

در صورت امکان تنظیماتی که انجام دادید رو بزارید که بهتر بشه راهنمایتون کرد

پاسخ در 1394/08/11 توسط
0

مرسی از لطف شما با این کانفیگ جواب داد ولی از بیرون نمیتونم زنگ بزنم به داخل مشکلش از چی میتونه باشه؟

من اگه بخوام کل تماس های داخلی بفرستم به IVRباید روی روتر چیکار کنم؟

یه روتر 1760 هم دارم برای خطوط آنالوگ که SIPباید روی اونم کانفیگ کنم

در مورد destination-pattern چه سوییچ هایی داره؟

پاسخ در 1394/08/13 توسط
1

من مشکل رو پیدا کردم باید برید و یه PLAR تعریف کنید و در مسیر Pots اون رو توی Destination-patern صدا بزنید. پترن نوشتن دو راه داره که راه معمولش همونی هست که گفتید و راه دومش هم اینه که گفتم خدمتتون.

پاسخ در 1397/09/27 توسط
0

من ماژولم E1 دو پورت هستش

سمت الستیکس مشکل ندارم.مشکلم سمت روتر سیسکو و نحوه کانفیگش هست

پاسخ در 1394/08/13 توسط
0

تنظیمات سمت سرور الستیکس

PEER Details: 
type=friend
qualify=yes
nat=no
insecure=very
host=172.27.221.158
dtmfmode=rfc2833
disallow=all
context=from-internal
allow=ulaw&alaw

USER Details: 
type=friend
qualify=yes
nat=no
host=172.27.221.158
dtmfmode=rfc2833
disallow=all
context=from-trunk
canreinvite=no
allow=ulaw&alaw
پاسخ در 1394/08/12 توسط

پاسخ شما