[asterisk-dev] Bounty
Tim Ringenbach
tim.ringenbach at gmail.com
Thu Feb 25 10:15:35 CST 2010
If "first ring" is what you want, you would probably not want to count
100's, only 183 or 180. For example. OpenSips automatically sends back a 100
trying when you sent it a call, before it even passes the packet on to it's
destination. It then absorbs the 100 Trying it gets from the far end.
Anyway, for comparison purposes, what I think you're asking for would be the
equivalent of freeswitch's "progress_timeout" (see
http://wiki.freeswitch.org/wiki/Channel_Variables#Timeout_Related).
On Wed, Feb 24, 2010 at 7:34 PM, CDR <venefax at gmail.com> wrote:
> I agree. The timer would wait for a SIP 180 or 100 or 183, maybe
> configurable in sip.conf?
> I would not work with a carrier that does not provide some packet in this
> manner.
> Federico
>
>
> On Wed, Feb 24, 2010 at 8:24 PM, Alex Balashov <abalashov at evaristesys.com>wrote:
>
>> Who told you that you're always going to get a 180 Ringing reply?
>>
>> Most providers that provide PSTN trunking will give you ringback as
>> in-band via an early dialog (183 Session in Progress). With some
>> calls, you may just get a provisional 100 Trying reply and then
>> nothing until a sudden 200 OK. There are many possible flows and
>> scenarios.
>>
>> On 02/24/2010 07:59 PM, CDR wrote:
>>
>> > I need a new Timeout parameter added to the Dial application, for SIP
>> > dialing. The new timeout would be "first-ring" timeout, as opposed to
>> > timeout for connection. If we don't get a 180 Ringing message before a
>> > certain amount of seconds, the call fails. This a needed addition to
>> > Asterisk. I need this in version 1.4 and cannot wait the normal time for
>> > a "new feature" process to complete. The rationale is clear: many
>> > carriers will hold the call indefinitely, instead of returning a 503. If
>> > the call is ringing, then I don't care if it rings for 60 seconds, but
>> > if there is no ringback before 6 seconds, I need yo try another carrier
>> > and move on.
>> >
>> > Please contact me at nine five four 444 seven 4 zero 8
>> >
>>
>>
>> --
>> Alex Balashov - Principal
>> Evariste Systems LLC
>>
>> Tel : +1 678-954-0670
>> Direct : +1 678-954-0671
>> Web : http://www.evaristesys.com/
>>
>> --
>> _____________________________________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>
>> asterisk-dev mailing list
>> To UNSUBSCRIBE or update options visit:
>> http://lists.digium.com/mailman/listinfo/asterisk-dev
>>
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20100225/2414b30e/attachment.htm
More information about the asterisk-dev
mailing list