You have to url encode it, "+" translates into a space if you use it on an url. Use "%2B" instead.
Regards, Alejandro On Fri, Sep 4, 2009 at 1:59 PM, satish <[email protected]> wrote: > Hi All > Can any body help me to put "+" as prefix in destination . I am using this > url for sending(sendsms) > > Example: > > http://127.0.0.1:13013/cgi-bin/sendsms?username=abc&password=def&to=+9166666666&from=xxxxxx&text=test%20message&smsc=smsc_test > when i am sending this url it not sending + appended with number > what changes i need to add in configuration files for that problem > > My smsc configuration file is as > > group = smsc > smsc = smpp > smsc-id = smpp_g > allowed-smsc-id = "smpp_g" > host = localhost > port = 2345 > receive-port = 2345 > #transceiver-mode = 0 > system-type = "smpp" > #system-type = "VMA" > smsc-username = xyx > smsc-password = zzzzzzz > source-addr-ton = 1 > source-addr-npi = 1 > dest-addr-ton = 1 > dest-addr-npi = 1 > enquire-link-interval = 30 > #allowed-prefix = "0" > #denied-prefix = "0" > #max-pending-submits = 0 > #throughput = 0 > msg-id-type = 0 > source-addr-autodetect = yes > thanks & regards > Satish > > >
