[Guida]Configurazione Voip Wind3 TG789ac v2 con MST(Uno)[Testata e funzionante]

  • 0 Risposte
  • 80 Visite

0 Utenti e 1 Visitatore stanno visualizzando questo topic.

Offline logan

  • Membro Anziano
  • ***
  • 301
  • Sesso: Maschio
  • Ing Inf
Salve a tutti, sono riuscito a configurare il voip sul TG789ac v2 con operatore Wind3. Prima di tutto grazie a tutto lo staff e alle persone che condividono le loro esperienze sulle configurazioni degli apparati. Ecco a voi i file che devono essere solo caricati sull'apparato TG789ac v2 per firmware MST(Uno) al seguente percorso:
/etc/config
Io ho utilizzato MobaXterm per˛ potete utilizzare qualisiasi tool che supporta SSH(browser SCP)


Ovviamente prima di caricare tutto sul vostro apparato dovete editare il seguente file:

mmpbxrvsipnet inserendo il vostro numero di telefono e password relativo al vosto account voip Wind3.

Link per scaricare tutto il pacchetto di file:
https://mega.nz/file/6k9zAaJQ#F8NH23-u03vgI1Aa1SXiHs9JlfzZBs6chY99nojnce0
Dopo aver caricato i file Ŕ necessario riavviare la parte voip eseguendo il comando:
Codice: [Seleziona]
/etc/init.d/mmpbxd restart╚ consigliabile lanciare il seguente comando al fine di verificare errori di configurazione dei file per la parte voip:
Codice: [Seleziona]
logread | grep mmpbxNote importanti:
Il funzionamento corretto del voip dipende dalle impostazioni dei codec settate nel dispositivo, in particolare il G729 per effettuare chiamate verso operatori mobile(es Iliad) e il codec PCMA e il PCMU per chiamate verso operatori di telefonia fissa. L'effetto di una cattiva configurazione dei codec implica le seguenti problematiche:
  • perdita della comunicazione durante la chiamata
  • impossibilitÓ di ricevere/inviare chiamate verso un utente di telefonia fissa o mobile
(vedi file mmpbx):
Citazione
config codec_filter
   option name 'PCMA'
   option media_filter 'media_filter_audio_generic'
   option allow '1'
   option priority '1'
   option remove_silence_suppression '1'
   option fmtp_format_display '1'
   option rtp_map '0'

config codec_filter
   option name 'PCMU'
   option media_filter 'media_filter_audio_generic'
   option allow '1'
   option priority '2'
   option remove_silence_suppression '1'
   option fmtp_format_display '1'
   option rtp_map '0'

config codec_filter
   option name 'G729'
   option media_filter 'media_filter_audio_generic'
   option allow '1'
   option priority '3'
   option remove_silence_suppression '1'
   option fmtp_format_display '1'
   option rtp_map '0'

file: mmpbx
Codice: [Seleziona]

config mmpbx 'global'
option trace_level '2'
option cw_reject_scope 'global'
option country 'uk'
option fall_back_dialing '1'
option no_answer_timeout '120'
option dial_timeout '15'
option mmpbxd_priority '75'
option mmapp_priority '0'
option mmubus_priority '0'
option refmediafilegen_priority '0'
option enabled '1'

config dectemission 'dectemission'
option state '0'

config syslog 'syslog'
option service_config '0'
option service_actions '0'
option calls '0'
option syslog_priority '6'
option hide_user_identity '0'

config diagnostics 'voipdiagnostics'
option enabled '0'
option path '/tmp'
option filename 'voip_diagnostics.txt'
option action 'idle'
option log_level 'low'

config features
list feature ''

config network 'sip_net'
option config 'mmpbxrvsipnet'

config network 'internal_net'
option config 'mmpbxinternalnet'

config device 'fxs_dev_0'
option config 'mmpbxbrcmfxsdev'

config device 'fxs_dev_1'
option config 'mmpbxbrcmfxsdev'

config profile 'sip_profile_0'
option config 'mmpbxrvsipnet'

config profile 'sip_profile_1'
option config 'mmpbxrvsipnet'

config profile 'internal_profile_0'
option config 'mmpbxinternalnet'

config profile 'internal_profile_1'
option config 'mmpbxinternalnet'

config profile 'internal_profile_2'
option config 'mmpbxinternalnet'

config outgoing_map
option device 'fxs_dev_0'
list profile 'sip_profile_0'
list profile 'sip_profile_1'
list priority '1'
list priority '2'

config outgoing_map
option device 'fxs_dev_1'
list profile 'sip_profile_0'
list profile 'sip_profile_1'
list priority '1'
list priority '2'

config internal_map
option profile 'internal_profile_1'
option device 'fxs_dev_0'

config internal_map
option profile 'internal_profile_2'
option device 'fxs_dev_1'

config incoming_map
option profile 'sip_profile_0'
list device 'fxs_dev_0'
list device 'fxs_dev_1'

