chan_sip: Optionally supply fromuser/fromdomain in SIP dial string.
authorWalter Doekes <walter+asterisk@wjd.nu>
Fri, 19 Feb 2016 10:30:15 +0000 (11:30 +0100)
committerWalter Doekes <walter+asterisk@wjd.nu>
Fri, 19 Feb 2016 10:30:15 +0000 (11:30 +0100)
commitc00082329ef405ce2af6aaa8e40ada37de2aeb7b
treed80cfbb6818414b7d3abeee39b673f836affd6d0
parent6fc57b3e1f401fd18e3e4d4462f973094dd0908c
chan_sip: Optionally supply fromuser/fromdomain in SIP dial string.

Previously you could add [!dnid] to the SIP dial string to alter the To:
header. This change allows you to alter the From header as well.

SIP dial string extra options now look like this:

    [![touser[@todomain]][![fromuser][@fromdomain]]]

INCOMPATIBLE CHANGE: If you were using an exclamation mark in your To:
header, that is no longer possible.

ASTERISK-25803 #close

Change-Id: I2457e9ba7a89eb1da22084bab5a4d4328e189db7
CHANGES
UPGRADE.txt
channels/chan_sip.c
configs/samples/sip.conf.sample