Missing error (%B) on EMI2 DLR?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Missing error (%B) on EMI2 DLR?

Paulo Correia-5
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: <a class="moz-txt-link-freetext" href="http://receivedlr.host:30060/receive-dlr?type=%d&amp;mtMsgId=911808630&amp;reply=%A&amp;error=%B&amp;dispatchId=%F&amp;meta=%D">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: [hidden email] skype:
<a style="color: rgb(106, 159, 225);" href="skype://pcorreia.g4m?chat">pcorreia.g4m
Go4Mobility

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Missing error (%B) on EMI2 DLR?

Paulo Correia-5
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: <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://receivedlr.host:30060/receive-dlr?type=%d&amp;mtMsgId=911808630&amp;reply=%A&amp;error=%B&amp;dispatchId=%F&amp;meta=%D"><a class="moz-txt-link-freetext" href="http://receivedlr.host:30060/receive-dlr?type=%d&amp;mtMsgId=911808630&amp;reply=%A&amp;error=%B&amp;dispatchId=%F&amp;meta=%D">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: [hidden email] skype:
<a moz-do-not-send="true" style="color: rgb(106, 159, 225);" href="skype://pcorreia.g4m?chat">pcorreia.g4m
Go4Mobility


--
PDMFC Paulo Correia
Systems Architect
PDMFC
telephone:+351210337700 fax:+351213572031
email: [hidden email] skype:
<a style="color: rgb(106, 159, 225);" href="skype://pcorreia.g4m?chat">pcorreia.g4m

Rua Fradesso da Silveira n 4, Piso 1 B
1300-609 Lisboa
Portugal

Loading...