Hello Nicolay,

just do:

mysql -upf -p pf

INSERT INTO sms_carrier
    (id, name, email_pattern, created)
VALUES
    (100122, 'MyGateway', '%s@mygateway.gateway', now());

exit


That's it.

Regards

Fabrice



Le 2017-10-23 à 09:55, Nicolay Rytchev via PacketFence-users a écrit :
> Hello Fabrice,
>
> Thank you for your advice. I am not really familiar with database
> configuration.
> I am network engineer.
> Could you be more specific about how and where to do that?
>
>
> Regards,
> Nicolay
>
>
> 2017-10-23 15:30 GMT+02:00 Fabrice Durand via PacketFence-users
> <packetfence-users@lists.sourceforge.net
> <mailto:packetfence-users@lists.sourceforge.net>>:
>
>     Hello Nicolay,
>
>     if it's a new SMS gateway then you will need to import it in the
>     database.
>
>     So connect to the database and:
>
>     INSERT INTO sms_carrier
>         (id, name, email_pattern, created)
>     VALUES
>         (100122, 'MyGateway', '%s@mygateway.gateway', now());
>
>     Regards
>
>     Fabrice
>
>
>     Le 2017-10-20 à 09:50, Nicolay Rytchev via PacketFence-users a écrit :
>>     Hello All,
>>
>>     I want to implement SMS authentication by PF Captive Portal, as I
>>     understand it works via email.
>>     PF takes phone number and PIN information from the body of the
>>     letter and can send this information to the SMS gateway by SMTP.
>>     Where can I do that ?
>>     How can I specify my own SMS Gateway  in the menu?
>>
>>
>>     Thank you in advance.
>>
>>
>>
>>
>>     
>> ------------------------------------------------------------------------------
>>     Check out the vibrant tech community on one of the world's most
>>     engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>
>>
>>     _______________________________________________
>>     PacketFence-users mailing list
>>     PacketFence-users@lists.sourceforge.net
>>     <mailto:PacketFence-users@lists.sourceforge.net>
>>     https://lists.sourceforge.net/lists/listinfo/packetfence-users
>>     <https://lists.sourceforge.net/lists/listinfo/packetfence-users>
>
>     -- 
>     Fabrice Durand
>     fdur...@inverse.ca <mailto:fdur...@inverse.ca> ::  +1.514.447.4918 
> <tel:%28514%29%20447-4918> (x135) ::  www.inverse.ca <http://www.inverse.ca>
>     Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and PacketFence 
> (http://packetfence.org) 
>
>
>     
> ------------------------------------------------------------------------------
>     Check out the vibrant tech community on one of the world's most
>     engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>     _______________________________________________
>     PacketFence-users mailing list
>     PacketFence-users@lists.sourceforge.net
>     <mailto:PacketFence-users@lists.sourceforge.net>
>     https://lists.sourceforge.net/lists/listinfo/packetfence-users
>     <https://lists.sourceforge.net/lists/listinfo/packetfence-users>
>
>
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>
>
> _______________________________________________
> PacketFence-users mailing list
> PacketFence-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/packetfence-users

-- 
Fabrice Durand
fdur...@inverse.ca ::  +1.514.447.4918 (x135) ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and PacketFence 
(http://packetfence.org) 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to