exten => _*1XX,1,Set(CALLERID(all) = Nursery <${EXTEN:1}>)
exten => _*1XX,2,Dial(SIP/400)


Tom Vile wrote:

I have a need for a dialplan that call for the ability for people to dial *1XX and it send a call to extension 400 with the calleridname of Nursery and the calleridnum of the *1XX number that was put in minus the *. Now I know how to do it individually but I now there must be an easier
way to simply the code.

Any help would be appreciated.

Tom Vile

------------------------------------------------------------------------

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to