Elastix in Persian-20Aug2011

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 175

VOIP-IRAN.

com

95 PDF Guide 59

ELASTIX
IN

PERSIAN
] [


info@voip-iran.com .
01
2 .


FreePBX 2.x 2.x
http://www.voip-iran.com

VoIP-IRAN.com ECE Palosanto


:
VoIP-IRAN

95 0959
27 0889

:VoIP-IRAN.com
VoIP-IRAN.com 0887
IPTelephony VoIP VoIP-IRAN.com
VoIP Elastix Asterisk ( Palosanto )Elastix
Elastix . Elastix,

Asterisk Vaak Elastix


.

VoIP


VoIP

voip-

iran .

Elastix Palosanto

: VoIP-IRAN
Palosanto .
VoIP-IRAN
..
info@voip-iran.com .

:VoIP-IRAN

VoIP .
-

ECE Palosanto

Elastix June 2009 01 2119 Elastix.org

Elastix December 2010 01 2101 Elastix.org

Programming & Asterisk Elastix .

ELastix
Elstix Elastix

Elastix in Persian FreePBX Elastix


www.elastix.org

VoIP Elastix

1.

1. 1

0..................................................................................Asterisk

1. 2

8................................................................................... Elastix

3 .1

4................................................................................. Freepbx

4 .1

5.............................................................. VoIP

VOIP

1.2

7.............................................. VoIP

2.2

01 ........................................................................................

3.2

02 ....................................................................................

4.2

02 ..............................................................................

3.

09

1.3

08 .....................................................................................

2.3

08 ................................................................................ISO

3.3

08 .................................................................................

4.3

21 .......................................................................

5.3

20 ...................................................................

6.3

20 ..............................................................................Admin

4.

99

1 .4

22 ............................................................................... Webmin

4. 2

28 ............................................................................... WinSCP

92

)PBX(

5.

26 ...................................................... )General Settings(

1.5

80 ......................................................................)Extensions(

2.5

80 ............................................................ )Create Extensions(

0.2.5

88 .................................................................. )ZAP Extension( ZAP

2.2.5

84 ............................................... )Enable Voicemail(

3.2.5

86 .................................................. )Extensions Batch(

4.2.5

86 ............................................. )Setup Softphones(

3.5

44 ................................................................. )Follow Me(

4.5

47 ...................................................... )Dial Pattern(

5.5

48 ..................................................................... )Trunk(

6.5

50 ........................................... )Outbound Routes(

7.5

52 ................................................ )Inbound Routs(

8.5

55 ............................................ )Time Conditions(

9.5

58 ......................................... )System Recording(

10.5

59 ........................................................ )Final Destinations(

11.5

59 ............................................. )Digital Receptionist(

12.5

68 ............................................................... )Ring Group(

13.5

67 ......................................................................... )Queue(

14.5

67 ..................................................................................

1.14.5

67 ......................................................................................

2.04.5

8.04.5

68 ...................................................................................

15.5

(75 ............................................................ )Announcement

16.5

( 76 ................................................................. )Call Back

17.5

80 ................................................... )DISA(

6.

()CONFERENCE

49

()FAX SERVER

48

0.7

84 ........................................................................... IAX

2.7

(85 ....................................................... )Vistual Fax

8.7

86 ................................................................................

4.7

86 ........................................................................
CALLCENTER

8.

58

0.8

94 ..........................................................................................

2.8

94 .............................................................................

8.8

94 ......................................................................

4.8

95 ............................................................................

5.8

Agent 95 ...........................................................

6.8

97 .......................................................... Ingoing Calls

1.6.8

98 ..................................................................................... Queues

2.6.8

98 .....................................................................................Clients

7.8

98 ....................................................................... Breaks

8.8

99 .................................................................................... Forms

9.8

012 .......................................................... Outgoing Calls

017 ............................................................................... Agent

10.8
9.

CUSTOM CONTEXT

095

10.

OPENFIRE

001

10. 1

005 ............................................................................ OpenFire

2 .01

081 ....................................................................... SPARK

11.

099

0 .00

2 088 .......................................................

2 .00

046 ..........................................................

8 .00

048 ...........................................................

5 .1

NAT 049 ...........................................

4 .00

050 .......................................................... g723 g729

5 .00

(052 .................................................... )Asterisk CLI

6 .00

(054 ............................................... )Feature Codes

09
11. 1

012

25 056 ................................................... VoIP

0
1 .1

Asterisk

( )Unified Communications
0999 GNU/GPL .
,
... IM, Call/Contact Centre
( ,)IP Based .
, ,
, ,
( ) ,
( )Next Generation .
C Linux NetBSD, ,

OpenBSD, FreeBSD, Mac OSX, Solaris, Unix . ,


.
( )CPU/RAM ,

)Unified Communications( . ,
SMB SOHO .Enterprise
.
( )Interface , . ,
.
,
)QoS, Redundancy, Traffic Management & Planning(
Elastix

www.voip-iran.com

Enterprise SMB .
( )IPBX , ( )Call/Contact Centre
... ERP , ,
.
, ,

. , ,
( )...,VoIP, IP Telephony, Video Conferencing
TDM , .
IP Based . ,
( )Reliability
.

.
( )Encryption ( )Line Tapping
.
.
,
. , , ,
.
,
. )High Availability( HA Clustering
( )Reliability . ,
( )Redundancy , ,
Elastix

www.voip-iran.com

, ... , TDM Based.


, ( )Next Generation
.SOHO, SMB, Enterprise , ,
( )Unified Communications ( Enterprise

)Fixed Mobile Convergence .

2 .1

Elastix


IP PBX . PBX
PBX
.
:
( :)Asterisk ( PBX )
:SugarCRM vTigerCRM
:A2Billing
( :)Flash Operator Panel
( : )Hylafax
:Openfire
( :)Conferencing
:freePBX
( :)A report system CD
:OSLEC
:Postfix mail server
:Round Cube webmail

Elastix

www.voip-iran.com

:CentOS Redhat Redhat


Centos
.

.
Backup
.

3 .1

Freepbx

( )Asterisk


Freepbx
iso
Trixbox, Elastix, Asterik Now,

:
http://www.freepbx.org

Elastix

www.voip-iran.com

4 .1

VoIP

VoIP .

IP

Analogue Telephone Adapter

ATA

RJ11

Foreign Exchange Office

FXO

- .

RJ11 .
FXS

Foreign Exchange Station

FXS

.

.

Asterisk RFC5456

Global System forMobile


GSM
communication
Inter Asterisk eXchange
)IAX (IAX2
)protocol (version 2
Internet Engineering Task

IETF
Force
International

ITU
Telecommunications Union
Interactive Voice Response

IVR


NAT .

Network Address Translator

NAT

Elastix

www.voip-iran.com

.
PBX

Private (Automatic) Branch

PBX

Exchange

)(PABX

.
0
1

Pulse Code Modulation

PCM

.

.

Public Switched Telephone


PSTN
Network

( (Packet-switched

QoS

Quality of Service

.
IETF

RFC

Request For Comment

RFC3550

Real-time Transport Protocol

RTP


CallManager

Skinny Call Control Protocol

SCCP

.
VoIP
.

PSTN .

Elastix

Session Initiation Protocol

Signaling System7

SIP

SS7

www.voip-iran.com

9 VoIP
Elastix
.
8
! .

1.2

VoIP


VoIP :
()ATA
Gateway IP
FXS
Gateway

Gateway IPPhone .

Elastix

www.voip-iran.com

IPPhone

()IPPhone
RJ11
( RJ45 )
Built-in .
SNOM .

Elastix

www.voip-iran.com

IPPhone

()SoftPhone
! Softphone
(
) . Eyebeam
.

Elastix

www.voip-iran.com

()Eyebeam

2.2


!
VoIP



!

Elastix

www.voip-iran.com

10

(4

) 21

1GB RAM, Dual Core 2.6 CPU, 128 GB


HDD

81( E1)

51

2 61( E1)

011

4 021( E1

1GB RAM, Core2Duo 2.8 CPU, 128 GB


HDD

2GB RAM, Core2Quad 2.8 CPU, 256 GB


HDD

4GB RAM,2 * Xeon 2.8 CPU, 512 GB HDD

811

.

.
!
.
() Gigabyte
.

Elastix

www.voip-iran.com

11

E1 2 E1 Echo

Canceller
.

3.2

PSTN
Asterisk Asterisk

Compatible.

4.2



!
!
VoIP .
( :) 8
VoIP Elastix
Elastix
Asterisk Cards ATA IPPhone
.

Elastix

http://www.cytco.net

http://www.iranvoipshop.com

www.voip-iran.com

12

9
1.3


Format
IP Soft Phone
Eyebeam IP .

2.3

ISO

:
http://sourceforge.net/projects/elastix/files

( ) :
http://www.voip-iran.com

Trixbox distribution
nero MagicISO Burn Image
CD .
:
.
cd cdrom cdrom
.

Elastix

www.voip-iran.com

13

enter Load installer

Elastix

www.voip-iran.com

14

Elastix

www.voip-iran.com

15

Elastix

www.voip-iran.com

16

remove all partitions

Yes .

Elastix

www.voip-iran.com

17

: SUN Virtual Box


. TDM400 Virtual Machine
VoIP .
)network) interface bridge .

3.3

IP DHCP IP
ifconfig eth0 IP
IP addressbar login IP


!
System-config-network

Elastix

www.voip-iran.com

18

ip .

ip url ip Ui .

admin

username:

Password: palosanto

Elastix

www.voip-iran.com

19

log in( . 0.6 2


Admin Admin
)

4.3

2 Elastix web, a2billing, vtiger, Database, Freepbx


0.6
:

Username: admin
Password: palosanto
Freepbx
user:admin
password:admin
Sugar CRM
Username: admin
Password: password
A2billing
Username: admin
Password: mypassword
Vtiger
Username: admin

Elastix

www.voip-iran.com

20

Password: admin

: :
Admin freepbx ( )PBX
( )PBX Configuration ( )unembedded freepbx freepbx
Basic setup

Administrators

Admin Freepbx .

5.3

()

firefox .
6.3 Admin
admin ( )System
( )UserManagement.

Elastix

www.voip-iran.com

21

8
1 .4

Webmin

Webmin
( :Redhat
)

)0 .
https://sourceforge.net/projects/vaak/files

: Sourceforge
.
wget http://internap.dl.sourceforge.net/sourceforge/webadmin/webmin-1.510-1.noarch.rpm

)2 /tmp
)8 tmp :
cd /tmp

)4 :
rpm --install webmin-1.510.-1.noarch.rpm

