[asterisk-bugs] [JIRA] (ASTERISK-21231) When outboundpoxy is set, asterisk should not attempt to resolve DNS

Rusty Newton (JIRA) noreply at issues.asterisk.org
Tue Jul 25 16:53:59 CDT 2017


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

Rusty Newton closed ASTERISK-21231.
-----------------------------------

    Resolution: Suspended

Cleaning up the issue tracker. 

There has been no movement on this issue for three years and chan_sip is now under extended support. If anyone wants to test this against a supported version and move it through the review process then please request that we reopen the issue. Otherwise we are closing this out for now.

> When outboundpoxy is set, asterisk should not attempt to resolve DNS
> --------------------------------------------------------------------
>
>                 Key: ASTERISK-21231
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21231
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/General, Channels/chan_sip/Interoperability
>    Affects Versions: 1.8.20.1, 10.12.1, 11.2.1
>            Reporter: Paul Belanger
>         Attachments: outboundproxy_no_dns.diff, outboundproxy_no_dns.v2.diff
>
>
> Using the following sip.conf:
> {code}
> [general](+)
> nat = yes
> outboundproxy = 209.87.247.153
> srvlookup = no
> {code}
> And the following extensions.conf:
> {code}
> [ivr-polybeacon.com]
> exten => 100,1,NoOp()
>     same => n,Dial(SIP/100 at belanger.home)
> {code}
> Creates the following full log:
> {code}
> [2013-03-08 19:25:44.715] DEBUG[23027] pbx.c: Launching 'NoOp'
> [2013-03-08 19:25:44.715] VERBOSE[23027] pbx.c:     -- Executing [100 at ivr-polybeacon.com:1] NoOp("SIP/kamailio-01-prod-00000020", "") in new stack
> [2013-03-08 19:25:44.715] DEBUG[23027] pbx.c: Launching 'Dial'
> [2013-03-08 19:25:44.715] VERBOSE[23027] pbx.c:     -- Executing [100 at ivr-polybeacon.com:2] Dial("SIP/kamailio-01-prod-00000020", "SIP/100 at belanger.home") in new stack
> [2013-03-08 19:25:44.715] CC[23027] ccss.c: Agent policy for SIP/kamailio-01-prod-00000020 is 'never'. CC not possible
> [2013-03-08 19:25:44.715] DEBUG[23027] chan_sip.c: Asked to create a SIP channel with formats: 0x4 (ulaw)
> [2013-03-08 19:25:44.715] DEBUG[23027] chan_sip.c: Allocating new SIP dialog for 177e5ce53b54f4320ad6f1113b311316 at 209.87.247.153:5062 - INVITE (No RTP)
> [2013-03-08 19:25:44.715] DEBUG[23027] rtp_engine.c: Using engine 'asterisk' for RTP instance '0x1af47e8'
> [2013-03-08 19:25:44.715] DEBUG[23027] res_rtp_asterisk.c: Allocated port 13420 for RTP instance '0x1af47e8'
> [2013-03-08 19:25:44.715] DEBUG[23027] rtp_engine.c: RTP instance '0x1af47e8' is setup and ready to go
> [2013-03-08 19:25:44.715] DEBUG[23027] res_rtp_asterisk.c: Setup RTCP on RTP instance '0x1af47e8'
> [2013-03-08 19:25:44.715] VERBOSE[23027] netsock2.c:   == Using SIP RTP CoS mark 5
> [2013-03-08 19:25:44.715] DEBUG[23027] chan_sip.c: Setting NAT on RTP to On
> [2013-03-08 19:25:44.715] DEBUG[23027] chan_sip.c: OBPROXY: Applying global OBproxy to this call
> [2013-03-08 19:25:44.716] DEBUG[23027] netsock2.c: Splitting 'belanger.home' into...
> [2013-03-08 19:25:44.716] DEBUG[23027] netsock2.c: ...host 'belanger.home' and port ''.
> [2013-03-08 19:25:44.717] ERROR[23027] netsock2.c: getaddrinfo("belanger.home", "(null)", ...): Name or service not known
> [2013-03-08 19:25:44.717] WARNING[23027] chan_sip.c: No such host: belanger.home
> [2013-03-08 19:25:44.717] DEBUG[23027] chan_sip.c: Cant create SIP call - target device not registered
> [2013-03-08 19:25:44.717] DEBUG[23027] chan_sip.c: Destroying SIP dialog 177e5ce53b54f4320ad6f1113b311316 at 209.87.247.153:5062
> [2013-03-08 19:25:44.717] VERBOSE[23027] chan_sip.c: Really destroying SIP dialog '177e5ce53b54f4320ad6f1113b311316 at 209.87.247.153:5062' Method: INVITE
> [2013-03-08 19:25:44.717] DEBUG[23027] rtp_engine.c: Destroyed RTP instance '0x1af47e8'
> [2013-03-08 19:25:44.718] WARNING[23027] app_dial.c: Unable to create channel of type 'SIP' (cause 20 - Unknown)
> [2013-03-08 19:25:44.718] VERBOSE[23027] app_dial.c:   == Everyone is busy/congested at this time (1:0/0/1)
> {code}



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



More information about the asterisk-bugs mailing list