README ****** I've done two test: Test 1) ------------------------------------------------------------------------- #### sip.conf: #### [iam_friend] #### ... #### [iam_peer] #### ... "friend" appears before "peer" in sip.conf. Files: - "friend_peer_sip.conf" is the "sip.conf" in this case. - "friend_peer_sip-show-peers" is the CLI command output. - "friend_peer.log" is a trace of 3 calls all of the to "test" extension: 1º - Call from "anonimo@mydomain.org --> matches "iam_peer" (OK) 2º - Call from "iam_friend@mydomain.org --> matches "iam_friend" (OK) 3º - Call from "iam_peer@mydomain.org --> matches "iam_peer" (OK) Test 2) ------------------------------------------------------------------------- #### sip.conf: #### [iam_peer] #### ... #### [iam_friend] #### ... "peer" appears before "friend" in sip.conf. Files: - "peer_friend_sip.conf" is the "sip.conf" in this case. - "peer_friend_sip-show-friends" is the CLI command output. - "peer_friend.log" is a trace of 3 calls all of the to "test" extension: 1º - Call from "anonimo@mydomain.org --> matches "iam_friend" (WRONG !) 2º - Call from "iam_friend@mydomain.org --> matches "iam_friend" (OK) 3º - Call from "iam_peer@mydomain.org --> matches "iam_friend" (WRONG !)