Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Dial with SIP credentials without defining gateway?


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
Antony.Stone at freesw...
Guest





PostPosted: Thu Oct 14, 2021 7:54 pm    Post subject: [Freeswitch-users] Dial with SIP credentials without definin Reply with quote

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
Back to top
kaduww at gmail.com
Guest





PostPosted: Thu Oct 14, 2021 8:41 pm    Post subject: [Freeswitch-users] Dial with SIP credentials without definin Reply with quote

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 ([email]destination_number%7D@12.34.56.78[/email])

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 (Antony.Stone@freeswitch.open.source.it)> escreveu:

Quote:
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 (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 (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

[b]Fone: +55 48 99981-0894
[/b]
E-mail: kaduww@gmail.com (kaduww@gmail.com)

LinkedIn: https://www.linkedin.com/in/carlos-eduardo-wagner-96bbb433/

Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services