Hi, we have a demo of mx-one and we saw the command sip_route. What is the work of this command? Is this a command for trunk sip with other sip servers?
Thanks
1.2 FUNCTION
The sip_route command is used to administrate route data specific to sip trunks. The data is in addition to the traditional route data.
Note The SIP route data has to be present before command ROEQI is used. Sip routes can be configured just to register subscribers in remote system without traffic configuration.
When using third party registration, a siprout can only register one number range to the remote location. However, it is possible to inmitiate additional siproutes without connection to RO-data, to enable more number series to be registered in the remiote end. (See see 1.4.8 Example 8 )
Note The sip_route command is not accepting traffic until the command ROEQI is tying the traffic data to the SIP trunks.
1.3 PARAMETERS
-accept Type of matching to perform when handling calls
Values: NOT_USED, FROM_DOMAIN, REMOTE_IP, ALL. (ALL must have priority = 255)
-match IP address or list of addresses to match the incomming call. The call must match domain in the "from" field when FROM_DOMAIN is used or the sender of the SIP message when REMOTE_IP is selected (can be proxy or remote system).
-numbers Number range to handle
-password Password to be used for sip trunk when registering users in remote site, or challenge at outgoing calls.
-print Print data for this route
-priority Priority when matching incoming call data to route dataInteger 0-255, lowest priority = 255. Default = 255
-protocol Protocol to use when calling. (udp or tcp). Default: udp
-proxyip IP address for outbound proxy (send destination if not the address in uristring).
-proxyport Proxy host port. To use default port (5060) set "0". Must be "0" if server records are used.
-realm Realm that the registering number belongs to. String.
-register Register the "-numbers" to the remote system.
NO_REG -Do nothing
ALL_NUMBERS -All in numbers. Run in LIM1 only.
ALL_EXT -All extensions in numbers. Run in LIM1 only.
LIM_EXT -LIMK extensions in number. Run in all LIMs in parallell.
-registerport Registration host port. To use default port (5060) set "0". Must be "0" if server records are used
-registerstring Translation string where the number is inserted when registering clients in the co-operating system. The data is used when the number to register needs pre- or post-fixing. The remote number is inserted at the "?" position, format is "sip:?@company.com"
-remoteport Remote host port. To use default port (5060) set "0". Must be "0" if server records are used.
-remove Remove data for this route
-route Route number for this route. Integer
-set Set or change data for this route
-timer Default time before re-registering in seconds. Default=3600 (1 h), Range 300-86400. (5 minutes to 24 h)
-uristring Translation string where the translated B-number is inserted before starting the call to the remote side. The remote number is inserted at the "?" position Format is "sip:?@company.com"
1.4 EXAMPLES
1.4.1 Example 1
Print data for route 1
sip_route -print route 1
1.4.2 Example 2
End route 1
sip_route -remove route 1
1.4.3 Example 3
Initiate route 1 only outgoing calls
sip_route -set -route 1 -protocol tcp -password secret -uristring "sip:?@company.com"
1.4.4 Example 4
Initiate route 1 for incoming calls from remote end and check originator addresses 10.0.1.10, 10.0.1.11, and 10.0.1.12 . Registration of numbers in own lim to the remote system, add prefix "23" as this is our own exchange number.
sip_route -set -route 1 -password secret -accept REMOTE_IP -priority 1 -match 10.0.1.10,10.0.1.11,10.0.1.12 -register LIM_EXT -numbers 322...399 -registerstring "sip:23?company.com"
[/tt]
-----------------------------------------------------
What You See Is What You Get
Never underestimate tha powah of tha google!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.