[asterisk-users] What syntax to send user:pass in SIP Dial string?
JR Richardson
jmr.richardson at gmail.com
Wed Oct 29 10:21:58 CDT 2008
Hi All,
I'm trying to get the user:pass embedded in a SIP Dial string instead
of calling a SIPuser in sip.conf:
Regular way, exten => 1234,1,Dial(SIP/${EXTEN}@sipuser|30|)
Where the 'sipuser' is a context on sip.conf
[sipuser]
fromuser=sipuser
What I would like to do is embed the username:password in the Dial
string, something like this:
exten => 1234,1,Dial(SIP/${EXTEN}@user:password at 10.10.10.1|30|)
doesn't work though, can't create sip channel.
I'm not sure if this can be done?
Any guidance will be appreciated.
JR
--
---------------------
JR Richardson
Engineering for the Masses
More information about the asterisk-users
mailing list