[Freeswitch-users] change sip_to_user in dialplan

Avi Marcus avi at avimarcus.net
Wed Sep 21 17:20:03 MSD 2011


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 at 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 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/20110921/edc27701/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list