webmin
Wbmin
.

http://YOUR-SERVER-IPADDRESS:10000

Elastix

www.voip-iran.com

22

2 .4

WinSCP


! WinSCP Sourceforge


SFTP FTP .
Sourceforg .
http://sourceforge.net/projects/winscp/files/WinSCP/4.2.8/winscp428setup.exe/download

Sourceforge Utilities .
https://sourceforge.net/projects/vaak/files


Host .

Elastix

www.voip-iran.com

23

New .

:
IP :Host name
:User name ( root)
:Password
Host .

Elastix

www.voip-iran.com

24

25

www.voip-iran.com

Elastix

1 ()PBX
1.5

()General Settings


( ) Elastix
.
: Allow Anonymous Inbound SIP Calls .

SIP :

:Allow Anonymous Inbound SIP Calls


"" ( SIP )inbound
. .
()Dial Command Options
Asterisk Dial Command Options

-r -m ( . )

Elastix

www.voip-iran.com

26

)A(x

Announcement x

CDR reset.

. context

- EXITCONTEXT context - .
DTMF
"called" DTMF

)]D([called][:calling bridged .
" "calling .

Elastix

www.voip-iran.com

27

.
callerid
f

Dialplan hint . PSTN


callerID .

Dialplan
.
.

) G(context^exten^pri context
.

'*' DTMF

'*' DTMF .

n+101 .
x . y
. z .
.

)]L(x[:y][:z

LIMIT_PLAYAUDIO_CALLER| ( )
.
LIMIT_PLAYAUDIO_CALLEE|
.

Elastix

www.voip-iran.com

28

LIMIT_TIMEOUT_FILE .
LIMIT_CONNECT_FILE .
LIMIT_WARNING_FILE y
. .

)]m([class

hold
. MusicOnHold .
Macro " "
. Macro "^" Macro .

MACRO_RESULT
Macro :
:ABORT
:CONGESTION ) (congestion
)]M(x[^arg

.
:BUSY .
n+101 ( j ).
:CONTINUE
Dialplan .
> :GOTO:<context>^<exten>^<priority .
context .

Screen/Privacy (

Elastix

www.voip-iran.com

29

)introduction priv-callerintros .

Screen/Privacy CallerID
) (Screen

)]P([x

CallerID CallerID .
0.1 .
Screen Privacy .
Privacy x Family/Privacy

. .

)S(x

x .
DTMF features.conf

DTMF
features.conf .

DTMF one-touch

recording features.conf .

DTMF one-

touch recording features.conf .

Elastix

www.voip-iran.com

30

2.5

()Extensions

.
:
79-71

hold

799-711 hold

0.9.1

7777

) (incoming .

900

( 001)

999

()Create Extensions

Elastix

www.voip-iran.com

31

.
SIP :Generic SIP Device ATA VoIP.
IAX :Generic IAX2 Device .
ZAP:Generic ZAP Device
FXS .
:Other (Custom) Device H.323 .
) (map .

Generic SIP Device SIP submit


submit :

Elastix

www.voip-iran.com

32

:User Extension .
( :Display name)
:Secret .
Apply configuration Changes .

9.9.1

)ZAP Extension( ZAP

( Zap FXS ) SIP IAX


ZAP Generic Device SIP Generic Device ( .

Elastix

www.voip-iran.com

33

DAHDI ZAP ZAP

).
:
FXO .

: SIP alaw ulaw


fail .

9.9.1

()Enable Voicemail

voice mail Enable .


voicemail
voicemail (
).

Elastix

www.voip-iran.com

34

:Voicemail Password .

:Email Address (
. (.
( yes :Email Attachment ).
Yes :Play CID
Yes :Enable Envelop
default :VM Context
Submit Apply Configuration Changes .

Elastix

www.voip-iran.com

35

8.9.1

()Extensions Batch

... excel
.
.

CSV .
local .
.

.
.CSV .
Brows... .
CSV
.

3.5

()Setup Softphones

CounterPath Xlite

Softphone Counterpath VoIP-IRAN

Elastix

www.voip-iran.com

36

http://www.counterpath.com/xlitedownload.html

eyebeam softphone SIP


. counterpath X-Lite.
:

01 SIP



.
SIP( .

) Show Menu eyebeam :

Elastix

www.voip-iran.com

37

Elastix

www.voip-iran.com

38

SIP Account Settings :

Elastix

www.voip-iran.com

39

...Add :


. :
:Display name .
.
:Username .
:Password .

Elastix

www.voip-iran.com

40

:Authorization user name ( .


Sip Proxy
)
:Domain IP ( . DNS Server

).

OK .
.

Elastix

www.voip-iran.com

41

close Eyebeam . ( .
Firewall Eyebeam
Eyebeam )
Eyebeam Eyebeam ready .

Elastix

www.voip-iran.com

42

Eyebeam :
:899 : SIP
... Password Username .
: Request timeout :894 Eyebeam :
.
IP SIP .
SIP Firewall

: :
Headset ( Headset

): .
Speaker .Eyebeam

Eyebeam . Eyebeam

Show menu --> Options -->advanced --> Audio Codec


.
:
Headset ( Headset

.
Speaker .Eyebeam. a
Microphone .
Elastix

www.voip-iran.com

43

Microphone ( .Headset
c. Mute ). Microphone Eyebeam


Eyebeam
***7469 !

4.5 ()Follow Me
.

:

Elastix

www.voip-iran.com

44

()Follow me
:

Elastix

www.voip-iran.com

45

ringallv2 :Ring Strategy )


00 :Extension List 22 .

21 :Ring Time
Terminate call- hang up:Destination If no answer


22 00
Submit Changes Apply Configuration Changes here .

Elastix

www.voip-iran.com

46

: ( )Follow me
( )Follow me )Call Forward( .

5.5

()Dial Pattern




Outbound & Inbound Route Trunk

.
:X 1 9.
:Z 0 9.
:N 2 9.
: . .
| : .
] [ : ] [1356
6 5 8 0 ] [3-7 8 7
:
9|X. 9 9
( ) .
ZX 2 0 9
1 9.
NX. 8 (8 ) 2 9
.
Elastix

www.voip-iran.com

47

6.5

()Trunk



:
:Zap ( )Dahdi Suport
Zap . Freepbx

Zap ZAP/g0 Zap


Zap
:IAX Gateway VoIP Providers IAX

2
2 .
:SIP Gateway VoIP Providers SIP

.
:ENUM E.164 Number to URI Mapping
.
:DUNDI Distributed Universal Number Discovery
VoIP (
) .
:Custom
h323 SCCP

VoIP
PSTN ZAP
Elastix

www.voip-iran.com

48

VoIP Gateway
.
Pennytel .
SIP :Outbound Caller ID

>Your Name <Your Number

:Maximum channels
ZAP 4 2
2 .
:Dial Pattern
9 Outbound Trunk .
:Peer Details
Pennytel .

username=8880XXXX
type=peer
secret= Password
insecure=very
host=sip.pennytel.com
dtmfmode=rfc2833
disallow=all
allow=alaw&ulaw&gsm
Elastix

www.voip-iran.com

49

canredirect=no
canreinvite=no

Gateway :User Context


.
:User Details
canreinvite=no
context=from-trunk
fromuser=888XXXXX
qualify=no
secret= Password
type=user
username=888XXXXX

:Registration
888XXXXX:Password@sip.pennytel.com/888XXXXX

.
http://www.voip-info.org/wiki/view/Asterisk+config+sip.conf
http://www.freepbx.org/support/documentation/module-documentation/trunks

50

www.voip-iran.com

Elastix

7.5

()Outbound Routes

Route ()
( )Softphone, Ipphone, ATA

Outbound Route .
Outbound Route 9
Route () .
Outebound Route Outebound Route .

Elastix

www.voip-iran.com

51

2 :
Dial Pattern
9 Dial Pattern 9
.
runk Sequence

.
Outebound Route 11

.

8.5

()Inbound Routs

(
)
Inbound Route
Inbound Route .

Elastix

www.voip-iran.com

52


( )DID Number ( )Caller ID Number
E1 DID
( ) Caller ID
4465X. Announement ( ).
: Caller ID DID ( )Dial Pattern
Caller ID 4465X. Caller ID 4465 .

Elastix

www.voip-iran.com

53

Set Destination

Announcement .
:
DID Caller ID
Destination Submit Outbound Route

Any DID/ Any CID .

Elastix

www.voip-iran.com

54

9.5

()Time Conditions


IVR 0 IVR

2 .
2 :
: " "" " " "
Add Time Condition .

Elastix

www.voip-iran.com

55

" Time Group"


Time Group
.
: " "Time Group Freepbx
" "" " Unembedded PBX " "
Freepbx admin
( 0.6 admin ).
FreepbxTime Groups

Elastix

www.voip-iran.com

56

8 07 5
Time groups
.
Time Gorup

( )Destination if time maches ( Destination if

.)time does not mache

Elastix

www.voip-iran.com

57

10.5 ()System Recording



" "" " " "
" "System Recorings .



Go

Browse Upload .
: PCM Encoded, 16 Bits, at
8000Hz, Mono

Elastix

www.voip-iran.com

58

11.5 ()Final Destinations



Final Destinations IVR
.

12.5 ()Digital Receptionist


) Interactive Voice Response (IVR . IVR
...
. IVR IVR . (
ring group ) . t, i t .
( time out ) i . IVR
( ) :

Elastix

www.voip-iran.com

59

Digital Receptionist : IVR options


.

:Change Name FreePBX .


:Announcement IVR .
System Recordings FreePBX .
:Timeout IVR
.
t .

Elastix

www.voip-iran.com

60

:Enable Directory #
. ( pound

)key .
:VM Return to IVR IVR
IVR .
.
:Enable Direct Dial IVR
extension .
extension - .
:Loop Before t-dest Timeout
. IVR Repeat Loops .
t
.
:Repeat Loops IVR .
:Timeout Message Timeout
. t
.
:Loop Before i-dest Loop Before t-dest
. i
.
:Invalid Message IVR
. i .
:Repeat Loops .
. .

Elastix

www.voip-iran.com

61

IVR destinations
. :

Elastix

www.voip-iran.com

62

0 Technical Support ( )t
( )i 510 . Increase

Options . IVR .
IVR (.
02 00 01 0 0
).

13.5 )Ring Group(


(External incoming calls)

. (
).
) (Incoming Trunk
.
.
88 .
( ).
.
:

:

Elastix

www.voip-iran.com

63

. Add Ring Group

64

www.voip-iran.com

Elastix

65

www.voip-iran.com

Elastix

:
:Ring-Group Number .
extension endpoint .
:Group Description .
.
:Ring Strategy Endpoint .
Endpoint :
:ringall Extension List .
:ringall-prim
. extension do-not-disturb extension
Destination if no answer .
:hunt Extension List field
.
:hunt-prim ringall-prim extension do-not-disturb

extension hunt
.
:memoryhunt extension extension
( extension timeout).
:memoryhunt-prim extension do-not-disturb
extension memoryhunt
.

Elastix

www.voip-iran.com

66

:firstavailable extension . ( )call waiting


extension .
:firstnotonphone extension .
( )call waiting . extension
.
Submit Changes Apply Configuration Changes Here.

14.5 ()Queue
0.08.1


Queue

Queue.

9.08.1
2 Static Dynamic
Static Ext

Dynamic ( Agent ) .
Static
Dynamic Callcenter Module
Agent .

Elastix

www.voip-iran.com

67

9.08.1


Enterprise
.


. Edit Queue.
Edit Queue
Elastix

www.voip-iran.com

68

.
: Quere Name
:Queue Password Agent Dynamic
CallCenter
.
:CID Name Prefix Agent


.
:Static Agents
Extension Qiuck Pick .
Agent
.
: Extension Qiuck Pick o

Elastix

www.voip-iran.com

69

Queue Options

!
.
:Agent Announcement Agent
Agent " "
Agent .
Elastix

www.voip-iran.com

70

: Join Announcement
. "
"
:Music on Hold Class
Music on Hold .
: Ringing Instead of MoH
Ring .
:Max Wait Time
Fail Over Destination
.
:Max Callers 01 00
.
:Join Empty Yes Agent

No.
:Leave When Empty
Agent .
:Ring Strategy
:ringall Extension List
.
: ringall-prim
. extension do-not-disturb
extension Destination if no

answer .
Elastix

www.voip-iran.com

71

:hunt Extension List field


.
:hunt-prim ringall-prim extension
do-not-disturb extension
hunt .
:memoryhunt extension
extension ( extension
timeout).
:memoryhunt-prim extension do-not-disturb
extension memoryhunt

.
:firstavailable extension . ( call

)waiting extension .
:firstnotonphone extension .
( )call waiting . extension
.

: Agent Timeout ( ) timeout.


:Call Recording /var/spool/asterisk/monitor .

.
:Queue Weight

.

Elastix

www.voip-iran.com

72

Caller Position Announcements

.
:Frequency ( 1 )
:Announce Position " "
:Announce Hold Time 0
Once .
:Periodic Announcements IVR ( IVR )

( )IVR " 0
" IVR .

Elastix

www.voip-iran.com

73

:Fail Over Destination


.
Destination
Announcement Destination

Elastix

www.voip-iran.com

74

15.5 ()Announcement

8
Announcement .
" "" " " " ()Announcement

:
:Rcording " "recoring .

Elastix

www.voip-iran.com

75

:Repeat .
:Allow Skip
.
:Return to IVR IVR ( )
IVR Destination after playback
.

16.5 ()Call Back


( )callback )caller(
( )call target .
( endpoint) VoIP
.
. Callback PBX
( queue IVR voicemail extension )... DISA

.
Callback Internal Options & Configuration
.

Elastix

Callback Description

)a

Callback Number

)b

Delay Before Callback

)c

Destination after Callback

)d

