Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ua: check offerred media AF already at sipsess_conn_handler()
Checking if offered media AF of incoming call is supported and available, needs to be done already in ua.c sipsess_conn_handler(). It is too late if checking is done in ua.c call_alloc(): ``` ua: using AF from sdp offer: af=AF_INET ua: SDP offer AF not supported (AF_INET) sa: sa_set_port: no af 0 (port 33340) udp: listen: getaddrinfo: ?:0 (Name or service not known) ... stream: rtp_listen failed: af=AF_UNSPEC ports=1024-49152 (Cannot assign requested address) stream: failed to create socket for media 'audio' (Cannot assign requested address) ua: call_alloc: Cannot assign requested address ```
- Loading branch information