[Home]

Summary:ASTERISK-09036: Asterisk 1.4.1 FollowMe not continuing to next priority with no 'followmeid' in followme.conf
Reporter:kkiely (kkiely)Labels:
Date Opened:2007-03-16 22:25:59Date Closed:2007-06-30 09:20:08
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_followme
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:I am having an issue with the follow me application in 1.4

The application description (below) indicates that "if the specified <followmeid> profile doesn't exist in followme.conf, execution will be returned to the dialplan and call execution will continue at the next priority."

That's not happening for me and the execution terminates not continuing to the next priority in the dialplan.


exten => 502,1,Followme(cell|s)
exten => 502,2,Playback(goodbye)
exten => 502,3,Hangup


   -- Executing [502@from-sip:1] FollowMe("SIP/2101-b6e17f60", "cell|s") in new stack [Mar 16 23:29:34] WARNING[10814]: app_followme.c:954 app_exec: Profile requested, cell, not found in the configuration.
 == Spawn extension (from-sip, 502, 1) exited non-zero on 'SIP/2101-b6e17f60'



[Description]
 FollowMe(followmeid|options):
This application performs Find-Me/Follow-Me functionality for the caller as defined in the profile matching the <followmeid> parameter in followme.conf. If the specified <followmeid> profile doesn't exist in followme.conf, execution will be returned to the dialplan and call execution will continue at the next priority.

 Options:
   s    - Playback the incoming status message prior to starting the follow-me step(s)
   a    - Record the caller's name so it can be announced to the callee on each step
   n    - Playback the unreachable status message if we've run out of steps to reach the
          or the callee has elected not to be reachable.
Returns -1 on hangup

Comments:By: kkiely (kkiely) 2007-03-17 21:51:56

I tried to change the options in the Follow me application in extensions.conf and the change didn't take effect until I did a asterisk restart.

I there any way to not have the message "pls-hold-while-try" not play and begin the follow me process without playing these messages?

By: BJ Weschke (bweschke) 2007-03-18 11:38:52

Should be fixed in 1.4 branch r59035. Please try and let us know. If you're still having problems, we can reopen this.

By: kkiely (kkiely) 2007-03-19 00:16:41

It looks like the issue of the execution continuing to the next priority is now working, however, the issue also mentioned of the status message still exists.

The status message is playing without requesting the 's' parameter.

Options:
   s - Playback the incoming status message prior to starting the follow-me step(s)

will there be an enhancment to this feature to allow the target to be specified in the command line FollowMe(12125551212)?

By: kkiely (kkiely) 2007-03-19 00:20:50

exten => 501,1,Playback(silence/2)
exten => 501,n,Followme(7623)
exten => 501,n,Playback(goodbye)
exten => 501,n,Hangup



 == Parsing '/etc/asterisk/sip_notify.conf': Found
   -- Executing [501@internal:1] Playback("SIP/7623-081ed1d8", "silence/2") in new stack
   -- <SIP/7623-081ed1d8> Playing 'silence/2.ulaw' (language 'en')
   -- Executing [501@internal:2] FollowMe("SIP/7623-081ed1d8", "7623") in new stack
   -- <SIP/7623-081ed1d8> Playing 'followme/status.ulaw' (language 'en')
[Mar 19 08:18:43] WARNING[24101]: file.c:545 ast_openstream_full: File /var/spool/asterisk/followme.1174281516.12 does not exist in any format
[Mar 19 08:18:43] WARNING[24101]: file.c:798 ast_streamfile: Unable to open /var/spool/asterisk/followme.1174281516.12 (format 0x4 (ulaw)): No such file or directory

here----

   -- <SIP/7623-081ed1d8> Playing 'followme/pls-hold-while-try.ulaw' (language 'en')


--------
   -- Started music on hold, class 'default', on SIP/7623-081ed1d8

By: BJ Weschke (bweschke) 2007-05-23 12:01:50

This latest issue should be fixed now with commits to 1.4 and /trunk. Please open a new bug if you're having any trouble.