Net::SMPP and mBlox

Net::SMPP and mBlox SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Archive through February 02, 2006 » Net::SMPP and mBlox « Previous || Next »
Author Message
New member
Username: Pepsoid

Post Number: 1
Registered: 12-2005
Posted on Monday, December 12, 2005 - 02:25 pm:   

I use Net::SMPP Perl CPAN module as API for mBlox service.
use Net::SMPP;
use Data::Dumper;

($smpp,$err) =
system_id =>'ccccccc',
password => '*******',
) or die;

print"Connect-transmitter. Status=",$err->{status},"*\n";

Connection OK! Then I have invoked submit_sm function.
$resp = $smpp->submit_sm(
source_addr_ton => 0x03,
source_addr_npi => 0x01,
source_addr => '251111',
dest_addr_ton => 0x01,
dest_addr_npi => 0x01,
destination_addr => '14152463305',
data_coding => 0x04,
short_message=> 'Hi All',
esm_class => 0x00,
tariff => '0',
operator => 31001

warn Dumper $resp;

mBlox SubmiReq:
SubmitReq:Sequence=201657,Destination=0014152463305,ProfileId=-1,Body=:43:6c:61: 69:72,Class=1,BodyEncoding=data,Originator=251111,OriginatorType=3, ;;

And have got rejection respons:
SubmitRej:MsgReference=null,Sequence=201657,Reason=PSMSRoute not allowed for profile:2e Profile not allowed to send to PSMSRoute:2e,RejectCode=42,mqFrom=Clairmail1,Destination=0014152463305,Retry=0, ;;

cmd=submit_sm,status=0x00000000 (No error),seq=2,service_type=,source_addr_ton=3,source_addr_npi=1,source_addr=25111 1,dest_addr_ton=1,dest_addr_npi=1,dest_addr=14152463305,esm_class=0,protocol_id= 0,priority_flag=0,schedule_delivery_time=,validity_period=,registered_delivery=0 ,replace_if_present_flag=0,data_coding=4,sm_default_msg_id=,sm_length=5,short_me ssage=Clair,user_message_reference=,operator=,tariff=,sessionid= ;;

The reason of it Fields: operator and tariff are empty!!!
Operator and tariff fields are mBlox additional parameters.
Anybody know how to set this fields for Net::SMPP}
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 5389
Registered: 10-2002
Posted on Tuesday, December 20, 2005 - 06:25 pm:   

This is the support forum for the Now SMS/MMS Gateway software product.

I'm sorry, but I have to focus my attention on support queries for our product.

For information on configuring NowSMS to pass mBlox specific parameters for premium rate SMS, please see the following thread:

Login Login / Register Logout Logout Search Last 30 Days Topics Topics