|
Sorry, but I've to check which number the user is
calling to.
But I have to match something like *413
where * is the wildcard.
ex.
I'm calling from any number and I
call the number 0542 63413 ----> Auth
any
number and I call the number 0546 73413 ----> Auth
any number and I call the number 0542 63414 ----> Not
Auth
any number and I call the number 0546 73414 ----> Not
Auth
I hacked the file xlat.c and added
case 'z': /* Called station ID
*/
q += valuepair2str(q,freespace,pairfind(request->packet->vps,PW_CALLED_STATION_ID),PW_TYPE_STRING, func); break; I hope, with the new added %z parameter,
passed to an external script, to discrimanate which number the user
is calling to.
Do you think It will work ?
Thank's again
Matteo.
----- Original Message -----
|
- Called Station id extraction Matteo Falconi
- Re: Called Station id extraction hari_bhr
- Re: Called Station id extraction Matteo Falconi
- Re: Called Station id extraction Chris Parker
