Typo, sorry. Should be:

Here BBBBXXXX will match company B numbers
exten => BBBBXXXX, 1, Set(CALLERID=CompanyAMain)
exten => BBBBXXXX, 2, Dial(${EXTEN})


;Handle calls from A -> B
;Here BBBBXXXX will match company B numbers
exten => BBBBXXXX, 1, Set(CALLERID=CompanyAMain)
exten => BBBBXXXX, 1, Dial(${EXTEN}

You can do the inverse for companyB, or you could l have a single macro that deals with calls to/from each company and decides what do to based on the callerid making the call.

Mike.
_______________________________________________
--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