[asterisk-users] Grandstream Early Dial

Jean-Denis Girard jd.girard at sysnux.pf
Thu Feb 18 19:02:05 CST 2016


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Le 18/02/2016 11:03, Richard Mudgett a écrit :
>     I've been using Grandstream phones for more than 10 years, but onl
y
>     yesterday tried to use Early Dial... and I failed. What is needed 
on the
>     Asterisk side to reply 484 to INVITE? Phones are talking to chan_p
jsip
>     on Asterisk-13.7.1.
> 
> 
> Look into the Incomplete application.
> https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Application_Inc
omplete

Thanks for prompt answer Richard.

Actually I had already tried the Incomplete application, but failed to
add the "n" option, and this seems mandatory for SIP. I find the help
text misleading : "NOTE: Most channel types need to be in Answer state
in order to receive DTMF".

This is my test dialplan:

[earlydial] ; Test Early Dial
exten => 1,1,Verbose(2,Incomplete 1 test)
   same => n,Incomplete(n)

exten => _1X,1,Verbose(2,Incomplete 1X test)
     same => n,Incomplete(n)

exten => _1XX,1,Verbose(2, Dialed ${EXTEN})
      same => n,Playback(extension)
      same => n,SayDigits(${EXTEN})
      same => n,Hangup()

It works, but seems a bit complicated: is this the correct way to use
Incomplete ?


Thanks,
- -- 
Jean-Denis Girard

SysNux                Systèmes   Linux   en   Polynésie   française
http://www.sysnux.pf/ Tél: +689 40.50.10.40 / GSM: +689 87.79.75.27
-----BEGIN PGP SIGNATURE-----

iEYEARECAAYFAlbGaY0ACgkQuu7Rv+oOo/iJswCgsmebZoRMk8308e1iFhZy+2nt
zS0AnRmvXEbbKaktKLlI8IFqo1xcWVy1
=g2Jy
-----END PGP SIGNATURE-----



More information about the asterisk-users mailing list