Hello all, I'm trying to change some incoming calls 'sip_to_uri' (it's a rerouting of our ITSP) so it matches our main number: 0891234567 -> 08998765 I'm checking the sip_to_uri and then trying to export/set/set_profile_var to the new number. But in debug trace it's still comparing against the original sip_to_uri. Is there a way to change as soon it's hitting the dialplan ? Thanks and best regards Stefan
Why bother? regex match on the destination_number and then bridge/transfer accordingly. What are you trying to gain by messing with the actual sip_to_user? And perhaps set on the inbound gateway where it gets sent to.. -Avi On Wed, Sep 21, 2011 at 4:12 PM, Weigel, Stefan < Stefan.Weigel@allianz-warranty.com> wrote:
Hello all,****
** **
I’m trying to change some incoming calls ‘sip_to_uri’ (it’s a rerouting of our ITSP) so it matches our main number:****
** **
0891234567 -> 08998765****
** **
I’m checking the sip_to_uri and then trying to export/set/set_profile_var to the new number. But in debug trace it’s still comparing against the original sip_to_uri.****
** **
Is there a way to change as soon it’s hitting the dialplan ?****
** **
** **
Thanks and best regards****
** **
Stefan ****
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 http://www.freeswitch.org
Hi Avi, our provider doesn't send the whole number in the INVITE, we need to parse the 'sip_to_uri'. I just found a way to transfer through the dialplan and putting my information together. Thanks and best regards Stefan Von: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] Im Auftrag von Avi Marcus Gesendet: Mittwoch, 21. September 2011 15:20 An: FreeSWITCH Users Help Betreff: Re: [Freeswitch-users] change sip_to_user in dialplan Why bother? regex match on the destination_number and then bridge/transfer accordingly. What are you trying to gain by messing with the actual sip_to_user? And perhaps set on the inbound gateway where it gets sent to.. -Avi On Wed, Sep 21, 2011 at 4:12 PM, Weigel, Stefan <Stefan.Weigel@allianz-warranty.com<mailto:Stefan.Weigel@allianz-warranty.com>> wrote: Hello all, I'm trying to change some incoming calls 'sip_to_uri' (it's a rerouting of our ITSP) so it matches our main number: 0891234567 -> 08998765 I'm checking the sip_to_uri and then trying to export/set/set_profile_var to the new number. But in debug trace it's still comparing against the original sip_to_uri. Is there a way to change as soon it's hitting the dialplan ? Thanks and best regards Stefan FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
Avi Marcus
-
Weigel, Stefan