[asterisk-dev] One issue remaining with kill-the-user in chan_sip

Pavel Jezek pavel.jezek at i.cz
Sun Jul 6 04:47:59 CDT 2008

I migrated my config to 'type=peer' a months ago it was working fine,
but (probably) after astobj2 was introduced into trunk, I have problems 
with peer matching for incomming calls, bugreport here
maybe it's related to this discussion...

Johansson Olle E wrote:
> Going through kill-the-user changes again, fixing Russell's issue and  
> thinking more clearly, I realize we
> still have a problem to solve, where I might need Murf's help with the  
> new lists and hashes.
> The problem is this:
> We have one list of peers by name, that is used now both for type=user  
> and type=peer (and friend).
> If a user declares a type=peer, we should not match on name on  
> incoming call. I've created a
> variable for that in the sip_peer data structure - "onlymatchonip".
> We still need it though to find it by name for outbound calls, like  
> dial(SIP/lotta).
> Do we need a new list for matching on incoming calls, or can we change  
> the macro that searches
> the lists to use a function to verify the match (and check the  
> "onlymatchonip" field) ?
> We could re-instate the users list, but now add sip_peer objects to  
> it, while waiting for the more
> elegant solution...
> /O
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
> AstriCon 2008 - September 22 - 25 Phoenix, Arizona
> Register Now: http://www.astricon.net
> 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