[asterisk-bugs] [JIRA] (ASTERISK-22865) externhost is not work

wangpeng (JIRA) noreply at issues.asterisk.org
Tue Nov 19 03:52:03 CST 2013


     [ https://issues.asterisk.org/jira/browse/ASTERISK-22865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

wangpeng updated ASTERISK-22865:
--------------------------------

    Attachment: 8015-8014.pkt

package
                
> externhost is not work
> ----------------------
>
>                 Key: ASTERISK-22865
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22865
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>    Affects Versions: 11.5.0
>         Environment: ubuntu 12.0.4
>            Reporter: wangpeng
>         Attachments: 8015-8014.pkt
>
>
> my sip.conf is 
> machine ip is 192.168.0.198
> localnet=192.168.0.0/255.255.255.0
> externhost=xxx.f3322.org
> [8014]
> type=friend
> username=8010
> secret=8010
> host=dynamic
> context=from-internal
> qualify=yes
> nat=yes
> directmedia=no
> [8015]
> type=friend
> username=8010
> secret=8010
> host=dynamic
> context=from-internal
> qualify=yes
> nat=yes
> directmedia=no
> 8015 and asterisk are behind nat(private net),8014 register to asterisk with 8014 at xxx.f3322.org through 3g net,and i have port map 5060 and 10000~11000 of 192.168.0.198 on router,and router dns is ok,because i ping xxx.f3322.org is ok ,and 8014 is register see on asterisk cmd.
> now 8015 call 8014,but media ip in sdp what asterisk back to 8015 and 8014 is 192.168.0.198,not public ip,so i think externhost is not work, so pls resolve it.
> chan_sip.c/add_sdp->ast_sockaddr_stringify_addr_remote->ast_sockaddr_stringify_fmt

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list