[Asterisk-Dev] Asterisk does not handle call from a Cisco IAD correctly

Kevin P. Fleming kpfleming at digium.com
Thu Dec 29 16:11:35 MST 2005


James Sizemore wrote:
> I just noticed I used the word "peer" in the sip.conf example below that 
> should have been "user" (it is an incoming call after all.) I type 
> faster then I think sometimes. Thanks for not flaming me. LOL

type=user entries are never matched by IP address, and there is no 
advantage to using one. Stick with type=peer.

> Once I got my head around the code I was thinking of adding a 
> "insecure=port" to allow matching of user by IP address without matching 
> port number. There is already code in there to do this for a peer 
> statement so I guess I will need to find another name for this or 
> overload the current version? So in other words should It look like this:

There is no need; just use type=peer.

> But same problem because it comes in with a source port other then 5060 
> it is ignored!, so now I am really confused should I fix this in the 
> "user" code or the "domain" code?

I don't think domains have anything to do with this; you are trying to 
avoid authentication, which is what domains are for.



More information about the asterisk-dev mailing list