In order to avoid issues as described in bug #13296 I propose Asterisk matches before a peer (this is: matching the IP:port) than the user (mathing the “From”).It’s totally expected that a local user can’t be registered in the same IP as a SIP provider (a peer) so what I propose can’t have any negative impact (AFAIK).
Tag Archive
AGI - Asterisk Gateway Interface AMI - The manager interface authentication background call groups chan_sip cisco cli clustering config configuration configuration file cops debug dial dialplan fastagi H.323 channels jabber manager MeetMe memcached network Paging Intercom peer matching qos radius realtime res_jabber (xmpp) sip forum T.38 tcp text2speech tls Voicemail xmlMatch SIP peers before SIP users
SIP Channel Debug Filters
I’d love to see sip channel debug filters that let you filter on things _in_ the SIP headers. Something along the lines of:
sip set debug cpn “7775551212″ timeout 90
which prints SIP output and information for all calls with a Calling Party Number of 7775551212 for the next 90 seconds.Another option would be to turn that on and provide a debug id which could be used to disable that specific debug.These would technically be traces so another idea….
sip set trace cpn “7775551212″ [timeoute 90]
returns id of 3
set set trace 3 off
turns trace #3 off