config incoming_map
option profile 'sip_profile_1'
list device 'fxs_dev_0'
list device 'fxs_dev_1'

config incoming_map
option profile 'internal_profile_0'
list device 'fxs_dev_0'
list device 'fxs_dev_1'

config incoming_map
option profile 'internal_profile_1'
list device 'fxs_dev_0'

config incoming_map
option profile 'internal_profile_2'
list device 'fxs_dev_1'

config service
option type 'BARGE_IN'
list profile 'sip_profile_0'
list profile 'sip_profile_1'
option provisioned '0'
option activated '0'

config service
option type 'CALL_WAITING'
list device 'fxs_dev_0'
list device 'fxs_dev_1'
option provisioned '1'
option activated '1'
option timeout '30'
option cw_reject_persistency '0'

config service
option type 'CLIP'
list profile 'sip_profile_0'
list profile 'sip_profile_1'
list profile 'internal_profile_0'
list profile 'internal_profile_1'
list profile 'internal_profile_2'
option provisioned '1'
option activated '1'

config service
option type 'CLIR'
list profile 'sip_profile_0'
list profile 'sip_profile_1'
list profile 'internal_profile_1'
list profile 'internal_profile_2'
option provisioned '0'
option activated '0'

config service
option type 'CONFERENCE'
list device 'fxs_dev_0'
list device 'fxs_dev_1'
option provisioned '1'
option activated '1'

config service
option type 'HOLD'
list profile 'sip_profile_0'
list profile 'sip_profile_1'
list profile 'internal_profile_0'
list profile 'internal_profile_1'
list profile 'internal_profile_2'
option provisioned '1'
option activated '1'

config service
option type 'TRANSFER'
list device 'fxs_dev_0'
list device 'fxs_dev_1'
option provisioned '1'
option activated '1'
option internal_transfer '1'
option external_transfer '1'

config service
option type 'WARMLINE'
list device 'fxs_dev_0'
option provisioned '1'
option activated '0'
option timeout '10'

config service
option type 'WARMLINE'
list device 'fxs_dev_1'
option provisioned '1'
option activated '0'
option timeout '10'

config scc 'scc_generic'
list network 'sip_net'
option eon '#'
option separator '*'
option inter_digit_timer '5000'
option mode 'standard'
option datamodel_disabled '0'

config scc_entry
option scc 'scc_generic'
option service_base 'profile'
option pattern '*58'
option service_type 'CALL_RETURN'
option action 'activate'
option enabled '1'
option datamodel_disabled '0'

config scc_entry
option scc 'scc_generic'
option service_base 'profile'
option pattern '#58'
option service_type 'CALL_RETURN'
option action 'deactivate'
option enabled '1'
option datamodel_disabled '0'

config scc_entry
option scc 'scc_generic'
option service_base 'profile'
option pattern '*69'
option service_type 'CALL_RETURN'
option action 'invoke'
option enabled '1'
option datamodel_disabled '0'

config scc_entry
option scc 'scc_generic'
option service_base 'profile'
option pattern '*70'
option service_type 'BARGE_IN'
option action 'activate'
option enabled '0'
option datamodel_disabled '0'

config scc_entry
option scc 'scc_generic'
option service_base 'profile'
option pattern '#70'
option service_type 'BARGE_IN'
option action 'deactivate'
option enabled '0'
option datamodel_disabled '0'

config scc_entry
option scc 'scc_generic'
option service_base 'device'
option pattern '*43'
option service_type 'CALL_WAITING'
option action 'activate'
option enabled '1'
option datamodel_disabled '0'

config scc_entry
option scc 'scc_generic'
option service_base 'device'
option pattern '#43'
option service_type 'CALL_WAITING'
option action 'deactivate'
option enabled '1'
option datamodel_disabled '0'

config scc_entry
option scc 'scc_generic'
option service_base 'device'
option pattern '*#43'
option service_type 'CALL_WAITING'
option action 'interrogate'
option enabled '1'
option datamodel_disabled '0'

config dial_plan 'dial_plan_generic'
list network 'sip_net'
option eon '#'
option closed_inter_digit_timer '5000'
option open_inter_digit_timer '5000'
option no_match_action 'allow'
option selection_mode 'legacy'
option syntax 'pcre_with_translations'
option no_match_include_eon '0'

config dial_plan_entry
option dial_plan 'dial_plan_generic'
option pattern '^#21#'
option enabled '1'
option allow '1'
option priority 'high'
option include_eon '1'
option apply_forced_profile '0'
option min_length '4'
option max_length '4'
option remove_number_of_characters '0'

config dial_plan_entry
option dial_plan 'dial_plan_generic'
option pattern '^*21*'
option enabled '1'
option allow '1'
option priority 'high'
option include_eon '1'
option apply_forced_profile '0'
option min_length '4'
option max_length '32'
option remove_number_of_characters '0'

