Re: [asterisk-users] SIP 603 response when call is not answered

2016-08-16 Thread Joris Engbers

Hooman Fazaeli writes:

> Hi
>
> I have noticed that asterisk returns 'SIP 603' when the called party does
> not answer.
>
> My test setup is simple: two SIP phones (extensions: 100 and 111)
> registered to an Asterisk 1.8.30.0 gateway.The Dial timeout is 30 seconds.
> When 100 calls 111 and after 30 seconds, asterisk sends a CANCEL request to
> 111 (expected) and a '603 Decline' response to 100 (unexpected &
> misleading).
> It seems to me that a'480 Temporarily unavailable' response is more
> suitable in this situation.
>
> Is this a normal behavior of asterisk or a bug?
>
> Thanks.

That sounds like you are not doing a Hangup().

What is the dialplan that you are using?

-- 
Joris Engbers

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] weather.agi

2015-12-21 Thread Joris Engbers

Jeff LaCoursiere writes:

> On 12/16/2015 11:24 AM, Ryan Crowder wrote:
>> http://www.wunderground.com/weather/api/
>
> Awesome!  Perfect!
>
> Cheers,
>
> j
>
>>
>> -Original Message-
>> From: asterisk-users-boun...@lists.digium.com
>> [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of
>> d...@donkelly.biz
>> Sent: Wednesday, December 16, 2015 9:20 AM
>> To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
>> Subject: Re: [asterisk-users] weather.agi
>>
>>
>>
>> -Original Message-
>> From: asterisk-users-boun...@lists.digium.com
>> [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Jeff
>> LaCoursiere
>> Sent: Wednesday, December 16, 2015 11:11 AM
>> To: Asterisk Users Mailing List - Non-Commercial Discussion
>> Subject: [asterisk-users] weather.agi
>>
>> Here is a funny story.  We mostly do hotels in the Caribbean, and one of our
>> first clients (going on ten years now) used the sample "weather.agi"
>> that used to be shipped with... asterisk@home? Trixbox?  Can't even recall
>> where we originally got it from.
>>
>> This perl script uses festival to speak a brief weather forecast to the
>> caller.  We told our hotels this was a feature for guests, and assigned a
>> function code to execute it.  They have been using it for years.  In fact
>> the front desk used to just dial it in speaker mode for guests checking in.
>>
>> Here is the funny part - the text for the weather forecast was coming from
>> an anonymous FTP site at tgftp.nws.noaa.gov.  Sometime in 2013 they stopped
>> updating the forecast!  So ever since then the caller would get the forecast
>> for June something 2013.  But because the weather in St Thomas is nearly the
>> same year round, NO ONE NOTICED!  Well, until just recently.
>>
>> After we stopped laughing about it, they now want me to fix it.  But I can't
>> seem to find a new source of textual summary weather data.
>>
>> So... has anyone else run into this and fixed it by chance?  Or can point me
>> to weather data?
>>
>> Cheers,
>>
>> j
>>
>>
>> Does something here work for you?
>> http://search.usa.gov/search?v%3Aproject=firstgov=web+service
>> e=nws.noaa.gov
>>
>>--Don
>>
>> --

There is an open alternative that you might consider:

http://openweathermap.org/

Joris


>> _
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to
>> Asterisk? Join us for a live introductory webinar every Thurs:
>> http://www.asterisk.org/hello
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>> http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>>
>> --
>> _
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to
>> Asterisk? Join us for a live introductory webinar every Thurs:
>> http://www.asterisk.org/hello
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>> http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>>
>> ---
>> This email has been checked for viruses by Avast antivirus software.
>> https://www.avast.com/antivirus
>>
>>


--
Joris Engbers
Gangster

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users