VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
jd.girard at sysnux.pf Guest
|
Posted: Thu Feb 18, 2016 3:43 pm Post subject: [asterisk-users] Grandstream Early Dial |
|
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi list,
I've been using Grandstream phones for more than 10 years, but only
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_pjsip
on Asterisk-13.7.1.
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-----
iEYEARECAAYFAlbGLL8ACgkQuu7Rv+oOo/g55ACeON0aeNt9TFGw5lcUb1FhN7rH
XqAAn2HRmx65LRP4hFUsCOvlAoV7/y8R
=4iVe
-----END PGP SIGNATURE-----
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
rmudgett at digium.com Guest
|
Posted: Thu Feb 18, 2016 4:04 pm Post subject: [asterisk-users] Grandstream Early Dial |
|
|
On Thu, Feb 18, 2016 at 2:42 PM, Jean-Denis Girard <jd.girard@sysnux.pf (jd.girard@sysnux.pf)> wrote:
Quote: | -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi list,
I've been using Grandstream phones for more than 10 years, but only
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_pjsip
on Asterisk-13.7.1.
|
Look into the Incomplete application.
https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Application_Incomplete
Richard |
|
Back to top |
|
|
jd.girard at sysnux.pf Guest
|
Posted: Thu Feb 18, 2016 8:02 pm Post subject: [asterisk-users] Grandstream Early Dial |
|
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Le 18/02/2016 11:03, Richard Mudgett a écrit :
Quote: | I've been using Grandstream phones for more than 10 years, but onl
| y
Quote: | yesterday tried to use Early Dial... and I failed. What is needed
| on the
Quote: | Asterisk side to reply 484 to INVITE? Phones are talking to chan_p
| jsip
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-----
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
BryantZ at zktech.com Guest
|
Posted: Fri Feb 19, 2016 8:31 am Post subject: [asterisk-users] Grandstream Early Dial |
|
|
Jean-Denis Girard
I have not used the Incomplete yet, but you might be able to do something like this.
[earlydial]
exten => _.,1,Set(l_Extension = ${EXTEN})
exten => _.,n,Goto(${l_Extension},1)
exten => _.,n,Goto(noMatch,1)
exten => i,1,Goto(noMatch,1)
exten => noMatch,1, Incomplete(n)
exten => _1XX,1,Verbose(2, Dialed ${EXTEN}) same => n,Playback(extension) same => n,SayDigits(${EXTEN}) same => n,Hangup()
I wrote this in this message and have not tested this so use with caution. There may be syntactical issues, but the concept might work for you.
Bryant
From: "Jean-Denis Girard" <jd.girard@sysnux.pf> Sent: Thursday, February 18, 2016 8:02 PM To: asterisk-users@lists.digium.com Subject: Re: [asterisk-users] Grandstream Early Dial
-----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----- -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
jd.girard at sysnux.pf Guest
|
Posted: Fri Feb 19, 2016 11:53 am Post subject: [asterisk-users] Grandstream Early Dial |
|
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Bryant,
Thanks for your reply.
It didn't work immediately, I had to create a second context, or else it
was looping between the second and first line. This seems to work:
[earlydial] ; Test Early Dial
exten => _.,1,Set(l_Extension=${EXTEN})
exten => _.,n,Goto(earlydial2,${l_Extension},1)
[earlydial2]
exten => _.,n,Goto(noMatch,1)
exten => noMatch,1, Incomplete(n)
exten => i,1,Goto(noMatch,1)
exten => t,1,Goto(noMatch,1)
exten => _1XX,1,Verbose(2, Dialed ${EXTEN})
same => n,Playback(extension)
same => n,SayDigits(${EXTEN})
same => n,Hangup()
Best regards,
- --
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
Le 19/02/2016 03:31, Bryant Zimmerman a écrit :
Quote: | Jean-Denis Girard
I have not used the Incomplete yet, but you might be able to do
something like this.
[earlydial]
exten => _.,1,Set(l_Extension = ${EXTEN})
exten => _.,n,Goto(${l_Extension},1)
exten => _.,n,Goto(noMatch,1)
exten => i,1,Goto(noMatch,1)
exten => noMatch,1, Incomplete(n)
exten => _1XX,1,Verbose(2, Dialed ${EXTEN})
same => n,Playback(extension)
same => n,SayDigits(${EXTEN})
same => n,Hangup()
I wrote this in this message and have not tested this so use with
caution. There may be syntactical issues, but the concept might work f
| or
Quote: | you.
Bryant
----------------------------------------------------------------------
| - --
Quote: | *From*: "Jean-Denis Girard" <jd.girard@sysnux.pf>
*Sent*: Thursday, February 18, 2016 8:02 PM
*To*: asterisk-users@lists.digium.com
*Subject*: Re: [asterisk-users] Grandstream Early Dial
Le 18/02/2016 11:03, Richard Mudgett a écrit :
Quote: | I've been using Grandstream phones for more than 10 years, but onl
| y
Quote: | yesterday tried to use Early Dial... and I failed. What is needed
| on the
Quote: | Asterisk side to reply 484 to INVITE? Phones are talking to chan_p
| jsip
Quote: | on Asterisk-13.7.1.
|
| c
Quote: | 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,
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
|
-----BEGIN PGP SIGNATURE-----
iEYEARECAAYFAlbHSGkACgkQuu7Rv+oOo/gZxACfbdgJl2eKFmO+D8R8MbsayKFm
QkEAoK9JXYXS1XMyMcEKSt+FbzP1Ic1v
=hMTP
-----END PGP SIGNATURE-----
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
BryantZ at zktech.com Guest
|
Posted: Fri Feb 19, 2016 5:24 pm Post subject: [asterisk-users] Grandstream Early Dial |
|
|
Jean
If you moved the exten => _. Lines to the bottom of the context then you should like be able to get away from having to have two separate contexts. I use that method quiet often, but was in a hurry to get you a response and did not think remember that nuance.
I will have to try this as we are a heavy grandstream shop. It has been something on the list.
Thanks Bryant Zimmerman (ZK Tech Inc.) 616-855-1030 Ext. 2003
From: "Jean-Denis Girard" <jd.girard@sysnux.pf> Sent: Friday, February 19, 2016 11:53 AM To: asterisk-users@lists.digium.com Subject: Re: [asterisk-users] Grandstream Early Dial
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Bryant, Thanks for your reply. It didn't work immediately, I had to create a second context, or else it was looping between the second and first line. This seems to work: [earlydial] ; Test Early Dial exten => _.,1,Set(l_Extension=${EXTEN}) exten => _.,n,Goto(earlydial2,${l_Extension},1) [earlydial2] exten => _.,n,Goto(noMatch,1) exten => noMatch,1, Incomplete(n) exten => i,1,Goto(noMatch,1) exten => t,1,Goto(noMatch,1) exten => _1XX,1,Verbose(2, Dialed ${EXTEN}) same => n,Playback(extension) same => n,SayDigits(${EXTEN}) same => n,Hangup() Best regards, - -- 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 Le 19/02/2016 03:31, Bryant Zimmerman a écrit : > Jean-Denis Girard > > I have not used the Incomplete yet, but you might be able to do > something like this. > > [earlydial] > > exten => _.,1,Set(l_Extension = ${EXTEN}) > exten => _.,n,Goto(${l_Extension},1) > exten => _.,n,Goto(noMatch,1) > > exten => i,1,Goto(noMatch,1) > > exten => noMatch,1, Incomplete(n) > > exten => _1XX,1,Verbose(2, Dialed ${EXTEN}) > same => n,Playback(extension) > same => n,SayDigits(${EXTEN}) > same => n,Hangup() > > > I wrote this in this message and have not tested this so use with > caution. There may be syntactical issues, but the concept might work f or > you. > > Bryant > > ---------------------------------------------------------------------- - -- > *From*: "Jean-Denis Girard" <jd.girard@sysnux.pf> > *Sent*: Thursday, February 18, 2016 8:02 PM > *To*: asterisk-users@lists.digium.com > *Subject*: Re: [asterisk-users] Grandstream Early Dial > > 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_In c > 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, > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > > -----BEGIN PGP SIGNATURE----- iEYEARECAAYFAlbHSGkACgkQuu7Rv+oOo/gZxACfbdgJl2eKFmO+D8R8MbsayKFm QkEAoK9JXYXS1XMyMcEKSt+FbzP1Ic1v =hMTP -----END PGP SIGNATURE----- -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
jd.girard at sysnux.pf Guest
|
Posted: Mon Feb 22, 2016 2:26 pm Post subject: [asterisk-users] Grandstream Early Dial |
|
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Le 19/02/2016 12:24, Bryant Zimmerman a écrit :
Quote: | Jean
If you moved the exten => _. Lines to the bottom of the context then
you should like be able to get away from having to have two separate
contexts. I use that method quiet often, but was in a hurry to get you
| a
Quote: | response and did not think remember that nuance.
|
No problem. I have tried different combinations, but could not make it
work within a single context, but that's not a big deal anyway.
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-----
iEYEARECAAYFAlbLYLcACgkQuu7Rv+oOo/gD8ACgpEC4BsQRr0Rf+wPbGS1ShJWl
xIIAoIlowl4EhoOEng0tWJTrDIEYBKR7
=+Sln
-----END PGP SIGNATURE-----
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|