Summary:ASTERISK-00952: Asterisk calls unregistered SIP user
Reporter:geertn (geertn)Labels:
Date Opened:2004-01-30 04:25:45.000-0600Date Closed:2004-09-25 02:57:06
Versions:Frequency of
Environment:Attachments:( 0) chan_sip.diff
Description:When I call an extension for a user that is not registered, I get the following:
__sip_xmit: sip_xmit of 0x80e10e4 (len 760) to returned -1: Invalid argument

Multiple times, until the call times out and I get unavailable through my macro (So it returns +1 to extensions, not +101).

But I would expect a call to be answered immediately with +1 instead fo first trying to call an unknow IP-address.

I made a little patch to try and solve this, but this patch returns +101 so I get BUSY, can I return +1 one way or another?

I'm not sure if it should return 0 or NULL... in a similar function it returns 0 (line 5669) so I will put that in.
Comments:By: geertn (geertn) 2004-01-30 04:33:10.000-0600

Looks like this patch is going to do what I want:

Did not see this, sorry. Please close this one.

By: jrollyson (jrollyson) 2004-01-30 04:42:48.000-0600

Submitter requested close, duplicate of ASTERISK-950