Where xxx is the username associated with the SIP client, or is an arbitrary name used by
other configuration files to refer to this SIP device. Typically if a SIP phone has an extension
number of 123, then its corresponding entry in this file will begin with [123]. Note that you
still have to enable an extension 123 in your dial plan to reach this phone. The other way that
incoming SIP requests are matched to [xxx] sections in this file, is to examine the IP address
that the request is coming from, and look for a peer [xxx] section that has a matching
Host=[value]. If Host = [dynamic], then no match is possible until the SIP client has
registered.
[grandstream1]
type=friend ; either "friend" (peer+user), "peer" or "user"
context=from-sip
username=grandstream1 ; usually matches the <A&NBSP;CLASS='WIKI'&NBSP;&NBSP;H
REF='SECTION'>section title
fromuser=grandstream1 ; overrides the callerid, e.g. required by FWD
callerid=John Doe <1234>
;host=192.168.0.23 ; we have a static but private IP address
host= dynamic
nat=yes ; there is not NAT between phone and Asterisk
canreinvite=yes ; allow RTP voice traffic to bypass Asterisk
dtmfmode=info ; either RFC2833 or INFO for the BudgeTone
mailbox=1234@default ; mailbox 1234 in voicemail context "default"
disallow=all ; need to disallow=all before we can use allow=
allow=ulaw ; Note: In user sections the order of codecs
; listed with allow= does NOT matter!
;allow=alaw
;allow=g723.1 ; Asterisk only supports g723.1 pass-thru!
;allow=g729 ; Pass-thru only unless g729 license obtained
[xlite1]
;Turn off silence suppression in X-Lite ("Transmit Silence"=YES)!
;Note that Xlite sends NAT keep-alive packets, so qualify=yes is not needed
type=friend
username=xlite1
callerid="Jane Smith" <5678>
host=dynamic
nat=yes ; X-Lite is behind a NAT router
canreinvite=no ; Typically set to NO if behind NAT
disallow=all
allow=gsm ; GSM consumes far less bandwidth than ulaw
allow=ulaw
allow=alaw
Tab. 14 -example of sip.conf
6.2 Part of clients
In the World have made many of clients. I focused on the main on the soft clients which can be usable with the asterisk open software
and have support more than one of communication protocol. Summary of software clients:
• iFon
• SJphone
• X-Lite
• KPhone
• LIPZ4
Kommentare zu diesen Handbüchern