[Asterisk-Users] RE: is srv lookup being done when REGISTERing?

2004-07-07 Thread Jasminko Mulahusic
 It's correct that neither the SRV lookup is handled correctly or
 completely, nore is there in standard distro a way to register with the
 proxy for a domain, if those names differ.

ok. let's fix that.

 It wasn't a difficult task to change this.
 If there is interest I might release the patch for this as part of
 another development.

yes please. thank you!


 The syntax I implemented was this:
 register =
 user[:secret[:authname[:[EMAIL PROTECTED]@proxyhost[:port][/contact]

 Would this fit your needs?

i guess so. i cannot say for sure as i do not know how the syntax
above would affect uri:s in the REGISTER message.

 Or any other ideas?

why is not an SRV lookup being done first for the proxyhost and if no
answer received than do an A lookup for proxyhost (as explained in
rfc3263)?


 There is also the option of expanding, or better redesigning, the [peer]
 sections with proper and logical configuration options
 and adding a register=yes flag.
 Both have been tried, and have their pro's and con's
 Any thoughts?


would that affect register = ?

[ i was thinking of registering asterisk with a provider through which
i will be able to receive incoming calls from the pstn].

what is causing problems (at least for me) is that domain and
proxyhost are treated as same things. for instance, when i am
transfering call thru a sip extenstion it is sending INVITEs with the
uri sip:[EMAIL PROTECTED] to the host proxyhost instad of uri
sip:[EMAIL PROTECTED] to the host proxyhost. let's just make sure that the
meaning of domain and proxyhost are well understood in the sip context
and are treated right.

jasko
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Re: is srv lookup being done when REGISTERing?

2004-07-07 Thread Jasminko Mulahusic
 have you set

 srvlookup = yes  ;Enable http://www.voip-info.org/wiki-DNS+SRVDNS SRV
 lookups on calls

 in your sip.conf file?


yes.

[ i consider an A RR for a domain name pointing to the right proxy
server more of a coincidence than deliberate configuration. how do you
otherwise express preferences when you have several servers, failback
etc. ]
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] is srv lookup being done when REGISTERing?

2004-07-06 Thread Jasminko Mulahusic
it looks (to me) like asterisk is not doing an SRV lookup when
REGISTERing with another sip proxy. is that correct?

what i am trying to achieve is to register [EMAIL PROTECTED] with a
proxy using

register = jasko:secret:[EMAIL PROTECTED]

my problem is that asterisk is doing a simple A RR lookup for the
domain telia.net which is pointing to a host that is NOT the proxy for
that domain (resulting in the REGISTER message ending up with the
wrong host).

if an SRV lookup had been done instead, the REGISTER message would
have be sent to the right host. [i cannot change telia.net in the
above line as that messes up the authentication instead. and i do not
have control over the dns for the domain in question].

is there any other way to force the REGISTER message through a certain
proxy/host?

am i missing something?

jasko
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] RE: is srv lookup being done when REGISTERing?

2004-07-06 Thread Jasminko Mulahusic
 This issued has been discussed few weeks ago into great depth.
 Look into May/June 04 archive!

i have indeed looked into archives (wiki, googled using tabs, asked my
barber) and what have been discussed were SRV records for outgoing
calls.

the same seems not to work for REGISTER.

jasko
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users