[Asterisk-Users] sip registration problems
Juha Heinanen
jh at lohi.eng.song.fi
Thu Apr 10 22:29:38 MST 2003
i installed yesterday asterisk cvs version and tried to register
asterisk as a sip ua with my proxy. there was two problems that i was
not able to solve with the style of register line shown in the default
sip.conf:
register => foo:password at proxy.com
the first problem was that asterisk converted the host part of the
to/from uri from the domain name proxy.com to its ip address, which i
don't want to be done and don't know how to prevent it.
the second problem was that i could not figure out how i can give the
authentication username separately from the user part of the to/from uri
(foo).
so the registration line syntax should be something like this:
register => uri:username:password
and then asterisk should make an srv lookup on _sip._udp + the host part
of the uri prefixed by to figure out where to send the registration
request.
is any of the above achievable now without changes in the code?
assuming that the above two problems get solved, the next thing that i
would like to try is to configure asterisk so that it forwards any calls
that it gest from the pstn side to the sip proxy and wise versa with a
possible pattern matching rewrite of the calling/called phone numbers
(user part of the from/uri on the sip side). cisco calls this dial
plan configuration in their pstn/sip gws.
can that be easily done? sip.conf showed examples where each number is
separately listed in it.
-- juha
More information about the asterisk-users
mailing list