[asterisk-users] Notify me when the call is answered

C. Savinovich c.savinovich at itntelecom.com
Thu Mar 17 08:11:24 CDT 2011


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.
 
CS
 

On March 17, 2011 at 8:52 AM Eric Smith <es at fruitcom.com> wrote:

> Hi
>
> I want to have some signal when a call is answered.
> I can watch the asterisk debug or logs and see when a call is answered
> of course but I want a sound notification.
>
> I tried this:
> [macro-notifymobile]
> exten => s,1,Dial(SIP/foobar,10)
>
> exten => _0031.,n,Dial(SIP/foobar2/${EXTEN},60,wM(notifymobile))
>
> But this results in:
>
> [Mar 17 13:41:46]     -- IAX2/4506-102 answered IAX2/4506-35
> [Mar 17 13:41:46]     -- Executing [s at macro-notifymobile:1]
> Dial("IAX2/4506-102", "SIP/foobar|10") in new stack
> [Mar 17 13:41:46]     -- Called foobar
> [Mar 17 13:41:46]     -- IAX2/4506-102 requested special control 20, passing
> it to SIP/foobar-b760dd78
> [Mar 17 13:41:46]     -- SIP/foobar-b760dd78 is ringing
> [Mar 17 13:41:46]     -- IAX2/4506-102 requested special control 20, passing
> it to SIP/foobar-b760dd78
>
> I think it is passing the call to the extension SIP/foobar (my wifi mobile
> device) which rings.
> I want the call to stay connected to the original extension.
>
> How would I achieve a notification this way or another way?
>
> And is it possible to Dial() and only connect to your extension when someone
> answers the call?
>
> --
> - Eric Smith
>
> --
> _____________________________________________________________________
> -- 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 
Christian Savinovich
Telecom & Telephony Consulting
646.982.3572
c.savinovich at itntelecom.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110317/094b7a5d/attachment.htm>


More information about the asterisk-users mailing list