You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
NethVoice: TIM Trunk Compatibility and Dialplan Adjustments #7321
To ensure full compatibility with the TIM SIP trunk, the following changes are required on both the phone configuration and the Asterisk dialplan:
📞 Phone Configuration
Codec Prioritization (G729):
Provisioned phones must prioritize the G729 codec to ensure it is used as the primary codec for outgoing calls.
Action Required: Tancredi must provide a phone template that sets G729 as the first codec in priority order.
NethVoice Configuration: The G729 codec must be enabled in FreePBX under the codec settings, ensuring consistency across the system and propagation to the TIM trunk.
📜 FreePBX Dialplan Modifications
Incorrect SIP Response for Unregistered Extensions:
Previously, when an incoming call was routed to an unregistered extension, the system responded with a 6XX SIP error, which is formally incorrect.
Fix: The dialplan in macro-exten-vm was updated to return cause 20 (Subscriber absent) instead, as shown below:
When handling direct DID calls that require diversion, enabling auto-answer on the inbound route was necessary to preserve audio.
However, this behavior caused internal calls to be answered prematurely, before the actual recipient responded.
Fix: In macro-dial-one, insert an Answer() directive only when the call forward (CF) logic is active, ensuring that auto-answer is applied only in appropriate call diversion scenarios.
After further tests, it is necessary to also add ringing() as in the figure:
changed the title [-]Add TIM trunk without proxy configuration pending certification with[/-][+]NethVoice: TIM Trunk Compatibility and Dialplan Adjustments[/+]on May 29, 2025
Activity
Amygos commentedon Feb 25, 2025
Release
nethesis/ns8-nethvoice1.2.0margit86 commentedon May 22, 2025
after further testing with Voip Provider with the voip provider it is necessary to also add ringing() as in the figure:
[-]Add TIM trunk without proxy configuration pending certification with[/-][+]NethVoice: TIM Trunk Compatibility and Dialplan Adjustments[/+]6 remaining items
feature(dialplan): Make dialplan compliant with TIM requisites (#459)
Amygos commentedon Jun 23, 2025
Release
nethesis/ns8-nethvoice1.3.4feature(dialplan): Make dialplan compliant with TIM requisites (#459)