[resolved] Why I have one tonality when I call someone?

Hi @everyone,

I have one tone in the ip phone when I call someone after nothing until this person picks up the phone.

Why ? It’s something I have to configurate in my dialplan ?

Insufficient information.

Do you, incorrectly, start the dialplan with Answer?

No, only with the extension 103 for the test. But the internal calls have a regular tone, but not the external calls. This is my dialplan (extensions.conf) :

[general]
static=yes
writeprotect=no
clearglobalvars=no

[globals]
CONSOLE=Console/dsp                             ; Console interface for demo
IAXINFO=guest                                   ; IAXtel username/password
TRUNK=DAHDI/G2                                  ; Trunk interface
TRUNKMSD=1                                      ; MSD digits to strip (usually 1 or 0)

[from-internal]
;======================================= Internal Calls between extensions
exten => _10X,1,NoOp(###### First Line ######)
same => n,Dial(PJSIP/${EXTEN})
same => n,VoiceMail(${EXTEN},u)
same => n,Hangup()

;======================================= Call to a extension 103
exten => 103,1,Answer()
same => n,Set(CHANNEL(language)=fr)
same => n,Wait(1)
same => n,Playback(hello-world)
same => n,Wait(1)
same => n,Playback(goodbye)
same => n,Hangup()

;======================================= Other numbers to outbound trunk
exten => _XXXX,1,NoOp(####### [from-internal] ########)
same => n,Set(CALLERID(num)=042771412)
same => n,Dial(PJSIP/${EXTEN}@belgium-voip-provider)
same => n,Hangup()

exten => _XXXXXXXXX,1,Dial(PJSIP/${EXTEN}@belgium-voip-provider)
same => n,Set(CALLERID(num)=042771412)
same => n,Dial(PJSIP/${EXTEN}@belgium-voip-provider)
same => n,Hangup()

exten => _XXXXXXXXXX,1,Dial(PJSIP/${EXTEN}@belgium-voip-provider)
same => n,Set(CALLERID(num)=042771412)
same => n,Dial(PJSIP/${EXTEN}@belgium-voip-provider)
same => n,Hangup()

For 103, the ringback will be stopped by the Answer.

For other 10X numbers, we’d need to see the SIP protocol traces on both legs of the call

According to this website, he talk about application Ringing()

Command Ringing

Now I have the tonality when I make a call in intern and extern.

I used the application Ringing().

Great :blush:

Normally, if you dial through to a number, Ringing will be passed through from that other number, so an explicit call to Ringing isn’t normally necessary, and can be wrong, because the first call progress response might actually be busy or unavailable.

Maybe is ipbx’s provider who don’t make the tonality, I don’t know. But when I used the application Ringing() in my dialplan now I have a tonality when I call a number.

[general]
static=yes
writeprotect=no
clearglobalvars=no


[globals]
CONSOLE=Console/dsp                             ; Console interface for demo
IAXINFO=guest                                   ; IAXtel username/password
TRUNK=DAHDI/G2                                  ; Trunk interface
TRUNKMSD=1                                      ; MSD digits to strip (usually 1 or 0)


[from-internal]
;======================================= Internal Calls between extensions
exten => _10X,1,NoOp(###### First Line ######)
same => n,Ringing()
same => n,Dial(PJSIP/${EXTEN})
same => n,VoiceMail(${EXTEN},u)
same => n,Hangup()


;======================================= Call to a extension 103
exten => 103,1,Answer()
same => n,Ringing()
same => n,Wait(12)
same => n,Set(CHANNEL(language)=fr)
same => n,Wait(1)
same => n,Playback(hello-world)
same => n,Wait(1)
same => n,Playback(goodbye)
same => n,Hangup()


;======================================= Other numbers to outbound trunk
exten => _XXXX,1,NoOp(####### [from-internal] ########)
same => n,Set(CALLERID(num)=042771412)
same => n,Ringing()
same => n,Dial(PJSIP/${EXTEN}@belgium-voip-provider)
same => n,Hangup()


exten => _XXXXXXXXX,1,Dial(PJSIP/${EXTEN}@belgium-voip-provider)
same => n,Set(CALLERID(num)=042771412)
same => n,Ringing()
same => n,Dial(PJSIP/${EXTEN}@belgium-voip-provider)
same => n,Hangup()


exten => _XXXXXXXXXX,1,Dial(PJSIP/${EXTEN}@belgium-voip-provider)
same => n,Set(CALLERID(num)=042771412)
same => n,Ringing()
same => n,Dial(PJSIP/${EXTEN}@belgium-voip-provider)
same => n,Hangup()

Maybe this is can be help others…