config dial_plan_entry
option dial_plan 'dial_plan_generic'
option pattern '^#31#'
option enabled '1'
option allow '1'
option priority 'high'
option include_eon '1'
option apply_forced_profile '0'
option min_length '4'
option max_length '32'
option remove_number_of_characters '0'

config dial_plan_entry
option dial_plan 'dial_plan_generic'
option pattern '^*33*'
option enabled '1'
option allow '1'
option priority 'high'
option include_eon '1'
option apply_forced_profile '0'
option min_length '4'
option max_length '32'
option remove_number_of_characters '0'

config dial_plan_entry
option dial_plan 'dial_plan_generic'
option pattern '^#33*'
option enabled '1'
option allow '1'
option priority 'high'
option include_eon '1'
option apply_forced_profile '0'
option min_length '4'
option max_length '32'
option remove_number_of_characters '0'

config dial_plan_entry
option dial_plan 'dial_plan_generic'
option pattern '^#61#'
option enabled '1'
option allow '1'
option priority 'high'
option include_eon '1'
option apply_forced_profile '0'
option min_length '4'
option max_length '4'
option remove_number_of_characters '0'

config dial_plan_entry
option dial_plan 'dial_plan_generic'
option pattern '^*61*'
option enabled '1'
option allow '1'
option priority 'high'
option include_eon '1'
option apply_forced_profile '0'
option min_length '4'
option max_length '32'
option remove_number_of_characters '0'

config dial_plan_entry
option dial_plan 'dial_plan_generic'
option pattern '^#67#'
option enabled '1'
option allow '1'
option priority 'high'
option include_eon '1'
option apply_forced_profile '0'
option min_length '4'
option max_length '4'
option remove_number_of_characters '0'

config dial_plan_entry
option dial_plan 'dial_plan_generic'
option pattern '^*67*'
option enabled '1'
option allow '1'
option priority 'high'
option include_eon '1'
option apply_forced_profile '0'
option min_length '4'
option max_length '32'
option remove_number_of_characters '0'

config dial_plan_entry
option dial_plan 'dial_plan_generic'
option pattern '^*131#'
option enabled '1'
option allow '1'
option priority 'high'
option include_eon '1'
option apply_forced_profile '0'
option min_length '5'
option max_length '5'
option remove_number_of_characters '0'

config dial_plan_entry
option dial_plan 'dial_plan_generic'
option pattern '^#131#'
option enabled '1'
option allow '1'
option priority 'high'
option include_eon '1'
option apply_forced_profile '0'
option min_length '5'
option max_length '5'
option remove_number_of_characters '0'

config dial_plan_entry
option dial_plan 'dial_plan_generic'
option pattern '^*132#'
option enabled '1'
option allow '1'
option priority 'high'
option include_eon '1'
option apply_forced_profile '0'
option min_length '5'
option max_length '7'
option remove_number_of_characters '0'

config dial_plan_entry
option dial_plan 'dial_plan_generic'
option pattern '^*133#'
option enabled '1'
option allow '1'
option priority 'high'
option include_eon '1'
option apply_forced_profile '0'
option min_length '5'
option max_length '5'
option remove_number_of_characters '0'

config dial_plan_entry
option dial_plan 'dial_plan_generic'
option pattern '^999'
option enabled '1'
option allow '1'
option priority 'high'
option include_eon '1'
option apply_forced_profile '0'
option min_length '3'
option max_length '3'
option remove_number_of_characters '0'

config dial_plan_entry
option dial_plan 'dial_plan_generic'
option pattern '^111'
option enabled '1'
option allow '1'
option priority 'high'
option include_eon '1'
option apply_forced_profile '0'
option min_length '3'
option max_length '3'
option remove_number_of_characters '0'

config dial_plan_entry
option dial_plan 'dial_plan_generic'
option pattern '^112'
option enabled '1'
option allow '1'
option priority 'high'
option include_eon '1'
option apply_forced_profile '0'
option min_length '3'
option max_length '3'
option remove_number_of_characters '0'

config dial_plan_entry
option dial_plan 'dial_plan_generic'
option pattern '^101'
option enabled '1'
option allow '1'
option priority 'high'
option include_eon '1'
option apply_forced_profile '0'
option min_length '3'
option max_length '3'
option remove_number_of_characters '0'

config media_filter 'media_filter_audio_generic'
list network 'sip_net'
list network 'internal_net'
option type 'audio'
option allow '1'
option allow_unknown_codecs '0'
option force_symmetric_codecs '1'
option symmetric_codecs_remote_codec_priority '0'
option symmetric_dynamic_rtp_payload '0'
option restrict_ptime '0'
option max_ptime '240'
option remove_ptime '0'

config codec_filter
option name 'PCMA'
option media_filter 'media_filter_audio_generic'
option allow '1'
option priority '1'
option remove_silence_suppression '1'
option fmtp_format_display '1'
option rtp_map '0'

config codec_filter
option name 'PCMU'
option media_filter 'media_filter_audio_generic'
option allow '1'
option priority '2'
option remove_silence_suppression '1'
option fmtp_format_display '1'
option rtp_map '0'

