[asterisk-dev] Asterisk handling of AVPF

Olle E. Johansson oej at edvina.net
Wed Jul 3 02:33:16 CDT 2013


3 jul 2013 kl. 09:21 skrev Torrey Searle <tsearle at gmail.com>:

> Hello,
> 
> I've found that the current behavior of ast11 is as follows:
> 
> 1. if avpf=no  all avpf calls get rejected
> 2. if avpf=yes all avp calls get rejected
> 
> However by comparison I following behavior with regards to encryption
> 1. if encyrption=no both normal and srtp calls are accepted
> 2. if encryption=yes unencrypted calls are rejected
> 
> I have a patch to adapt the avpf behavior to match the encryption behavior (if avpf=no enable avpf if it's in the offer).  I was wondering if people would be happy if I submit the patch as-is or would prefer a different way of making avpf optional?

I think the option should indicate what we send, not what we can accept when we receive. If you want that, maybe another setting is needed to say "I only accept calls with AVPF" but I don't see a reason for that. 

I do see a reason for that option in regards to encryption though.

/O




More information about the asterisk-dev mailing list