[asterisk-dev] Help Need Asterisk SMS code and procedure

warrior back indianrocking at gmail.com
Thu Jun 9 01:19:30 CDT 2011


>
> Hello,
> I tried with asterisk1.6 version for SMS between two softphone but
> understood this version does not support SMS hence I took the asterisk
> branch from below link and used it for asterisk SMS(as this asterisk code
> explained it is working for SMS) but even I am not able to send the message
> from one sip number to another sip number.
> The Link is http://svn.asterisk.org/svn/asterisk/team/russell/messaging/
> https://reviewboard.asterisk.org/r/1042/
>
> The log shows "Unable to parse INFO message from" as shown below and In
> packet capture shows 415 unsupported media type.
>  I am using Windows messenger softphone.
>
>
>
> *Please help me how I will able to send SMS in asterisk.Please share it if
> any configuration is needed in sip.conf or in other .conf file for SMS.
> *
> I want to send the sms from 1000 to 2000 where 1000 & 2000 is my SIP phone
> number.
>
> == Starting Message/ast_msg_queue at default,sip:2000 at asterisk,1 failed so
> falling back to exten 's'
>     -- Executing [s at default:1] Wait("Message/ast_msg_queue", "1") in new
> stack
> [Jan  1 00:37:49] WARNING[535]: chan_sip.c:18641 handle_request_info:
> Unable to parse INFO message from b27ee315779f40ab
> b35c8154bea508d7 at 172.16.241.42
> . Content
>     -- Executing [s at default:2] Answer("Message/ast_msg_queue", "") in new
> stack
>     -- Executing [s at default:3] Set("Message/ast_msg_queue",
> "TIMEOUT(digit)=5") in new stack
> [Jan  1 00:37:50] ERROR[514]: pbx.c:3700 ast_func_write: Function TIMEOUT
> not registered
>     -- Executing [s at default:4] Set("Message/ast_msg_queue",
> "TIMEOUT(response)=10") in new stack
> [Jan  1 00:37:50] ERROR[514]: pbx.c:3700 ast_func_write: Function TIMEOUT
> not registered
>     -- Executing [s at default:5] BackGround("Message/ast_msg_queue",
> "demo-congrats") in new stack
> [Jan  1 00:37:50] WARNING[514]: channel.c:5078 set_format: Unable to find a
> codec translation path from (nothing) to (gs
> m)
> [Jan  1 00:37:50] WARNING[514]: file.c:1004 ast_streamfile: Unable to open
> demo-congrats (format (nothing)): Function no
> t implemented
> [Jan  1 00:37:50] WARNING[514]: pbx.c:9541 pbx_builtin_background:
> ast_streamfile failed on Message/ast_msg_queue for de
> mo-congrats
>     -- Executing [s at default:6] BackGround("Message/ast_msg_queue",
> "demo-instruct") in new stack
> [Jan  1 00:37:50] WARNING[514]: channel.c:5078 set_format: Unable to find a
> codec translation path from (nothing) to (gs
> m)
> [Jan  1 00:37:50] WARNING[514]: file.c:1004 ast_streamfile: Unable to open
> demo-instruct (format (nothing)): Function no
> t implemented
> [Jan  1 00:37:50] WARNING[514]: pbx.c:9541 pbx_builtin_background:
> ast_streamfile failed on Message/ast_msg_queue for de
> mo-instruct
>     -- Executing [s at default:7] WaitExten("Message/ast_msg_queue", "") in
> new stack
>     -- Timeout on Message/ast_msg_queue, going to 't'
>     -- Executing [t at default:1] Goto("Message/ast_msg_queue", "#,1") in new
> stack
>     -- Goto (default,#,1)
>     -- Executing [#@default:1] Playback("Message/ast_msg_queue",
> "demo-thanks") in new stack
> [Jan  1 00:38:00] WARNING[514]: channel.c:5078 set_format: Unable to find a
> codec translation path from (nothing) to (gs
> m)
> [Jan  1 00:38:00] WARNING[514]: file.c:1004 ast_streamfile: Unable to open
> demo-thanks (format (nothing)): Function not
> implemented
> [Jan  1 00:38:00] WARNING[514]: app_playback.c:476 playback_exec:
> ast_streamfile failed on Message/ast_msg_queue for dem
> o-thanks
>     -- Executing [#@default:2] Hangup("Message/ast_msg_queue", "") in new
> stack
>   == Spawn extension (default, #, 2) exited non-zero on
> 'Message/ast_msg_queue'
>
>
> *Please help me how can i do sms by using Asterisk.
I just check Mr Russell
Bryant<https://reviewboard.asterisk.org/users/russell/>has implemented
some simple apps using the pjsua Python module from pjsip
that can send and receive messages sent through Asterisk.  Please help me to
know from where i can get this code and procedure.*




> Regards,
> Vikash
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20110609/8fda8c59/attachment.htm>


More information about the asterisk-dev mailing list