[OpenSIPS-Users] smpp manipulation of A and B number.

Johan De Clercq Johan at democon.be
Mon Jul 29 03:47:57 EDT 2019


Hello, I have an issue with SMPP.

This is what I have in the databse (10.3.0.150 is the INBOUND link)

>
>
> +----+--------------+-------------+------+-----------+----------+-------------+---------+---------+---------+---------+--------------+
> | id | name         | ip          | port | system_id | password |
> system_type | src_ton | src_npi | dst_ton | dst_npi | session_type |
>
> +----+--------------+-------------+------+-----------+----------+-------------+---------+---------+---------+---------+--------------+
> |  1 | tralala        | 80.x.y.z| 2775 | BELOUT| smsin | OTT         |
>    1 |       1 |       1 |       1 |            1 |
> |  2 | tralala INBOUND | 10.3.0.150  | 5062 | BELIN | smsout | OTT
>  |       1 |       1 |       1 |       1 |            1 |
>
> +----+--------------+-------------+------+-----------+----------+-------------+---------+---------+---------+---------+--------------+
>
> When I look in the logs :  it seems that opensips doesn't respond to
> bind-transceiver, tralala (the outbound link ) comes up nicely.   Am I
> correct that I need to configure an inbound (towards opensips ) smpp link
> like this ?
>

Jul 25 12:55:24 hendrix /data/opensips/sbin/opensips[19637]:
DBG:proto_smpp:handle_smpp_msg: Received SMPP command 00000009 Jul 25
12:55:24 hendrix /data/opensips/sbin/opensips[19637]:
DBG:proto_smpp:handle_bind_transceiver_cmd: Received bind_transceiver
command Jul 25 12:55:24 hendrix /data/opensips/sbin/opensips[19637]:
ERROR:proto_smpp:handle_bind_transceiver_cmd: NULL params Jul 25 12:55:24
hendrix /data/opensips/sbin/opensips[19637]: DBG:proto_smpp:smpp_read_req:
tcp_read_req end Jul 25 12:55:25 hendrix
/data/opensips/sbin/opensips[19638]: DBG:proto_smpp:smpp_read_req: Using
the global ( per process ) buff


However in the request that comes in I have below info:

Transmission Control Protocol, Src Port: 38423, Dst Port: 5062, Seq: 1,
Ack: 1, Len: 43 Short Message Peer to Peer, Command: Bind_transceiver, Seq:
1, Len: 43
    Length: 43
    Operation: Bind_transceiver (0x00000009)
    Sequence #: 1
    System ID: xxxxx
    Password: yyyy
    System type: OTT
    Version (if): 3.4
    Type of number: International (0x01)
    Numbering plan indicator: ISDN (E163/E164) (0x01)


Can you please indicate what is wrong  or tell me what additional logs are
needed in order to troubleshoot this ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190729/94488b03/attachment.html>


More information about the Users mailing list