preprocessor sip
Option syntax
| Option | Argument | Required | Default |
| disabled | NONE | NO | OFF |
| max_sessions | <max_sessions> | NO | max_sessions 10000 |
| max_dialogs | <max_dialogs> | NO | max_dialogs 4 |
| ports | <ports> | NO | ports { 5060 5061 } |
| methods | <methods> | NO | methods { invite cancel ack bye register options } |
| max_uri_len | <max_uri_len> | NO | max_uri_len 256 |
| max_call_id_len | <max_call_id_len> | NO | max_call_id_len 256 |
| max_requestName_len | <max_requestName_len> | NO | max_requestName_len 20 |
| max_from_len | <max_from_len> | NO | max_from_len 256 |
| max_to_len | <max_to_len> | NO | max_to_len 256 |
| max_via_len | <max_via_len> | NO | max_via_len 1024 |
| max_contact_len | <max_contact_len> | NO | max_contact_len 256 |
| max_content_len | <max_content_len> | NO | max_content_len 1024 |
| ignore_call_channel | NONE | NO | OFF |
max_sessions = 1024-4194303
max_dialogs = 1-4194303
methods = "invite"|"cancel"|"ack"|"bye"|"register"| "options"\
|"refer" |"subscribe"|"update"|"join"|"info"|"message"\
|"notify"|"prack"
max_uri_len = 0-65535
max_call_id_len = 0-65535
max_requestName_len = 0-65535
max_from_len = 0-65535
max_to_len = 0-65535
max_via_len = 0-65535
max_contact_len = 0-65535
max_content_len = 0-65535
Option explanations
ports { <port> [<port>< ... >] }
ports { 5060 5061 }
methods { <method-list> }
method-list = method|method method-list
methods = "invite"|"cancel"|"ack"|"bye"|"register"| "options"\
|"refer"|"subscribe"|"update"|"join"|"info"|"message"\
|"notify"|"prack"
methods { invite cancel ack bye register options }
methods { invite cancel ack bye register options information }
max_sessions 30000
disabled
ports { 5060 5061 }
methods { invite cancel ack bye register options }
methods { invite cancel ack bye register options information }
max_uri_len 1024
max_call_id_len 1024
max_requestName_len 10
max_from_len 1024
max_to_len 1024
max_via_len 1024
max_contact_len 1024
max_content_len 1024
max_content_len
ignore_call_channel
Configuration examples
preprocessor sip
preprocessor sip: max_sessions 500000
preprocessor sip: max_contact_len 512, max_sessions 300000, methods { invite \
cancel ack bye register options } , ignore_call_channel
preprocessor sip: ports { 5060 49848 36780 10270 }, max_call_id_len 200, \
max_from_len 100, max_to_len 200, max_via_len 1000, \
max_requestName_len 50, max_uri_len 100, ignore_call_channel,\
max_content_len 1000
preprocessor sip: disabled
preprocessor sip: ignore_call_channel
Default configuration
preprocessor sip