300-820 · Question #123
An engineer is investigating failing incoming calls that are expected to connect. The engineer notices that the failed calls all have a port number of 5060 at the end of the URI. The search rules…
The correct answer is A. * transform with a pattern string of *(.*)@example.com(:5060)?". A transform modifies the URI before search rules are evaluated. By applying a transform that matches URIs containing the optional :5060 port (using the ? quantifier to make the port group optional) and rewrites the URI to strip the port, the call URI arrives at the search rules…
Question
An engineer is investigating failing incoming calls that are expected to connect. The engineer notices that the failed calls all have a port number of 5060 at the end of the URI. The search rules are configured in a way that they do not expect a port to be included. Which configuration allows the routing of this call?
Options
- A
- transform with a pattern string of (.)@example.com(:5060)?"
- B
- search rule with a pattern string of "(.*)@example.com(:5050)?"
- Csearch rule with a pattern string of "(.*)@example.com(:5060)?"
- D
- transform with a pattern string of "(.*)@example.com(:5060)?"
How the community answered
(51 responses)- A75% (38)
- B4% (2)
- C6% (3)
- D16% (8)
Explanation
A transform modifies the URI before search rules are evaluated. By applying a transform that matches URIs containing the optional :5060 port (using the ? quantifier to make the port group optional) and rewrites the URI to strip the port, the call URI arrives at the search rules in the expected format. A search rule alone (options B or C) would also need updating, but a transform is the correct mechanism to normalize the URI upstream of routing logic.
Topics
Community Discussion
No community discussion yet for this question.