Hi,
 
 I can call extensions like 1000 with
 
<extension name="extensions">
     <condition field="destination_number" expression="^(\d+)$">
        <action application="bridge" data="sofia/doublenat/$1%voipclic.com "/>
   
     </condition>
     </extension>
 
and I can call PSTN with
 
<extension name="PSTN">
     <condition field="destination_number" expression="^(\d+)$">
      <action application="bridge" data="sofia/gateway/inphonex/$0"/>
 </condition>
  </extension>

Both config being in the same default.xml dialplan  but I must use one or the other config. What I have to do in order to have them working at the same time. In other words the same  user can call PSTN and the extension.
 
thanks
 
Duan