Merged revisions 282334 via svnmerge from
authorRichard Mudgett <rmudgett@digium.com>
Fri, 13 Aug 2010 23:57:21 +0000 (23:57 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Fri, 13 Aug 2010 23:57:21 +0000 (23:57 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r282334 | rmudgett | 2010-08-13 18:53:36 -0500 (Fri, 13 Aug 2010) | 6 lines

  PRI CCSS may use a stale dial string for the recall dial string.

  If an outgoing call negotiates a different B channel than initially
  requested, the saved original dial string was not transferred to the new B
  channel.  CCSS uses that dial string to generate the recall dial string.
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@282335 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_dahdi.c

index 313225f..c2089ac 100644 (file)
@@ -2887,6 +2887,7 @@ static void my_pri_fixup_chans(void *chan_old, void *chan_new)
 
        /* More stuff to transfer to the new channel. */
        new_chan->law = old_chan->law;
+       strcpy(new_chan->dialstring, old_chan->dialstring);
 }
 #endif /* defined(HAVE_PRI) */