[asterisk-bugs] [JIRA] (ASTERISK-28334) pjsip : direct_media options doesnt work

Yasin CANER (JIRA) noreply at issues.asterisk.org
Mon Mar 11 06:30:47 CDT 2019


    [ https://issues.asterisk.org/jira/browse/ASTERISK-28334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=246520#comment-246520 ] 

Yasin CANER edited comment on ASTERISK-28334 at 3/11/19 6:29 AM:
-----------------------------------------------------------------

After i had a look code , i realized that direct_media value is only checked after call estableshed in chan_pjsip_get_rtp_peer function. it means that asterisk pjsip focuses re-invite/update method to change sdp connection  attributes.
in my view , it has a few pros;
1- asterisk can play media on early media until call is established.
2- it makes less complex

 how to fix this problem? any suggestion?


was (Author: ycaner):
After i had a look code , i realized that direct_media value is only checked after call estableshed in chan_pjsip_get_rtp_peer function. it means that asterisk pjsip focuses re-invite/update method to change sdp connection values.
in my view , it has a few pros;
1- asterisk can play media on early media until call is established.
2- it makes less complex

 how to fix this problem? any suggestion?

> pjsip : direct_media options doesnt work
> ----------------------------------------
>
>                 Key: ASTERISK-28334
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28334
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip
>    Affects Versions: 16.2.0
>         Environment: Ubuntu 18 4.15.0-29-generic
> Asterisk 16.2.0
>            Reporter: Yasin CANER
>            Assignee: Yasin CANER
>              Labels: pjsip
>         Attachments: asterisk-dm (1).jpg, asterisk-d-media-outgoing-allow-all.pcap, asterisk-d-media-outgoing-disallow-all.pcap, extensions.conf, pjsip.conf, pjsip-show-endpoint.txt, result.jpg, verbose-log.txt
>
>
> Direct_media doesnt work properly
> Asterisk doesnt send A leg's sdp offering ip address to B leg  and vice versa.
> Although i tested some various configuration, it writes to sdp address line own address.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list