[Asterisk-Users] Extension Matching.

Aaron Daniel amdtech at shsu.edu
Wed Jun 29 13:37:23 MST 2005


My suggestion would be to basically strip the first digits down until 
you get to the 7 digit extension.  Unless someone else has a better 
idea, that's how we do it, storing the first part in a variable in case 
we need it.

Aaron Daniel

Chris Modesitt wrote:
> Is there a way to match the last 7 digits of an extension?
> 
>  
> 
> So that 1008014445454
> 
>             8014445454
> 
>             4445454
> 
>  
> 
> Would all match?
> 
>  
> 
> I have looked at extension matching and I can’t figure out how to do thisJ
> 
>  
> 
> Thanks in advance!
> 
>  
> 
> Chris
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list