Hello Likasz,
the phone number is $info->{'to'}
Regards
Fabrice
Le 19-02-18 à 04 h 02, Łukasz Wieczorek via PacketFence-users a écrit :
Hello FabriceThank you.
I am trying to modify the script, I'm already very close.
Unfortunately, I'm not a programmer. I can't find the "phone number"
variable to this function. I do not know what it's called.Maybe
someone will help?Lukasz
sob., 16 lut 2019 o 22:04 Durand fabrice via PacketFence-users
<[email protected]> napisał(a):
Hello Lukasz,
check that:
https://github.com/inverse-inc/packetfence/blob/devel/lib/pf/Authentication/Source/SMSSource.pm#L114
Just need to change few things.
Regards
Fabrice
Le 19-02-16 à 05 h 26, Łukasz Wieczorek via PacketFence-users a écrit :
I am a new user of packetfence and need help in configuring guest
authorization via SMS.
My SMS service provider requires a special email format, where in the
subject field I need to send the user and password <MD5 format> to my
provider.
I need a mail format:
ADRESS: [email protected]
SUBJECT: login@<my account password on smsapi.pl in MD5>
Message content: from=sender&to=phone
nubmer&raport=1&message=massage content
raport=1 is option
I know how only how to add a new supplier to the database ...
INSERT INTO sms_carrier
(id, name, email_pattern, created)
VALUES
(100xxx, 'MyGateway', '%s@...', now());
Thank you in advance for your help
Regards
Lukasz
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users