Hey, It can, set the variables sip_auth_username and sip_auth_password bridge {sip_auth_username=<your_user_name>,sip_auth_password=<your_password>}sofia/external/${ destination_number}@12.34.56.78 Here you have the list of variables you can use https://freeswitch.org/confluence/display/FREESWITCH/Variables+Master+List Em qui., 14 de out. de 2021 às 21:32, Antony Stone < Antony.Stone@freeswitch.open.source.it> escreveu:
Hi.
I've recently started using FreeSwitch, after being familiar with Asterisk for many years.
I'm wondering whether FreeSwitch has an equivalent to Asterisk's facility for dialling out to a SIP server using credentials supplied as part of the dial command, instead of needing a pre-defined gateway?
In an Asterisk dialplan, you can say something like
Dial(SIP/${Destination}:${SIPpass}::${SIPuser}@${SIPhost})
and that will dial to the Destination number on SIPhost using the SIP credentials SIPuser/SIPpass. Nothing needs to be configured in advance.
Can FreeSwitch do something like that too?
Thanks,
Antony.
-- "The problem with television is that the people must sit and keep their eyes glued on a screen; the average American family hasn't time for it."
- New York Times, following a demonstration at the 1939 World's Fair.
Please reply to the list; please *don't* CC me.
_________________________________________________________________________
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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
-- *Carlos E. Wagner* *Tecnólogo em Telecomunicações, Opensips Certified Professional* *Fone: +55 48 99981-0894* *E-mail:* kaduww@gmail.com *LinkedIn:* https://www.linkedin.com/in/carlos-eduardo-wagner-96bbb433/