[OpenSER-Users] Multidomain and in-dialog REFER auth issue
    Iñaki Baz Castillo 
    ibc at in.ilimit.es
       
    Mon Oct 15 09:58:36 CEST 2007
    
    
  
Hi, I've a multidomain OpenSer and I want to allow REFER (with authenticacion 
before) just in calls between users of same domain, but it's quite complex:
- userA at domainA.com INVITE's userB at domainB.com.
- During the call userA at domainA.com does an in-dialog REFER.
Because the REFER is in-dialog the message is like:
--------------------
REFER sip:userB at 80.98.123.23:5060 SIP/2.0
From: sip:userA at domainA.com
To: userB at domainB.com
Refer-To: ...
...
--------------------
How can my OpenSer know which domain this REFER goes? of course the "To" 
header is not valid at all.
Could be a solution a SQL query to "location" table looking for the URI 
(sip:userB at 80.98.123.23:5060) and getting the username and domain of this?
Any other option?
Thanks a lot.
-- 
Iñaki Baz Castillo
ibc at in.ilimit.es
    
    
More information about the Users
mailing list