config codec_filter
option name 'G729'
option media_filter 'media_filter_audio_generic'
option allow '1'
option priority '3'
option remove_silence_suppression '1'
option fmtp_format_display '1'
option rtp_map '0'

config codec_filter
option name 'G722'
option media_filter 'media_filter_audio_generic'
option allow '0'
option priority '4'
option remove_silence_suppression '1'
option fmtp_format_display '1'
option rtp_map '0'

config codec_filter
option name 'G726-40'
option media_filter 'media_filter_audio_generic'
option allow '0'
option priority '5'
option remove_silence_suppression '0'
option fmtp_format_display '1'
option rtp_map '1'

config codec_filter
option name 'G726-32'
option media_filter 'media_filter_audio_generic'
option allow '0'
option priority '6'
option remove_silence_suppression '0'
option fmtp_format_display '1'
option rtp_map '1'

config codec_filter
option name 'G726-24'
option media_filter 'media_filter_audio_generic'
option allow '0'
option priority '7'
option remove_silence_suppression '0'
option fmtp_format_display '1'
option rtp_map '1'

config codec_filter
option name 'G726-16'
option media_filter 'media_filter_audio_generic'
option allow '0'
option priority '8'
option remove_silence_suppression '0'
option fmtp_format_display '1'
option rtp_map '1'

config codec_filter
option name 'G723'
option media_filter 'media_filter_audio_generic'
option allow '0'
option priority '9'
option remove_silence_suppression '0'
option fmtp_format_display '1'
option rtp_map '0'

config codec_filter
option name 'telephone-event'
option media_filter 'media_filter_audio_generic'
option allow '0'
option priority '99'
option remove_silence_suppression '0'
option fmtp_format_display '1'
option rtp_map '1'
option sample_rate '8000'

config tone 'single_freq_dialtone'
list frequency '425'
list power '-13'

config tone 'single_freq_dialtone_1'
list frequency '425'
list power '-13'

config tone 'single_freq_dialtone_2'
list frequency '425'
list power '-13'

config tone 'single_freq_dialtone_3'
list frequency '425'
list power '-13'

config tone 'single_freq_dialtone_20db'
list frequency '425'
list power '-19'

config tone 'single_freq_hightone'
list frequency '1400'
list power '-10'

config tone 'silence'
list frequency '0'
list power '0'

config tone 'silence_1'
list frequency '0'
list power '0'

config tone 'silence_2'
list frequency '0'
list power '0'

config tone 'silence_3'
list frequency '0'
list power '0'

config tone 'triple_tone'
list frequency '950'
list frequency '1400'
list frequency '1800'
list power '-13'
list power '-13'
list power '-13'

config tone 'dual_tone'
list frequency '765'
list frequency '850'
list power '-10'
list power '-10'

config file 'file_confirmation'
option filename '/etc/mmpbx/confirmation.au'
option encoding 'PCMU'

config audionotification 'dial'
list network 'DEFAULT_NETWORK'
list network 'internal_net'
list network 'sip_net'
list event_description 'DIALING_PROFILE_USABLE'
option delay '0'
option repeat_after '-1'
list play 'single_freq_dialtone'
list play 'silence'
list play 'single_freq_dialtone_1'
list play 'silence_1'
list duration '200'
list duration '200'
list duration '600'
list duration '1000'
list loop_from 'silence_1'
list loop_to 'single_freq_dialtone'
list loop_iterations '-1'

config audionotification 'busy'
list network 'DEFAULT_NETWORK'
list network 'internal_net'
list network 'sip_net'
list event_description 'DISCONNECTED_REMOTE_BUSY'
option delay '0'
option repeat_after '-1'
list play 'single_freq_dialtone'
list play 'silence'
list duration '500'
list duration '500'
list loop_from 'silence'
list loop_to 'single_freq_dialtone'
list loop_iterations '-1'

config audionotification 'ringback'
list network 'DEFAULT_NETWORK'
list network 'internal_net'
list network 'sip_net'
list event_description 'DELIVERED_RINGBACK'
list event_description 'DELIVERED_RINGBACK_QUEUED'
option delay '0'
option repeat_after '-1'
list play 'single_freq_dialtone'
list play 'silence'
list duration '1000'
list duration '4000'
list loop_from 'silence'
list loop_to 'single_freq_dialtone'
list loop_iterations '-1'

