<div>OK, maybe my question was not asked correctly.</div>
<div> </div>
<div>My real problem is that We have in sip.conf SIP users like </div>
<div>[User1], [User2]</div>
<div> </div>
<div>[UserX]<br>type=friend<br>username=UserX</div>
<div>secret=password<br>host=dynamic<br>nat=yes<br>dtmfmode=rfc2833<br>qualify=yes<br>canreinvite=no<br>accountcode=54<br>callerid="UserX" <NumberX><br>context=mcc_auto<br>disallow=all<br>allow=alaw<br>allow=g729
<br> </div>
<div>These users "belongs" to a domain called "domain1" ( how to do that, I do not know )</div>
<div>So that Asterisk should request their authentication, when it sees an INVITE with a From <a href="mailto:User1@domain1">User1@domain1</a></div>
<div> </div>
<div>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 <a href="mailto:User1@domain2">User1@domain2</a> ....
</div>
<div>But instead of Letting the call go through ( because of "very insecure"), it stops the call, ans ask for authentication as <a href="mailto:User1@domain1">User1@domain1</a> !</div>
<div> </div>
<div>Look, everywhere I see that SIP Multi-Domain is like e-Mails ... </div>
<div>So for me <a href="mailto:User1@domain1">User1@domain1</a> is different than <a href="mailto:User1@Domain2">User1@Domain2</a> !!!!</div>
<div> </div>
<div>Should I put in sip.conf, the full Username like : <a href="mailto:user1@Domain1">user1@Domain1</a> ???</div>
<div>How to do so that Asterisk ask only authentication when receiving an invite from <a href="mailto:User1@Domain1">User1@Domain1</a> ?</div>
<div> </div>
<div>And believe me, I know Google, and Asterisk Mailing List are your friends :o)</div>
<div>but, I cannot find the info, Maybe I do not use the right keywords ( SIP Multi Domain Authentication )<br> </div>
<div>If somebody can point this to me ....<br> </div>
<div>Thanks a lot !</div>
<div> </div>
<div>JM</div>
<div> </div>
<div><span class="gmail_quote">On 11/21/06, <b class="gmail_sendername">Eric ManxPower Wieling</b> <<a href="mailto:eric@fnords.org">eric@fnords.org</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Jean-Marc Salsa wrote:<br>> Question is quite easy:<br>><br>> How am I supposed to configure Asteirsk to have the same extension, in 2
<br>> differents domains.<br>><br>> In the general section of sip.conf, I add the domains,<br>> But how to say to Asterisk :<br>> user1@domain1 > Pasword1<br>> user2@domain2 > Pasword2<br><br>Short answer: You can't.
<br><br>Long answer: An extension is NOT the same as a SIP device. An extension<br>is a way to map a number to specific device(s). We use the MAC of the<br>device as the SIP user ID.<br><br>This has been talked about many times. See the mailing list archives.
<br>_______________________________________________<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:
<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>