Summary:ASTERISK-03390: The "g parameter" doesn't work
Reporter:espen1 (espen1)Labels:
Date Opened:2005-01-30 10:11:18.000-0600Date Closed:2008-01-15 15:23:47.000-0600
Versions:Frequency of
Environment:Attachments:( 0) extensions.conf
Description:When I use the g parameter in the Dial command (with SIP) to make Asterisk continue in the context after the called party hangs up, it doesn't work. When the called party hangs up, Asterisk issues hangup to the caller too.


Here is a snip from verbose mode:

-- Executing Dial("SIP/110-fb15", "SIP/112|50|gt") in new stack
   -- Called 112>
   -- SIP/112-e760 is ringing
   -- SIP/112-e760 answered SIP/110-fb15
   -- Attempting native bridge of SIP/110-fb15 and SIP/112-e760
   -- Started music on hold, class 'default', on SIP/112-e760
   -- Stopped music on hold on SIP/112-e760
 == Spawn extension (default, 112, 1) exited non-zero on 'SIP/112-fb15'
Comments:By: Brian West (bkw918) 2005-01-30 10:15:18.000-0600

we use it every day.. it does work. Paste your config so we can see how you're doing this.

edited on: 01-30-05 10:15

By: nick (nick) 2005-01-30 10:22:53.000-0600

Please, follow the instructions you should have read in the Bug Guidelines, which were highlighted in yellow when you submitted your bug:

"Before placing a bug, download the latest CVS head and see if the bug occurs. When we say latest we mean very latest. Don't submit a bug report on code you downloaded 4 days ago (unless it's something that can't be duplicated)."

Please get the latest CVS and see if this is still a problem...


By: espen1 (espen1) 2005-01-30 10:34:42.000-0600

Of course I've tried the latest CVS. Still doesn't work. My configuration file is pasted.

edited on: 01-30-05 11:40

By: Mark Spencer (markster) 2005-01-30 11:56:39.000-0600

Fixed in CVS head, this was a flagification bug so isn't a problem in stable.

By: Digium Subversion (svnbot) 2008-01-15 15:23:47.000-0600

Repository: asterisk
Revision: 4931

U   trunk/apps/app_dial.c

r4931 | markster | 2008-01-15 15:23:47 -0600 (Tue, 15 Jan 2008) | 2 lines

Fix 'g' flag (bug ASTERISK-3390)