Hi Never worked with xml post but I assume bearerbox treats it the same way as coming from smsbox; therefore:
- You can't get individual dlr when sending group messages. If you need individual dlrs, you must submit them individually. - in xml there should be a tag equivalent to smsbox ...&smsc=xxx...; something like: <smsc>MySmscRoute</smsc> inside your <submit> tag Hope helps Regards Alvaro |-----------------------------------------------------------------------------------------------------------------| Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier celular y Nextel en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via SMS y GPRS online Visitenos en www.perusms.com On Tue, Dec 2, 2014 at 5:13 AM, michael osakede <ire...@yahoo.com> wrote: > Hello All, > > I am sending messages using XML POST, but I am unable to change the > dynamic parrameter for the dlr url. > my XML contains multiple numbers, i need to pass a dynamic variable for > each number as one number can be subscribed to multiple services. > > How do I send multiple dynamic variables through the dlr url? > Also how do I route a message from XML POST to a particular smsc? > > $gid=2; > $xml = '<?xml version="1.0"?> > <message> > <submit> > <da><number>+23480XXXXXX</number></da> > <da><number>+2347XXXXXXX</number></da> > <oa><number>35747</number></oa> > <ud>user data</ud> > <statusrequest> > <dlr-mask>31</dlr-mask> > <dlr-url> > http://localhost/dlrnewXX.php?status=%d&answer=%A&to=%P&from=%p&dlr=yes&messageid='.$gid.'&smsc=%i > </dlr-url> > </statusrequest> > <from> > <username>tester</username> > <password>foobar</password> > </from> > </submit> > </message>'; > > Regards, > Michael >