How can I change the number format of an AnyDevice outbound call in the To header of the SIP invite? Different PBX may expect a different format for the call number in the To header of the SIP invite. To change the phone number format, you can set the parameter "Flags".
In the dialing parameter for the SIP connection (in this example Munich SIP) the attribute "Flags" must be set with the value 304. The value results from the addition of the value 48 (external phone number in format +49...) and the value 256 (internal phone number in format +49...). Thus, for outgoing calls from the XCC SIP trunk to the telephone system, the To headers are signalled in the E.164 format.
Further values that can be set for "Flags":
0: Standard behavior is determined via country code (default).
+16: For external numbers also dial your own area code.
+32: For external numbers, also dial your own country code, format 0049.
+48: For external numbers, also dial your own country code, format +49.
+64: For external numbers also dial your own area code if it was present in the input.
When setting the value "Flags" in the SIP dial parameter, the AnyDevice line generation may be affected. Please refer to the following article: