Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] "!" in dial-pattern not work with overlap dialing


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
sam.gh1986 at gmail.com
Guest





PostPosted: Mon Nov 24, 2014 6:45 am    Post subject: [asterisk-users] "!" in dial-pattern not work with Reply with quote

hello all


i want to have overlap dialing in asterisk.  it works fine if i don't have "!" in my pattern. for example  pattern "07." works fine and i can call 07122 by overlap dialing via it. but if i define "07!" i can't call 07122 because it doesn't wait to collect all digits and  therefore call 07. if i define "07.!" it works fine again and wait to collect all digits and hence 07122 rings.


what is wrong with my patterns? how should i use "!" in my pattern in order to have overlap dialing?


every comment or points are appreciated.

SAM
Back to top
mjordan at digium.com
Guest





PostPosted: Mon Nov 24, 2014 2:17 pm    Post subject: [asterisk-users] "!" in dial-pattern not work with Reply with quote

On Mon, Nov 24, 2014 at 5:45 AM, s m <sam.gh1986@gmail.com> wrote:
Quote:
hello all

i want to have overlap dialing in asterisk. it works fine if i don't have
"!" in my pattern. for example pattern "07." works fine and i can call
07122 by overlap dialing via it. but if i define "07!" i can't call 07122
because it doesn't wait to collect all digits and therefore call 07. if i
define "07.!" it works fine again and wait to collect all digits and hence
07122 rings.

what is wrong with my patterns? how should i use "!" in my pattern in order
to have overlap dialing?


A "!" instructs Asterisk to match *0 or more* characters [1]. Since
you have already provided all the digits to match that pattern,
Asterisk correctly detects that it has matched the extension and
begins execution.

If you want to tell dialplan execution to wait for more digits, you
can use the Incomplete dialplan application [2]. It exists
specifically for this purpose.

[1] https://wiki.asterisk.org/wiki/display/AST/Pattern+Matching
[2] https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+Application_Incomplete

--
Matthew Jordan
Digium, Inc. | Engineering Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://asterisk.org

--
_____________________________________________________________________
-- 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
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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

VoiceMeUp - Corporate & Wholesale VoIP Services