Re: Missing error (%B) on EMI2 DLR?
Paulo Correia <[email protected]> Tue, 24 May 2016 10:26:22 +0100
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello all!
It seems I forgot about a change I've done on the 1.4.3 code in 2011 :-)
Actually we need the RSN (E50_RSN) value from the DLR on EMI2 from the
carriers in order to know what to do with the messages (they are adding
needed info there), so my solution was to deliver it in the binfo field.
My change on 1.4.4 is restricted to gw/smsc/smsc_emi.c:
884a885,888
> /* pcorreia - add emimsg->fields[E50_RSN] to DLR msg */
> if ((emimsg->fields[E50_RSN]) != NULL) {
> msg->sms.binfo = octstr_duplicate(emimsg->fields[E50_RSN]);
> }
If it is helpful for someone, use it :-)
Best regards,
Paulo Correia
On 05/10/2016 05:34 PM, Paulo Correia wrote:
> Hello all!
>
> We've been using kannel 1.4.3 for ages and some weeks ago we tried
> some of our EMI2 connections with kannel 1.4.4.
>
> When we send the messages to kannel we also send a dlr-url like:
> http://receivedlr.host:30060/receive-dlr?type=%d&mtMsgId=911808630&reply=%A&error=%B&dispatchId=%F&meta=%D
>
> On kannel 1.4.3 the %B was filled with the error code from the
> operator, the EMI2 field Rsn ... was this changed on kannel 1.4.4 ?
> Can we get the Rsn field from EMI2 connections? We are rolling back to
> 1.4.3 since 1.4.4 does not support our needs at this point.
>
> Best regards,
> Paulo Correia
>
> --
>
> *Paulo Correia*
> Chief Technical Officer
>
> *telephone:* +351210337760*fax:* +351210337761
> *email:* [email protected] skype: pcorreia.g4m
> <skype://pcorreia.g4m?chat>**
> Go4Mobility <https://go4mobility.com/en>
>
--
PDMFC <https://pdmfc.com> *Paulo Correia*
Systems Architect
PDMFC
*telephone:*+351210337700*fax:*+351213572031
*email:* [email protected] <mailto:[email protected]> skype:
pcorreia.g4m <skype://pcorreia.g4m?chat>**
Rua Fradesso da Silveira n 4, Piso 1 B
1300-609 Lisboa
Portugal