[asterisk-users] Re: Hi reg. 2 asterisk server
Noah Miller
noahisaacmiller at gmail.com
Tue Jan 2 12:52:41 MST 2007
Hi Thiru -
> Please clarify one more doubt in extensions.conf file...
> is the following dial plan is right way to call another server(frome
> serverA to serverB)
>
> exten => _5XXXXX,1,Dial(sip/5XXXXX at 192.1682.105:6030,15,tr)
>
> exten => _5XXXXX,2,Hangup
You can dial either via IP or by sip device name (the name in brackets
[] in sip.conf). Either way, you also have to include the username
and password in the Dial statement(). It looks like this:
exten => _5XXXXX,1,Dial(SIP/UserB:PasswordB at SipDeviceNameOnB/${EXTEN},15,tr)
or
exten => _5XXXXX,1,Dial(SIP/UserB:PasswordB at IPAddressOfB/${EXTEN},15,tr)
If you want to avoid putting the password in the dialplan, and make
the authentication process a little more secure, you can also use MD5
authentication. This page on the wiki explains how:
http://www.voip-info.org/tiki-index.php?page=Asterisk+sip+md5secret
- Noah
More information about the asterisk-users
mailing list