marcelobiz@comcast.net
2007-Feb-26 07:42 UTC
[asterisk-users] How set CallerID via Macro or something
Hi guys, I need your help ... I have a couple of DIDs that reach my Asterisk box .... But I'd like to set my DIDs automatically via Macro or other routine based on the number called by my agent ... Ex: My agent called 954-111-1111 ... So I'd like to set the callerid as 954-222-2222 (That is my DID) Thanks in advance, Marcelo
marcelobiz@comcast.net wrote:> Hi guys, > > I need your help ... > > I have a couple of DIDs that reach my Asterisk box .... > But I'd like to set my DIDs automatically via Macro or other routine based on the number called by my agent ... > > Ex: My agent called 954-111-1111 ... So I'd like to set the callerid as 954-222-2222 (That is my DID) > > Thanks in advance, > > Marcelo > _______________________________________________ > --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 > >Inbound caller ID or outbound? What kind of phones are you using? -- ===================================================J. Oquendo http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x1383A743 sil . infiltrated @ net http://www.infiltrated.net The happiness of society is the end of government. John Adams -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 5157 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20070226/b719b7ee/smime.bin
marcelobiz@comcast.net
2007-Feb-26 08:11 UTC
[asterisk-users] How set CallerID via Macro or something
Hi, I'm using traditional phones behing a Linksys PAP2 adapter ... I'd like to set the outbound caller ID ... based on the number dialed by my agent ... like ... If I dial one number with area code 781 and I have one DID with the same area code ... I'd like to set the caller ID to this number ... I tried already with a Macro but I didn't manage to retrieve a value from the Macro ... Thanks in advance, Marcelo -------------- Original message ---------------------- From: "J. Oquendo" <sil@infiltrated.net>> _______________________________________________ > --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
marcelobiz@comcast.net
2007-Feb-26 09:52 UTC
[asterisk-users] How set CallerID via Macro or something
Thanks ... I think that is gonna work ... I don't how I didn't think about this ... Actually I think I was trying to do like through a generic way ... because I have a lot of DIDs I would have to set up one by one that way ... But thanks for your help ... But just to know .. Is there any way to retrieve any value from a macro ... ? Like ... I was trying to set the callerID dinamically inside the macro and set this value in the variable MACRO_RESULT ... but it didn't work ... Thanks, Marcelo -------------- Original message -------------- From: "Eric "ManxPower" Wieling" <eric@fnords.org>> marcelobiz@comcast.net wrote: > > Hi, > > > > I'm using traditional phones behing a Linksys PAP2 adapter ... > > > > I'd like to set the outbound caller ID ... based on the number dialed by my > agent ... like ... If I dial one number with area code 781 and I have one DID > with the same area code ... I'd like to set the caller ID to this number ... I > tried already with a Macro but I didn't manage to retrieve a value from the > Macro ... > > > > exten => _781NXXXXXX,1,Set(CALLERID(num)=7815551212) > exten => _781NXXXXXX,n,Dial(.... > > exten => _NXXNXXXXXX,1,Set(CALLERID(num)=1235541313) > exten => _NXXNXXXXXX,n,Dial(.... > _______________________________________________ > --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-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070226/c3247e63/attachment.htm