config audionotification 'congestion'
list network 'DEFAULT_NETWORK'
list network 'internal_net'
list network 'sip_net'
list event_description 'DISCONNECTED_LOCAL_SCCREJECTION'
list event_description 'DISCONNECTED_REMOTE_BADREQUEST'
list event_description 'DISCONNECTED_REMOTE_NOTFOUND'
list event_description 'DISCONNECTED_REMOTE_FORBIDDEN'
list event_description 'DISCONNECTED_REMOTE_REJECT'
list event_description 'DISCONNECTED_REMOTE_NOTALLOWED'
list event_description 'DISCONNECTED_REMOTE_NOTACCEPTABLE'
list event_description 'DISCONNECTED_REMOTE_TIMEOUT'
list event_description 'DISCONNECTED_REMOTE_UNAVAILABLE'
list event_description 'DISCONNECTED_REMOTE_CALL_FAILURE'
list event_description 'DISCONNECTED_REMOTE_NOTSUPPORTED'
list event_description 'DISCONNECTED_LOCAL_DIALPLANNOTALLOWED'
list event_description 'DISCONNECTED_LOCAL_FORBIDDEN'
list event_description 'DISCONNECTED_LOCAL_TIMEOUT'
list event_description 'DISCONNECTED_LOCAL_MEDIAERROR'
list event_description 'DISCONNECTED_LOCAL_INTERNALERROR'
list event_description 'DISCONNECTED_LOCAL_GENERALCONFIGERROR'
list event_description 'DISCONNECTED_LOCAL_NETWORKCONFIGERROR'
list event_description 'DISCONNECTED_LOCAL_NETWORKUNAVAILABLE'
list event_description 'DISCONNECTED_LOCAL_PROFILECONFIGERROR'
list event_description 'DISCONNECTED_LOCAL_PROFILEUNAVAILABLE'
list event_description 'DISCONNECTED_LOCAL_PRIORITY'
list event_description 'DISCONNECTED_LOCAL_TRANSFER'
list event_description 'DISCONNECTED_REMOTE_DISCONNECT'
list event_description 'DISCONNECTED_REMOTE_TRANSFER'
list event_description 'DISCONNECTED_UNKNOWN'
list event_description 'DISCONNECTED_REMOTE_NETWORK_FAILURE'
list event_description 'DISCONNECTED_REMOTE_SERVICE_UNAVAILABLE'
list event_description 'DIALING_PROFILE_FALLBACK'
option delay '0'
option repeat_after '-1'
list play 'single_freq_dialtone'
list play 'silence'
list duration '200'
list duration '200'
list loop_from 'silence'
list loop_to 'single_freq_dialtone'
list loop_iterations '-1'

config audionotification 'callwaiting'
list network 'DEFAULT_NETWORK'
list network 'internal_net'
list network 'sip_net'
list event_description 'ALERTING_OTHER_INCOMING_CALL'
option delay '0'
option repeat_after '15000'
list play 'single_freq_dialtone_20db'
list play 'silence'
list play 'single_freq_dialtone_20db'
list play 'silence'
list play 'single_freq_dialtone_20db'
list duration '400'
list duration '100'
list duration '250'
list duration '100'
list duration '150'

config audionotification 'callhold'
list network 'DEFAULT_NETWORK'
list network 'internal_net'
list event_description 'CONNECTED_REMOTE_HELD'
list event_description 'CONNECTED_LOCAL_REMOTE_HELD'
list event_description 'CONNECTED_LOCAL_HELD'
option delay '0'
option repeat_after '-1'
list play 'silence'
list play 'single_freq_dialtone'
list play 'silence_1'
list play 'single_freq_dialtone_1'
list duration '4700'
list duration '50'
list duration '200'
list duration '50'
list loop_from 'single_freq_dialtone_1'
list loop_to 'silence'
list loop_iterations '-1'

config audionotification 'confirmation'
list network 'DEFAULT_NETWORK'
list network 'internal_net'
list network 'sip_net'
list event_description 'DISCONNECTED_LOCAL_SCCCONFIRMATION'
option delay '0'
option repeat_after '-1'
list play 'single_freq_dialtone'
list duration '-1'

config audionotification 'mwi'
list network 'DEFAULT_NETWORK'
list network 'internal_net'
list network 'sip_net'
list event_description 'DIALING_PROFILE_USABLE_MESSAGESWAITING_SPECIAL'
list event_description 'DIALING_PROFILE_USABLE_MESSAGESWAITING'
option delay '0'
option repeat_after '-1'
list play 'silence'
list play 'single_freq_dialtone'
list play 'silence_1'
list play 'single_freq_dialtone_1'
list play 'silence_2'
list play 'single_freq_dialtone_2'
list play 'silence_3'
list duration '500'
list duration '100'
list duration '100'
list duration '100'
list duration '100'
list duration '100'
list duration '100'
list loop_from 'silence_3'
list loop_to 'single_freq_dialtone'
list loop_iterations '5'

config audionotification 'specialinfo'
list network 'DEFAULT_NETWORK'
list network 'internal_net'
list network 'sip_net'
option delay '0'
option repeat_after '-1'
list play 'single_freq_dialtone'
list play 'silence'
list play 'single_freq_dialtone_1'
list play 'silence_1'
list play 'single_freq_dialtone_2'
list play 'silence_2'
list duration '330'
list duration '30'
list duration '330'
list duration '30'
list duration '330'
list duration '1000'
list loop_from 'silence_2'
list loop_to 'single_freq_dialtone'
list loop_iterations '3'

