I’m using the following Dial command syntax:
Dial*(SIP/peer/exten!sip:email@example.com *), the SIP URI
after the ‘!’ mark should be set as To-URI in outgoing INVITE
from Asterisk. It works, but problem is that To-URI formatting is a bit messed up, It looks as follows:
*sip:sip:firstname.lastname@example.org *, it seems that Asterisk added an extra ‘*sip:’* in the To-header and it breaks.
I’m using Asterisk 13. I’m wondering if this behaviour is intended or a potential bug?