www.voip-iran.com

76

77

www.voip-iran.com

Elastix

Callback Description
.
Elastix

www.voip-iran.com

78

Callback Number
. Callback

Number ( 00
19020000000 callback
) . caller ID
( " "unavailable
" "unknown ).
Delay Before Callback ( )
.
.

( ) .
Destination after Callback
. .
Submit Changes (
)Apply Configuration Changes .

:

. ( toll-free )
.
* )Misc Destinations( 98 .

Elastix

www.voip-iran.com

79

extension
.
VoIP
. . (
) Callback
DISA PBX
VoIP .
DISA .
(

) . VoIP
.
.
.

Elastix

www.voip-iran.com

80

17.5 )DISA(
DISA ( ) PBX
. endpoint VoIP
. extension
PBX .
DISA DISA
Internal Options & Configuration :

:
: DISA name DISA
.

Elastix

www.voip-iran.com

81

: PIN DISA .
. PIN
DISA .
PIN ( . 9102 ,5678 ,0284
9102 5678 0284 )
: Response Timeout ( )
.
. 01
. 05 21
.
: Digit Timeout .
( )
5
5 .
: Require Confirmation
0 . 0 .
inbound route DISA .
time out
.
: Caller ID Caller ID
DISA . " >##########< "Caller Name
Caller Name ########## ( " "Saeed

.)><09111234567 CallerID ( .

Elastix

www.voip-iran.com

82


Trunk )
: Context context DISA
( . )
: Allow Hangup ( **)
. DISA
.
Submit Changes (
Apply Configuration Changes) DISA .

