[Asterisk-Users] Not answering PSTN until SIP answers
Stuart Elvish
stuart at rage.com.au
Mon Jan 24 07:22:20 MST 2005
Dear Remco,
It now works for me with several SIP devices in a ring group without
answering until one of them answers. I think (from memory) that this is
the code that you need:
In extensions.conf setup a virtual phone like this
PHONES4=SIP/102&SIP/103&SIP/104
and define the voicemail box if required, for example a communal
voicemail box 1
PHONES4VM=1
Then in your incoming caller context, DO NOT put Answer, the first
priority should be Dial
exten => s,1,Dial(${PHONES1},40,tr)
exten => s,2,Macro(vmessage,${PHONES1VM})
exten => s,3,Hangup
Hope this helps.
Kind Regards
Stuart
On Monday, Jan 24, 2005, at 21:26 Australia/Perth, Remco Barende wrote:
> Cool, is this equal if you use ringer groups or queues?
>
> At home it's a bit silly to create a call queue that is answering and
> put a caller in queue. I just want several phones to ring and only
> answer the phone when somebody is picking it up.
>
> I tried just specifying several sip devices to ring but if one of all
> the sip phones specified is not registered any call will immediately
> be forwarded to voicemail.
>
> Thanks!
>
>
> On Mon, 24 Jan 2005, Jon Radon wrote:
>
>> This is easy as pie. Just Dial without an Answer. When the device
>> you specified in dial picks up, it will pick up the line. Done and
>> done.
>>
>>
>> On Mon, 24 Jan 2005 20:40:04 +0800, Stuart Elvish
>> <stuart at rage.com.au> wrote:
>>> Hi,
>>>
>>> I was just wondering whether or not anybody has a dial plan or some
>>> advice on getting a SIP phone to ring without answering the PSTN line
>>> so that the caller doesn't have to pay for the phone call unless it
>>> actually get answered by a human or the answering machine after 40
>>> seconds. I had a look through the wiki but there wasn't anything I
>>> could find (probably the wrong search terms). Any advice is greatly
>>> appreciated.
>>>
>>> Kind Regards
>>> Stuart
>>>
>>> _______________________________________________
>>> Asterisk-Users mailing list
>>> Asterisk-Users at lists.digium.com
>>> http://lists.digium.com/mailman/listinfo/asterisk-users
>>> To UNSUBSCRIBE or update options visit:
>>> http://lists.digium.com/mailman/listinfo/asterisk-users
>>>
>>
>>
>>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
> !DSPAM:41f4f86f102361965582956!
>
>
More information about the asterisk-users
mailing list