Steve Davies wrote: > On 11/9/07, Johansson Olle E <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED]:61] Dial("SIP/4009-1f178ba0", >>>>> "SIP/[EMAIL PROTECTED]|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 [EMAIL PROTECTED] >>>>> [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/[EMAIL PROTECTED]: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. _______________________________________________ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users