Yate Community Forum

General Category => Yate users hangout place => Topic started by: xyswitchz on April 10, 2018, 08:43:07 AM

Title: Registration and call on one line in regexroute
Post by: xyswitchz on April 10, 2018, 08:43:07 AM

how can a provide username and password call do a sip call in one go. Without the need to use accfile?

something like

^.*$=sip/sip:peter@9.8.7.6;username=bruce;password=7v64f2

I remember I did it some how before.
Title: Re: Registration and call on one line in regexroute
Post by: marian on April 11, 2018, 12:54:07 AM
Setup a sip account in accfile.
Don't set registrar and server parameters. Set username and password.
This will define an account in sip which won't register to a server.
You may use its credentials when making an outbound call.

^.*$=sip/sip:peter@9.8.7.6;line=your_account_name