<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title></title>
</head>
<body>
<p style="margin: 0px;">You want both phones to ring? then why don't you just create a group so your mobile also rings at the same time as the other extensions.... just don't answer your mobile.</p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">CS</p>
<p style="margin: 0px;"><span> </span></p>
<div style="margin: 5px 0px 5px 0px;">
On March 17, 2011 at 8:52 AM Eric Smith <es@fruitcom.com> wrote:<br />
<br />
> Hi<br />
><br />
> I want to have some signal when a call is answered.<br />
> I can watch the asterisk debug or logs and see when a call is answered<br />
> of course but I want a sound notification.<br />
><br />
> I tried this:<br />
> [macro-notifymobile]<br />
> exten => s,1,Dial(SIP/foobar,10)<br />
><br />
> exten => _0031.,n,Dial(SIP/foobar2/${EXTEN},60,wM(notifymobile))<br />
><br />
> But this results in:<br />
><br />
> [Mar 17 13:41:46]     -- IAX2/4506-102 answered IAX2/4506-35<br />
> [Mar 17 13:41:46]     -- Executing [s@macro-notifymobile:1] Dial("IAX2/4506-102", "SIP/foobar|10") in new stack<br />
> [Mar 17 13:41:46]     -- Called foobar<br />
> [Mar 17 13:41:46]     -- IAX2/4506-102 requested special control 20, passing it to SIP/foobar-b760dd78<br />
> [Mar 17 13:41:46]     -- SIP/foobar-b760dd78 is ringing<br />
> [Mar 17 13:41:46]     -- IAX2/4506-102 requested special control 20, passing it to SIP/foobar-b760dd78<br />
><br />
> I think it is passing the call to the extension SIP/foobar (my wifi mobile device) which rings.<br />
> I want the call to stay connected to the original extension.<br />
><br />
> How would I achieve a notification this way or another way?<br />
><br />
> And is it possible to Dial() and only connect to your extension when someone answers the call?<br />
><br />
> --<br />
> - Eric Smith<br />
><br />
> --<br />
> _____________________________________________________________________<br />
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --<br />
> New to Asterisk? Join us for a live introductory webinar every Thurs:<br />
>                http://www.asterisk.org/hello<br />
><br />
> asterisk-users mailing list<br />
> To UNSUBSCRIBE or update options visit:<br />
>    http://lists.digium.com/mailman/listinfo/asterisk-users
</div>
<p style="margin: 0px;"> </p>
<p style="font-family: monospace; white-space: nowrap; margin: 5px 0px 5px 0px;">Christian Savinovich<br />
Telecom & Telephony Consulting<br />
646.982.3572<br />
c.savinovich@itntelecom.com</p>
</body>
</html>