config audionotification 'stutterdial'
list network 'DEFAULT_NETWORK'
list network 'internal_net'
list network 'sip_net'
list event_description 'DIALING_PROFILE_USABLE_CALLFORWARDING'
list event_description 'DIALING_PROFILE_USABLE_NONSTANDARD'
option delay '0'
option repeat_after '-1'
list play 'single_freq_dialtone'
list play 'silence'
list duration '500'
list duration '50'
list loop_from 'silence'
list loop_to 'single_freq_dialtone'
list loop_iterations '-1'

config areacode_translation
option areacode '+39'
option level '1'
option show '0'
option prefix '0'
option remove_header_length '3'

config areacode_translation
option areacode '+'
option level '2'
option show '0'
option prefix '00'
option remove_header_length '1'




file: mmpbxrvsipnet
Codice: [Seleziona]

config mmpbxrvsipnet 'global'
option trace_level '2'
option radvision_trace_level '0'
option mtf_priority '0'

config syslog 'syslog'
option registration '0'
option call_signalling '0'
option syslog_priority '6'
option hide_user_identity '0'
option log_sip_message '0'

config network 'sip_net'
option user_friendly_name 'SIP network'
option cac '-1'
option transparent_soc_transmission '0'
option interface 'wan'
option local_port '5060'
option primary_proxy_port '5060'
option secondary_proxy_port '5060'
option primary_registrar_port '5060'
option secondary_registrar_port '5060'
option transport_type 'UDP'
option reg_expire '3600'
option reg_expire_T_before '1'
option reg_back_off_timeout '180'
option realm 'windtre.it'
option realm_check '0'
option 401_407_waiting_time '0'
option dtmf_relay 'auto'
option dtmf_relay_translation '0'
option timer_T1 '500'
option timer_T2 '4000'
option timer_T4 '5000'
option timer_B '32000'
option timer_D '50000'
option timer_F '32000'
option timer_J '32000'
option provisional_timer '180'
option remote_hold_tone_enabled '0'
option sdp_direction_call_hold 'sendonly'
option sdp_direction_call_hold_answer 'recvonly'
option uri_clir_format 'standard'
option privacy_handling 'apply'
option rejection_response '486'
option no_answer_response '480'
option call_waiting_provisional_response '182'
option call_waiting_alert_info '0'
option call_waiting_reject_response '486'
option reliable_provisional_response 'supported'
option re_registration_mode 'standard'
option forking_mode 'default'
option ingress_media_timeout '1000'
option session_timer 'enabled'
option min_session_expires '90'
option session_expires '180'
option fail_behaviour 'stop'
option min_period_proxy_redundancy '0'
option escape_hash '1'
option escape_star '0'
option control_qos_field 'dscp'
option control_qos_value 'ef'
option realtime_qos_field 'dscp'
option realtime_qos_value 'af42'
option from_anonymous_handling 'withheld'
option sip_over_ipv6 '0'
option include_sip_instance '0'
option waiting_time_for_registration_on_400_or_503_response '300'
option update_support '1'
option use_domain_in_contact '0'
option use_domain_in_via '0'
option sdp_direction_attribute_media_level_only '0'
option stick_to_outbound_proxy '0'
option registration_delay '0'
option enable_re_register_on_cancel_timeout '1'
option rport_in_via '1'
option optimized_authentication '0'
option repeat_ringing_interval '60'
option re_register_on_403 '0'
option re_register_on_504 '1'
option check_ttl_for_dns_record '0'
option switch_next_proxy_on_failure_response '1'
option dns_query_timeout '5000'
option switch_back_to_primary_proxy_timer '0'
option conference_release_call_after_transfer '1'
option disconnect_on_bye_response '0'
option dnd_response '486'
option hide_userinfo_and_port_in_subscription_request '0'
option cancel_invite_timer '32000'
option user_agent 'MediaAccess TG789vac v2 Build 17.2.0278-0901'
option primary_registrar 'windtre.it'
option primary_proxy 'voip.windtre.it'
option secondary_proxy 'voip.windtre.it'

config profile 'sip_profile_0'
option network 'sip_net'
option display_name 'numerotelefono'
option password 'PASSWORD'
option user_name '39numerotelefono'
option uri '[email protected]'
option enabled '1'

config profile 'sip_profile_1'
option network 'sip_net'
option uri 'line2'
option user_name 'line2'
option password 'line2'
option display_name 'line2'
option enabled '0'

file:mmpbxbrcmcountry
Codice: [Seleziona]
#/*******************************************************************/
#/* the voice profile is for WIND ITALY                             */
#/*******************************************************************/

#/*******************************************************************/
#/* global configuration                                            */
#/*******************************************************************/
config mmpbxbrcmcountry 'global'
option trace_level '0'

