
host=dynamic
canreinvite=yes
context=Max ------- A
nat=yes
The extensions.conf was based on the context name in the sip.conf file (B flag).
Please check out the example in extensions.conf as following:
In “extensions.conf” file,
[Max]
exten => 886001,1,Dial(SIP/886001,20,Ttm)
While the clients send the number 886001 to Asterisk, it will find out the
matching rule in the extensions.conf and decide the destination here.
The number 886001 will be sent to the name 886001 (A flag) with the SIP
protocol. The first emotion is dialing and timer for timeout is 20s.
Regarding to the other flags just like “Ttm”, please get more detail info from the
Asterisk web site about the parameters using in extensions.conf file. “T” is for
the Absolute timeout, “t” is for the timeout and “m” is for the coloring ring back
tone function.
Please get more or detail about this parameters using as following:
http://www.voip-info.org/tiki-index.php?page=Asterisk+standard+extensions
4.2 Making calls to the none-registered clients
Asterisk could also send the calls to the clients which were not registered on it.
This could be used like set the calls to the Trunk gateway or FXO unit for the
outbound calls. Please check out the example as following:
[Max]
exten => _0XXXXXXXXX,1,Dial(SIP/${EXTEN}@61.219.198.203,20)
The calls will be sent to the client which was located with the ip address
61.219.198.203 with the prefix number is 0 and 10 digits. This syntax was
7
Comentários a estes Manuais