Hi all, the solution for this issue was to add the %i field to the get-url option on the sms-service:

group = sms-service
keyword = default
get-url = http://127.0.0.1/get.php?from=%p&to=%P&body=%a&smsc_id=%i
catch-all = true
max-messages= 0

then on my application for sending sms i add the smsc option to the url, something like this:

$return = @file("http://".KHOST.":".KPORT."/cgi-bin/sendsms? user=".KUSER."&password=".KPASS."&to=$from&from=$to&text=$msg&smsc= $smsc_id");


after doing this, the allowed-smsc-id option on smsc connections worked.:

group = smsc
smsc = smpp
smsc-id = 88888
allowed-smsc-id = 88888
...


Hope this can help some one.


Regards

Reply via email to