Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] dialplan logic questions: macro not reachin


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
michael at askozia.com
Guest





PostPosted: Mon Mar 10, 2008 4:31 am    Post subject: [asterisk-users] dialplan logic questions: macro not reachin Reply with quote

Hello everyone,

I'm having some troubles with some dialplan logic I've written which
sends missed call notifications via e-mail. It's currently sending
these notifications even if the call was answered, marking them all as
hung-up. What I've been able to see is that the macro never reaches
the "s-ANSWER" bits which mark the call as successful.

I've posted my extensions.conf and a call trace to pastebin[1]. The
extensions.conf may look a bit funny as it is the internally generated
file from a project I'm working on. There are enough comments in there
to make it human readable.

All feedback is appreciated.

Regards,
-Michael

[1] http://pastebin.ca/936296
Back to top
michael at askozia.com
Guest





PostPosted: Mon Mar 10, 2008 5:24 am    Post subject: [asterisk-users] dialplan logic questions: macro not reachin Reply with quote

On 3/10/08, Michael Iedema <michael at askozia.com> wrote:
Quote:
Hello everyone,

I'm having some troubles with some dialplan logic I've written which
sends missed call notifications via e-mail. It's currently sending
these notifications even if the call was answered, marking them all as
hung-up. What I've been able to see is that the macro never reaches
the "s-ANSWER" bits which mark the call as successful.

I've posted my extensions.conf and a call trace to pastebin[1]. The
extensions.conf may look a bit funny as it is the internally generated
file from a project I'm working on. There are enough comments in there
to make it human readable.

All feedback is appreciated.

Regards,
-Michael

[1] http://pastebin.ca/936296


Sorry for the noise, I've figured it out. The priorities after the
Dial() are not executed if the call was completed. I now handle the
ANSWER status detection in the h extension.

-Michael
Back to top
matt at venturevoip.com
Guest





PostPosted: Mon Mar 10, 2008 5:39 am    Post subject: [asterisk-users] dialplan logic questions: macro not reachin Reply with quote

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michael Iedema wrote:
Quote:
On 3/10/08, Michael Iedema <michael at askozia.com> wrote:
Quote:
Hello everyone,

I'm having some troubles with some dialplan logic I've written which
sends missed call notifications via e-mail. It's currently sending
these notifications even if the call was answered, marking them all as
hung-up. What I've been able to see is that the macro never reaches
the "s-ANSWER" bits which mark the call as successful.

I've posted my extensions.conf and a call trace to pastebin[1]. The
extensions.conf may look a bit funny as it is the internally generated
file from a project I'm working on. There are enough comments in there
to make it human readable.

All feedback is appreciated.

Regards,
-Michael

[1] http://pastebin.ca/936296


Sorry for the noise, I've figured it out. The priorities after the
Dial() are not executed if the call was completed. I now handle the
ANSWER status detection in the h extension.

Or use the "g" option to the dial command:

g - Proceed with dialplan execution at the current extension if the
destination channel hangs up.

- --
Kind Regards,

Matt Riddell
Director
_______________________________________________

http://www.venturevoip.com (Great new VoIP end to end solution)
http://www.venturevoip.com/news.php (Daily Asterisk News - html)
http://www.venturevoip.com/newrssfeed.php (Daily Asterisk News - rss)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH1Q/3DQNt8rg0Kp4RAq84AKC2uIDQmVI/Y8OyrzXbO4jqsL794wCeIPEn
P3ZdCTJeA7BPfde4EaoNrZc=
=5jey
-----END PGP SIGNATURE-----
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services