[Asterisk-Users] T100P E&M Wink Trunk

Mike Machado mike at homelandtel.com
Tue Apr 13 17:32:51 MST 2004


I found ways to do substrings. So this is what I did. I changed the zap
channels to come into a context called 'fixup' and then jump into
default after doing the parsing and setting of CID.

[fixup]
                                                                                                               exten => _*NXXNXXXXXX*NXXNXXXXXX,1,SetCIDNum(${EXTEN:1:10})
exten => _*NXXNXXXXXX*NXXNXXXXXX,2,Goto(default|${EXTEN:-10:10}|1)


So far things seem to be working well. Does this sound like a good way
to deal with this problem?

On Tue, 2004-04-13 at 17:19, Adam Goryachev wrote:
> > map it in the dial plan. Are there substr functions I can use? Can I
> 
> Look at the wiki/tiki www.voip-info.org and search for cmd cut or at
> your console do a show application cut.
> 
> If you still don't know what to do, do a search on the wiki for
> variables or read the README.variables in the asterisk source code (docs
> directory).
> 
> After all that, if you still can't get it working, tell us what you have
> tried, and someone is sure to adjust your attempts to a working config.
> 
> Good luck
> 
> Adam
> 
> 
> 
> _______________________________________________
> 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