* You are viewing Posts Tagged ‘ringing’

Music instead of Ring Ring


How can I achieve to play a music file instead of typical ring ring
(something like MusicOnHold)…

I have the following dialplan, the time when the user calls the context is
executed and the system calls both the user and I hear a Ringing sound.

exten => s,1,Dial(DAHDI/i1/USER2&DAHDI/i1/USER1,20,A(sound-file))

Please suggest

Failed to CANCEL a call in ringing state (SIP) in


I got a problem with asterisk The same scenario is working fine

Asterisk calls a SIP phone via a proxy, proxy phone and asterisk are on
the same LAN, no NAT.

Asterisk sends the INVITE to the proxy, the proxy sends INVITE to the
phone. The phone sends 180 RINGING back to the proxy. The proxy sends
180 RINGING to asterisk. So far so good. If the calling side decides to
cancel the call, asterisk sends the CANCEL directly to the phone. The
phone doesn’t find the call and answers 404. In asterisk
asterisk sends the CANCEL to the proxy, which sends the CANCEL to the
phone and all ist fine.

I think, the new behavior comes from the lines
parse_ok_contact(p, req);
if (!reinvite) {
build_route(p, req, 1);
which are inserted in the handling of provisional SIP response.

Am I doing something wrong or is this a bug?



Polycom Phantom Ringing

I have a Polycom Soundpoint IP335.

There are no inbound routes set to the phones yet.

However, the phones are getting phantom rings.

What is the legitimacy of these calls?

Is there something I need to block to stop it?

I believe its people trying to hack the phones/phone system but I cannot find where I read that before.


menu issue

hello liste

i have create an menu like below

exten => my_number,1,Ringing()
exten => my_number,2,Wait(4)
exten => my_number,3,Goto(home,s,1)

exten => s,1,SetGlobalVar(sounds_path=/var/lib/asterisk/sounds/)
exten => s,2,Background(${sounds_path}welcome)
exten => #,1,Goto(menu,s,1)
exten => i,1,Playback(${sounds_path}error-key)
exten => t,1,Goto(home,s,1)

with this menu i call “my_number” and i cal listen the welcome message
without issue but when there no key pressed the call hang up

i verify in gool and i found that “exten => t,1,Goto(home,s,1)” is to send
to the “home” until i press a key

could you please tell me what is wrong with this menu.

Nb: i use asterisk 1.4

best regards

call file challenge…


We’re getting some strange results using call files.. no matter the
technology, DAHDI, SIP, etc., we get a “Call failed to go through, reason
(3) Remote end Ringing” message when attempting to originate a call from a
call file. Numbers changed to protect the innocent….

using call file….
//————CALL FILE————//

Channel: DAHDI/g1/918005551212
Callerid: 8002211212
WaitTime: 2
MaxRetries: 6
RetryTime: 8

Context: xs-globx-ds3
Extension: 12564286000
Priority: 1

//————CALL FILE————//

//————CLI SNIPPET————//

Queue Setup

Hi All,
I have Asterisk, I need to setup a queue
of (6) agents, Ring All strategy, I need to set the maximum total time
for the caller (Ringing/OR Waiting) on the queue is (2) minutes before
going to a fail-over which is a Ring Group of external numbers.

How the total max time is being calculated in terms of the number of agents, Ring Strategy, Agent Timeout, Retry, etc..

Can you please explain how it goes.

Thank you.