[EMAIL PROTECTED] (Mark Spencer) writes:

> > Is this correct?
> 
> I see the 100 Trying on REGISTER frequently, but if it's not valid, we can
> take it out.  It serves no really effective purpose.

I think that it's only on REGISTER messaegs that it shouldn't be
used. Perhaps previous RFCs didn't mention this.

> > 2. 10.3 Processing REGISTER requests. The 5th paragraph states "that the
> > registrar has to know the set of domain(s) for which it maintains
> > bindings".
> >
> > How is this specified in Asterisk?  Through the context?  ie should the
> > domains be specified in sip.conf via the context parameter, of the
> > form context=domain.com?
> 
> What's the practical meaning of that?  Asterisk just uses the part in
> front of the "@" sign and ignores the rest.  This way you can use the
> domain or IP just the same.

No. I need ot register with the sip To: as 

To: <[EMAIL PROTECTED]>

However the sip proxy IS NOT realm.com but an ip wit no name: 1.2.3.4

Currently if i use

register => [EMAIL PROTECTED]   ; fails as no ip to connect to
register => [EMAIL PROTECTED]     ; fails as "realm/domain" is
incorrect.

John's previous message appears to be a solution if I can parse the
more complicated "extended format".

> > 3. I have another SIP account (sip:[EMAIL PROTECTED]) which I would like
> > to use within asterisk both for dialing out and for receiving calls.
> >
> > I see that sip.conf has a line
> >
> > register => [EMAIL PROTECTED]/1234
> >
> > where 1234 is the local asterisk extension.  From chan_sip.c, line 1390 I
> > see that I can use the form:
> >
> > register => user[:secret[:[EMAIL PROTECTED]:port][/localextension]
> >
> > However my registrar requires that I authenticate with domain.es, but use
> > a sip proxy at ip 1.2.3.4, the two are unrelated and domain.es has no ip
> > address.  How can I get Asterisk to register with the remote prxoy?
> 
> You do:
> 
> register => 912345678:<password>:[EMAIL PROTECTED]/1234

ok. thanks I'll try that tomorrow.

Thanks again.

Simon
_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to