[Bug 1130467] Re: 'g' argument in combination with 'e' causes Dial() to return to 'h' extension in a different context

James Troup james.troup at canonical.com
Wed Feb 20 22:06:38 UTC 2013


*sigh*, fine.  Here is an example config, steps with which to
reproduce and messages output with debug turned all the way up.

| apt-get install asterisk sip-tester
| 
| From the example-config.tar.gz copy into /etc/asterisk/:
| 
|  * asterisk.conf - set verbose and debug to 10
|  * extensions.conf - dummy extensions to demonstrate problem
|  * logger.conf - enable logging of debug and verbose messages
|  * modules.conf - don't load AEL or Lua extensions (not strictly necessary)
|  * sip.conf - two dummy users, one for sipp and for a SIP UA
| 
| # /etc/init.d/asterisk stop
| # rm /var/log/asterisk/messages 
| # /etc/init.d/asterisk start
| 
| Configure SIP UA (e.g. empathy) to register to local asterisk server.
| 
| $ sipp -i 127.0.0.1 -d 1000000 -s 5550 -m 1 -sn uac -timeout 30 127.0.0.1
| 
| Answer the call in SIP UA and hang up.
| 
| Notice in asterisk console output:
| 
|      -- Executing [h at macro-test-e-only:1] NoOp("SIP/sipp-00000000", ""I'm in h at macro-test and TESTVAR is foo"") in new stack
| 
| $ sipp -i 127.0.0.1 -d 1000000 -s 5555 -m 1 -sn uac -timeout 30 127.0.0.1
| 
| Answer the call in SIP UA and hang up.
| 
| Notice TESTVAR is not saved in console output and the 'h' extension
| is not correctly executed in the original context as described in
| the original bug report.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to asterisk in Ubuntu.
https://bugs.launchpad.net/bugs/1130467

Title:
  'g' argument in combination with 'e' causes Dial() to return to 'h'
  extension in a different context

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/asterisk/+bug/1130467/+subscriptions



More information about the Ubuntu-server-bugs mailing list