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

Rusty Newton (JIRA) noreply at issues.asterisk.org
Mon Sep 24 19:02:27 CDT 2012


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

Rusty Newton commented on ASTERISK-20333:
-----------------------------------------

Your capture was a bit confusing to me for several reasons, I'll have someone check it that has a bit more network-fu.

I've tested between two Digium D40 phones with SVN-branch-1.8-r373242.

Using a very basic configuration similar to the description -I found that depending on the dtmfmode option's value, media will or will not be externally bridged.

With directmedia=yes set for two endpoints local to Asterisk; here are the options I tested for dtmfmode and what the results of each test was for whether directmedia worked or not.

(directmedia and dtmfmode were set for both endpoints in sip.conf, tested on local LAN with no firewalling or NAT)

dtmfmode= (commented out or undefined): yes
dtmfmode=auto: yes
dtmfmode=inband: yes
dtmfmode=rfc2833: yes
dtmfmode=info: no
dtmfmode=shortinfo: no


To confirm, media did not flow directly between endpoints when either the info or shortinfo values were set for dtmfmode=. For any other dtmfmode value , things worked fine.

Maciej, does this sound as you would expect, or does it differ from your experience so far? I think this matches the behavior you described for the latest 1.8, but not for 1.8.13.1 correct?

> '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
>         Attachments: directmedia.cap, 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