2 ()Conference
0.6
! Web Conference
Web Conference
.
.

Elastix

www.voip-iran.com

83

3 ()Fax Server

Hylafax
IAX,SIP,ZAP .

0.3

IAX

IAX
Hylafax IAX
.
Generic IAX2 Device submit .

:User Extension
:Display Name
:Secret
:Record Incoming Never
:Record Outgoing Never

Submit .

Elastix

www.voip-iran.com

84

9.3

()Vistual Fax

" : "
(" :)IAX IAX "
(" :)IAX IAX !"
" : "
" : 98 "
" : 120 "
" : "
" : "

" "
Running and idle on ttyIAX1
IAX IVR 6
6
.

Elastix

www.voip-iran.com

85

9.3

PDF
.

8.3

Winprint HylaFAX

Winprint HylaFAX

VoIP-IRAN SourceForge Fax Utilities Files .
https://sourceforge.net/projects/vaak/files

WinPrint HylaFAX . exe add

printer printer add a . Local printer


install my Plug and Play printer Automatically detect and .

Elastix

www.voip-iran.com

86

Next select printer port create a new port type


Winprint Hylafax . next .

Elastix

www.voip-iran.com

87

:HFAX1 .

Apple LaserWriter 12/640 PS Apple .

Elastix

www.voip-iran.com

88

Elastix

www.voip-iran.com

89

share Winprint HylaFAX hylafax


right

click properties . .

Elastix

www.voip-iran.com

90

Configure Port .

Elastix

www.voip-iran.com

91

address

server

ip hylafax Username .

permissions hylafax
var/spool/fax/etc/hosts.hfaxd/ ip
. application
winprintHylafax . .

Elastix

www.voip-iran.com

92

hylafax hylafax
Notify E-Mail .

Elastix

www.voip-iran.com

93

4 CallCenter
0.4


Agent Dynamic .
Agent (
) Agent
.

9.4



Queue Queue
.

9.4

( Addons )
.
Install
.

Elastix

www.voip-iran.com

94

CallCenter .

8.4

Agent 2 () .
( :)Ingoing Calls Agent
Agent .
( :)Outgoing Calls
Agent
.

1.4

Agent

Agent
Agents New Agent .
Elastix

www.voip-iran.com

95

:Agent Number Agent Agent


Agent 8 ( ).
:Password Agent
:Retype Password .
:Name Agent Agent .
Agent Save Agent
Off Line .


Agent PBX .
Elastix

www.voip-iran.com

96

Static AgentsAgent A
:

Agent
Ingoing

Calls .

2.4

Ingoing Calls

2
.

Elastix

www.voip-iran.com

97

0.2.4

Queues

Agent
( )PBX ( ) Queue
.
.A
:Select Queue ( )Queue .
:Script Agent .
.B
:Queue List .
:Queue
:Status
2 :Options View
Activate .

9.2.4

Clients


.
CSV .
""""""" "

3.4

Breaks

Breaks Agent Agent


Breaks Breaks

Agent .
Elastix

www.voip-iran.com

98

2 Breaks .
:Name Breaks !
:Description Breaks

Breaks Options
.

4.4

Forms


Agent Agent ( )
.
Agent .
.A Form Designer

Create new form


:

Elastix

www.voip-iran.com

99

(Name) : :
( Description) : :
( Name of Field ) : .
( Order) :
:)( Type :
: Type Label
Agent

: Type Text

:Type List
Agent .
:Type Date
:Type Text Area
.

Elastix

www.voip-iran.com

100

.B Form Preview

Agent
.

Elastix

www.voip-iran.com

101

5.4

Outgoing Calls

.A Campaigns




.
.B
( Create New Campaign )
Campaign .

Elastix

www.voip-iran.com

102

:
( Name) : " "
( Range Date ) :

.

Elastix

www.voip-iran.com

103

( Schedule Per Day ) :


( Form) : Forms
Agent
.
( Trunk) : .
( Max. Used Channels ) :

.
:Context Context Campaign From-Internal
.
( Queue) :
.
( Retries ) : (
:
)...
:Call File CSV .

Elastix

www.voip-iran.com

104


: " ", .
: .

Elastix

www.voip-iran.com

105

:Script Agent .

Elastix

www.voip-iran.com

106

.C
:

Campaign ( )Activate ( )Deactivate.

09.4

Agent

Agent Agent
Agent
.
.A

( Agent Number :)Agent Agent Agent .

Elastix

www.voip-iran.com

107

( Extension) : Agent .
Enter Agent

Agent Number
Agent
! Agent Headset .
.B
.
( )

Elastix

www.voip-iran.com

108

5Custom Context
Freepbx
( )Elastix Freepbx.org VoIP-IRAN sourceforg.net
.
https://sourceforge.net/projects/vaak/files/Modules%20for%20Elastix%20%28Vaak%29/CustomContexts/0.3.7/custom contexts0.3.7.tgz/download

Freepbx

.

...
Freepbx
" "" "" " ( )Unembedded Freepbx
admin ( 0.6
admin).
Freepbx " "Module Admin" "Tools Upload

Module .

Elastix

www.voip-iran.com

109

Upload module costum Contexts .

Elastix

www.voip-iran.com

110

Module Admin Third Party AddonCustom

Contexts ( )Install Process .

Elastix

www.voip-iran.com

111

( Setup ) Third Party AddonCustom


Contexts Contexts Custom

Contexts .
:Context Contexts Contexts .
:Description Contexts

:Dial Rules ( Dial Plan )


. Dial Pattern 2xx
8 2 .

Elastix

www.voip-iran.com

112

Allow
Contexts .

custom Contexts ( )Extentions


Custom Contexts Contexts
.

Elastix

www.voip-iran.com

113

114

www.voip-iran.com

Elastix

09

OpenFire

( IM ) OpenFire ( )Chat
Jabber/XMPP .
Yahoo Messanger Google Talk .
SPARK
:
( )Chat


... MSN ID Yahoo ID
Yahoo Messanger
)Chat( .
0 .09 OpenFire
Tab ( )OpenFire
.

" "Click Here .

Elastix

www.voip-iran.com

115

Elastix

www.voip-iran.com

116

Domain Host IP
!
.

Elastix

www.voip-iran.com

117

.

! .

8 2
Directory Server Clearspace Default .

Elastix

www.voip-iran.com

118

Admin ( )Password
Admin ( ) !
.

Elastix

www.voip-iran.com

119

! OpenFire "Login to the admin console"


.

admin .

Elastix

www.voip-iran.com

120

! ! OpenFire

. .
Plugins (
Upload)

Avalable Plugins ( Asterisk-IM Openfire

)Plugin ( )+
Plugins .
.
SIP Phone Plugin Presence Servic IM gateway

Elastix

www.voip-iran.com

121

Plugin Asterisk-IM .

Elastix

www.voip-iran.com

122

Asterisk-IM Enable 2Drop-Down Device SelectionAsterisk Queue Presence

Yes save .
Asterisk-IM !
Wincps nano
:
/opt/openfire/plugins/asterisk-im/database/asterisk-im_hsqldb.sql

unique .
:
Elastix

www.voip-iran.com

123

! Elastix Reboot.
Reboot Asterisk-IM General Settings Add Server
.
:Server Name HostName voip-iran.
:Server Address 027.1.1.0
5188 :Port
admin :Username

:Password " "elastix456.


.

Elastix

www.voip-iran.com

124

Create Server
Reboot

elastix456

.
/etc/asterisk/manager.conf

Elastix

www.voip-iran.com

125

SPARK
Users/Groups Admin
.

Create New User .


Elastix

www.voip-iran.com

126

Username
Create User .

Elastix

www.voip-iran.com

127


Map ( ) . Asteriks-IM
Phone Mappings.

Elastix

www.voip-iran.com

128

:Username .
:Device SIP/
.
:Extension .
2 Add .

Elastix

www.voip-iran.com

129

SPARK .
9 .09 SPARK
SPARK Openfire
YahooMessanger SPARK
.
http://www.igniterealtime.org/projects/spark/index.jsp

Elastix

www.voip-iran.com

130

Login.
Contacts user Add
Openfire
.

Elastix

www.voip-iran.com

131

132

www.voip-iran.com

Elastix

00
0 .00 9
( )ELastix
IAX IAX2
PBX PBX
( 016 010 IP )PBX .
extension PBX 101 1xxx extension PBX 106 3xxx .
outbound route .

IAX2 .

Elastix

www.voip-iran.com

133

PBX PBX 101


outbound peer-016 user user-016 PBX106
outbounduser peer-010 user-010 .
PBX IAX2 outbound route .

IAX2

IAX2 PBX106 PBX101

- Add tunk FreePBX .

Add IAX2 Trunk - .


Elastix

www.voip-iran.com

134

- Outgoing Settings PBX 101 PBX 106 :

Elastix

www.voip-iran.com

135

. IAX user Outgoing Settings -


. PBX 101 incoming settings Outgoing Settings

Outgoing Settings:

. Trunk Name : 106-peer *


. 192.168.1.106:host *
. PBX IAX2 user username=101-user *

136

www.voip-iran.com

Elastix

* - secret=1234 PBX .
* - type=peer .IAX2 PBX PBX .
* - qualify=yes .
* - trunk=yes channel channel
()

Incoming Settings:

* - User Context: 106-user .


* - secret=1234 PBX .
* - type=user IAX2 user account peer .

incoming settings Outgoing Settings PBX106 .


submit - reload Update . webmin .
etc/asterisk/iax-additional.conf/ PBX101 .

Elastix

www.voip-iran.com

137

/etc/asterisk/iax-additional.conf PBX106 .

- IAx2.

IAX2

( ) CLI .
Elastix

www.voip-iran.com

138

PBX
SSH Putty SSh
FreePBX/Webmin SSH

.
root@pbx~$ asterisk -rvv

( r)V
iax2 show peers .

PBX 101 IAX2 peer . :


peer-016 user-010
Elastix

www.voip-iran.com

139

ok Status .

IAX2 0112 peers .

IAX2 peer PBX 106 . :


peer-010 user-016 .
ok Status .
IAX2 8112
peers .

outbound route PBX 106 PBX 101.


Elastix

www.voip-iran.com

140

outbound route
outbound route extension 7
.
Outbound route PBX 101

outbound route . Outbound route


.

- PBX 106,PBX 101 extension

Outbound pbx 101 Extension PBX 106 .


3001PBX 106 extension 3001 .
Elastix

www.voip-iran.com

141

OUTBOUND pbx 106 Extension PBX 101 .


1001PBX 101 extension 1001 .

PBX 101 :
* - Route Name: 106-dial3xxx .
* - Dial Patterns: 3xxx 4 8 forward .
* - Trunk Sequence: IAX2/106-peer PBX 106 .

Elastix

www.voip-iran.com

142

PBX 106 :
* - Route Name: 101-dial1xxx .
* - Dial Patterns: 1xxx . 4 0 forward .
* - Trunk Sequence: IAX2/101-peer PBX 101 .

- PBX 7 .
outbound rule PBX 106 7 extension .
Local PBX 106 IAX2
outbound rule PBX 101 7 extension .
Local PBX 101 IAX2 .

Elastix

www.voip-iran.com

143

PBX 101 :
* - Route Name: 106-dial7ext .
* *| - 7 7 forward .
* - Trunk Sequence: IAX2/106-peer PBX 106 .

PBX 106 :
* - Route Name: 101-dial7ext .
Elastix

www.voip-iran.com

144

* *| - 7 7 forward .
* - Trunk Sequence: IAX2/101-peer PBX 101 .

-d peer PBX IAX2extension SIP POST .


Online online FreePBX .

channel .
channel 8 IAX2 . ip phon IAX2 S100i POTS
IAX2 FXS pots phone

Elastix

www.voip-iran.com

145

9 .00


sip_general_additional.conf edit

vi /etc/asterisk/sip_general_additional.conf

videosupport=yes
maxcallbitrate=384
allow=h261

Elastix

www.voip-iran.com

146

allow=h263
allow=h263p
allow=h264

: reload
asterisk -rx "module reload"

7.7 FreePBX
Unembedded FreePBX PBX Configuratin ) Elastix(
Asterisk IXA Settings Asterisk SIP Settings Tools FreePBX
.) Video Support(

147

www.voip-iran.com

Elastix

softphones .
software

platform

url

Linux

http://www.ekiga.org

Ekiga

Windows

http://www.adoresoftphone.com/softphones/softphone-video.html

Adore
Video

Windows

http://www.counterpath.com/index.php?menu=Products&amp;smenu=eyeBeam

Eyebeam

Windows

http://www.counterpath.com/index.php?menu=Products&amp;smenu=bria

Bria 2.0

Video .

9 .00
Custom-Context

( )PBX
( )PBX Configuration ( )General Settings Asterisk Outbound Dial

command options .
(L(3600000:300000

.
(trL(3600000:300000

Elastix

www.voip-iran.com

148

L(x:y) x
y
66 5
.
http://www.voip-info.org/wiki/view/Asterisk+cmd+Dial

5 .1

NAT

:
Valid IP NAT
NAT
Invalid IP .
sip_nat.conf etc/asterisk :
nat=yes
externip=<your fixed external IP> or
>externhost=< myasterisk.freedns.com
localnet=192.168.1.0/255.255.255.0
externrefresh=10

extern ip Valid MAP ADSL


IP ADSL
Forward.
tcp: 5060
udp: 10000-20000

: SIP Setting FreePBX


2.7 FreePBX ( )ElastixPBX
Elastix

www.voip-iran.com

149

Configuration Unembedded FreePBX FreePBX


Tools Asterisk SIP Settings .

.
!

Elastix

www.voip-iran.com

150

g723 g729 8 .00




.
cd /usr/src
service asterisk restart
wget http://asterisk.hosting.lv/bin/codec_g723-ast14-icc-glibc-pentium4.so
mv codec_g723-ast14-icc-glibc-pentium4.so /usr/lib/asterisk/modules
chmod +x /usr/lib/asterisk/modules/codec_g723-ast14-icc-glibc-pentium4.so
wget http://asterisk.hosting.lv/bin/codec_g729-ast14-icc-glibc-pentium4.so
mv codec_g729-ast14-icc-glibc-pentium4.so /usr/lib/asterisk/modules
chmod +x /usr/lib/asterisk/modules/codec_g729-ast14-icc-glibc-pentium4.so
asterisk -rx "module load codec_g729-ast14-icc-glibc-pentium4.so"
asterisk -rx "module load codec_g723-ast14-icc-glibc-pentium4.so"
service asterisk restart
sleep 2
asterisk -rx "core show codecs

2 VoIP
. /etc/asterisk/sip_custom.conf /etc/asterisk/sip_custom.conf
Allow = g729
Allow = g723

2
Unembedded FreePBX PBX Configuratin ) Elastix(
Asterisk IXA Settings Asterisk SIP Settings Tools FreePBX
.

151

www.voip-iran.com

Elastix

1 .00 ()Asterisk CLI


Asterisk
. CLI
.
Asterisk rvvv

r v v
Log 8 v .
Log

CLI .
Help

. :

Elastix

www.voip-iran.com

152

SIP

sip show peers

show channels

soft hangup Zap/1

Agent

show agents

show queues

reload

stop gracefully

.
.
.

stop now
stop when convenient

show uptime

show version

SIP
SIP .
( SIP )
SIP

sip show channels


sip show channel
sip show users

sip set debug on

SIP .

Elastix

www.voip-iran.com

153

:
http://www.voip-info.org/wiki/view/Asterisk+CLI

)Feature Codes( 2 .00



.
## - Transfer ( )
70 - Park Extension
*30 - Blacklist a Number
*32 - Blacklist the Last Caller
*31 - Remove a Blacklisted Number
*72 - Call Forward All Activate
*73 - Call Forward All Deactivate
*74 - Call Forward All Prompting Deactivate
*90 - Call Forward Busy Activate
*91 - Call Forward Busy Deactivate
*92 - Call Forward Busy Prompting Deactivate
*52 - Call Forward No Answer/Unavailable Activate
*53 - Call Forward No Answer/Unavailable Deactivate
*70 - Call Waiting Activate
*71 - Call Waiting Deactivate
** - Call Pickup ()
555 ChanSpy ) (
7777 - Simulate Incoming Call
666 - Simulate Incoming FAX Call
*12 - User Logoff

154

www.voip-iran.com

Elastix

*11 - User Logon


888 ZapBarge ) (
*35 - Email completed dictation
*34 - Perfom Dictation
*78 - Do Not Disturb Activate
*79 - Do Not Disturb Deactivate
*422 - Connect to Gabcast
*69 - Call Trace
# - Directory
*43 - Echo Test
*65 - Get Your Extension
*60 - Get the Time
*80 - Intercom Prefix
*54 - User Intercom Allow
*55 - User Intercom Disallow
411 - Phonebook dial-by-name directory
*99 - Check Recording
*77 - Save Recording
*75 - Set user speed dial
*0 - Speeddial prefix
*98 - Dial Voicemail
*97 - My Voicemail

155

www.voip-iran.com

Elastix

09
91 0 .00 VoIP
VoIP

VoIP :
DoS
. ...
.

VoIP 25 .
:
VoIP VLAN

VLAN
VLAN .
DoS . VLAN
VoIP

VoIP


VoIP . VoIP :

Elastix

www.voip-iran.com

156


... .

VoIP


.
ISP VSP
. VoIP Mac IP
Administrator
Interface Right Permission .
SIP Gateway .
.



. Gateway Host
. Packet
.
:
SRTP

Secure Real Time Protocol ( endpoint ) .


TLS

Elastix

www.voip-iran.com

157

Transport Level Security .

( Backup Server ( :VoIP



fail ...
. load balancing
.


VLAN
. .
.
) VoIP (VSP H.323 SIP

.

Patch
VoIP
. Patch
VoIP .

( VoIP )
Elastix

www.voip-iran.com

158

IP PBX
VoIP .
Softphone
VoIP
VoIP
. .


session .
.
.



. Softphone
RJ 44 MAC IP .


IP phone
.

Elastix

www.voip-iran.com

159

Gateway
Gateway
.
. Gateway
Gateway Application NAT SIP
.


VoIP VoIP
.
. VoIP
.

SIP

SIP
session .

Application

Elastix

www.voip-iran.com

160

VoIP .
.

VPN .
. " "
. VLAN
.


- -
.
SSL SIP .

VoIP
DoS .
.

:

... ..

Elastix

www.voip-iran.com

161


IEEE 802.1X

LAN .WLAN :
)Cisco : Network Access Control (NAC
)Microsoft : Network Access Protection (NAP
)TCG : Trusted Network Connect (TNC


VoIP
.



) )IPsec (IP Security Secure Shell (SSH
. IP PBX .

tunneling IPsec IPsec transport


transport Tunneling IP
. IPsec transport IP Address
.

( ) VoIP
Elastix

www.voip-iran.com

162

)Platform( VoIP
.
Host
.

VoIP
. .
VoIP PSTN

.
.

Elastix

www.voip-iran.com

163


Elastix
( )Elastix Certified Engineer VoIP-IRAN .


Google Chat
.



.
( ) ( IVR )FreePBX ( )OpenFire ( CallCernet )WebConference


.0 .
.2 .
.8 .
.4 .

Elastix

www.voip-iran.com

164

165

www.voip-iran.com

Elastix

You might also like