I am trying to export sip_h_Diversion header twice but not working, only one header is sent out and not two.
If I use export with “,” then I get the following results:
> Diversion: <sip:19082302337 at 216.1.185.103>;reason=user-busy;counter=3;privacy=off,<sip:13216938059 at 216.1.185.103>;reason=no-answer;counter=1;privacy=off
>
> <extension name="public_did">
> <condition field="destination_number" expression="^9999(\d{10})$">
>
> <action application="set" data="ocn=18005551212"/>
> <action application="set" data="rdn=18005552323"/>
>
> <action application="export" data="sip_h_Diversion =<sip:${ocn}@${network_addr}>;reason=user-busy;counter=3;privacy=off, <sip:${rdn}@${network_addr}>;reason=no-answer;counter=1;privacy=off "/>
>
> <action application="set" data="hangup_after_bridge=true" />
> <action application="set" data="continue_on_fail=true"/>
>
> <action application="transfer" data="1001 XML default"/>
> </condition>
> </extension>With Best Regards,
Girish Dharmaraj
I am trying to export sip_h_Diversion header twice but not working, only one header is sent out and not two.
If I use export with “,” then I get the following results:
> Diversion: <sip:19082302337 at 216.1.185.103>;reason=user-busy;counter=3;privacy=off,<sip:13216938059 at 216.1.185.103>;reason=no-answer;counter=1;privacy=off
>
> <extension name="public_did">
> <condition field="destination_number" expression="^9999(\d{10})$">
>
> <action application="set" data="ocn=18005551212"/>
> <action application="set" data="rdn=18005552323"/>
>
> <action application="export" data="sip_h_Diversion =<sip:${ocn}@${network_addr}>;reason=user-busy;counter=3;privacy=off, <sip:${rdn}@${network_addr}>;reason=no-answer;counter=1;privacy=off "/>
>
> <action application="set" data="hangup_after_bridge=true" />
> <action application="set" data="continue_on_fail=true"/>
>
> <action application="transfer" data="1001 XML default"/>
> </condition>
> </extension>With Best Regards,
Girish Dharmaraj
when I add a multiple header with comma separated only one header is added, is there anything wrong with my syntax ?
The Result is showing in one header.
With Best Regards,
Girish Dharmaraj
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire
https://signalwire.comEnhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.
Join our online community to chat in real time
https://signalwire.communityProfessional FreeSWITCH Services
sales@freeswitch.comhttps://freeswitch.com
Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://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
https://freeswitch.com