[Freeswitch-users] Multiple History Info header
Giri
girish.dharmaraj at gmail.com
Sun Oct 6 04:52:41 UTC 2019
*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
<http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>>;reason=user-busy;counter=3;privacy=off,<sip:13216938059
at 216.1.185.103
<http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>>;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
On Sun, Oct 6, 2019 at 12:47 PM Giri <girish.dharmaraj at gmail.com> wrote:
> *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 <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>>;reason=user-busy;counter=3;privacy=off,<sip:13216938059 at 216.1.185.103 <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>>;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
>
>
>
> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Virus-free.
> www.avg.com
> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
> <#m_6076873152175307791_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
> On Sat, Oct 5, 2019 at 12:41 AM Giri <girish.dharmaraj at gmail.com> wrote:
>
>> when I add a multiple header with comma separated only one header is
>> added, is there anything wrong with my syntax ?
>>
>> sip_h_History-Info=<sip:${CF_caller_id_number}@198.18.181.6;user=phone>;index=1;ms-retarget-reason=forwarding,
>> <sip:${callee_id_number}@198.18.181.6;user=phone>;index=1.1;
>>
>> The Result is showing in one header.
>>
>>
>> With Best Regards,
>> Girish Dharmaraj
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20191006/8797586f/attachment.html>
More information about the FreeSWITCH-users
mailing list