[asterisk-users] SIP Multi-Domain
Jean-Marc Salsa
jsalsa at gmail.com
Tue Nov 21 00:37:15 MST 2006
OK, maybe my question was not asked correctly.
My real problem is that We have in sip.conf SIP users like
[User1], [User2]
[UserX]
type=friend
username=UserX
secret=password
host=dynamic
nat=yes
dtmfmode=rfc2833
qualify=yes
canreinvite=no
accountcode=54
callerid="UserX" <NumberX>
context=mcc_auto
disallow=all
allow=alaw
allow=g729
These users "belongs" to a domain called "domain1" ( how to do that, I do
not know )
So that Asterisk should request their authentication, when it sees an INVITE
with a From User1 at domain1
Problem is that I have a proxy, which sends requests with domain2 .... And
sometimes, it happens that proxy (Configured as peer, in very insecure)
relay calls From User1 at domain2 ....
But instead of Letting the call go through ( because of "very insecure"), it
stops the call, ans ask for authentication as User1 at domain1 !
Look, everywhere I see that SIP Multi-Domain is like e-Mails ...
So for me User1 at domain1 is different than User1 at Domain2 !!!!
Should I put in sip.conf, the full Username like : user1 at Domain1 ???
How to do so that Asterisk ask only authentication when receiving an invite
from User1 at Domain1 ?
And believe me, I know Google, and Asterisk Mailing List are your friends
:o)
but, I cannot find the info, Maybe I do not use the right keywords ( SIP
Multi Domain Authentication )
If somebody can point this to me ....
Thanks a lot !
JM
On 11/21/06, Eric ManxPower Wieling <eric at fnords.org> wrote:
>
> Jean-Marc Salsa wrote:
> > Question is quite easy:
> >
> > How am I supposed to configure Asteirsk to have the same extension, in 2
> > differents domains.
> >
> > In the general section of sip.conf, I add the domains,
> > But how to say to Asterisk :
> > user1 at domain1 > Pasword1
> > user2 at domain2 > Pasword2
>
> Short answer: You can't.
>
> Long answer: An extension is NOT the same as a SIP device. An extension
> is a way to map a number to specific device(s). We use the MAC of the
> device as the SIP user ID.
>
> This has been talked about many times. See the mailing list archives.
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061121/75bdd8bd/attachment.htm
More information about the asterisk-users
mailing list