[Asterisk-Users] a few questions about sip implementation

Mark Spencer markster at digium.com
Sun Jun 15 13:00:25 MST 2003


> 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.

> 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.

> 3. I have another SIP account (sip:912345678 at domain.es) 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 => 912345678 at domain.es/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[:authuser]]@host[: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>:domain.es at 1.2.3.4/1234

Mark




More information about the asterisk-users mailing list