hi,<div>i have not made proper patches but edit chan_mobile.c</div><div>here is detail:</div><div>tested with asterisk 1.6.0 and asterisk 1.6.2.</div><div><br></div><div>&quot;mobile not connect with asterisk&quot;</div><div>
<br></div><div>asterisk 1.6.0 line 275  is addr.rc_channel = (uint8_t) 1; change to  addr.rc_channel = (uint8_t) 0;</div><div>asterisk 1.6.2.x line 1290  is addr.rc_channel = (uint8_t) 1; change to  addr.rc_channel = (uint8_t) 0;</div>
<div>asterisk 1.6.2.x from line 2022</div><div><br></div><div><div> if (buf[i] == &#39;,&#39;) {</div><div>                                state++;</div><div>                        }</div><div>                case 1: /* find the opening quote (&quot;) */</div>
<div>                        if (buf[i] == &#39;&quot;&#39;) {</div><div>                                state++;</div><div>                        }</div><div>                case 2: /* mark the start of the number */</div>
</div><div><br></div><div>change to </div><div><br></div><div><br></div><div><div> if (buf[i] == &#39;,&#39;) {</div><div>                                state++;</div><div>                        }</div><div>                        break;</div>
<div>                case 1: /* find the opening quote (&quot;) */</div><div>                        if (buf[i] == &#39;&quot;&#39;) {</div><div>                                state++;</div><div>                        }</div>
<div>                        break;</div><div>                case 2: /* mark the start of the number */</div></div><div><br></div><div><br></div><div>note 2 break after every statement.<br><br><div class="gmail_quote">On Mon, Mar 11, 2013 at 7:40 PM, Patrick Lists <span dir="ltr">&lt;<a href="mailto:asterisk-list@puzzled.xs4all.nl" target="_blank">asterisk-list@puzzled.xs4all.nl</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 03/11/2013 07:07 PM, Asghar Mohammad wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
HI Bilal,<br>
i am using chan_mobile for call termination, you can use it but you need<br>
to tweak chan_mobile.c it is broken from a long time.<br>
let me know if you want give it a try.<br>
</blockquote>
<br></div>
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.<br>
<br>
Regards,<br>
Patrick<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
--<br>
______________________________<u></u>______________________________<u></u>_________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
              <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
  <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/<u></u>mailman/listinfo/asterisk-<u></u>users</a><br>
</div></div></blockquote></div><br></div>