[Freeswitch-users] How to distinguish between normal originated and redirected by SIP 302 channels?
Dmitry Sytchev
kbdfck at gmail.com
Mon Jul 25 13:48:37 MSD 2016
Giovanni, thanks for your response!
Yes we use that in different places.
But we need to add some header only in case of FS sending redirected
call back to SBC when FS reacts on 302 when set manual-redirect=false.
If we use manual redirect, we could set it by hand. But we cant, since
we use enterprise originate or originating to multiple destinations.
And with manual-redirect=true we loose all active outbound legs
because FS runs manual redirect on originating leg and not originated
one.
2016-07-25 12:33 GMT+03:00 Giovanni Maruzzelli <gmaruzz at gmail.com>:
> Hi Dmitry,
>
> check:
> https://freeswitch.org/confluence/display/FREESWITCH/Sofia+SIP+Stack#SofiaSIPStack-AddingRequestHeaders
>
>
> On Mon, Jul 25, 2016 at 11:27 AM, Dmitry Sytchev <kbdfck at gmail.com> wrote:
>>
>> Hi all,
>>
>> We build FS-based PBX and faced issue with identifying outbound
>> channels created by FS in case of receiving 302. We don't use internal
>> redirect as it leads to redirecting source channel.
>> Instead, we use enterprise originate and make FS send all channels to
>> SBC which sends them back to FS in case of redirect.
>>
>> Problem is that after FS sends call redirected by 302 to SBC, we can't
>> distinguish between usual originated calls from FS and redirect
>> attempts as there is no significant difference in SIP fields. It would
>> be great if we can for example set some header to identify redirected
>> call from FS on SBC.
>>
>> Maybe you guys have some thoughts about how this can be done?
>>
>>
>> --
>> Best regards,
>>
>> Dmitry Sytchev,
>> IT Engineer
>>
>> _________________________________________________________________________
>> 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
>
>
>
>
> --
> Sincerely,
>
> Giovanni Maruzzelli
> Cell : +39-347-2665618
>
> _________________________________________________________________________
> 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
--
Best regards,
Dmitry Sytchev,
IT Engineer
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list