asterisk2billing.org
http://forum.asterisk2billing.org/

It exist a way to change the CID in an Active Outbound Call?
http://forum.asterisk2billing.org/viewtopic.php?f=33&t=8362
Page 1 of 1

Author:  aaron_amentum [ Sat Nov 20, 2010 4:58 pm ]
Post subject:  It exist a way to change the CID in an Active Outbound Call?

Why do I make this question?, it's because I need to solve a problem I posted before, about to make an Outbound Call from another extension, but using my PIN number, so then A2B must charge this call to my bill.
Using a php AGI, I can try to change the CID value if the PIN doesn't match to the dialer CID, after Answer the call, so then make A2B save the charges to the right bill.

Think about this:

I have a PIN, and always make calls from my own extension, but I went to the next office, and my partner has his own Phone, then I need to make a call and I dial it from his extension, but I enter my PIN, (Here is when I need to change the CID) and I need A2B charge the call to my bill, and not to my partner's bill.

I hope someone could help me.:!!! Thanks..!!

Author:  jroper [ Sun Nov 21, 2010 10:12 am ]
Post subject:  Re: It exist a way to change the CID in an Active Outbound Call?

Hi

Not during a call, but you can authenticate on accountcode rather than caller ID, and you can set the outbound caller ID via an IVR, inspect the agi-conf to see how this is done.

Joe

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/