On Fri, Apr 9, 2010 at 12:49, Stuart Henderson <[email protected]> wrote:
> On 2010/04/09 12:32, Alexey Suslikov wrote:
>> There is a problem in setup with outbound proxy (maybe related to
>> https://issues.asterisk.org/view.php?id=15827).
>
> please try this diff from the bug you found:
>
> (also at http://junkpile.org/asterisk-1.6.2.6p0.diff)

Looks like it doesn't fix the problem.

[Apr  9 13:17:06] DEBUG[11964] acl.c: Found IP address for this socket
[Apr  9 13:17:06] DEBUG[11964] chan_sip.c: Setting SIP_TRANSPORT_UDP
with address X.X.X.X:5061
[Apr  9 13:17:06] DEBUG[11964] chan_sip.c: Setting NAT on RTP to Off
[Apr  9 13:17:06] DEBUG[11964] chan_sip.c: Allocating new SIP dialog
for [email protected] - INVITE (With RTP)
[Apr  9 13:17:06] DEBUG[11964] chan_sip.c: **** Received INVITE (5) -
Command in SIP INVITE
[Apr  9 13:17:06] DEBUG[11964] chan_sip.c: Setting NAT on RTP to On
[Apr  9 13:17:06] DEBUG[11964] chan_sip.c: Trying to put 'SIP/2.0 401'
onto UDP socket destined for Y.Y.Y.Y:5060
[Apr  9 13:17:06] DEBUG[11964] chan_sip.c: **** Received ACK (6) -
Command in SIP ACK
[Apr  9 13:17:06] DEBUG[11964] chan_sip.c: Stopping retransmission on
'[email protected]' of Response 101: Match Found
[Apr  9 13:17:06] DEBUG[11964] chan_sip.c: **** Received INVITE (5) -
Command in SIP INVITE
[Apr  9 13:17:06] DEBUG[11964] chan_sip.c: Setting NAT on RTP to On
[Apr  9 13:17:06] DEBUG[11964] chan_sip.c: Processing session-level
SDP v=0... UNSUPPORTED.
[Apr  9 13:17:06] DEBUG[11964] chan_sip.c: Processing session-level
SDP o=- 17119050 17119050 IN IP4 Y.Y.Y.Y... UNSUPPORTED.
[Apr  9 13:17:06] DEBUG[11964] chan_sip.c: Processing session-level
SDP s=-... UNSUPPORTED.
[Apr  9 13:17:06] DEBUG[11964] chan_sip.c: Processing session-level
SDP c=IN IP4 Y.Y.Y.Y... OK.
[Apr  9 13:17:06] DEBUG[11964] chan_sip.c: Processing session-level
SDP t=0 0... UNSUPPORTED.
[Apr  9 13:17:06] DEBUG[11964] chan_sip.c: Processing media-level
(audio) SDP a=rtpmap:0 PCMU/8000... OK.
[Apr  9 13:17:06] DEBUG[11964] chan_sip.c: Processing media-level
(audio) SDP a=rtpmap:101 telephone-event/8000... OK.
[Apr  9 13:17:06] DEBUG[11964] chan_sip.c: Processing media-level
(audio) SDP a=fmtp:101 0-15... UNSUPPORTED.
[Apr  9 13:17:06] DEBUG[11964] chan_sip.c: Processing media-level
(audio) SDP a=ptime:30... OK.
[Apr  9 13:17:06] DEBUG[11964] chan_sip.c: Processing media-level
(audio) SDP a=sendrecv... OK.
[Apr  9 13:17:06] DEBUG[11964] chan_sip.c: We're settling with these
formats: 0x4 (ulaw)
[Apr  9 13:17:06] DEBUG[11964] chan_sip.c: Checking SIP call limits
for device 100
[Apr  9 13:17:06] DEBUG[11964] chan_sip.c: Updating call counter for
incoming call
[Apr  9 13:17:06] DEBUG[11964] chan_sip.c: *** Our native formats are
0x4 (ulaw)
[Apr  9 13:17:06] DEBUG[11964] chan_sip.c: *** Joint capabilities are
0x4 (ulaw)
[Apr  9 13:17:06] DEBUG[11964] chan_sip.c: *** Our capabilities are 0x4 (ulaw)
[Apr  9 13:17:06] DEBUG[11964] chan_sip.c: *** AST_CODEC_CHOOSE
formats are 0x4 (ulaw)
[Apr  9 13:17:06] DEBUG[11964] chan_sip.c: This channel will not be
able to handle video.
[Apr  9 13:17:06] DEBUG[11964] chan_sip.c: build_route: Contact hop:
"100" <sip:[email protected]:5060>
[Apr  9 13:17:06] DEBUG[11964] chan_sip.c: SIP/100-00000000: New call
is still down.... Trying...
[Apr  9 13:17:06] DEBUG[11964] chan_sip.c: Trying to put 'SIP/2.0 100'
onto UDP socket destined for Y.Y.Y.Y:5060
[Apr  9 13:17:06] DEBUG[11964] devicestate.c: No provider found,
checking channel drivers for SIP - 100
[Apr  9 13:17:06] DEBUG[11964] chan_sip.c: Checking device state for peer 100
[Apr  9 13:17:06] DEBUG[11964] devicestate.c: Changing state for
SIP/100 - state 1 (Not in use)
[Apr  9 13:17:06] DEBUG[11964] devicestate.c: device 'SIP/100' state '1'
[Apr  9 13:17:06] DEBUG[11964] pbx.c: Launching 'Dial'
[Apr  9 13:17:06] VERBOSE[11964] pbx.c:     -- Executing
[...@default:1] Dial("SIP/100-00000000", "SIP/9...@prov,120,tr") in new
stack
[Apr  9 13:17:06] DEBUG[11964] chan_sip.c: Asked to create a SIP
channel with formats: 0x4 (ulaw)
[Apr  9 13:17:06] DEBUG[11964] chan_sip.c: Allocating new SIP dialog
for [email protected] - INVITE (With RTP)
[Apr  9 13:17:06] DEBUG[11964] chan_sip.c: Setting NAT on RTP to Off
[Apr  9 13:17:06] DEBUG[11964] acl.c: Found IP address for this socket
[Apr  9 13:17:06] DEBUG[11964] chan_sip.c: Setting SIP_TRANSPORT_UDP
with address X.X.X.X:5061
[Apr  9 13:17:06] DEBUG[11964] chan_sip.c: *** Our native formats are
0x4 (ulaw)
[Apr  9 13:17:06] DEBUG[11964] chan_sip.c: *** Joint capabilities are
0x4 (ulaw)
[Apr  9 13:17:06] DEBUG[11964] chan_sip.c: *** Our capabilities are 0x4 (ulaw)
[Apr  9 13:17:06] DEBUG[11964] chan_sip.c: *** AST_CODEC_CHOOSE
formats are 0x4 (ulaw)
[Apr  9 13:17:06] DEBUG[11964] chan_sip.c: *** Our preferred formats
from the incoming channel are 0x4 (ulaw)
[Apr  9 13:17:06] DEBUG[11964] chan_sip.c: This channel will not be
able to handle video.
[Apr  9 13:17:06] DEBUG[11964] channel.c: Not copying variable DIALEDTIME.
[Apr  9 13:17:06] DEBUG[11964] channel.c: Not copying variable ANSWEREDTIME.
[Apr  9 13:17:06] DEBUG[11964] channel.c: Not copying variable DIALEDPEERNAME.
[Apr  9 13:17:06] DEBUG[11964] channel.c: Not copying variable DIALEDPEERNUMBER.
[Apr  9 13:17:06] DEBUG[11964] channel.c: Not copying variable DIALSTATUS.
[Apr  9 13:17:06] DEBUG[11964] channel.c: Not copying variable SIPCALLID.
[Apr  9 13:17:06] DEBUG[11964] channel.c: Not copying variable SIPDOMAIN.
[Apr  9 13:17:06] DEBUG[11964] channel.c: Not copying variable SIPURI.
[Apr  9 13:17:06] DEBUG[11964] chan_sip.c: Outgoing Call for 999
[Apr  9 13:17:06] DEBUG[11964] chan_sip.c: Updating call counter for
outgoing call
[Apr  9 13:17:06] DEBUG[11964] chan_sip.c: ** Our capability: 0x4
(ulaw) Video flag: False Text flag: False
[Apr  9 13:17:06] DEBUG[11964] chan_sip.c: ** Our prefcodec: 0x4 (ulaw)
[Apr  9 13:17:06] DEBUG[11964] chan_sip.c: -- Done with adding codecs to SDP
[Apr  9 13:17:06] DEBUG[11964] channel.c: Internal timing is disabled
(option_internal_timing=0 chan->timingfd=24)
[Apr  9 13:17:06] DEBUG[11964] chan_sip.c: Done building SDP. Settling
with this capability: 0x4 (ulaw)
[Apr  9 13:17:06] DEBUG[11964] chan_sip.c: Initializing initreq for
method INVITE - callid [email protected]
[Apr  9 13:17:06] DEBUG[11964] chan_sip.c: Trying to put 'INVITE sip:'
onto UDP socket destined for X.X.X.X:5060
[Apr  9 13:17:06] WARNING[11964] chan_sip.c: sip_xmit of 0x2037cf800
(len 817) to X.X.X.X:5060 returned -1: Address family not supported by
protocol family
[Apr  9 13:17:06] VERBOSE[11964] app_dial.c:     -- Called 9...@prov
[Apr  9 13:17:06] DEBUG[11964] chan_sip.c: Trying to put 'SIP/2.0 180'
onto UDP socket destined for Y.Y.Y.Y:5060
[Apr  9 13:17:07] DEBUG[11964] chan_sip.c: ** SIP timers: Rescheduling
retransmission 2 to 1000 ms (t1 500 ms (Retrans id #18))
[Apr  9 13:17:07] DEBUG[11964] chan_sip.c: Trying to put 'INVITE sip:'
onto UDP socket destined for X.X.X.X:5060
[Apr  9 13:17:07] WARNING[11964] chan_sip.c: sip_xmit of 0x2037cf800
(len 817) to X.X.X.X:5060 returned -1: Address family not supported by
protocol family
[Apr  9 13:17:08] DEBUG[11964] chan_sip.c: ** SIP timers: Rescheduling
retransmission 3 to 2000 ms (t1 500 ms (Retrans id #18))
[Apr  9 13:17:08] DEBUG[11964] chan_sip.c: Trying to put 'INVITE sip:'
onto UDP socket destined for X.X.X.X:5060
[Apr  9 13:17:08] WARNING[11964] chan_sip.c: sip_xmit of 0x2037cf800
(len 817) to X.X.X.X:5060 returned -1: Address family not supported by
protocol family
[Apr  9 13:17:10] DEBUG[11964] chan_sip.c: ** SIP timers: Rescheduling
retransmission 4 to 4000 ms (t1 500 ms (Retrans id #18))
[Apr  9 13:17:10] DEBUG[11964] chan_sip.c: Trying to put 'INVITE sip:'
onto UDP socket destined for X.X.X.X:5060
[Apr  9 13:17:10] WARNING[11964] chan_sip.c: sip_xmit of 0x2037cf800
(len 817) to X.X.X.X:5060 returned -1: Address family not supported by
protocol family
[Apr  9 13:17:14] DEBUG[11964] chan_sip.c: ** SIP timers: Rescheduling
retransmission 5 to 8000 ms (t1 500 ms (Retrans id #18))
[Apr  9 13:17:14] DEBUG[11964] chan_sip.c: Trying to put 'INVITE sip:'
onto UDP socket destined for X.X.X.X:5060
[Apr  9 13:17:14] WARNING[11964] chan_sip.c: sip_xmit of 0x2037cf800
(len 817) to X.X.X.X:5060 returned -1: Address family not supported by
protocol family

Reply via email to