#/*******************************************************************/
#/* Endpoint Globe Provision value map                              */
#/*******************************************************************/
config mmbrcmglobalprovisionmap 'global_provision'
option min_connect_time '130'
option min_disconnect_time '250'
option min_hookflash_time '78'
option max_hookflash_time '145'
option plsdl_minbreak_time '20'
option plsdl_maxbreak_time '75'
option plsdl_minMake_time '20'
option plsdl_maxMake_time '75'
option plsdl_interdigit_time '260'
option plsdl_enabled '1'
option call_wtg_delay '10'
option cid_mode '0'
option cid_sigprotocol '1'
option cid_fskafterring '750'
option cid_fskafterdtas '50'
option cid_fskafterrpas '650'
option cid_ringafterfsk '250'
option cid_dtasafterlr '250'
option fxs_cid2ack_timeout '260'
option cid_fskrpas_duration '250'
option cid1_dtas_tone_id '0'
option vmwi_dtas_tone_id '0'
option cid2_dtas_tone_id '1'
option cid1_dtas_level '16'
option cid2_dtas_level '16'
option fxo_clip2_ack_tone_level '12'
option vmwi_mode '7'
option vmwi_sigprotocol '3'
option vmwi_fskafterdtas '50'
option vmwi_fskafterrpas '650'
option vmwi_dtasafterlr '250'
option vmwi_msgformat '1'
option pte_detectadmin '3'
option pte_mindetectpower '25'
option pve_egressvolume '0x08ff'
option dtmf_dbLevel '5'
option dtmf_pulseTime '100'
option highvring_support '0'
option powerring_frequency '20'
option ring_voltage '50'
option ring_waveform '0'
option ring_dcoffset '25'
option tx_gain_fxs '0'
option rx_gain_fxs '3'
option tx_gain_pstn '0'
option rx_gain_pstn '0'
option tx_gain_dect '0'
option rx_gain_dect '0'
option tx_gain_nosig '0'
option rx_gain_nosig '0'
option voice_jitter_buff_fixed '0'
option voice_jitter_buff_min '0'
option voice_jitter_buff_max '0'
option voice_jitter_buff_target '20'
option data_jitter_buff_target '0'
option pstn_cdis_det_disabled '0'
option dect_cdis_det_disabled '0'
option fxs_cdis_det_disabled '0'

#/*******************************************************************/
#/* Endpoint Global FSK map                                         */
#/*******************************************************************/
config mmbrcmfsk 'fsk'
option db_level '140'
option mark_frq '1300'
option space_frq '2100'
option seizes '300'
option mark_seize '180'
option remove_reason_noname '1'

#/*******************************************************************/
#/* Endpoint Global DTMF CLID map                                   */
#/*******************************************************************/
config mmbrcmdtmfmap 'dtmf_map'
option db_level '5'
option pulse_time '70'
option start_code '12'
option end_code '14'

#DTMF code for "private" (B01C)
list private_code '11'
list private_code '0'
list private_code '1'
list private_code '12'
list private_code '127'

#DTMF code for "unavailable" (B00C)
list unavailable_code '11'
list unavailable_code '0'
list unavailable_code '0'
list unavailable_code '12'
list unavailable_code '127'
list error_code '127'
option redirecting_code '15'
option information_code '13'
option dtmfpause_timeout '1000'
option dtmfsession_timeout '3000'
option ringafterclid_timeout '1000'

#/*******************************************************************/
#/* Endpoint Global Ring map                                        */
#/*******************************************************************/
config mmbrcmringmap 'ring_map'
list ring0 '0'
list ring1 '1'
list ring2 '2'
list ring3 '3'
list ring4 '4'
list ring5 '5'
list ring6 '6'
list ring7 '7'

#ring pattern: ON 1000ms ? OFF 4000ms ? repeatable
list general_ring 'long'
list general_ring '006400ff'
list general_ring 'fff00000'
list general_ring '00000000'
list general_ring '0000000'
list splash_ring 'short'
list splash_ring '9'
list splash_ring '1f8'

#/*******************************************************************/
#/* Endpoint Tones configiguration                                  */
#/*******************************************************************/
config mmbrcmtoneconfig 'dial'
option repetitions '0'
option number_of_tones '1'
option no_steady_tone '0'

config mmbrcmtonecomponents
option tone_type 'dial'
option repetitions '0'
option sound_duration '0'
option silence_duration '0'
option modulate_tone '0'
option modulate_percent '0'
option nbr_frequencies '1'
option freq1_hertz '425'
option freq1_level '-5'
option freq2_hertz '0'
option freq2_level '0'
option freq3_hertz '0'
option freq3_level '0'
option freq4_hertz '0'
option freq4_level '0'

# Hold tone
config mmbrcmtoneconfig 'hold'
option repetitions '50000'
option number_of_tones '2'
option no_steady_tone '0'

config mmbrcmtonecomponents
option tone_type 'hold'
option repetitions '0'
option sound_duration '50'
option silence_duration '4700'
option modulate_tone '0'
option modulate_percent '0'
option nbr_frequencies '1'
option freq1_hertz '425'
option freq1_level '-13'
option freq2_hertz '0'
option freq2_level '0'
option freq3_hertz '0'
option freq3_level '0'
option freq4_hertz '0'
option freq4_level '0'

