[Freeswitch-users] Unable to get sip_to_tag as session variable

John Nash john.nash778 at gmail.com
Thu Jan 7 15:12:31 MSK 2016


sorry I think block of code in session progress is quite different then
ringing so wont be easy for me unless I have help.

On Thu, Jan 7, 2016 at 5:30 PM, John Nash <john.nash778 at gmail.com> wrote:

> OK looks like I can make this change should i change /test and send the
> code snippet to devel list?
>
> On Thu, Jan 7, 2016 at 5:07 PM, Florent Krieg <flokrrr at gmail.com> wrote:
>
>> Hello John,
>>
>> I just checked the c file and it appears my comment on the Jira case is
>> still relevant: the variable is only available on a 180-Ringing provisional
>> response (not on a 183).
>> The patch is present in "case SWITCH_MESSAGE_INDICATE_RINGING", to be
>> working for your needs it has to be added in "case
>> SWITCH_MESSAGE_INDICATE_PROGRESS" a little bit below in the code too.
>>
>> Regards
>> Florent
>>
>>
>>
>> 2016-01-07 11:35 GMT+01:00 John Nash <john.nash778 at gmail.com>:
>>
>>> I am trying to get sip_to_tag session variable in a lua script which is
>>> executed on media (183) I can see from tag call id but not to tag
>>>
>>> I saw this was fixed in https://freeswitch.org/jira/browse/FS-7137 but
>>> I am using higher version
>>>
>>> FreeSWITCH Version 1.4.26+git~20151124T001158Z~45534616c6~64bit (git
>>> 4553461 2015-11-24 00:11:58Z 64bit)
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://confluence.freeswitch.org
>>> http://www.cluecon.com
>>>
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>>>
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160107/46181fb5/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list