[Freeswitch-users] SMPP Incoming Message

Uday kumar udy786 at gmail.com
Thu Nov 24 08:02:48 MSK 2016


Hi,

I have installed freeswitch 1.6.12 and SMPP on this. Configured SMPP
account and able to send outgoing message from softphone but when some
replying to me then message coming on freeswitch but its coming on my
softphone.

I followed https://quentustech.com/smpp-support-in-freeswitch.html created
by by William King. Log showing same as per William included but in my case
its never reach to my extension. Local extension to extension chat working
but only when message coming on my DID then its not going routed extension.

*My chat plan:- *

 <context name="default">
   <extension name="smpp34_demo_in">
     <condition field="to_user" expression="^DID_Number$"/>
     <condition field="from_user" expression="^(\d{11})$">
       <action application="set" data="to=2001001 at xx.xx.xx.xx"/>
       <action application="set" data="from=$1 at xx.xx.xx.xx"/>
       <action application="set" data="proto="/>
       <action application="set" data="dest_proto=sip"/>
       <action application="set" data="final_delivery=1"/>
       <action application="info"/>
       <action application="send"/>
     </condition>
   </extension>
 </context>

 <context name="public">
   <extension name="smpp34_demo_out">
     <condition field="from_user" expression="2001001"/>
     <condition field="to_user" expression="^(\d{11})$">
       <action application="set" data="from_user=DID_Number"/>
       <action application="set" data="final_delivery=1"/>
       <action application="info"/>
       <action application="smpp_send" data="brightlinkIP"/>
     </condition>
   </extension>
 </context>

Please guide me.

-- 
Thanks & Regard
Uday
Site:- www.shareyourknowledge.in
Mobile:- +91-9377579349
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161124/2a4c000b/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list