[asterisk-users] how to call forward on 1.6

Philipp Kempgen philipp.kempgen at amooma.de
Fri Apr 17 04:55:07 CDT 2009


Oguzhan Kayhan schrieb:
> I want to enable call forwarding for asterisk 1.6.0.6
> I found some dialing plans to enable it on web as follows:
[...]
> The problem is, in the first example i get the error
> No application 'DBput' for extension
> and second example i got the error :
> No application 'StripLSD' for extension

You are trying to use some applications which have been deprecated
a long time ago and which have been removed from Asterisk 1.6.

DBput() => Use the DB() function. [1][2]
DBdel() => Use the DB_DELETE() function. [3]

StripLSD():
---cut---
StripLSD is obsolete because you can now use the following examples:

  ${123456789:1}        - returns the string 23456789
  ${123456789:-4}       - returns the string 6789
  ${123456789:0:3}      - returns the string 123
  ${123456789:2:3}      - returns the string 345
  ${123456789:-4:3}     - returns the string 678
---cut---


[1] http://www.das-asterisk-buch.de/2.1/applications-dbput.html
[2] http://www.das-asterisk-buch.de/2.1/functions-db.html
[3] http://www.das-asterisk-buch.de/2.1/functions-db_delete.html


    Philipp Kempgen
-- 
AMOOCON 2009, May 4-5, Rostock / Germany   ->  http://www.amoocon.de
Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de
AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied  ->  http://www.amooma.de
Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998
-- 



More information about the asterisk-users mailing list