X Lite And Asterisk

background image

Setting up an X-Lite client on Asterisk

X-Lite and Asterisk

Ver 1.00

Page 1

1) Adding a client entry to Asterisk’s SIP configuration

4

edit the SIP configuration file /etc/asterisk/sip.conf

% sudo vi /etc/asterisk/sip.conf

4

enter an entry for each X-Lite client, for example

[12345]

; X-Lite client 12345

type=friend
secret=blah
auth=md5
nat=yes

; we assume clients are behind NAT

host=dynamic

; and have dynamic IP addresses

reinvite=no

; if so, we need to make them

canreinvite=no ; always go through Asterisk
qualify=1000
dtmfmode=inband
callerid="Fred Flintstone" <12345>
disallow=all
allow=gsm

; add whatever other codecs we fancy

context=theflintstones ; use a context that exists ;-)

4

save the changes

2) Adding extensions for X-Lite clients

4

edit the Extensions configuration file /etc/asterisk/extensions.conf

% sudo vi /etc/asterisk/extensions.conf

4

enter one catch-all extension, for example

[theflintstones]

; Our context for X-Lite clients

;
; Catch all five digit numbers, no leading zeroes
exten => _[123456789]XXXX,1,NoOp(“call for “${EXTEN})
exten => _[123456789]XXXX,2,Dial(SIP/${EXTEN},60,tr)
exten => _[123456789]XXXX,3,Congestion

4

alternatively, enter one specific extension for each client

4

save the changes

3) Reload the new configuration

4

on the Asterisk console, reload the configuration files

switch1*CLI> reload

that’s it – we’re done.


Wyszukiwarka

Podobne podstrony:
0021 2003 08 The Asterisk Ip Pbx And Enum
Asterisk Voip And Pots Integration With Asterisk
Postmodernity and Postmodernism ppt May 2014(3)
Scoliosis and Kyphosis
L 3 Complex functions and Polynomials
4 Plant Structure, Growth and Development, before ppt
Osteoporosis ľ diagnosis and treatment
05 DFC 4 1 Sequence and Interation of Key QMS Processes Rev 3 1 03
Literature and Religion
lec6a Geometric and Brightness Image Interpolation 17
Historia gry Heroes of Might and Magic
Content Based, Task based, and Participatory Approaches
Lecture10 Medieval women and private sphere
A Behavioral Genetic Study of the Overlap Between Personality and Parenting
Hine P Knack and Back Chaos
Financial Institutions and Econ Nieznany
93 1343 1362 Tool Failures Causes and Prevention

więcej podobnych podstron