Brian Wilkins
2005-Jan-17 03:12 UTC
[Asterisk-Users] ASTCC single stage + no access number + auth usingsip username and password
I believe you can specifiy header information. If you know what portion of packet deals with that information, you (in theory) would be able to do it. On Monday 17 January 2005 02:52 pm, Nabeel Jafferali wrote:> > I would like to have all SIP phones to work on prepaid basis > > and without need to dial any access number, instead I would > > like to use the phone as normal dialing only the destination > > number, for example 00464090510. > > I use the AccountCode for authentication. This is how, for example: > > exten => _00XX.,1,DeadAGI(astcc.agi,${ACCOUNTCODE},011${EXTEN:2}) > > > Once the call is finished I would like to have the balance > > shown in the display by sending a sip message to the phone(if > > possible otherwise not important). > > This would require adding code to the AGI, if it's even possible.-- Brian Wilkins Software Engineer brian@hcc.net Heritage Communications Corporation Melbourne, FL USA 32935 321.308.4000 x33 http://www.hcc.net
Nabeel Jafferali
2005-Jan-17 07:52 UTC
[Asterisk-Users] ASTCC single stage + no access number + auth usingsip username and password
> I would like to have all SIP phones to work on prepaid basis > and without need to dial any access number, instead I would > like to use the phone as normal dialing only the destination > number, for example 00464090510.I use the AccountCode for authentication. This is how, for example: exten => _00XX.,1,DeadAGI(astcc.agi,${ACCOUNTCODE},011${EXTEN:2})> Once the call is finished I would like to have the balance > shown in the display by sending a sip message to the phone(if > possible otherwise not important).This would require adding code to the AGI, if it's even possible. -- Nabeel Jafferali Tel: +1 (416) 628-9342 Toronto +1 (646) 225-7426 New York FWD: 46990 Email/MSN: nabeel<at>jafferali.net