Richard Lyman wrote:
Douglas Garstang wrote:
-----Original Message-----
From: David Gomillion [mailto:[EMAIL PROTECTED]
*snipped

David, this is completely different from what I am trying to do.

Let's try this a different way. Let's say you have two companies. When someone calls a number in their own company, we use their INTERNAL caller id. When they call someone in another company, we want to send their EXTERNAL caller id. How would you do this?

Doug.
if it is just callerid then wouldn't the gf stuff (if it still exists) work?

it was something like (man i'm getting old, looking up in wiki)

exten => s,1,Answer()
exten => s,XXXX,2,Set(CALLERID(name)=OUTSIDE NAME|CALLERID(num)=xxxxxxxxxx)
exten => s,2,Set(CALLERID(name)=INSIDE NAME|CALLERID(num)=xxxxxxxxxx)
exten => s,3,Dial(yadda)

XXXX would obviously be the callerid num of the internal exten


grr, i hate when i typo (and reply to my own posts)
exten => s/XXXX,2,Set(CALLERID(name)=OUTSIDE NAME|CALLERID(num)=xxxxxxxxxx)

/ after the s

sorry


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