Hi,
FusionPBX get inbound calls from Freeswitch
For Inbound calls routing I need to use condition = ${sip_to_user}
Me I Would like to use as condition = destination_number
Right now condition = destination_number is not working for me
There is someone to advise me how to build the dialplan at the freeswitch side before bridging?? So I will use destination_number and NOT ${sip_to_user}
ACTUALLY I WOULD LIKE TO HAVE BOTH OPTIONS
Right now the variable destination_number has the sipdevice and not the callee number
Current freeswitch Dial plan
....
<extension name="402102241300">
<condition field="destination_number" expression="402102241300">
<action application="set" data="effective_destination_number=402102241300"/>
<action application="sched_hangup" data="+14400 allotted_timeout"/>
<action application="export" data="accountcode=241963338964290"/>
<action application="export" data="calltype=STANDARD"/>
<action application="set" data="origination_caller_id_number=402102241210"/>
<action application="set" data="origination_caller_id_name=402102241210"/>
<action application="set" data="effective_caller_id_number=402102241210"/>
<action application="set" data="effective_caller_id_name=402102241210"/>
<action application="set" data="fax_enable_t38_request=true"/>
<action application="set" data="fax_enable_t38=true"/>
<action application="export" data="t38_passthru=true"/>
<action application="bridge" data="{sip_invite_to_uri=<sip:402102241300@$${domain_name}>}user/NXYZE-50122@$${domain_name}"/>
</condition>
</extension>
......
FusionPBX get inbound calls from Freeswitch
For Inbound calls routing I need to use condition = ${sip_to_user}
Me I Would like to use as condition = destination_number
Right now condition = destination_number is not working for me
There is someone to advise me how to build the dialplan at the freeswitch side before bridging?? So I will use destination_number and NOT ${sip_to_user}
ACTUALLY I WOULD LIKE TO HAVE BOTH OPTIONS
Right now the variable destination_number has the sipdevice and not the callee number
Current freeswitch Dial plan
....
<extension name="402102241300">
<condition field="destination_number" expression="402102241300">
<action application="set" data="effective_destination_number=402102241300"/>
<action application="sched_hangup" data="+14400 allotted_timeout"/>
<action application="export" data="accountcode=241963338964290"/>
<action application="export" data="calltype=STANDARD"/>
<action application="set" data="origination_caller_id_number=402102241210"/>
<action application="set" data="origination_caller_id_name=402102241210"/>
<action application="set" data="effective_caller_id_number=402102241210"/>
<action application="set" data="effective_caller_id_name=402102241210"/>
<action application="set" data="fax_enable_t38_request=true"/>
<action application="set" data="fax_enable_t38=true"/>
<action application="export" data="t38_passthru=true"/>
<action application="bridge" data="{sip_invite_to_uri=<sip:402102241300@$${domain_name}>}user/NXYZE-50122@$${domain_name}"/>
</condition>
</extension>
......
Attachments
Last edited: