[asterisk-bugs] [JIRA] Commented: (ASTERISK-20333) 'directmedia' not working any more

Matt Jordan (JIRA) noreply at issues.asterisk.org
Thu Sep 6 08:55:07 CDT 2012


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

Matt Jordan commented on ASTERISK-20333:
----------------------------------------

A few things.

{quote}
Configured peers has dtmfmode set to "info" (I know this is an issue that direct media ins not working if set to rfc2833 or inbound).
{quote}

I'm not sure what you're referring to that directmedia doesn't work if DTMF is set to RFC2833 or inbound.  directmedia still works fine, as does DTMF - its just that DTMF doesn't go through Asterisk, as the media has been directed between the peers.  So yes, if you want DTMF to still go through Asterisk, you have to use SIP INFO requests - but that isn't something "not working", that is something work exactly how you configured the system.

Anyway... :-)

directmediapermit/directmediadeny were changed in r366547 (in 1.8.14.0), as the behavior that they exhibited didn't really help users actually restrict directmedia setup between two peers.  Prior to the change, the address that was checked in a peer's ACL was the peer's own address - in the case of directmedia, this doesn't make much sense, as other ACLs already check the setup of that peer.  Instead, what should have been checked was the bridging peer's address to see if the peer should be able to send media to that peer.

Somehow that change didn't get mentioned in the UPGRADE file, which should have happened.  I'll get that fixed.

All of that aside, your configuration does not appear to be using those settings (although you referenced them in a comment) - so that's probably not the problem here.  I am having a bit of a tough time seeing where in the INVITE transactions things are getting out of whack - do you mind attaching a pcap?  Sometimes thats a lot clearer when all you need to see are the SIP messages.

Thanks!


> 'directmedia' not working any more
> ----------------------------------
>
>                 Key: ASTERISK-20333
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20333
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/General
>    Affects Versions: 1.8.15.0
>            Reporter: Maciej Krajewski
>            Assignee: Maciej Krajewski
>         Attachments: full, full+sipdebug.log, sippeers.csv, sippeers_propper.txt
>
>
> I've updated me asterisk today from 1.8.13.1 to 1.8.15.0,, what I've noticed is that directmedia has stopped working.
> I'm using realtime peer configuration, I have directmedia set to yes on both friends calling each other (simple dial without any options).
> {code}
> exten => 1,1,Dial(SIP/test002)
> same => n,Hangup()
> {code}
> Configured peers has dtmfmode set to "info" (I know this is an issue that direct media ins not working if set to rfc2833 or inbound).
> When I've downgraded asterisk to 1.8.13.1 the directmedia has worked again. I've done some investigation and what I  have found is that some change between 1.8.13.1 and 1.8.14.0 has done that.
> I've attached the logs from asterisk 1.8.15.0

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list