If you want your dialplan being dynamic, jst export sip_from_uri hdr from leg A to leg B. Instead of putting in your dialstring: "sip_from_uri=sip:Anonymous@Anonymous.invalid". Srigo
On 8 Feb 2017, at 12:13, Christoph Russow <russow@emtex.de> wrote:
Hi,
sorry for the delayed answer.
thank you for you input i will try that.
best regards christoph
Am 06.02.2017 um 14:11 schrieb Vallimamod Abdullah: Hi,
You can manage the PID and privacy headers manually with something like this:
bridge {origination_uuid=...,sip_cid_type=none,sip_h_P-Asserted-Identity=sip:499132xxxxx@88.198.223.120,sip_h_Privacy=id}sofia/...
You can add "sip_from_uri=sip:Anonymous@Anonymous.invalid" if the from header is not as you want it.
You don't need to create a new profile for every carrier, just the corresponding gateway. Even if there is no registration, you can monitor the gateways with sip options and do failover if needed. In your case, the gateway also allows you to define "caller-id-in-from" parameter which tells freeswitch to not use the pid as the outgoing from. But the same is achieved with the "sip_cid_type=none" setting above.
Best Regards,
-- ________________________________________________________________
EMTEX GmbH Christoph Russow Software Engineer
Bischof-Otto-Weg 9 D-91086 Aurachtal Geschäftsführer: Markus Enzinger Tel. +49 9132 7490 0 Sitz der Gesellschaft: 91086 Aurachtal Fax. +49 9132 7490 900 Amtsgericht Fürth: HRB6804 ________________________________________________________________
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org