[Asterisk-Users] ser+ asterisk
voip technocrat
tech_voip at yahoo.co.in
Thu Sep 9 04:53:07 MST 2004
hi list,
i want to use the astersik in conjunction with
the ser
so i followed the instructions provided on the
voip-info.org site
but when calling from one user to another it gives me
problem in the asterisk cli that
failed user authentication
my aim of doing this is to use the asterisk with ser
for the features which it provides to the ser
registerd
users such as prepaid billing,siph323 gateway
so my configartions are as follows
ser.cfg of ser is
if (method=="INVITE")
{
setflag(1);
if(uri=~"^sip:2.*")
{
rewritehost("*.*.*.118");
t_relay();
break;
}
};
and then in the sip.conf
[general]
context=internal
autocreatepeer=yes
[Provider]
type=friend
username=XXXXXX
secret=XXX
host=*.*.*.119
and extension.conf
[root at localhost asterisk]# cat extensions.conf
[globals]
SERADDRESS=*.*.*.119:5060
[general]
static=yes
writeprotect=no
[internal]
exten =>
_XXXXXX,1,Dial(SIP/${EXTEN}@${SERADDRESS},20,r)
i have used * for innocence of ipaddress purpose
so please guide me
with regards
ravi kumar kura
________________________________________________________________________
Yahoo! India Matrimony: Find your life partner online
Go to: http://yahoo.shaadi.com/india-matrimony
More information about the asterisk-users
mailing list