[asterisk-users] __sip_xmit problem

Eric "ManxPower" Wieling eric at fnords.org
Fri Nov 9 08:23:47 CST 2007


Steve Davies wrote:
> On 11/9/07, Johansson Olle E <oej at edvina.net> wrote:
>>>>> Hi,
>>>>>  I got the following warning from CLI when I try to execute the Dial
>>>>> command.  It makes the call failed.  Anyone can tell me what does it
>>>>> mean and how to solve?
>>>>>
>>>>>    -- Executing [s at macro-outbound:61] Dial("SIP/4009-1f178ba0",
>>>>> "SIP/3634 at 10.0.0.22|35|L(72000000:120000)") in new stack
>>>>>    -- Limit Data for this call:
>>>>>> timelimit      = 72000000
>>>>>> play_warning   = 120000
>>>>>> play_to_caller = yes
>>>>>> play_to_callee = no
>>>>>> warning_freq   = 0
>>>>>> start_sound    = (null)
>>>>>> warning_sound  = timeleft
>>>>>> end_sound      = (null)
>>>>> [Nov  2 11:54:00] WARNING[8218]: chan_sip.c:1775 __sip_xmit:
>>>>> sip_xmit
>>>>> of 0x1f188330 (len 793) to 10.0.0.22:0 returned -1: Invalid argument
>>>>>    -- Called 3634 at 10.0.0.22
>>>>> [Nov  2 11:54:01] WARNING[8206]: chan_sip.c:1775 __sip_xmit:
>>>>> sip_xmit
>>>>> of 0x1f188330 (len 793) to 10.0.0.22:0 returned -1: Invalid argument
>>>>> [Nov  2 11:54:02] WARNING[8206]: chan_sip.c:1775 __sip_xmit:
>>>>> sip_xmit
>>>>> of 0x1f188330 (len 793) to 10.0.0.22:0 returned -1: Invalid argument
>> The IP stack is returning an error when we try to send data to
>> 10.0.0.22.
>> You need to check if this is a valid IP address and that your server
>> can reach it
>> (the routing table might be incorrect.
> 
> I would hazard that it is the port number of '0' that is causing the
> problem. It should not be necessary, but have you tried
> 
>   Dial(SIP/4009 at 10.0.0.22:5060)
> 
> To see if it helps. If so, it is probably symptomatic of a config
> error elsewhere. I seem to remember seeing reference to a similar
> problem on the list a couple of months back, but did not find it with
> a cursory search.

You do not need to specify the port number.  Asterisk will default to 
sending to UDP port 5060 if you don't specify a port.



More information about the asterisk-users mailing list