does anyone of you know a tool which uses a sip account to just dial a
number and let it ring once? It does not have to do anything more but since
I want to start it programmatically so I cannot use a softphone.
On 2006-10-13, Markus R. <markusr@newsgroups.nospam> wrote:
> Hi,
>
> does anyone of you know a tool which uses a sip account to just dial a
> number and let it ring once? It does not have to do anything more but since
> I want to start it programmatically so I cannot use a softphone.
You could investigate using a SIP testing tool. There are a number about
but sipsak might be worth looking at. Never having used it for the
purpose you have in mind I've no real idea whether it will do what you
want, but it can send SIP requests and search for strings in the
replies.
> Hi,
>
> does anyone of you know a tool which uses a sip account to just dial a
> number and let it ring once? It does not have to do anything more but
> since I want to start it programmatically so I cannot use a softphone.
In order to do this, you would have to know how long the ring tone is of the
target phone.
--
<http://ale.cx/> (AIM:troffasky) (UnSoEsNpEaTm@ale.cx)
09:40:47 up 3 days, 13:21, 5 users, load average: 0.03, 0.15, 0.16
This is my BOOOOOOOOOOOOOOOOOOOOOMSTICK
"alexd" <look@my.sig> wrote in message
news:1553461.eSNZgagOzh@ale.cx
> Markus R. wrote:
>
> > Hi,
> >
> > does anyone of you know a tool which uses a sip account
> > to just dial a number and let it ring once? It does not
> > have to do anything more but since I want to start it
> > programmatically so I cannot use a softphone.
>
> In order to do this, you would have to know how long the
> ring tone is of the target phone.
Eh..? A phone will ring for as long as ringing voltage is applied. For a
POTS phone the duration of a ring cycle is determined by the exchange, for
a VoIP phone it would be the ATA. Sipura devices amongst others have a
facility to change this, others do not.
"Ivor Jones" <ivor@despammed.invalid> wrote in message
news:4pbmsaFi7jmkU1@individual.net...
> "alexd" <look@my.sig> wrote in message
> news:1553461.eSNZgagOzh@ale.cx
>> Markus R. wrote:
>>
>> > Hi,
>> >
>> > does anyone of you know a tool which uses a sip account
>> > to just dial a number and let it ring once? It does not
>> > have to do anything more but since I want to start it
>> > programmatically so I cannot use a softphone.
>>
>> In order to do this, you would have to know how long the
>> ring tone is of the target phone.
>
> Eh..? A phone will ring for as long as ringing voltage is applied. For a
> POTS phone the duration of a ring cycle is determined by the exchange, for
> a VoIP phone it would be the ATA. Sipura devices amongst others have a
> facility to change this, others do not.
I think he means that, in order to make a phone at the remote end ring ONLY
once, some experimentation would be required. After all, when the caller
hears "ring ring", the person at the other end may not have heard the phone
actually ring.
Jono wrote:
> "Ivor Jones" <ivor@despammed.invalid> wrote in message
> news:4pbmsaFi7jmkU1@individual.net...
>
>>"alexd" <look@my.sig> wrote in message
>>news:1553461.eSNZgagOzh@ale.cx
>>
>>>Markus R. wrote:
>>>
>>>
>>>>Hi,
>>>>
>>>>does anyone of you know a tool which uses a sip account
>>>>to just dial a number and let it ring once? It does not
>>>>have to do anything more but since I want to start it
>>>>programmatically so I cannot use a softphone.
>>>
>>>In order to do this, you would have to know how long the
>>>ring tone is of the target phone.
>>
>>Eh..? A phone will ring for as long as ringing voltage is applied. For a
>>POTS phone the duration of a ring cycle is determined by the exchange, for
>>a VoIP phone it would be the ATA. Sipura devices amongst others have a
>>facility to change this, others do not.
>
>
>
> I think he means that, in order to make a phone at the remote end ring ONLY
> once, some experimentation would be required. After all, when the caller
> hears "ring ring", the person at the other end may not have heard the phone
> actually ring.
>
>
Indeed. In fact some systems when you call then you don't hear *any*
ringing tone, they just answer immediately. There is no sure-fire 100%
bullet proof way that the caller can be sure that the remote phone has
rung once or at all.
Before I fixed a bug in my Asterisk system, outgoing ISDN calls always
produced ringing tone before the destination, even when the destination
was engaged.
>I think he means that, in order to make a phone at the remote end ring ONLY
>once, some experimentation would be required. After all, when the caller
>hears "ring ring", the person at the other end may not have heard the phone
>actually ring.
I recall working in open plan offices and calling a nearby desk that the
"ring-ring" via the phone was when the called phone was *not* ringing.
> Before I fixed a bug in my Asterisk system, outgoing ISDN calls always
> produced ringing tone before the destination, even when the destination
> was engaged.
I have a similar situation [SIP handsets and ISDN trunks] and I have the
same 'problem'. It's not a problem once you're used to it, it's just that
people are easily confused. How did you resolve it? Also, I get All
Circuits Busy when calling a non-existant number, which again causes
confusion to the un-initiated.
--
<http://ale.cx/> (AIM:troffasky) (UnSoEsNpEaTm@ale.cx)
15:12:37 up 4 days, 18:53, 4 users, load average: 0.03, 0.11, 0.09
This is my BOOOOOOOOOOOOOOOOOOOOOMSTICK
> alexd explained :
>> Also, I get All
>> Circuits Busy when calling a non-existant number, which again causes
>> confusion to the un-initiated.
>
> Re-record the "All Circuits Busy" message to something more meaningful.
LOL. I had originally considered that because that's the kind of quick and
dirty hack that I favour, but then what happens all circuits genuinely are
busy? [Trixbox 1.1.1 FWIW].
--
<http://ale.cx/> (AIM:troffasky) (UnSoEsNpEaTm@ale.cx)
17:49:54 up 4 days, 21:30, 4 users, load average: 0.11, 0.14, 0.17
This is my BOOOOOOOOOOOOOOOOOOOOOMSTICK
alexd presented the following explanation :
> Jono wrote:
>
>> alexd explained :
>>> Also, I get All
>>> Circuits Busy when calling a non-existant number, which again causes
>>> confusion to the un-initiated.
>>
>> Re-record the "All Circuits Busy" message to something more meaningful.
>
> LOL. I had originally considered that because that's the kind of quick and
> dirty hack that I favour, but then what happens all circuits genuinely are
> busy? [Trixbox 1.1.1 FWIW].
"You've dialled the wrong number OR all the lines are busy, Please try
again"
"alexd" <look@my.sig> wrote:
> In order to do this, you would have to know how long the ring tone is of
> the
> target phone.
To be more precise: I meant that the target device (e.g. a smartphone)
should be able to notice that a certain number called - it does not matter
how long it "rings".
I want to use the ringing to initiate some kind of call-back. An application
on the target device registers a ringing, the target device connects to the
internet to deliver data.
It would be no big deal to use ISDN or an analogue line for this but it
would require additional phone lines and hardware. That's why I consider
using VoIP or at least the SIP part of it.
Now that you have more details - has anyone an idea of how to accomplish
this?
I will now start to play around with sipsak :-)
"Markus R." <markusr@newsgroups.nospam> wrote in message
news:egvcv5$t7k$1@news.bawue.net...
> "alexd" <look@my.sig> wrote:
>> In order to do this, you would have to know how long the ring tone is of
>> the
>> target phone.
>
> To be more precise: I meant that the target device (e.g. a smartphone)
> should be able to notice that a certain number called - it does not matter
> how long it "rings".
> I want to use the ringing to initiate some kind of call-back. An
> application on the target device registers a ringing, the target device
> connects to the internet to deliver data.
> It would be no big deal to use ISDN or an analogue line for this but it
> would require additional phone lines and hardware. That's why I consider
> using VoIP or at least the SIP part of it.
>
> Now that you have more details - has anyone an idea of how to accomplish
> this?
> I will now start to play around with sipsak :-)
>
> Thanks,
>
> Markus
Asterisk can do what you require, at least the callback part - what data do
you want the target device to deliver?