Hi
<extension name="b2bua"> <condition field="destination_number" expression="^b2bua-(.+)$"> <action application="log" data="INFO entered b2bua extension"/> <action application="set" data=“sendto=${sip_via_host}:5080"/> <action application="set" data="bypass_media=true"/> <action application="set" data="sip_copy_custom_headers=false"/> <action application="bridge" data="[sip_h_X-PGPX=${uuid}]sofia/internal/$1@${sendto}"/> <action application="hangup"/> </condition>
I was not aware it was that simple. Thank you for the education!
Indeed. I was considering asterisk as I tend to use what I know. But with Asterisk I would have to add quite some config to pass on required additional customer sip header.
If that's that simple with FreeSwitch and header can be transparently passed on, I'll have a look at it.
This would also solve another problem. We have some CPE with limited memory which struggle with a long record-route list.