-
Notifications
You must be signed in to change notification settings - Fork 17
Closed
Feature
1 / 11 of 1 issue completed
Copy link
Labels
nethvoiceBug or features releted to the NethVoice projectBug or features releted to the NethVoice project
Milestone
Description
🔧 Configuration Requirements for TIM Trunk
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-vmwas updated to return cause 20 (Subscriber absent) instead, as shown below:
exten => _s-!,1,GotoIf($["${IVR_RETVM}"="RETURN" & "${IVR_CONTEXT}"!=""]?exit,1) exten => _s-!,n,Playtones(congestion) exten => _s-!,n,HangUp(20) ; Previous (incorrect) implementation: ; exten => _s-!,1,GotoIf($["${IVR_RETVM}"="RETURN" & "${IVR_CONTEXT}"!=""]?exit,1) ; exten => _s-!,n,Playtones(congestion) ; exten => _s-!,n,Congestion(10) -
Auto-answer Interference with Call Forwarding:
- 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 anAnswer()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:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
nethvoiceBug or features releted to the NethVoice projectBug or features releted to the NethVoice project
Type
Projects
Status
Done

