Sorry i didnt read your mail properly . I thought your problem is with cdr's. Here's link to cdr problem :) <br><br><a href="http://lists.digium.com/pipermail/asterisk-dev/2007-June/028085.html">http://lists.digium.com/pipermail/asterisk-dev/2007-June/028085.html
</a><br><br>see the next message for patch .<br><br><div><span class="gmail_quote">On 29/06/07, <b class="gmail_sendername">Eric ManxPower Wieling</b> <<a href="mailto:eric@fnords.org">eric@fnords.org</a>> wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Rob Schall wrote:<br>> Eric "ManxPower" Wieling wrote:<br>>> Rob Schall wrote:
<br>>><br>>>> I currently have about 50 polycom 501 phones on my asterisk setup.<br>>>> The dialplan is set to work with mysql (realtime), and all of the<br>>>> extensions for the phones route through the same macro (stdexten).
<br>>>> This all works fine until I tried to set up notify status.<br>>>><br>>>> On voip-info, they say do something like...<br>>>><br>>>> 4444,hint,SIP/4444<br>>>> 4444,1,Dial(SIP/4444)
<br>>>> blah blah blah<br>>>><br>>>> This functionality works fine. But what if you have a macro<br>>>> s,hint,SIP/${ARG1}<br>>>> s,1,Dial(SIP/${ARG1}<br>>>><br>>>> this adds a "s" hint which obviously doesn't work, instead of a hint
<br>>>> for 4444 as it should.<br>>>><br>>><br>>> Yes. Put in the correct hint. There is no reason that<br>>> "4444,hint,SIP/4444" would not work in a macro.<br>>><br>
>> _______________________________________________<br>>> --Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--">http://www.api-digital.com--</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">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>>><br>> So, if I understand you correctly, my macro would look something vaguely
<br>> like...<br>><br>> [macro-stdexten]<br>> ${ARG1},hint,SIP/${ARG1}<br>> s,1,Dial(${ARG1})?<br>><br>> This will work? My understand was that by going into a macro, you were<br>> going to be using the "s" extension. I'm not sure how that hint would
<br>> get called if its not inside the s extension.<br><br>I have no idea, but as I understand it, Hints are separate from extensions.<br><br>I guess you could do something like:<br><br>[macro-stdexten]<br>exten => s,1,Goto(${MACRO_EXTEN},1)
<br><br>exten => _XXXX,hint,SIP/${ARG1}<br>exten => _XXXX,1,Dial(${ARG1})<br><br>I do this sort of thing in many of my macros that Dial somewhere. I<br>seem to remember something about hints not working for pattern matching.
<br>or working weirdly.<br><br>_______________________________________________<br>--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--">http://www.api-digital.com--</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">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>