[asterisk-dev] Asterisk and multiple SIP registrations to the same host

Klaus Darilion klaus.mailinglists at pernau.at
Wed Dec 16 10:07:30 CST 2009



Olle E. Johansson schrieb:
> 16 dec 2009 kl. 14.01 skrev Klaus Darilion:

>>> * Someone will correct me if it isn't the From field that has the username that 
>>> is matched on
>> AFAIK it is the From: username that is matched on by using type=friend. 
>> But in this case (outbound registration), the incoming RURI has to be 
>> matched against the Contact header of the sent REGISTER.
>>
>>
> Which I have code for since many years. It's the famous type=service.

IMO a bad name (which service?), unfortunately I do not know a better one.

Anyway, existing code is more important than good names :-)

klaus


> 
> Right now what we do is match on IP/port for peers and From: username (not domain) for user.
> 
> 
> /O
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
> 
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev



More information about the asterisk-dev mailing list