[Freeswitch-users] 'To' number modifcation

devang nathwani devang.nathwani31589 at gmail.com
Tue Apr 30 22:28:27 UTC 2019


Hello Brian,

Thanks for the response.
The DID number is 12324
bridge({sip_to_user=12324}[leg_timeout=15]user/1037568620 at 192.168.1.32
This is the bridge string i am using to route the DID number.

So when anybody for outside system dials DID 12324, FS will route it to
device 1037568620 which is registered at destination pbx.
Now for FS 1037568620 is destination number so I see '1037568620' in to
username in sip trace, but i want to set destination number as 12424
instead.

On Mon, Apr 29, 2019 at 10:53 PM Brian West <brian at freeswitch.com> wrote:

> You use the ^ in your bridge line, can you show me your current bridge
> line and example?
>
> /b
>
>
> On Mon, Apr 29, 2019 at 11:18 AM devang nathwani <
> devang.nathwani31589 at gmail.com> wrote:
>
>> Hello Team,
>>
>> I have idea to modify from user, contact user from dialplan variable as
>> well as channel variables but can we modify to number by any variables?
>>
>> The scenario is like this,
>> My switch's device registered as trunk to destination switch, which is
>> having dynamic ip(not having fqdn)
>> So I am routing the DID number from my switch to that device which is
>> registered as trunk to destination switch, but I need that device as bridge
>> only to connect my switch with destination switch and send the call to
>> another destination number.
>>
>> How can I achieve this by any variables?
>> Thanks in advance.
>> _________________________________________________________________________
>>
>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
>> services.
>> Build your next product on our scalable cloud platform.
>>
>> Join our online community to chat in real time
>> https://signalwire.community
>>
>> Professional FreeSWITCH Services
>> sales at freeswitch.com
>> https://freeswitch.com
>>
>> Official FreeSWITCH Sites
>> https://freeswitch.com/oss
>> https://freeswitch.org/confluence
>> https://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
>> https://freeswitch.com
>
>
>
> --
>
> Brian West | Co-founder and Developer
>
> Need Commercial support? email sales at freeswitch.com
>
> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045
> <https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g>
>
> Email: brian at freeswitch.com
>
> Mobile: 918-424-9378
>
> Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/>
>
> [image: https://www.facebook.com/signalwireinc?src=email]
> <https://www.facebook.com/freeswitch> [image:
> https://twitter.com/freeswitch] <https://twitter.com/freeswitch>
> _________________________________________________________________________
>
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
> services.
> Build your next product on our scalable cloud platform.
>
> Join our online community to chat in real time
> https://signalwire.community
>
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://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
> https://freeswitch.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20190501/4d2ec605/attachment-0001.html>


More information about the FreeSWITCH-users mailing list