diff options
author | Christian Richter <christian.richter@beronet.com> | 2006-02-22 21:59:46 +0000 |
---|---|---|
committer | Christian Richter <christian.richter@beronet.com> | 2006-02-22 21:59:46 +0000 |
commit | fdd33866b438de919356cb5bb30a811ecb0e66f9 (patch) | |
tree | 90de315a5d411afd3d4b672228afc99ede507e1c /channels/misdn/isdn_lib.c | |
parent | a3580ffdebfec564601ec658b35265e6c43dc65a (diff) |
* changed some strncpys to ast_copy_str
* added copying of some IEs (user,rate,urate) with channel vars
* added #6251
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10787 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/misdn/isdn_lib.c')
-rw-r--r-- | channels/misdn/isdn_lib.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/channels/misdn/isdn_lib.c b/channels/misdn/isdn_lib.c index 8839be0f1..60f98a1f3 100644 --- a/channels/misdn/isdn_lib.c +++ b/channels/misdn/isdn_lib.c @@ -491,7 +491,7 @@ void empty_bc(struct misdn_bchannel *bc) bc->capability=INFO_CAPABILITY_SPEECH; bc->law=INFO_CODEC_ALAW; bc->mode=0; - bc->rate=0; + bc->rate=0x10; bc->user1=0; bc->urate=0; @@ -503,6 +503,7 @@ void empty_bc(struct misdn_bchannel *bc) bc->infos_pending[0] = 0; bc->oad[0] = 0; bc->dad[0] = 0; + bc->rad[0] = 0; bc->orig_dad[0] = 0; bc->fac_type=FACILITY_NONE; |