[asterisk-users] Sending SMS from asterisk
Asghar Mohammad
asghar144 at gmail.com
Mon Mar 11 14:54:49 CDT 2013
hi,
i have not made proper patches but edit chan_mobile.c
here is detail:
tested with asterisk 1.6.0 and asterisk 1.6.2.
"mobile not connect with asterisk"
asterisk 1.6.0 line 275 is addr.rc_channel = (uint8_t) 1; change
to addr.rc_channel = (uint8_t) 0;
asterisk 1.6.2.x line 1290 is addr.rc_channel = (uint8_t) 1; change
to addr.rc_channel = (uint8_t) 0;
asterisk 1.6.2.x from line 2022
if (buf[i] == ',') {
state++;
}
case 1: /* find the opening quote (") */
if (buf[i] == '"') {
state++;
}
case 2: /* mark the start of the number */
change to
if (buf[i] == ',') {
state++;
}
break;
case 1: /* find the opening quote (") */
if (buf[i] == '"') {
state++;
}
break;
case 2: /* mark the start of the number */
note 2 break after every statement.
On Mon, Mar 11, 2013 at 7:40 PM, Patrick Lists <
asterisk-list at puzzled.xs4all.nl> wrote:
> On 03/11/2013 07:07 PM, Asghar Mohammad wrote:
>
>> HI Bilal,
>> i am using chan_mobile for call termination, you can use it but you need
>> to tweak chan_mobile.c it is broken from a long time.
>> let me know if you want give it a try.
>>
>
> If you could send the patches you made to chan_mobile to this mailing list
> then other Asterisk users can benefit from your work and use chan_mobile
> too.
>
> Regards,
> Patrick
>
>
>
> --
> ______________________________**______________________________**_________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
> http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/**mailman/listinfo/asterisk-**users<http://lists.digium.com/mailman/listinfo/asterisk-users>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130311/dc7c1844/attachment.htm>
More information about the asterisk-users
mailing list