<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div data-marker="__QUOTED_TEXT__"><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div>Hello all,<br></div><br><div>I am using FusionPBX and freeswitch. Incoming calls are signalled with a leading + and also stored in the snom phones call lists. If someone tries to call back an external caller, I tried to strip off the leading + on the outgoing call with the following condition:<br></div><div><extension name="ext.ddddd" ><br> <condition field="destination_number" expression="^\+(\d\d\d\d\d*)$" ><br> <action application="set" data="sip_h_X-accountcode=${accountcode}" /><br> <action application="set" data="sip_h_X-Tag=" /><br> <action application="set" data="call_direction=outbound" /><br> <action application="set" data="hangup_after_bridge=true" /><br> <action application="set" data="inherit_codec=true" /><br> <action application="set" data="ignore_display_updates=true" /><br> <action application="set" data="callee_id_number=$1" /><br> <action application="set" data="continue_on_fail=true" /><br> <action application="set" data="outbound_prefix=+" /><br> <action application="bridge" data="sofia/gateway/781c8f7f-5d96-4e9e-8939-423b883cb675/$1" /><br> </condition><br></extension><br></div><br><div>Sadly, the condition field already generates compile error.</div><br><div>Can you give me a hint, how I can strip the + from the dialled number?<br></div><br><div>Kind regards<br></div><div>Joern<br></div><div>-- <br></div><div>--<br>Jörn Ott<br>Systemadministrator<br><br>Chefkoch GmbH<br>Joseph-Schumpeter-Allee 33<br>53227 Bonn<br><br>Telefon +49 228 28669-50<br>Telefax +49 228 28669-511<br>joern.ott@ext.chefkoch.de | http://www.chefkoch.de<br><br>HRB 18761, Amtsgericht Bonn<br>Geschäftsführer: Martin Meister, Sven Giebler, Arne Wolter<br>Ein Unternehmen von Gruner+Jahr.</div></div><br></div></div></body></html>