Hi
I have 3 users, 3 smsc and 3 modems
Each user is linked with a smsc and each smsc is linked with a modem
Everything works with incoming and outgoing SMS but when I want to answer an incoming sms, I get this :
192.168.0.1 sms.intranet.fr 2016-10-06 07:37:07 PID57f5ff2364034 admin L2 sendsms # start uid:1 sender_id:[] smsc:[]
192.168.0.1 sms.intranet.fr 2016-10-06 07:37:07 PID57f5ff2364034 admin L3 sendsms # maxlen:459 footerlen:7 footer:[ @admin] msglen:2 message:[ok]
192.168.0.1 sms.intranet.fr 2016-10-06 07:37:07 PID57f5ff2364034 admin L2 sendsms_queue_create # saving queue_code:39a9e571df78e0df4bff5562ef9c4942 src: scheduled:2016-10-06 07:37:07
192.168.0.1 sms.intranet.fr 2016-10-06 07:37:07 PID57f5ff2364034 admin L2 sendsms_queue_create # saved queue_code:39a9e571df78e0df4bff5562ef9c4942 id:401
192.168.0.1 sms.intranet.fr 2016-10-06 07:37:07 PID57f5ff2364034 admin L3 sendsms_manipulate_prefix # before prefix manipulation:[+336XXXXXXXX]
192.168.0.1 sms.intranet.fr 2016-10-06 07:37:07 PID57f5ff2364034 admin L3 sendsms_manipulate_prefix # after prefix manipulation:[+336XXXXXXXX]
192.168.0.1 sms.intranet.fr 2016-10-06 07:37:07 PID57f5ff2364034 admin L3 simplerate_hook_rate_getbyprefix # rate not found to:+336XXXXXXXX default_rate:0
192.168.0.1 sms.intranet.fr 2016-10-06 07:37:07 PID57f5ff2364034 admin L3 simplerate_hook_rate_getcharges # uid:1 u:admin len:9 unicode:0 to:+336XXXXXXXX enable_credit_unicode:0 count:1 rate: charge:0
192.168.0.1 sms.intranet.fr 2016-10-06 07:37:07 PID57f5ff2364034 admin L2 sendsms # dst_count:1 sms_count:1 total_charges:0
192.168.0.1 sms.intranet.fr 2016-10-06 07:37:07 PID57f5ff2364034 admin L2 sendsms_queue_push # saving queue_code:39a9e571df78e0df4bff5562ef9c4942 dst:+336XXXXXXXX
192.168.0.1 sms.intranet.fr 2016-10-06 07:37:07 PID57f5ff2364034 admin L2 sendsms_queue_push # saved queue_code:39a9e571df78e0df4bff5562ef9c4942 smslog_id:560
192.168.0.1 sms.intranet.fr 2016-10-06 07:37:07 PID57f5ff2364034 admin L2 sendsms # end queue_code:39a9e571df78e0df4bff5562ef9c4942 queue_count:1 sms_count:1 failed_queue:0 failed_sms:0
-
- 2016-10-06 07:37:08 PID57f5ff243d4dd - L2 sendsmsd # start processing queue_code:39a9e571df78e0df4bff5562ef9c4942 chunk:0 queue_count:1 sms_count:1 scheduled:2016-10-06 07:37:07 uid:1 gpid:0 sender_id:
-
- 2016-10-06 07:37:08 PID57f5ff243d4dd - L2 sendsmsd # sending queue_code:39a9e571df78e0df4bff5562ef9c4942 smslog_id:560 to:+336XXXXXXXX sms_count:1 counter:1
-
- 2016-10-06 07:37:08 PID57f5ff243d4dd - L3 sendsms_intercept # msgtemplate modified sms_sender:[] sms_footer:[@admin] sms_to:[+336XXXXXXXX] sms_msg:[ok] uid:[1] gpid:[0] sms_type:[text] unicode:[0] queue_code:[39a9e571df78e0df4bff5562ef9c4942] smsc:[]
-
- 2016-10-06 07:37:08 PID57f5ff243d4dd - L3 outgoing_hook_sendsms_intercept # no SMSC found uid:1 parent_uid:0 from: to:+336XXXXXXXX
-
- 2016-10-06 07:37:08 PID57f5ff243d4dd - L2 recvsms_process # using default SMSC smsc:[blocked]
-
- 2016-10-06 07:37:08 PID57f5ff243d4dd - L2 sendsms_process # start
-
- 2016-10-06 07:37:08 PID57f5ff243d4dd - L3 simplerate_hook_rate_getbyprefix # rate not found to:+336XXXXXXXX default_rate:0
-
- 2016-10-06 07:37:08 PID57f5ff243d4dd - L3 simplerate_hook_rate_getcharges # uid:1 u:admin len:9 unicode:0 to:+336XXXXXXXX enable_credit_unicode:0 count:1 rate: charge:0
-
- 2016-10-06 07:37:08 PID57f5ff243d4dd - L2 simplerate_hook_rate_cansend # allowed user uid:1 sms_to:+336XXXXXXXX adhoc_credit:0 count:1 rate: charge:0 adhoc_balance:0
-
- 2016-10-06 07:37:08 PID57f5ff243d4dd - L2 sendsms # saving smslog_id:560 u:1 parent_uid:0 g:0 gw:blocked smsc:blocked s: d:+336XXXXXXXX type:text unicode:0 status:0
-
- 2016-10-06 07:37:08 PID57f5ff243d4dd - L2 sendsms_process # saved smslog_id:560 id:507
-
- 2016-10-06 07:37:08 PID57f5ff243d4dd - L3 sendsms # final smslog_id:560 gw:blocked smsc:blocked message:ok @admin len:9
-
- 2016-10-06 07:37:08 PID57f5ff243d4dd - L3 blocked_hook_sendsms # enter smsc:blocked smslog_id:560 uid:1 to:+336XXXXXXXX
-
- 2016-10-06 07:37:08 PID57f5ff243d4dd - L3 dlr # isdlrd:1 smslog_id:560 p_status:2 uid:1
-
- 2016-10-06 07:37:08 PID57f5ff243d4dd - L2 simplerate_hook_rate_deduct # enter smslog_id:560
-
- 2016-10-06 07:37:08 PID57f5ff243d4dd - L3 simplerate_hook_rate_getbyprefix # rate not found to:+336XXXXXXXX default_rate:0
-
- 2016-10-06 07:37:08 PID57f5ff243d4dd - L3 simplerate_hook_rate_getcharges # uid:1 u:admin len:9 unicode:0 to:+336XXXXXXXX enable_credit_unicode:0 count:1 rate: charge:0
-
- 2016-10-06 07:37:08 PID57f5ff243d4dd - L2 simplebilling_hook_billing_post # saving smslog_id:560 rate: count:1 charge:0
-
- 2016-10-06 07:37:08 PID57f5ff243d4dd - L2 simplebilling_hook_billing_post # saved smslog_id:560 id:497
-
- 2016-10-06 07:37:08 PID57f5ff243d4dd - L3 simplerate_hook_rate_deduct # deduct successful uid:1 parent_uid:0 smslog_id:560
-
- 2016-10-06 07:37:08 PID57f5ff243d4dd - L2 sendsms_process # end
-
- 2016-10-06 07:37:08 PID57f5ff243d4dd - L2 sendsmsd # result queue_code:39a9e571df78e0df4bff5562ef9c4942 to:+336XXXXXXXX flag:1 smslog_id:560
-
- 2016-10-06 07:37:08 PID57f5ff243d4dd - L2 sendsmsd # finish processing queue_code:39a9e571df78e0df4bff5562ef9c4942 uid:1 sender_id: queue_count:1 sms_count:1
-
- 2016-10-06 07:37:08 PID57f4ef9df3b94 - L3 dlrd # id:921 smslog_id:560 p_status:2 uid:1
-
- 2016-10-06 07:37:08 PID57f4ef9df3b94 - L2 simplerate_hook_rate_refund # start smslog_id:560
-
- 2016-10-06 07:37:08 PID57f4ef9df3b94 - L2 simplebilling__rollback # checking smslog_id:560
-
- 2016-10-06 07:37:08 PID57f4ef9df3b94 - L2 simplebilling__rollback # saving smslog_id:560 id:497
-
- 2016-10-06 07:37:08 PID57f4ef9df3b94 - L2 simplebilling__rollback # saved smslog_id:560
How to choose the smsc for answers by user ?
In Main Configuration, the default smsc is set to blocked
Thanks
DV