config mmbrcmtonecomponents
option tone_type 'hold'
option repetitions '0'
option sound_duration '50'
option silence_duration '200'
option modulate_tone '0'
option modulate_percent '0'
option nbr_frequencies '1'
option freq1_hertz '425'
option freq1_level '-13'
option freq2_hertz '0'
option freq2_level '0'
option freq3_hertz '0'
option freq3_level '0'
option freq4_hertz '0'
option freq4_level '0'


file: mmpbxbrcmfxsdev
Codice: [Seleziona]
#/*******************************************************************/
#/*                   global  configuration                         */
#/*******************************************************************/
config mmpbxbrcmfxsdev 'global'
option trace_level '2'
option gpmd_inband_fax '0'
option rfc3407_support '1'
option fax_transport 't38'
option t38_redundancy '1'
option early_detect_faxmodem '1'
option force_cac_for_ongoing_fax '1'

#/*******************************************************************/
#/*               BRCM FXS device configuration                     */
#/*******************************************************************/
config device 'fxs_dev_0'
option user_friendly_name 'FXS 1'
option fxs_port '2'
option comfort_noise 'hot'
option echo_cancellation '1'
option rtcp_interval '5000'
option relay_state '1'
option cw_cas_delay '1158'
option fxs_privacy_reason 'P'
option fxs_unavailability_reason 'O'
option cid_display_date_enabled '1'
option cid_display_calling_line_enabled '1'
option cid_display_calling_party_name_enabled '1'
option pos '0'

config device 'fxs_dev_1'
option user_friendly_name 'FXS 2'
option fxs_port '1'
option comfort_noise 'hot'
option echo_cancellation '1'
option rtcp_interval '5000'
option relay_state '1'
option cw_cas_delay '1158'
option fxs_privacy_reason 'P'
option fxs_unavailability_reason 'O'
option cid_display_date_enabled '1'
option cid_display_calling_line_enabled '1'
option cid_display_calling_party_name_enabled '1'
option pos '0'

#/*******************************************************************/
#/*               SYSLOG configuration                              */
#/*******************************************************************/
config syslog 'syslog'
option phone '1'
option syslog_priority '6'
option syslog_hide_dialled_digits '0'

#/*******************************************************************/
#/*               KEYPAD configuration                              */
#/*******************************************************************/
config keypad 'keypad_generic'
list device 'fxs_dev_0'
list device 'fxs_dev_1'
option hook_flash_timeout '2000'
option delayed_disconnect '0'
option delayed_disconnect_timeout '60'
option onhook_ringback '0'
option onhook_transfer '0'
option digit_collection_timeout '0'
option auto_resume_on_disconnected_timeout '5'
option hook_flash_dial_tone '0'
list hold_and_enable_call_setup 'HF'
list hold_and_switch_to_first_held_call ''
list hold_and_switch_to_last_held_call 'HF2'
list hold_and_accept_waiting 'HF2'
list hold_first_from_conference ''
list hold_last_from_conference ''
list hold_conference 'HF2'
list hold_conference 'HFTimeout'
list hold_and_switch_to_next_held_or_add_last_held_to_conference ''
list resume_last_held 'HF1'
list resume_first_held ''
list resume_conference 'HF3'
list mute ''
list unmute ''
list drop_and_resume_first_held ''
list drop_and_resume_last_held 'HF1'
list drop_dialing_and_resume_last_held 'HF'
list drop_and_accept_waiting 'HF1'
list drop_first_from_conference ''
list drop_last_from_conference ''
list drop_first_held ''
list drop_last_held 'HF0'
list drop_and_enable_call_setup ''
list add_first_held_to_conference ''
list add_last_held_to_conference 'HF3'
list add_waiting_to_conference ''
list reject_waiting 'HF0'
list transfer 'HF4'
list ccbs ''


file: mmpbxinternalnet
Codice: [Seleziona]
#/*******************************************************************/
#/*                   global configuration                          */
#/*******************************************************************/
config mmpbxinternalnet 'global'
option trace_level '2'

#/*******************************************************************/
#/*                internal network configuration                   */
#/*******************************************************************/
config network 'internal_net'
option user_friendly_name 'Internal network'
option cac '1'
option transparent_soc_transmission '0'

#/*******************************************************************/
#/*                internal profile configuration                   */
#/*******************************************************************/
config profile 'internal_profile_0'
option network 'internal_net'
option enabled '1'
option number '*55*0'

config profile 'internal_profile_1'
option network 'internal_net'
option enabled '1'
option number '*55*1'

config profile 'internal_profile_2'
option network 'internal_net'
option enabled '1'
option number '*55*2'




Dopo aver effettuato l'upload dei file di configurazione voip dovreste avere queste schermate:



Grazie a tutti per il supporto
« Ultima modifica: 31 Dicembre 2021, 11:05 da logan »